SWCS045B
– SEPTEMBER 2010 – REVISED JUNE 2011
voltage. The TWL6030 device initiates startup and indicates the reason for the startup in a register. If the battery
voltage is between VBATMIN_HI and VPRCH_MAX, charging is started and the TWL6030 device initiates
startup. If the battery voltage is below VBATMIN_HI, charging is started and the TWL6030 device initiates startup
when the battery voltage crosses the VBATMIN_HI level. If the device is already powered on when the charger is
attached, the TWL6030 device only generates an interrupt for the software.
The simplified state transitions during charging are presented in
Table 15. The gating of the charging means that
the charging is disabled but continues if the reason for the gating disappears. The charging termination means
that the charging is stopped. To continue charging, the charger must reconnect or software must enable the
charging by writing a software bit. The WD column indicates the operation of charging watchdog. The INT
column indicates the generation of the interrupt, R signifying rising edge and F signifying falling edge. In addition,
the interrupt generation can be masked for different reasons by register bits. The REGISTER RESET column
indicates which register groups are reset.
During startup charging, the charging state-machine controls the charging until software takes control over
charging by updating watchdog operation or by changing the USB charging-related current or voltage values.
The default watchdog times are selectable by EPROM bits. The watchdog time during full charge is selected by
register bits.
Table 15. Simplified State Transitions During Charging
PRECONDITIONING
FULL CHARGE
REGISTE
OR PRECHARGE
COMMENTS
NRESPWRON = 1
R RESET
NRESPWRON = 0
BIT/SIGNAL
REASON
WD
INT
WD
INT
PARAMETER
VBUS_DET
Waiting for
Charger
Charging
HW
VAC_DET
No
software
SW mode
Yes
None
Charger insertion
insertion
enabled
mode
(rising)
enable
Charger
Charging
Charger insertion,
VBUS_DET
insertion (other
source
continues
software selects the
VAC_DET
Run
No
Run
Yes
None
one already
selected by
from the
priority if NRESPWRON
(rising)
attached)
priority
first one
= 1.
If NRESPWRON = 0,
VBUS charger
POOR_SRC
Gated
Run
No
Gated
Run
R/F
None
VAC charger is enabled
undervoltage
after 2.5 s, if attached.
If NRESPWRON = 0,
VBUS charger
VBUS_OVP
Gated
Run
No
Gated
Run
R/F
None
VAC charger is enabled
overvoltage
after 2.5 s, if attached.
VBUS charger
TH_SHUTD
Gated
Run
No
Gated
Run
R/F
None
overtemperature
Battery invalid
BAT_TEMP_
Gated
Run
No
Gated
Run
R/F
None
temperature
OVRANGE
Battery pack removal
detected. If battery
GPADC_IN0
voltage falls below
BRIComp = 1
Gated
Run
No
Gated
Run
Yes(1)
None
line floating
VBATMIN_LO,
NRESPWRON is set to
low.
SUSPEND
Applies to VBUS charger
Suspend bit
N/A
Gated
Run
No
None
_BOOT = 1
only
VBUS
End-of-charge indication;
termination
VITERM [2:0]
Gated
Run
No
Gated
Run
Yes
None
disabled by default by
current triggers
TERM = 1
EPROM.
(enabled by bit)
(1)
BATREMOVAL also.
62
Copyright
2010–2011, Texas Instruments Incorporated