bq20z80-V101
www.ti.com
SLUS625D–SEPTEMBER 2004–REVISED OCTOBER 2005
NOTE:
CF, AM, ChgM, and CapM are the only bits described as they are the only ones used
in the bq20z80. See the SBD specification for details on the remaining bits.
CONDITION_FLAG: Is initially set and is then permanently cleared when QMAX or the RA table have been
updated.
ALARM_MODE: Disables the bq20z80's ability to master the SMBus and send SBS.AlarmWarning( ) messages
to the SMBus Host and the Smart Battery Charger.
When ALARM_MODE = 1, the bq20z80 does not master the SMBus, and SBS.AlarmWarning( )
messages are not sent to the SMBus Host and the Smart Battery Charger for a period of no more
than 65 seconds and no less than 45 seconds. ALARM_MODE is automatically cleared by the
bq20z80 60 seconds after being set to 1.
When ALARM_MODE = 0 (default), the bq20z80 sends the SBS.AlarmWarning( ) messages to the
SMBus Host and the Smart Battery Charger any time an alarm condition is detected.
NOTE:
The system, as a minimum, is required to poll the Smart Battery every 10 seconds if
the ALARM_MODE bit is set.
CHARGER_MODE: Enables or disables the bq20z80's transmission of SBS.ChargingCurrent( ) and
SBS.ChargingVoltage( ) messages to the Smart Battery Charger.
When CHARGER_MODE = 1, the bq20z80 does NOT transmit SBS.ChargingCurrent( ) and
SBS.ChargingVoltage( ) values to the Smart Battery Charger.
When CHARGER_MODE = 0 (default), the bq20z80 transmits the SBS.ChargingCurrent( ) and
SBS.ChargingVoltage( ) values to the Smart Battery Charger when charging is desired.
CAPACITY_MODE: Indicates if capacity information is reported in mA/mAh or 10 mW/10 mWh.
When CAPACITY_MODE = 0 (default), the capacity information is reported in mA/mAh as appropriate. After
changing the CAPACITY_MODE bit, the following functions are instanteously updated:
•
•
•
•
•
SBS.RemainingCapacityAlarm( )
SBS.AtRate( )
SBS.RemainingCapacity( )
SBS.FullChargeCapacity( )
SBS.DesignCapacity( ), SBS.DesignCapacity( ) changes between DF:Design Capacity or DF:Design Energy
depending on the CM bit transition.
The following functions are calculated on the basis of capacity, and may be calculated differently depending on
the CAPACITY_MODE bit:
•
•
•
•
•
•
SBS.AtRateOK( )– Within 1s
SBS.AtRateTimeToEmpty( )– Within 1s
SBS.RunTimeToEmpty( )– Within 1s
SBS.AverageTimeToEmpty( )– Within 1s
SBS.RemainingTimeAlarm( )– Within 1s
SBS.BatteryStatus( )– Within 1s
SIZE
(BYTES)
DEFAULT
VALUE
NAME
CLASS / SUBCLASS
FORMAT
VALID RANGE
UNITS
Init Battery Mode
SBS Configuration / Data (48)
Hex
0x0000 to 0xffff
2
N/A
0x81
AtRate( ) (0x04)
This read- or write-word function is the first half of a two-function call set used to set the AtRate value used in
calculations made by the SBS.AtRateTimeToFull( ), SBS.AtRateTimeToEmpty( ), and SBS.AtRateOK( )
functions. The AtRate units are in either current (mA) or power (10 mW) depending on the setting of the
SBS.BatteryMode( ) CAPACITY_MODE bit. See the SBS.BatteryMode( ) function for further information
31