IMX6Q USB OTG ID'S interrupts not happen AND OTG not working normal

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

IMX6Q USB OTG ID'S interrupts not happen AND OTG not working normal

681 Views
zhouqunzhouqun
Contributor I

Hi:

   I am use a imx6q based linux 3.0.35.1,I want to realize the OTG to be host mode and device mode,i have Configuration otg id pin,otg oc pin,otg pwr pin and hub1_pwr pin ,But The otg not correctly working ,The following is my revised point and schematic diagram。

pastedImage_3.png

USBH1_OC not define in hardware.

pastedImage_4.png

pastedImage_5.png

Labels (1)
0 Kudos
1 Reply

520 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi,

Have you considered using a newer Linux BSP? On each version many bugfixes are added (recently, USB patches were applied); so, it is recommended checking L4.1.15 BSP release.

Regarding a hardware side, you could try grounding the ID pin to switch to Host mode; otherwise, the module will remain as Device.

Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos