2024-10-29 07:38 PM - edited 2024-10-30 01:18 PM
Hi,
I am thinking using the STM32U5G9VJT6Q and configure the USB to USB-OTG but never used USB OTG before.
The PCB would have its own power supply and only work when power is applied through it and never take power from the USB connector. The USB would also be USB 2.0 using Type C connector but without any of the fancy external ICs for handshaking and power management.
Considering the above and configuring the USB to OTG (so I can change it to be either device or host at runtime):
- if configured as host, I assume the power to the device connected be provided directly from the 5V of the PCB without any microcontroller control of it. Is that correct?
- for the OTG is the OTG_HS_ID pin I assume I connect it straight to the MicroUSB connector or Type-C connector. Is that correct or do I need to have some logic/devices in between?
Thank you :)
2024-11-04 06:30 AM
Hi @Ricko
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.