imx8mm enable usb2 controller in winIot

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

imx8mm enable usb2 controller in winIot

1,695 Views
zhwang
Contributor I

I am using W21H2-1-4-0 to test imx8mm can boot iot system, but only see 1 usb controller in the system, imx8mm processor should have "2x USB 2.0 OTG controllers with integrated PHY". How do I get the second usb controller to work? (Modify firmware or driver?)

0 Kudos
Reply
5 Replies

1,666 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Are you using NXP reference board? In our reference board there are two usb:

J301 is connected to the USB1 interface of the i.MX 8M Mini, which can act as the download port of the EVK.
• J302 is connected to the USB2 interface of the i.MX 8M Mini, which can act as the power supply port of the EVK.

0 Kudos
Reply

1,601 Views
zhwang
Contributor I

Can the j301 and j302 of the i.MX 8M Mini Evk be used as USB storage ports at the same time?

0 Kudos
Reply

1,589 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Can the j301 and j302 of the i.MX 8M Mini Evk be used as USB storage ports at the same time?

A:In our EVK board the answer is no, as J302 is the power port, When it connect to the power how to connect use storage device? But you can realized this in your design, with the power seperate design.

0 Kudos
Reply

1,640 Views
zhwang
Contributor I

Thank you for your reply.
It's not an EVK board, it's an "i.MX 8M Mini Quad applications processor" processor, we made the baseboard.
The hardware wiring is correct, because we tested in linux that both usb's work fine in "otg mode".
Iot we want to use both usb1 and usb2 as "host mode" or "otg mode". Using imx8mm fireware and drivers, usb1 works fine, but usb2 has voltage but no data.
So is it possible that usb2 is not enabled in fireware and how to enable it?

0 Kudos
Reply

1,591 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Dear @zhwang ,

As far as I know, for the linux version BSP, the ROM code only support USB1 download mode, do not support the USB2. So the USB1 is not exactly the same with USB2.

Which version BSP are you using?

Wish you have a nice day

Best Regards

Rita 

0 Kudos
Reply