You put me on the right road for sure. On my Android I have the file config.txt with an interesting parameter inside :
# USB
dtoverlay=dwc2,dr_mode=peripheral
in your example,you haven't added "dr_mode=peripheral" : should I remove it ?
It's optional for device mode as with the default/missing parameter (dr_mode=otg) you get device mode. There's an ID pin available on the USB controller that is used to indicate host or device mode but that pin is not present on a USB C connector.
I'm reading that I should use the USB-C connector that I'm using to power on the board. But if I use it,how can I power it on ?
You have options:
- Typical bare board consumption for a 4B is stated to be 600mA. Your USB host may be able to supply that much especially from a USB 3 port. If you have more stuff connected to the Pi it will need more current.
- As above but using a suitable "Y" cable at the host end.
- Power the Pi via its GPIO header. Best to modify the cable to the USB host to prevent backpowering or a conflict between the two PSUs.
Statistics: Posted by thagrol — Sat Aug 17, 2024 11:52 pm