i.MX8MM & i.MX8MQ USB2.0 Design Without USB TYPE-C Issues

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

i.MX8MM & i.MX8MQ USB2.0 Design Without USB TYPE-C Issues

跳至解决方案
697 次查看
oprata
Contributor II

Hi Folks,

I have a imx8mm custom board with USB2 and USB1 interfaces like described here 

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8MM-i-MX8MQ-USB2-0-Design-Without-US...

I made changes on dts like described in like below. I used the yocto (manifest imx-5.15.32-2.0.0.xml) as base to build the OS image for the custom board. All the interface on custom board works fine except USB2 and USB1. Both interfaces don't work as I expected. The interface USB1 works as "device". I used this interface to load the OS image into the eMMC. Does anyone has  tips how to put the USB2 and USB1 to work as "host"?

Thanks in advance

Thanks in advance

0 项奖励
1 解答
651 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hi,

After a quick check your device tree looks correct, the only thing that is comes to mind is that you have it set as otg, not host, so I'll suggest to change it.

Please make sure that you have disabled tcpc at your uboot defconfig, CONFIG_USB_TCPC=n

Also, you may use the i.MX6 as reference for this:
https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/dts/imx6qdl-sabresd.dtsi?h=lf_v20...

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?h=l...

Best regards,
Aldo.

在原帖中查看解决方案

0 项奖励
3 回复数
664 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Could you share your device tree?
Also, did you make changes to uboot defconfig?

Best regards,
Aldo.

0 项奖励
662 次查看
oprata
Contributor II

Hello Aldo

Consider the attached files.

Thanks in advance.

0 项奖励
652 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hi,

After a quick check your device tree looks correct, the only thing that is comes to mind is that you have it set as otg, not host, so I'll suggest to change it.

Please make sure that you have disabled tcpc at your uboot defconfig, CONFIG_USB_TCPC=n

Also, you may use the i.MX6 as reference for this:
https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/dts/imx6qdl-sabresd.dtsi?h=lf_v20...

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?h=l...

Best regards,
Aldo.

0 项奖励