This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TPS65950/30/20: USB: Device connection status and VBUS, ID wake-up comparator

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: 

            Register:   STS_HW_CONDITIONS

     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.


Q: There is a WKUPCOMP_EN bit in the T2 PHY VUSB_DEDICATED1 register. When the OTG driver should enable this bit . The description in T2 TRM says “ Enable the VBUS and ID wake–up comparators. For testing only, to evaluate VRRTC current consumption.”. See USB specification.

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.