🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    CoreS3 with USB Module v1.2

    Cores
    2
    3
    428
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jaysom
      last edited by

      Hi,

      I have configured the dip switches on the module for use with the CoreS3 but I’m having problems. Could somebody please confirm how the dip switches should be set, I think I may have set them incorrectly. Thanks in advance :)

      felmueF 1 Reply Last reply Reply Quote 0
      • felmueF
        felmue @jaysom
        last edited by

        Hello @jaysom

        looking into the examples here I understand that the following line sets the GPIOs for an M5Core:

        M5_USBH_Host USBHost(&SPI, 18, 23, 19, 5, 35);
        

        That means you would set the SS dip switch for GPIO 5 to on (and for GPIO 0 and 13 to off). For the INT dip switch you set GPIO 35 to on (and GPIO 34 to off).

        Now with the same dip switch settings but using an M5CoreS3 you would change the above line to:

        M5_USBH_Host USBHost(&SPI, 36, 37, 35, 1, 10);
        

        Note: I don't have the USB Module v1.2 so I can't test this myself.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        J 1 Reply Last reply Reply Quote 0
        • J
          jaysom @felmue
          last edited by

          @felmue

          Thank you so much for your help, I’ll give it a try and report back :)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post