CoreS3 with USB Module v1.2
-
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 :)
-
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 -
Thank you so much for your help, I’ll give it a try and report back :)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login