How and when to use USB_ID (output) pin?
Posted: Tue Jan 09, 2018 1:27 pm
I cannot find any information about how and when to use USB_ID pin. I'd like that USB port can works depending of situation as device or host (OTG). In MCU's datasheet (XE216-512-TQ128) all what I found is that "USB_ID does not need to be connected", and that is reserved output. My current wiring diagram for USB port looks like this:
When USB is acting as host IC15 is switched on and deliver +5V to the +VBUS. In case of over-current trip, #USB_OC signal is monitored, and for detection of device, USB_ID input (pin 4 of Mini USB Type AB socket) is monitored. IC16 together with R14, C31 is intended for protection of MCU's USB pinouts (IC17USB). USB_ID pin is left unconnected, but I'm not sure that is all what is needed for OTG.
When USB is acting as host IC15 is switched on and deliver +5V to the +VBUS. In case of over-current trip, #USB_OC signal is monitored, and for detection of device, USB_ID input (pin 4 of Mini USB Type AB socket) is monitored. IC16 together with R14, C31 is intended for protection of MCU's USB pinouts (IC17USB). USB_ID pin is left unconnected, but I'm not sure that is all what is needed for OTG.