Specifications

CY7C67200
Document #: 38-08014 Rev. *H Page 42 of 85
Register Description
The Device n SOF/EOP Count register must be written with the
time expected between receiving a SOF/EOPs. If the SOF/EOP
counter expires before an SOF/EOP is received, an SOF/EOP
Timeout Interrupt can be generated. The SOF/EOP Timeout
Interrupt Enable and SOF/EOP Timeout Interrupt Flag are
located in the Device n Interrupt Enable and Status registers,
respectively.
The SOF/EOP count must be set slightly greater than the
expected SOF/EOP interval. The SOF/EOP counter decrements
at a 12-MHz rate. Therefore in the case of an expected 1-ms
SOF/EOP interval, the SOF/EOP count must be set slightly
greater then 0x2EE0.
Count (Bits [13:0])
The Count field contains the current value of the SOF/EOP down
counter. At power-up and reset, this value is set to 0x2EE0 and
for expected 1-ms SOF/EOP intervals, this SOF/EOP count
should be increased slightly.
Reserved
All reserved bits must be written as ‘0’.
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]
Figure 40. OTG Control Register
Register Description
The OTG Control register allows control and monitoring over the
OTG port on Port1A.
VBUS Pull-up Enable (Bit 13)
The VBUS Pull-up Enable bit enables or disables a 500 ohm
pull-up resistor onto OTG VBus.
1: 500 ohm pull-up resistor enabled
0: 500 ohm pull-up resistor disabled
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 2K-ohm
discharge pull-down resistor onto OTG VBus.
1: 2K-ohm pull-down resistor enabled
0: 2K-ohm pull-down resistor disabled
D+ Pull-up Enable (Bit 9)
The D+ Pull-up Enable bit enables or disables a pull-up resistor
on the OTG D+ data line.
1: OTG D+ dataline pull-up resistor enabled
0: OTG D+ dataline pull-up resistor disabled
D– Pull-up Enable (Bit 8)
The D– Pull-up Enable bit enables or disables a pull-up resistor
on the OTG D– data line.
1: OTG D– dataline pull-up resistor enabled
0: OTG D– dataline pull-up resistor disabled
Table 28. OTG Registers
Register Name Address R/W
OTG Control Register C098H R/W
Bit # 15 14 13 12 11 10 9 8
Field Reserved VBUS
Pull-up
Enable
Receive
Disable
Charge Pump
Enable
VBUS
Discharge
Enable
D+
Pull-up
Enable
D–
Pull-up
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+
Pull-down
Enable
D–
Pull-down
Enable
Reserved OTG Data
Status
ID
Status
VBUS Valid
Flag
Read/Write R/W R/W - - - R R R
Default 0 0 0 0 0 X X X