How to enable the OTG 2 and set device mode on i.MX6 UL/ULL

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to enable the OTG 2 and set device mode on i.MX6 UL/ULL

ソリューションへジャンプ
1,828件の閲覧回数
viking_yuan
Contributor II
For OTG 1, both device and host modes work fine. OTG 2 host mode works, too. But I can't see the USB mass storage if OTG 2 is set as a device.
0 件の賞賛
返信
1 解決策
1,823件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi viking_yuan

 

one can check if usb mode is configured properly in dts using

sect.4.9.9 Changing the Controller Operation Mode   i.MX Linux Reference Manual​

 

Best regards
igor

元の投稿で解決策を見る

3 返答(返信)
1,817件の閲覧回数
viking_yuan
Contributor II

Thanks igor!

So, if I want to use both device and host mode, I should configure it as below, correct?

dr_mode = "otg" /* Set controller as otg mode */

0 件の賞賛
返信
1,815件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

right.

 

Best regards
igor

0 件の賞賛
返信
1,824件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi viking_yuan

 

one can check if usb mode is configured properly in dts using

sect.4.9.9 Changing the Controller Operation Mode   i.MX Linux Reference Manual​

 

Best regards
igor