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

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

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

2,560 次查看
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

标签 (3)
0 项奖励
回复
5 回复数

1,954 次查看
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

1,954 次查看
sumanthg
Contributor II

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

0 项奖励
回复

1,954 次查看
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 项奖励
回复

1,954 次查看
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 项奖励
回复

1,954 次查看
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 项奖励
回复