USB OTG1 in Host mode

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

USB OTG1 in Host mode

1,101 Views
dolrairom
Contributor II

Hello all! I am new with imx8 so I am bit lost with peripherals configuration.

I am configuring imx8 for Linux to be programmed into TQMa8Xx, placed in a custom board.

Our board has a self-powered non removable USB hub connected to USB OTG1. The hardware configuration is the following:

usb pinout.jpg

In the software part, the usb otg1 has been configured without vbus power supply, as the device does not need to be powered from the TQ module. So the otg1 configuration is the following:

&usbotg1 
    pinctrl-names = "default";
    dr_mode = "host";
    disable-over-current;
    status = "okay";
};
 
Does someone know if there's something missing in our configuration? When executing lsusb command the hub is not found. However, if disconnecting the module from the board and setting a laptop as the upstream, the hub is found and everything works.
 
Please, all kind of help is welcomed!
 
Thanks in advance!!
 
 
Tags (4)
0 Kudos
4 Replies

1,053 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

If you want to program the i.MX8QM board , you need make the usb1 work in the device mode, but I see your hardware it is work as host mode, so can not work as device mode.

0 Kudos

1,079 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Which product are you using? i.MX8QM or others?

0 Kudos

1,070 Views
dolrairom
Contributor II

Hello and thanks for replying, the CPU of our TQ module is i.MX8X Quad Plus

 

EMB_DB_TQMa8Xx_EN_Rev213_Web_01.pdf (tq-group.com)

0 Kudos

1,089 Views
dolrairom
Contributor II

Hello @igorpadykov , could you please take a look? thanks a lot!! I am really really lost with this

0 Kudos