Looking at 'USBPHY_DP_CTRL' and 'USBPHY_DM_CTRL' register descriptions, page 748, the lower 5-bits controls how those pins can be routed internally within the RP235X.
So that would allow you to use those, nominally USB, signals for something other than USB.
For example, with appropriate hacked micro-USB cables you could create a UART connection between two Pico 2, or have a UART ring for multiple Pico 2, without having to use any of the castellated GPIO connections.
If you want USB over GPIO, host or device, you are probably wanting to use Pico-PIO-USB. That's supported by TinyUSB but I am not sure about its status under Pico SDK.
So that would allow you to use those, nominally USB, signals for something other than USB.
For example, with appropriate hacked micro-USB cables you could create a UART connection between two Pico 2, or have a UART ring for multiple Pico 2, without having to use any of the castellated GPIO connections.
If you want USB over GPIO, host or device, you are probably wanting to use Pico-PIO-USB. That's supported by TinyUSB but I am not sure about its status under Pico SDK.
Statistics: Posted by hippy — Wed Aug 28, 2024 5:49 pm