
www.ti.com  | Registers  | 
4.78 OTG Device Control Register (DEVCTL)
The OTG Device Control Register (DEVCTL) is shown in Figure 93 and described in Table 94.
Figure 93. OTG Device Control Register (DEVCTL)
7  | 6  | 5  | 4  | 3  | 2  | 1  | 0  | 
BDEVICE | FSDEV | LSDEV | VBUS | 
  | HOSTMODE | HOSTREQ | SESSION | 
  | 
LEGEND: R/W = Read/Write; R = Read only; 
Table 94. OTG Device Control Register (DEVCTL) Field Descriptions
Bit | Field  | Value  | Description  | 
7  | BDEVICE | 
  | This   | 
  | 
  | 
  | device.  | 
  | 
  | 0  | 'A' device  | 
  | 
  | 1  | 'B' device  | 
  | 
  | 
  | Only valid while a session is in progress.  | 
6  | FSDEV  | This   | |
  | 
  | 
  | to the port   | 
  | 
  | 
  | when the device is reset). Only valid in Host mode.  | 
5  | LSDEV  | This   | |
  | 
  | 
  | Only valid in Host mode.  | 
VBUS  | These   | ||
  | 
  | 0  | Below Session End  | 
  | 
  | 1h  | Above Session End, below AValid  | 
  | 
  | 2h  | Above AValid, below VBusValid  | 
  | 
  | 3h  | Above VBusValid  | 
2  | HOSTMODE  | This   | |
1  | HOSTREQ  | When set, the USB controller will initiate the Host Negotiation when Suspend mode is entered. It is  | |
  | 
  | 
  | cleared when Host Negotiation is completed. ('B' device only)  | 
0  | SESSION  | When operating as an 'A' device, you must set or clear this bit start or end a session. When  | |
  | 
  | 
  | operating as a 'B' device, this bit is set/cleared by the USB controller when a session starts/ends.  | 
  | 
  | 
  | You must also set this bit to initiate the Session Request Protocol. When the USB controller is in  | 
  | 
  | 
  | Suspend mode, you may clear the bit to perform a software disconnect.  | 
  | 
  | 
  | A special software routine is required to perform SRP. Details will be made available in a later  | 
  | 
  | 
  | document version.  | 
Universal Serial Bus (USB) Controller  | 137  | |
Submit Documentation Feedback | 
  | 
  |