How to Configure USB-OTG to both host mode and device mode

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

How to Configure USB-OTG to both host mode and device mode

1,493 Views
sumanthg
Contributor II

In IMX6 Sabre lite how to configure the USB core 0 for both host mode and device mode,

So it should works for both the configurations

Labels (3)
0 Kudos
5 Replies

887 Views
gary_bisson
Senior Contributor III

Hi,

There's nothing to do, it already works in both mode as specified in the OTG standard.

Regards,

Gary

887 Views
sumanthg
Contributor II

i didn't get your point, Can u Explain in detail

0 Kudos

887 Views
gary_bisson
Senior Contributor III

Hi,

My point is that there is nothing to do, it just works. If you wonder how to switch from one mode to another, please read the USB OTG specification:

http://www.usb.org/developers/onthego/otg1_0.pdf 

It has been successfully tested on SabreLite.

Regards,

Gary

0 Kudos

887 Views
sumanthg
Contributor II

I am working on Custom board which is based on IMX6 sabrelite. For both host and device mode configuration. i need to do any changes in uboot. or i need to do changes in the dts itself

0 Kudos

887 Views
gary_bisson
Senior Contributor III

Hi,

If you haven't changed the OTG routing from Sabrelite design, there's nothing to do. If you did change it, please read the Sabrelite source code to find your answers.

The only thing I can say is that it works for Sabrelite.

Good luck.

Regards,

Gary

0 Kudos