
SWCS045-014
R
BRI
GPADC_IN0
V
BRIRef
I
BRI
BATREMOVAL
VRTC
SWCS045B
– SEPTEMBER 2010 – REVISED JUNE 2011
EPROM
WATCHDOG TIME
(CHARGING
CHARGING
EPROM
SOURCE
CONTROL
(WDG VALUE)
MIN
MAX
DEPENDENCY)
1
USB charging port
Hardware
0
5 min 4 s
5 min 36 s
1
Others
Hardware
0
13 min 13 s
14 min 15 s
1
USB charging port
Hardware
1
10 min 10 s
11 min 12 s
1
Others
Hardware
1
26 min 26 s
28 min 29 s
0
Hardware
0
13 min 13 s
14 min 15 s
0
Hardware
1
26 min 26 s
28 min 29 s
Software
All
X
0
127 s
(programmable)
Limit Registers
During full-charge phase, software sets the charging voltage and current. However, the TWL6030 device limits
the current and voltage to a level that is defined in the limit registers. The limit registers in the TWL6030 device
must be written just after the startup. Software must check the battery type and define the maximum charging
current and voltage for the battery being used, write the limit values, and lock the limit registers with the
LOCK_LIMIT register bit, so that these cannot be changed when the device is powered on. The limit values are
reset during power off by the NRESPWRON signal and they must be written by software during every power up.
This ensures that third-party software or a virus cannot set a charging current or voltage that is too high.
Battery Presence Detector
The TWL6030 device supports battery detection. The presence of the battery can be detected with the
GPADC_IN0 input signal. The interface has two different functions:
Detect battery removal/presence
Measure the size of the resistor connected to the GPADC_IN0 line in the battery pack using the GPADC
Battery pack removal is detected by a comparator that monitors GPADC_IN0. The battery pack must have a
pulldown resistor (RBRI) and the TWL6030 device has a current source (IBRI) in the line. If the battery pack is
removed, GPADC_IN0 rises above the comparator threshold level, the battery removal is detected, and the
TWL6030 device sends an indication to the host processor. In addition, battery charging is terminated if the
battery is not present. Battery removal is detected with a comparator and a current source is supplied on the
VRTC supply domain. This supply scheme allows the detection in a dead battery case configuration, because the
VRTC can be supplied from the VBUS or VAC lines. The battery presence detection module is enabled during
the charging and during the ACTIVE and SLEEP states.
Figure 14 shows a block diagram of the battery presence detection module.
Figure 14. Battery Presence Detector
Indicator LED Driver
The TWL6030 device has an indicator LED driver that indicates charging is ongoing during hardware-controlled
66
Copyright
2010–2011, Texas Instruments Incorporated