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?