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.

USB OTG ESD Diodes Disconnect

Other Parts Discussed in Thread: TPD4S012

Hello,

I've got a catch 22 with some ESD diodes I added to the USB lines.  I have used the NUP2201 and tied the USB_DP and USB_DM lines from VBUS to GND.  I used a separate NUP2201 to tie the USB_ID to 3.3V.

 

The problem I have is that when the unit is connected and running in device mode, then later disconnected, the disconnect is not recognized.  The reason is that the VBUS line is not dropping after the disconnect below ~2.7V.  It turns out, the reason for this is that D+ is high before the host disconnects, so when the host disconnects and VBUS is supposed to discharge, D+ can instead supply current to the VBUS line through the ESD diode, so the unit never realizes the device has disconnected.  The D+ line doesn't have anywhere to discharge when is OTG mode

 

The unit still operates when a cable is again plugged in, device or host, but I need to be able to detect a disconnect.

 

It seems this would be standard practice for protect the OTG lines via ESD diodes, am I missing something??

 

If I remove the external ESD diodes, what kind of protection do I have on the USB_DP and USB_DM lines in the chip?

 

Thanks,

 

Mike

 

  • Hi Mike,

    I see the path you are referring to and I am trying to figure out if it simply a matter of meeting VBUS discharge requirement or something fancier.

    I believe you may need a path to monitor VBUS.  I know that with USB OTG there are specific USB charge/discharge rates as well as current limits on VBUS and a couple different protocols that can come into play. 

    I know that in devices like the TPS65030 power supply for OTG, it has a comparator that just monitors for droop - i.e VBUS less the diode drop path that you see (specified at 4.3/4.45 volts. 

    I believe a normal USB device requires 120uF on the VBUS while OTG device limits this to lower much lower 1 to 6.5 uF and that VBUS is monitored for the SRP Session Request protocols.  When a session is ended it is possible to disable VBUS and look for the droop, but I am checking more into this mechanism now...

    http://wiki.davincidsp.com/index.php/USB_OTG_on_DaVinci

     

    Sincerely,

    David Weinzierl

     AFA, Bloomington, MN

     

     

  • I've seen this issue come up other places so I wanted to add some further details.

    For OTG designs we recommend the TPD4S012 device.  Note the way the clamp works - there is not a direct diode path to VBUS, which circumvents the diode path pull up issue.