bq20z80-V101
www.ti.com
SLUS625D–SEPTEMBER 2004–REVISED OCTOBER 2005
Table 2. STATE Code for Manufacture Status (continued)
STATE
Battery Fail - Charge
Battery Fail - Discharge
Over Heat - Charge
Over Heat - Discharge
Removed
STATE CODE (hex)
CORRESPONDING FLAG
SBS.SafetyStatus( ) OCC or OCC2
a
b
SBS.SafetyStatus( ) OCD or OCD2
SBS.SafetyStatus( ) OTC
SBS.SafetyStatus( ) OTD
f
NOT SBS.OperationStatus( ) PRES
Communication causes exit of sleep
SBS.SafetyStatus( ) PF
Sleep
d
9
Permanent Failure
System Control (Triggers Actions)
The commands in this section cause the bq20z80 to take actions when written. No data is returned.
Shutdown Command: 0x0010 Instructs the bq20z80 to verify and enter Shutdown. This commenad is only
available whent he bq20z80 is in unsealed security mode (SBS.OperationStatus( ) [SS] = 0). See Shutdown in
Power Modes.
Sleep Command: 0x0011 Instructs the bq20z80 to enter Sleep. This commenad is only available whent he
bq20z80 is in unsealed security mode (SBS.OperationStatus( ) [SS] = 0). See Sleep in Power Modes.
IT Enable: 0x0021 A write forces the bq20z80 to begin the Impedance Track™ algorithm and sets DF:Update
Status [ITEN]. This also sets SBS.OperationStatus( ) [VOK, QEN]. VOK indicates that voltages are OK for a
QMAX update for the Impedance Track™ algorithm. QEN indicates QMAX update is in progress. This function is
only available when the bq20z80 is Unsealed.
DF:Update Status
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Low Byte
RSVD
RSVD
RSVD
RSVD
RSVD
ITEN
RSVD
RSVD
RSVD (bit 0, 1, 3, 4, 5, 6, 7) Reserved and should be 0
ITEN (bit 2) 1 = Impedance Track™ algorithm and Lifetime data updating enabled
SIZE
(BYTES)
DEFAULT
VALUE
NAME
CLASS / SUBCLASS
FORMAT
VALID RANGE
UNITS
N/A
Update Status
Gas Gauging / State (82)
Hex
0x00 or 0x04
1
0x00
Permanent Fail Clear: (1) 0x2673 then (2) 0x1712, Instructs the bq20z80 to clear the Permanent Failure
Status, clear the Permanent Failure Flag, clear the SAFE and SAFE pins, and unlock the data flash for writes.
This function is only available when the bq20z80 is Unsealed
NOTE:
(1) must be followed by (2). If the clear fails then (1) can only be re-sent after 4
seconds since the last communication in the failed attempt. If communication other
than the second code occurs after the first code is sent, the clear fails.
SAFE Activation: 0x0030 Drives the SAFE pin low and the SAFE pin high. This function is only available when
the bq20z80 is Unsealed.
SAFE Clear: 0x0031 Drives the SAFE pin high and the SAFE pin low, only if protection functions allow. This
does not clear PF Mode. This function is only available when the bq20z80 is Unsealed.
LEDs ON: 0x0032 Activates all configured LEDs to stay on. This function is only available when the bq20z80 is
Unsealed.
LEDs OFF: 0x0033 Deactivates all configured LEDs. This function is only available when the bq20z80 is
Unsealed.
Display ON: 0x0034 Activates the configured LED display per the level of SBS.RemainingStateOfCharge( ). The
display turns off per the normal display configuration. This function is only available when the bq20z80 is
Unsealed.
28