IMX8MQ as Device mode and Host parallel not working

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

IMX8MQ as Device mode and Host parallel not working

ソリューションへジャンプ
1,171件の閲覧回数
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 解決策
1,155件の閲覧回数
saurav-pandya
Contributor III

Hi,

Thank you for response. issue resolved.

 

Regards,

Saurav

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,156件の閲覧回数
saurav-pandya
Contributor III

Hi,

Thank you for response. issue resolved.

 

Regards,

Saurav

0 件の賞賛
返信
853件の閲覧回数
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 件の賞賛
返信
841件の閲覧回数
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 件の賞賛
返信
1,161件の閲覧回数
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 件の賞賛
返信