imx7d how to use USB OTG as a slave device

cancel
Showing results for 
Search instead for 
Did you mean: 

imx7d how to use USB OTG as a slave device

88 Views
Contributor II

imx7d how to use USB OTG as a slave device
Hello everyone, I am using the MCIMX7SABRE development board provided by the NXP official website. Due to the functional requirements of the product, we need to use USB_OTG1 as a slave device and USB_OTG2 as a master device. Now USB_OTG2 can be used as a master device, but USB_OTG1 cannot always be used as a slave device. At the same time, I found that when I use mfgtools for programming, USB_OTG1 is used as a slave device. How do I configure it to make USB_OTG1 a slave device?

Labels (1)
0 Kudos
1 Reply

2 Views
NXP TechSupport
NXP TechSupport

Hi,

 See below, please!

pastedImage_2.png

1. USB OTG ID should be pulled up HIGH

2. USB OTG VBUS should be supplied by external PC USB via USB cable.

then usb otg will work at device mode.

Have a nice day!

BR,

Weidong

0 Kudos