CY7C67200
OTG Control Registers
There is one register dedicated for OTG operation. This register is covered in this section and summarized in Table 28.
OTG Control Register [0xC098] [R/W]
Table 28.OTG Registers
Register Name | Address | R/W |
OTG Control Register | C098H | R/W |
|
|
|
Figure 40. OTG Control Register
Bit # | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Field | Reserved | VBUS | Receive | Charge Pump | VBUS | D+ | D– | |
|
|
| Disable | Enable | Discharge | |||
|
|
| Enable |
|
| Enable | Enable | Enable |
Read/Write | - | - | R/W | R/W | R/W | R/W | R/W | R/W |
Default | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
|
|
|
|
|
|
|
|
|
Bit # | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Field | D+ | D– |
| Reserved |
| OTG Data | ID | VBUS Valid |
|
|
|
| Status | Status | Flag | ||
| Enable | Enable |
|
|
|
|
|
|
Read/Write | R/W | R/W | - | - | - | R | R | R |
Default | 0 | 0 | 0 | 0 | 0 | X | X | X |
|
|
|
|
|
|
|
|
|
Register Description
The OTG Control register allows control and monitoring over the OTG port on Port1A.
VBUS Pull-up Enable (Bit 13)
The VBUS
1:500 ohm
0:500 ohm
Receive Disable (Bit 12)
The Receive Disable bit enables or powers down (disables) the OTG receiver section.
1:OTG receiver powered down and disabled
0:OTG receiver enabled
Charge Pump Enable (Bit 11)
The Charge Pump Enable bit enables or disables the OTG VBus charge pump.
1:OTG VBus charge pump enabled
0:OTG VBus charge pump disabled
VBUS Discharge Enable (Bit 10)
The VBUS Discharge Enable bit enables or disables a
1:
0:
D+ Pull-up Enable (Bit 9)
The D+
1:OTG D+ dataline
0:OTG D+ dataline
D– Pull-up Enable (Bit 8)
The D–
1:OTG D– dataline
0:OTG D– dataline
D+ Pull-down Enable (Bit 7)
The D+
1:OTG D+ dataline
0:OTG D+ dataline
D– Pull-down Enable (Bit 6)
The D–
1:OTG D– dataline
0:OTG D– dataline
OTG Data Status (Bit 2)
The OTG Data Status bit is a read only bit and indicates the TTL logic state of the OTG VBus pin.
1:OTG VBus is greater than 2.4V
0:OTG VBus is less than 0.8V
ID Status (Bit 1)
The ID Status bit is a read only bit that indicates the state of the OTG ID pin on Port A.
1:OTG ID Pin is not connected directly to ground (>10K ohm)
0:OTG ID Pin is connected directly ground (< 10 ohm)
Document #: | Page 39 of 78 |
[+] Feedback