Using OTG_ID HW to switch role does not fully work

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

Using OTG_ID HW to switch role does not fully work

1,284件の閲覧回数
yangao
Contributor III

Hello,

We are trying to toggle back and forth the OTG role using OTG_ID. When device boots up, OTG_ID is high, and the port is in gadget mode(It cannot recognize a USB storage thumb device). When we set OTG_ID pin to low, OTG port switch to host mode and the USB storage thumb device can be mounted. The issue happens when we set OTG_ID pin back to high again, the port sticks to host mode and does not switch to gadget mode.

What would be wrong?

Thanks,

Winston

ラベル(1)
0 件の賞賛
返信
1 返信

1,279件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Yan

 

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

and test with usb unit tests

https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_usb_test?h=lf-5.10.y_1.0.0

 

Best regards
igor

0 件の賞賛
返信