gotgctl
Module Instance | Base Address | Register Address |
---|---|---|
usb0 | 0xFFB00000 | 0xFFB00000 |
usb1 | 0xFFB40000 | 0xFFB40000 |
Offset: 0x0
Access: RW
Bit Fields | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
Reserved |
otgver RW 0x0 |
bsesvld RO 0x0 |
asesvld RO 0x0 |
dbnctime RO 0x0 |
conidsts RO 0x1 |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Reserved |
devhnpen RW 0x0 |
hstsethnpen RW 0x0 |
hnpreq RW 0x0 |
hstnegscs RO 0x0 |
bvalidovval RW 0x0 |
bvalidoven RW 0x0 |
avalidovval RW 0x0 |
avalidoven RW 0x0 |
vbvalidovval RW 0x0 |
vbvalidoven RW 0x0 |
sesreq RW 0x0 |
sesreqscs RO 0x0 |
gotgctl Fields
Bit | Name | Description | Access | Reset | ||||||
---|---|---|---|---|---|---|---|---|---|---|
20 | otgver | Indicates the OTG revision. In OTG Version 1.3. the core supports Data line pulsing and VBus pulsing for SRP. In OTG Version 2.0 the core supports only Data line pulsing for SRP.
|
RW | 0x0 | ||||||
19 | bsesvld | Mode: Device only. Indicates the Device mode transceiver status. In OTG mode, you can use this bit to determine IF the device is connected or disconnected. If you do not enable OTG features (such as SRP and HNP), the read reset value will be 1. The vbus assigns the values internally for non-SRP or non-HNP configurations.
|
RO | 0x0 | ||||||
18 | asesvld | Mode: Host only. Indicates the Host mode transceiver status. If you do not enabled OTG features (such as SRP and HNP), the read reset value will be 1.The vbus assigns the values internally for non-SRP or non-HNP configurations.
|
RO | 0x0 | ||||||
17 | dbnctime | Mode: Host only. Indicates the debounce time of a detected connection.
|
RO | 0x0 | ||||||
16 | conidsts | Mode: Host and Device. Indicates the connector ID status on a connect event.This bit is valid only for Host and Device mode.
|
RO | 0x1 | ||||||
11 | devhnpen | Mode: Device only. The application sets this bit when it successfully receives a SetFeature.SetHNPEnable command from the connected USB host.
|
RW | 0x0 | ||||||
10 | hstsethnpen | Mode: Host only. The application sets this bit when it has successfully enabled HNP (using the SetFeature.SetHNPEnable command) on the connected device.
|
RW | 0x0 | ||||||
9 | hnpreq | Mode: Device only. The application sets this bit to initiate an HNP request to the connected USB host. The application can clear this bit by writing a 0 when the Host Negotiation Success Status Change bit in the OTG Interrupt register (GOTGINT.HstNegSucStsChng) is SET.The core clears this bit when the HstNegSucStsChng bit iscleared.
|
RW | 0x0 | ||||||
8 | hstnegscs | Mode: Device only. Host Negotiation Success (HstNegScs) The core sets this bit when host negotiation is successful. The core clears this bit when the HNP Request (HNPReq) bit in this register is SET.
|
RO | 0x0 | ||||||
7 | bvalidovval | This bit is used to set Override value for Bvalid signalwhen GOTGCTL.BvalidOvEn is set.
|
RW | 0x0 | ||||||
6 | bvalidoven | This bit is used to enable/disable the software to override the Bvalid signal using the GOTGCTL.BvalidOvVal.
|
RW | 0x0 | ||||||
5 | avalidovval | This bit is used to set Override value for Avalid signal when GOTGCTL.BvalidOvEn is set.
|
RW | 0x0 | ||||||
4 | avalidoven | This bit is used to enable/disable the software to override the Avalid signal using the GOTGCTL.AvalidOvVal.
|
RW | 0x0 | ||||||
3 | vbvalidovval | This bit is used to set Override value for vbus valid signal when GOTGCTL.VbvalidOvEn is set.
|
RW | 0x0 | ||||||
2 | vbvalidoven | This bit is used to enable/disable the software to override the vbus-valid signal using the GOTGCTL.vbvalidOvVal..
|
RW | 0x0 | ||||||
1 | sesreq | The application sets this bit to initiate a session request on the USB. The application can clear this bit by writing a 0 when the Host Negotiation Success Status Change bit in the OTG Interrupt register (GOTGINT.HstNegSucStsChng) is SET. The core clears this bit when the HstNegSucStsChng bit is cleared. If you use the USB 1.1 Full-Speed Serial Transceiver interface to initiate the session request, the application must wait until the VBUS discharges to 0.2 V, after the B-Session Valid bit in this register (GOTGCTL.BSesVld) is cleared. This discharge time varies between different PHYs and can be obtained from the PHY vendor.
|
RW | 0x0 | ||||||
0 | sesreqscs | This bit is set when a session request initiation is successful. This bit is valid only For Device Only configuration when OTG_MODE == 3 or OTG_MODE == 4. Applies for device only.
|
RO | 0x0 |