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 :)