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.
We are using OMAP4430 and TWL6032A2B4YFFR PMIC. When USB plug is removed while first connected to a host, sometimes Android does not detect the event and the USB icon remains. We have found that in the failing case the following registers remain while USB cable is unplugged.
When USB disconnected but icon stuck, PMIC generates an interrupt (IRQ 378) with wrong information, reading the interrupt status registers...
In correct USB disconnected case, STS_HW_CONDITIONS register bit-3 reads 0 (No charger plugged).
Further investigation shows that the OMAP USB OTG controller does not generate a DISCONNECT. The following is how we expect the sequence to work:
Investigated how VBUS status is propagated from TWL6030 PMIC to OMAP4 USB OTG Controller, below is the summary. Details are in OMAP4 TRM section '23.12 High-Speed USB OTG Controller' and Figure 23-255. High-Speed USB OTG Controller Highlight
Now I notice PMIC register STS_HW_CONDITIONS bit-3 remains always high when USB connect or disconnect, however, VBUS states does changes correctly. It appears STS_HW_CONDITIONS bit-3 is not relevant for USB module DISCONNECT interrupt.
What could possibly be causing the failing condition.
Please click the Verify Answer button on this post if it answers your question.
Be sure to read the OMAP4 and OMAP5 Forum Guidelines and FAQ
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Boyko Kazakov:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.