Q: WinMo is having OTG support. Device can go to OFF and Wakeup from OFF mode, on wakeup, is there a way to find out if there is any device connected by reading some T2 USB PHY registers.
A:
Bits : STS_VBUS and STS_USB
Please refer to the following post for more
information - http://community.ti.com/forums/t/4120.aspx
If the above link does not open then please copy-paste the link on your browser.
A: The RESET value of this bit WKUPCOMP_EN is "1". Hence it is enabled by default. STS_VBUS and STS_USB status bits will be updated only if this bit is set.