IMX8MQ as Device mode and Host parallel not working

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

IMX8MQ as Device mode and Host parallel not working

跳至解决方案
891 次查看
saurav-pandya
Contributor III

Hi ,

I am working on imx8mq customize board. I have got error when we configure as device mode and host.

Device tree configuratrion

&usb_dwc3_0 {
dr_mode = "otg";
//extcon = <&extcon_usb0>;
//dr_mode = "peripheral";
//hnp-disable;
//srp-disable;
//adp-disable;
//usb-role-switch;
//snps,dis-u1-entry-quirk;
//snps,dis-u2-entry-quirk;
//maximum-speed = "super-speed";
status = "okay";

 

port {
usb3_drd_sw: endpoint {
remote-endpoint = <&typec_dr_sw>;
};
};

};

Dmege error :

usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[  129.288930] usb usb2-port1: config error

Also I have checked with other cable but same issue.

Please help me on same

Thanks,

Saurav 

0 项奖励
回复
1 解答
875 次查看
saurav-pandya
Contributor III

Hi,

Thank you for response. issue resolved.

 

Regards,

Saurav

在原帖中查看解决方案

0 项奖励
回复
4 回复数
876 次查看
saurav-pandya
Contributor III

Hi,

Thank you for response. issue resolved.

 

Regards,

Saurav

0 项奖励
回复
573 次查看
naveenprasath_0
Contributor I
Hi Saurav, We are also facing similar kind of issues. Can you please let know what was the issue and how it was resolved?
0 项奖励
回复
561 次查看
saurav-pandya
Contributor III

Hi,

That issue in configuration of USB , need to operate GPIO for enable and disable of Device mode and Host mode.

For that we used our custom driver and configure GPIO in that.

 

Thanks,

Saurav

 

0 项奖励
回复
881 次查看
riteshmpatel
NXP TechSupport
NXP TechSupport

Hi Saurav,

Hope you are doing well.

Apologies for delay in response.

1. If possible could you please share the USB schematic section from processor to the USB connector?

2. Rather than using USB cable, are you able to detect the USB OTG port as a device port after plugging in any storage device?

Thanks & Regards,

Ritesh M Patel 

0 项奖励
回复