
VID_COMP1
Comp #4
Comp #3
Comp #2
Comp #1
RID
ID
VUSB
ID_SRC_16UA
D
ec
o
d
er
/D
eb
o
u
n
ce
ID_GND
ID_A
ID_B
ID_C
ID_FLOAT
VID_COMP2
VID_CMP4
VID_COMP3
OTG_ID
SWCS045B
– SEPTEMBER 2010 – REVISED JUNE 2011
The ID wake-up comparator is used when the TWL6030 device is in WAIT-ON or SLEEP state. It allows the start
up of the TWL6030 device when a USB cable A-plug is attached; that is, when a pulldown resistor to ground
(ROTG_A) is present on the ID line.
Four comparators, supplied by the VUSB regulator, are implemented to evaluate the external ID resistance.
Additional logic between those comparators allows the generation of five debounced interrupts (with fixed 30-ms
Figure 16. ID Resistance Detection
Interrupts are generated based on the conditions listed in
Table 17.
Table 17. Interrupt Generation Conditions
GENERATED INTERRUPT
ID PIN LEVEL
ID_GND
ID_C
ID_B
ID_A
ID_FLOAT
VID < VID_CMP1
1
0
VID_CMP1 < VID < VID_CMP2
0
1
0
VID_CMP2 < VID < VID_CMP3
0
1
0
VID_CMP3 < VID < VID_CMP4
0
1
0
VID > VID_CMP4
0
1
It is possible to use the GPADC to monitor the voltage on the ID line (channel 14). A 6.875-V maximum voltage
on the ID line corresponds to a 1.25-V maximum dynamic at the input stage of the GPADC converter, allowing a
6.0-V maximum measurement.
VBUS Line
The VBUS wake-up comparator is used when the TWL6030 device is in PRECHARGE, WAIT-ON, SLEEP, or
ACTIVE state. It allows startup of the TWL6030 device when a USB cable plug is attached; that is, when a VBUS
voltage level of 3.6 V minimum is present on the VBUS line.
The VUSB regulator can be enabled or disabled by the VBUS wake-up comparator until the first I2C write access
to the VUSB resource state register (VUSB_CFG_STATE). Note that the VUSB regulator is controlled by the
VBUS wake-up comparator only when the NRESPWRON signal is low.
72
Copyright
2010–2011, Texas Instruments Incorporated