www.ti.com
RemainingCapacityAlarm( ) (0x01)
bq20z80-V101
SLUS625D – SEPTEMBER 2004 – REVISED OCTOBER 2005
Calibration Mode: 0x0040 Places the bq20z80 into calibration mode. See Calibrating the bq20z80 application
note for further details. This function is only available when the bq20z80 is Unsealed.
bq20z80 Reset: 0x00041 When written to the bq20z80 undergoes a full reset. The bq20z80 clocks stretch
during the few milli-seconds taken to complete the reset. This function is only available when the bq20z80 is
Unsealed.
Security (Enables and Disables Features)
There are three levels of secured operation within the bq20z80. To switch between the levels, different
operations are needed with different codes. The three levels are Sealed, Unsealed, and Full Access.
1. Full Access or Unsealed to Sealed: 0x0020 Instructs the bq20z80 to limit access to the SBS functions and
data flash space and sets SBS.OperationStatus( ) [SS]. In sealed mode, standard SBS functions
have access per the Smart Battery Data Specification - Appendix A. Extended SBS Functions and
data flash are not accessible. Once in sealed mode, the part can never permanently return to
Unsealed or Full Access modes.
2. Sealed to Unsealed Instructs the bq20z80 to extend access to the SBS and data flash space and clears
SBS.OperationStatus( ) [SS]. In unsealed mode, all data, SBS, and DF have read/write access.
Unsealing is performed by using the SBS.ManufacturerAccess( ) command, and writing
subsequently two unseal keys.
The unseal keys can be read and changed via the extended SBS block command
SBS.UnSealKey( ).
To return to the Sealed mode, either a hardware reset is needed, or a command to transition from
Full Access or Unsealed to Sealed.
3. Unsealed to Full Access Instructs the bq20z80 to allow Full Access to all SBS commands and data flash.
The bq20z80 is shipped from TI in this mode. The keys for Unsealed to Full Access can be read
and changed via the extended SBS block command SBS.FullAccessKey( ) (0x61) when in Full
Access
mode.
Change
from
Unsealed
to
Full
Access
is
performed
by
using
the
SBS.ManufacturerAccess( ) command, and writing subsequently two Full Access keys. In Full
Access mode, the command to go to Boot ROM can be sent.
Also available via the SBS.ManufacturerAccess( ) commands are some of the extended SBS commands. The
following commands available shown with the corresponding SBS.ManufacturerAccess( ) code.
SBS.SafetyAlert( ) (0x0050)
SBS.SafetyStatus( ) (0x0051)
SBS.PFAlert( ) (0x0052)
SBS.PFStatus( ) (0x0053)
SBS.OperationStatus( ) (0x0054)
SBS.ChargingStatus( ) (0x0055)
SBS.ResetData( ) (0x0057)
SBS.WDResetData( ) (0x0058)
SBS.PackVoltage( ) (0x005a)
SBS.AverageVoltage( ) (0x005d)
This read or write function sets or gets a low-capacity alarm threshold unsigned integer value with a range of 0 to
65535 and units of either mAh or 10 mWh depending on the setting of SBS.BatteryMode( ) [CAPACITY_MODE].
See the SBS.BatteryMode( ) function for further information
When
the
SBS.RemainingCapacity(
)
is
<
SBS.RemainingCapacityAlarm(
),
the
bq20z80
sends
SBS.AlarmWarning( ) messages to the SMBus Host address with the Remaining_Capacity_Alarm (RCA) bit set.
RCA is cleared when SBS.RemainingCapacity( ) is
≥SBS.RemainingCapacityAlarm( ) AND SBS.BatteryStatus( )
[DISCHARGING] is set.
The
default
value
of
SBS.RemainingCapacityAlarm(
)
is
set
in
DF:Rem
Cap
Alarm.
If
SBS.RemainingCapacityAlarm( ) = 0, this alarm is disabled.
29