cecio / USBvalve

Expose USB activity on the fly
MIT License
1.22k stars 43 forks source link

Multiple USB Host ports #26

Closed NoSssssweat closed 5 months ago

NoSssssweat commented 6 months ago

Hey! great project, i love it! i was just wondering, ist is possible to just solder on a usb-c and a usb-a port as host, and connect them together? It probably wont work at the same time but if I just use one at a time it should be fine i guess?

Also i have a rp2040 board with usb-c as main connector, this one wont be a host right? (havent had a chance to check it yet)

Thanks!

cecio commented 6 months ago

hey, thanks for the kind words and your interest into the project!! Appreciated! :-)

You can wire two different ports as Host, but you can use just one at a time. Be careful because USB-C requires some additional connection (a resistor at least, iirc).

Usually the main USB connector (micro USB or USB-C) is the one that act as "peripherals" connection, used to program the device and to present USBvalve drive as mass storage. This can not be used as Host. In this case the USB format does not really matter.