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

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

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

513 次查看
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 回复数

495 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

493 次查看
Eric1994
Contributor III

I'm using the board designed by ourselves.

But it works normally in BSP 4.14.98.

0 项奖励
回复

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