Thank you Yuri,
We are configuring the same on OTG_ID pin you mentioned above for USB2.0.
Is the same configuration required for USB 3.0 as well? Do we need to pull the ID pin Low to configure USB3.0 port as a Host? If yes, then.....
my Default configuration (Usecase2) will be like,
1. Initially, the iMX8M USB1 module will be initialized as an OTG USB 2.0 port (as iMX8MD/Q USB modules are OTG USB2.0 compliant) & ID pin is pulled to Low voltage (Using jumper J1 in above diagrams) configures my USB3.0 Host port connector as a USB2.0 Host port.
2. Then the same USB2.0 Host port will be configured as USB3.0 host port by writing 01b to the "PRTCAPDIR"
& During Serial download mode (Usecase1),
1. The jumper J1 will be removed to make ID pin floating & Boot mode will be configured before power up. The iMX8M initialize USB OTG port first and configure my USB3.0 Host port connector as a USB2.0 Device port.
2. Will be ready now for the serial download.
Kindly confirm my understanding above.
Thanks,
Ritesh.