IMX8MM Minimum USB Configuration for Download

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

IMX8MM Minimum USB Configuration for Download

642 Views
user1092
Contributor III

Hello,

I would like to implement the minimum circuitry for USB to be able to download/flash via UUU. This is the only purpose of the USB port in this design.

I have seen the following post: https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8MM-i-MX8MQ-USB2-0-Design-Without-US...

This post uses the USB1_OTG_ID (GPIO1_IO10) pin to configure the IMX8MM as a host or peripheral.

I have no interest in operating the USB as a host. Is it still required to pull-up USB1_OTG_ID (GPIO1_IO10) to +1V8?

If this is possible, are there any device tree changes requried once the system is up and running? Ideally there is no reason for USB to be operating once in the Linux environment.

Thanks,

Chris.

0 Kudos
Reply
5 Replies

604 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

It depends on your design. How about the usb interface are you using Type-C or micro USB?

0 Kudos
Reply

596 Views
user1092
Contributor III
Appologies forgot to include, the intention is for a micro usb connector.
0 Kudos
Reply

549 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

OK, if you use the micro usb and connect the usb1_otg_id, you need to pull it to (GPIO1_IO10) to +1V8.

Rita_Wang_0-1762851478256.png

 

0 Kudos
Reply

508 Views
Adele
Contributor I

 

@Rita_Wang 

I'd like to know what the purpose of the USB ID(legacy) or DRD is when USB is only used as a device/peripheral. In other words, the ROM code only defines the device. The UUU's function is simply to communicate with the USB device. How does this relate to the type of USB connector, especially if it's only used as a USB device?

0 Kudos
Reply

470 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You just need change the dr_mode to the  "peripheral":

&usb_otg1 {
    dr_mode = "peripheral";  /* Options: "host", "peripheral", "otg" */
    status = "okay";

0 Kudos
Reply