Hi there.
I have spent several days in troubles...
I have USB OTG working perfectly as host when the ID pin is grounded.
I want to use the Id pin to detect the device type.
I want to charge(power) my device from external charger, identified by the resistance of the id pin and to operate in host mode.
The peripheral device is powered by the charger.
And if there is any resistance (not grounded or open) on the id pin the USB OTG never works as host even if forced by modifying the driver, echoing "host" to the HDRC/mode in devices.
STS_HW_CONDITIONS.STS_VBUS is up as expected, but
STS_HW_CONDITIONS.STS_USB is down, and doesn't goes up.
On the other hand, if the ID pin is grounded - no problem - host interface is working properly.
Any ideas ?
Thanks,
Angel