This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OTG/ADB USB state recognition

Other Parts Discussed in Thread: DM3730

HI,


when im connecting the OTG to device i can reconnect it with no problem but if i want to connect the device

to the PC (ADB) after disconnecting the OTG i have to power cycle the device (sleep/wakeup) otherwise it doesnt

recognizes the PC, meaning its stuck in HOST mode.

when connecting the PC first and then the OTG, the problem doesnt happen, meaning it has no problem switching from HOST to PERIPHERAL.

how can i reset the USB state after each disconnection in order to fix this?

(im using the dm3730)

thanks,