IMX8MQ as Device mode and Host parallel not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8MQ as Device mode and Host parallel not working

Jump to solution
1,171 Views
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 Kudos
Reply
1 Solution
1,155 Views
saurav-pandya
Contributor III

Hi,

Thank you for response. issue resolved.

 

Regards,

Saurav

View solution in original post

0 Kudos
Reply
4 Replies
1,156 Views
saurav-pandya
Contributor III

Hi,

Thank you for response. issue resolved.

 

Regards,

Saurav

0 Kudos
Reply
853 Views
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 Kudos
Reply
841 Views
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 Kudos
Reply
1,161 Views
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 Kudos
Reply