OTG ID pin will not statible in hight or low

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

OTG ID pin will not statible in hight or low

Jump to solution
887 Views
wangtsungli
Contributor IV

Hi Community,

I'm working on i.MX6 Quad sabre-SD and build Android 6.0 as my OS system.

Here is the problem.

OTG ID pin did not stay at hight or low condition, it would change high to low and low to hight and keep changing.

Because of this, my USB power pin would do the same thing as ID pin did.

Below is my hardware design.

pastedImage_1.png

And below is my DTSI settings for ID pin.

pinctrl_usbotg: usbotggrp {
fsl,pins = <
MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
/* power enable, high active */
/*MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x000b0*/
>;
};

OTG can be host and device when I plugin OTG.

If I do not plugin anything inside OTG, ID pin should be high because of the pull high in my hardware design.

However, the behavior of ID pin is not work as expected.

How can I fix this problem?

Did I miss anything here?

Labels (5)
0 Kudos
1 Solution
755 Views
wangtsungli
Contributor IV

Thanks for your reply.

I had found the critical problem that cause this issue.

There is a ESD protected IC I use to protect OTG pin ID, but the hardware design on ESD IC is not correct.

View solution in original post

0 Kudos
2 Replies
755 Views
igorpadykov
NXP Employee
NXP Employee

Hi tsung

one can attach jtag debugger and check iomux register

to verify that used image has these dts settings. If settings are correct

and pin is still floating, it may be damaged.

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

0 Kudos
756 Views
wangtsungli
Contributor IV

Thanks for your reply.

I had found the critical problem that cause this issue.

There is a ESD protected IC I use to protect OTG pin ID, but the hardware design on ESD IC is not correct.

0 Kudos