Hi
I have android P running iMX8 board,The USB connector is USB type A. USB connector DP&DN connect to iMX8 USB_OTG1_DP&USB_OTG1_DN pins, iMX8 USB_OTG1_ID pin dangling. In the DTS file "&usbotg1" node add "dr_mode = "peripheral"; ". After the USB is inserted, board power on. I use command "adb devices" not found adb device, UART Debug "cat /sys/kernel/debug/ci_hdrc.0/role" is gadget. reinserted USB, use command "adb devices" can find adb device. If after the USB is inserted board power on can find adb device.
Do I need to modify anything?
Solved! Go to Solution.
Just remove R327&R328, Because OTG1 it's not directly connected to IMX8 there is a U37 in the middle.
Do you follow the official design?
Hi
HW do not follow the official design. The HW official design of OTG1 is Type-C. OTG1 normally works in host mode only. I want to use SW to force OTG1 status,Because need ADB for the debug.
Can you send your schematics about your USB and related dts code?
Just remove R327&R328, Because OTG1 it's not directly connected to IMX8 there is a U37 in the middle.