Here I use otg mode to mean that the usb controller (hardware) is not determined its role when there is nothing plugged into the usb port.
And in otg mode, does the firmware need to set SESSION bit? If yes, does that mean we have assumed that the usb controller is a host?
In the userguide, it says that USB0_ID pin will determine the role of the usb controller, but I cannot find a register to read the status of this pin.
the procedure of role determination is very confusing in the userguide. Can anybody clarify the whole procedure during the role determination from both the respective of hardware and firmware in OMAPL138?