I am looking for the guidance/document for the configuring USB OTG2 port in the peripheral mode. By default it is configured in Host mode.
I made changes in the eval board imx6ul-14x14-evk.dts as below.
Is it possible to set OTG1 as host and OTG2 as OTG mode by changing the .dts settings? If OTG1 is configured as host only, can we still use mfgtools to burn the images to SD or EMMC?
Thanks TIC Weidong sun for the response.
As mentioned in errata sheet, the board can support two devices simultaneously if support for the cable detach is not required.
I would like to know impact of this limitations. If limitations are acceptable then I would like to refer such implementation. Could you please provide us such information.
For 2 USB OTG ports on i.MX6UL EVK, only one of them can be configured as OTG mode, the other must be Host mode. see Errata of i.MX6UL:
On i.mx6ul EVK, USB OTG1 is configured as Dual role mode, so USB OTG2 must work at USB Host Mode.
Have a nice day!
TIC Weidong sun