IMX8DX USB high speed issue

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

IMX8DX USB high speed issue

702 Views
afridi20
Contributor III

Hi,

I have tried to configure USBOTG2 as host in i.MX8DX custom board.In Low speed mode HID devices ie mouse and keyboard are getting detected, In Full speed mode, USB2.0(pendrive connected with external USB hub) is getting detected. But it is not able to detect the USB2.0(pendrive) in High speed mode. Also as gadget mode ie ADB is working with a file transfer speed of around 13MBps.

Difference in hardware design is that we are not using usb type C related modules such as CC logic detection (ptn5110NTHQZ) and socket type C connector(DX07S024JJ2R1300) which are present in i.MX8QXP-EVK. We are using D+, D-, VCC5V, GND lines which are taken out using USB type A connector, through which we can connect HID devices and USB2.0(pendrive).   

I have attached the log below.  Kindly comment on the possible causes of this High speed mode USB host issue and suggest a solution for it. Thank you in advance.

ERROR LOG:

[ 94.259805] usb 1-1: new high-speed USB device number 2 using cdns-usb3
[ 95.163815] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 95.295758] usb 1-1: new high-speed USB device number 3 using cdns-usb3
[ 96.199862] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 96.206550] usb usb1-port1: attempt power cycle
[ 97.423867] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 97.559807] usb 1-1: new high-speed USB device number 5 using cdns-usb3
[ 97.569092] usb 1-1: Device not responding to setup address.
[ 97.779828] usb 1-1: Device not responding to setup address.
[ 97.991808] usb 1-1: device not accepting address 5, error -71
[ 97.998771] usb usb1-port1: unable to enumerate USB device
[ 98.275830] usb 1-1: new high-speed USB device number 6 using cdns-usb3
[ 99.179817] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 100.151830] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 100.158518] usb usb1-port1: attempt power cycle
[ 101.375808] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 101.507773] usb 1-1: new high-speed USB device number 9 using cdns-usb3
[ 101.514496] usb 1-1: Device not responding to setup address.
[ 101.727789] usb 1-1: Device not responding to setup address.
[ 101.939780] usb 1-1: device not accepting address 9, error -71
[ 101.945741] usb usb1-port1: unable to enumerate USB device
[ 102.219770] usb 1-1: new high-speed USB device number 10 using cdns-usb3
[ 103.123833] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 104.095812] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 104.102497] usb usb1-port1: attempt power cycle
[ 105.387806] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 105.519781] usb 1-1: new high-speed USB device number 13 using cdns-usb3
[ 105.526637] usb 1-1: Device not responding to setup address.
[ 105.739832] usb 1-1: Device not responding to setup address.
[ 105.951809] usb 1-1: device not accepting address 13, error -71
[ 105.957848] usb usb1-port1: unable to enumerate USB device
[ 106.231762] usb 1-1: new high-speed USB device number 14 using cdns-usb3
[ 107.135811] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 107.267761] usb 1-1: new high-speed USB device number 15 using cdns-usb3
[ 108.239811] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 108.246507] usb usb1-port1: attempt power cycle
[ 109.463833] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 109.595788] usb 1-1: new high-speed USB device number 17 using cdns-usb3
[ 109.602584] usb 1-1: Device not responding to setup address.
[ 109.815831] usb 1-1: Device not responding to setup address.
[ 110.027753] usb 1-1: device not accepting address 17, error -71
[ 110.033777] usb usb1-port1: unable to enumerate USB device
[ 110.307760] usb 1-1: new high-speed USB device number 18 using cdns-usb3
[ 111.211803] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 112.183825] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 112.190514] usb usb1-port1: attempt power cycle
[ 113.475832] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 114.447806] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 114.454480] usb usb1-port1: unable to enumerate USB device

0 Kudos
3 Replies

658 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @afridi20,

Please confirm if the ehci-hcd driver is probed or not.
Please refer to the below document from the kernel source, for more information about the ehci driver.
"Documentation/usb/ehci.rst"

 

Thanks & Regards,
Dhruvit.

0 Kudos

652 Views
afridi20
Contributor III

Hi @Dhruvit ,

It is probed and we got the print from the init function of ehci-hcd.c 

[ 2.079185] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.085774] ehci-pci: EHCI PCI platform driver
[ 2.090319] ehci-platform: EHCI generic platform driver
[ 21.068257] usb usb3: Manufacturer: Linux 5.4.70-g372a79b85-dirty ehci_hcd

 

0 Kudos

616 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @afridi20,

Are you connecting D+, D-, VCC5V, and GND in layout only or you are physically connecting them by wires?
Please share your schematics for further debugging.
 

We also recommend you go through once ERR050053 from IMX8X_0N95W Mask Set Errata and try the given workaround.
 
 
Best regards,
Dhruvit.
0 Kudos