imx6d usb otg mode switch

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

imx6d usb otg mode switch

912 Views
jiujinhong
Contributor IV

Hi Guys,

I met similar requirements (https://community.nxp.com/message/374115 ) in imx6d board. the hardware didn't attach USB_OTG_ID pin, need to use software to implement device/host mode switch.

the bsp is linux4.1.15. are there any good suggestion for this? thanks.

Labels (4)
0 Kudos
1 Reply

528 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi,

About the usb otg mode you can refer to https://community.nxp.com/thread/319562#comment-380468 

1. USB OTG works as a device

USB_OTG_ID pin should be pulled down to HIGH

2. USB_OTG works as a host

USB_OTG_ID pin should be  pulled down to LOW

3. Designing USB OTG works as dual role
    If you want USB OTG to not only works as device,but also host, you can design it to be dual role. there are 2 ways to realize it on your board.

(1)Only use one microUSB connector.

(2)Using MicroUSB connector for device role, and using USB Host connector for host interface.

Have a nice day

Rita

0 Kudos