Replies: 3 comments
-
The rp2040 doesn't let you change the pins used for the built in USB peripheral, there's just the set USB_DM and USB_DP pins. The alternative is to switch to using a PIO based usb library like https://github.com/sekigon-gonnoc/Pico-PIO-USB but I can't help with thgat, I've never used it myself and it's not related to TinyUSB |
Beta Was this translation helpful? Give feedback.
-
how come it works for TinyUSB Host mode? does that use PIO? |
Beta Was this translation helpful? Give feedback.
-
Oh ok, according to https://docs.tinyusb.org/en/latest/reference/supported.html there is a pio_usb driver available here for rp2040, I didn't realise that was included already. Perhaps it can be used for device mode too then to select why pins. I haven't used that myself though, sorry my comments above are likely inaccurate. |
Beta Was this translation helpful? Give feedback.
-
when using host mode I can use
tuh_configure
to change the GPIO pins that are used for USB data.what's the equivalent for Device Mode ? how do i tell it which pins to use ?
Beta Was this translation helpful? Give feedback.
All reactions