Using OTG_ID HW to switch role does not fully work

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

Using OTG_ID HW to switch role does not fully work

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