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。
USBH1_OC not define in hardware.
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!
-----------------------------------------------------------------------------------------------------------------------