OTG ID pin will not statible in hight or low

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

OTG ID pin will not statible in hight or low

跳至解决方案
876 次查看
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?

标签 (5)
0 项奖励
1 解答
744 次查看
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 项奖励
2 回复数
744 次查看
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 项奖励
745 次查看
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 项奖励