i.MX8MM USB1 role does't change with otg mode

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

i.MX8MM USB1 role does't change with otg mode

300件の閲覧回数
Eric1994
Contributor III

I was using i.MX8M Mini, with Linux Yocto Project BSP 4.14.98, the role of USB1 port changes when I plug or unplug an otg cable.

root@imx8:/# cat ./sys/kernel/debug/ci_hdrc.0/role
host

root@imx8:/# cat ./sys/kernel/debug/ci_hdrc.0/role
gadget

 

Now I'm updating to Linux Yocto Project BSP 5.10.72, the role of  USB1 port is always host.

root@imx8mmevk:~# cat /sys/kernel/debug/usb/ci_hdrc.0/role 
host

The target board is the same, I measured the voltage on the USB1_OTG_ID pin, and it changes from 1.8V to 0V when an otg cable plugs in.

How can I troubleshoot this issue?

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

282件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

Are you using NXP EVK board or the board you design yourself?

0 件の賞賛

280件の閲覧回数
Eric1994
Contributor III

I'm using the board designed by ourselves.

But it works normally in BSP 4.14.98.

0 件の賞賛

255件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

How about the software setting for the 5.10 ? Using the same setting or changing something?

How about the usb1 hardware design you can share to us we can help check it.

0 件の賞賛