i.MX6 USB Pull Resistors

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6 USB Pull Resistors

Jump to solution
1,030 Views
jcc273
Contributor III

Hello,

I am running my device as a gadget using the USB OTG port.  I have some special circumstance where i need to detect when my device is connected to another custom board even when the other custom board is NOT powered.  For this reason i can't simply detect the presence of VBUS.  So what was done is a 15K pull-down resistor was placed on the other custom board between GND and DP and a 100K pull-up resistor was placed on the i.MX6 board between DP and 3.7V so that when plugged together even when not powered we would be able to detect the change in the DP line from the 15K pulling the voltage to about 0.5V.  

However even when nothing is connected (DP floating with 100K pull-up) I am only seeing a little over 1V on the DP line instead of the expected 3.7V!


This leads me to believe that the DP line is somehow connected via an internal resistor on the i.MX6 to some other rail.  I have made sure the 200K switchable pull-up resistor is off in USBPHYx_CTRLn and the 15K should only be enabled in host mode i would think and i even tried explicitly disabling it using the USBPHYx_DEBUGn register, but still no difference.

Any idea what is going on here?  How can i perform this detection?

EDIT: Another thing i forgot to mention is that if i apply a voltage to VBUS with DP still in this floating state the voltage goes up to where to expected.  So it seems have something to do with no VBUS on the module, maybe this means it is not properly powered or something???

Labels (2)
1 Solution
834 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jarrod

VBUS is used for powering (through LDO_USB) usb module as described on

Figure 50-1. Power system overview i.MX6DQ Reference Manual

http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
835 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jarrod

VBUS is used for powering (through LDO_USB) usb module as described on

Figure 50-1. Power system overview i.MX6DQ Reference Manual

http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

834 Views
jcc273
Contributor III

Igor,

Thank you for the reply!  I guess i will have to modify the hardware and add a USB switch so that i can do the detection.  Thank You : )

-Jarrod

0 Kudos