bq20z70 + bq29330 Chipset
Technical Reference Manual
Literature Number: SLUU250AJune 2006 Revised June 2006
2 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
Contents
1 Preface ..................................................................................................................... 71.1 Read this First ....................................................................................................... 71.2 Notational Conventions ............................................................................................ 7
2 Detailed Description ................................................................................................... 92.1 1st Level Protection Features ..................................................................................... 92.1.1 Cell Overvoltage and Cell Undervoltage ................................................................ 92.1.2 Charge and Discharge Overcurrent .................................................................... 122.1.3 Short-Circuit Protection .................................................................................. 162.1.4 Overtemperature Protection ............................................................................ 172.1.5 AFE Watchdog ............................................................................................ 182.2 2nd Level Protection Features ................................................................................... 182.2.1 2nd Level (Permanent) Failure Actions................................................................ 192.2.2 Time Limit Based Protection ............................................................................ 192.2.3 Limit based Protection ................................................................................... 212.2.4 Clearing Permanent Failure ............................................................................. 222.3 Gas Gauging ....................................................................................................... 222.3.1 Impedance Track Configuration ........................................................................ 222.3.2 Gas Gauge Modes ....................................................................................... 232.3.3 Qmax ....................................................................................................... 262.4 Charge Control .................................................................................................... 272.4.1 Charge Control SMBus Broadcasts .................................................................... 292.4.2 Cell Balancing ............................................................................................ 292.4.3 Charge Inhibit Mode ..................................................................................... 302.4.4 Charge Suspend Mode .................................................................................. 322.4.5 Precharge ................................................................................................. 342.4.6 Fast Charge ............................................................................................... 352.4.7 Primary Charge Termination ............................................................................ 362.4.8 Charging Faults ........................................................................................... 362.4.9 Discharge and Charge Alarms ......................................................................... 372.5 Device Operating Mode .......................................................................................... 392.5.1 Normal Mode .............................................................................................. 392.5.2 Battery Pack Removed Mode/System Present Detection .......................................... 392.5.3 Sleep Mode ............................................................................................... 392.5.4 Wake Function ............................................................................................ 402.5.5 Shutdown Mode .......................................................................................... 412.6 Security (Enables and Disables Features) ..................................................................... 412.7 Calibration .......................................................................................................... 432.7.1 Coulomb Counter Dead Band .......................................................................... 432.7.2 Auto Calibration........................................................................................... 432.8 Communications ................................................................................................... 432.8.1 SMBus On and Off State ................................................................................ 432.8.2 Packet Error Checking ................................................................................... 432.8.3 bq20z70 Slave Address ................................................................................. 432.8.4 Broadcasts to Smart Charger and Smart Battery Host .............................................. 44
SLUU250A June 2006 Revised June 2006 Contents 3Submit Documentation Feedback
A Standard SBS Commands ......................................................................................... 45A.1 ManufacturerAccess(0x00) ....................................................................................... 45A.1.1 System Data .............................................................................................. 45A.1.2 System Control ........................................................................................... 47A.1.3 Extended SBS Commands .............................................................................. 50A.2 RemainingCapacityAlarm(0x01) ................................................................................. 50A.3 RemainingTimeAlarm(0x02) ..................................................................................... 50A.4 BatteryMode(0x03) ................................................................................................ 51A.5 AtRate(0x04) ....................................................................................................... 53A.6 AtRateTimeToFull(0x05) ......................................................................................... 54A.7 AtRateTimeToEmpty(0x06) ...................................................................................... 54A.8 AtRateOK(0x07) ................................................................................................... 55A.9 Temperature(0x08) ................................................................................................ 55A.10 Voltage(0x09) ...................................................................................................... 55A.11 Current(0x0a) ...................................................................................................... 55A.12 AverageCurrent(0x0b) ............................................................................................ 56A.13 MaxError(0x0c) .................................................................................................... 56A.14 RelativeStateOfCharge(0x0d) ................................................................................... 57A.15 AbsoluteStateOfCharge(0x0e) ................................................................................... 57A.16 RemainingCapacity(0x0f) ........................................................................................ 57A.17 FullChargeCapacity(0x10) ....................................................................................... 58A.18 RunTimeToEmpty(0x11) ......................................................................................... 58A.19 AverageTimeToEmpty(0x12) .................................................................................... 58A.20 AverageTimeToFull(0x13) ........................................................................................ 59A.21 ChargingCurrent(0x14) ........................................................................................... 59A.22 ChargingVoltage(0x15) ........................................................................................... 59A.23 BatteryStatus(0x16) ............................................................................................... 60A.24 CycleCount(0x17) ................................................................................................. 61A.25 DesignCapacity(0x18) ............................................................................................ 61A.26 DesignVoltage(0x19) .............................................................................................. 62A.27 SpecificationInfo(0x1a) ........................................................................................... 62A.28 ManufactureDate(0x1b) .......................................................................................... 62A.29 SerialNumber(0x1c) ............................................................................................... 63A.30 ManufacturerName(0x20) ........................................................................................ 63A.31 DeviceName(0x21) ................................................................................................ 64A.32 DeviceChemistry(0x22) ........................................................................................... 64A.33 ManufacturerData(0x23) .......................................................................................... 64A.34 Authenticate(0x2f) ................................................................................................. 65A.35 CellVoltage4..1(0x3c..0x3f) ...................................................................................... 65A.36 SBS Command Values ........................................................................................... 65
B Extended SBS Commands ......................................................................................... 67B.1 AFEData(0x45) .................................................................................................... 67B.2 FETControl(0x46) ................................................................................................. 67B.3 StateOfHealth(0x4f) ............................................................................................... 68B.4 SafetyStatus(0x51) ................................................................................................ 68B.5 PFStatus(0x53) .................................................................................................... 69B.6 OperationStatus(0x54) ............................................................................................ 70B.7 ChargingStatus(0x55) ............................................................................................. 70
4Contents SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
B.8 ResetData(0x57) .................................................................................................. 70B.9 WDResetData(0x58) .............................................................................................. 71B.10 PackVoltage(0x5a) ................................................................................................ 71B.11 AverageVoltage(0x5d) ............................................................................................ 71B.12 UnSealKey(0x60) .................................................................................................. 71B.13 FullAccessKey(0x61) ............................................................................................. 72B.14 PFKey(0x62) ....................................................................................................... 72B.15 AuthenKey3(0x63) ................................................................................................ 72B.16 AuthenKey2(0x64) ................................................................................................ 72B.17 AuthenKey1(0x65) ................................................................................................ 73B.18 AuthenKey0(0x66) ................................................................................................ 73B.19 ManufacturerInfo(0x70) ........................................................................................... 73B.20 SenseResistor(0x71) .............................................................................................. 73B.21 DataFlashSubClassID(0x77) ..................................................................................... 74B.22 DataFlashSubClassPage1..8(0x78..0x7f) ...................................................................... 74B.23 Extended SBS Command Values ............................................................................... 74
C Data Flash ............................................................................................................... 77C.1 Accessing Data Flash ............................................................................................. 77C.1.1 Data Flash Interface ..................................................................................... 77C.1.2 Reading a SubClass ..................................................................................... 78C.1.3 Writing a SubClass ....................................................................................... 78C.1.4 Example ................................................................................................... 78C.2 1st Level Safety Class ............................................................................................ 79C.2.1 Voltage (Subclass 0) ..................................................................................... 79C.2.2 Current (Subclass 1) ..................................................................................... 81C.2.3 Temperature (Subclass 2) .............................................................................. 85C.3 2nd Level Safety ................................................................................................... 87C.3.1 Voltage (Subclass 16) ................................................................................... 87C.3.2 Current (Subclass 17) ................................................................................... 89C.3.3 Temperature (Subclass 18) ............................................................................. 91C.3.4 FET Verification (Subclass 19) ......................................................................... 92C.3.5 AFE Verification (Subclass 20) ......................................................................... 93C.4 Charge Control .................................................................................................... 93C.4.1 Charge Inhibit Cfg (Subclass 32) ....................................................................... 93C.4.2 Pre-Charge Cfg (Subclass 33) ......................................................................... 94C.4.3 Fast Charge Cfg (Subclass 34) ........................................................................ 95C.4.4 Termination Cfg (Subclass 36) ......................................................................... 97C.4.5 Cell Balancing Cfg (Subclass 37) ...................................................................... 98C.4.6 Charging Faults (Subclass 38) ......................................................................... 98C.5 SBS Configuration................................................................................................. 99C.5.1 Data (Subclass 48) ....................................................................................... 99C.5.2 Configuration(Subclass 49) ............................................................................ 103C.6 System Data ...................................................................................................... 105C.6.1 Manufacturer Info (Subclass 58) ...................................................................... 105C.7 Configuration ..................................................................................................... 105C.7.1 Registers (Subclass 64) ............................................................................... 105C.8 Power .............................................................................................................. 111C.8.1 Power (Subclass 68) ................................................................................... 111
SLUU250A June 2006 Revised June 2006 Contents 5Submit Documentation Feedback
C.9 Gas Gauging ..................................................................................................... 113C.9.1 IT Cfg (Offset 80) ....................................................................................... 113C.9.2 Current Thresholds (Offset 81) ....................................................................... 116C.9.3 State (Offset 82) ........................................................................................ 117C.10 Ra Table .......................................................................................................... 118C.10.1 R_a0 (Subclass 88) ................................................................................... 118C.10.2 R_a1 (Subclass 89) ................................................................................... 119C.10.3 R_a2 (Subclass 90) ................................................................................... 120C.10.4 R_a3 (Subclass 91) ................................................................................... 121C.10.5 R_a0x (Subclass 92) .................................................................................. 122C.10.6 R_a1x (Subclass 93) .................................................................................. 123C.10.7 R_a2x (Subclass 94) .................................................................................. 124C.10.8 R_a3x (Subclass 95) .................................................................................. 125C.11 PF Status ......................................................................................................... 126C.11.1 Device Status Data (Subclass 96) .................................................................. 126C.12 Calibration ........................................................................................................ 127C.12.1 Data (Subclass 104) .................................................................................. 127C.12.2 Config (Subclass 105) ................................................................................ 130C.12.3 Temp Model (Subclass 106) ......................................................................... 132C.12.4 Current (Subclass 107) ............................................................................... 133C.13 DataFlash Values ................................................................................................ 134
D Glossary ................................................................................................................ 141
Revision History ............................................................................................................... 143
Index ............................................................................................................................... 144
6Contents SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
1.1 Read this First
1.2 Notational Conventions
Chapter 1SLUU250A June 2006 Revised June 2006
Preface
This manual discusses modules and peripherals of the bq20z70 device and the use with the bq29330device to build a complete battery pack gas gauge and protection solution.
Following notation is used, if SBS commands and Dataflash values are mentioned within a text block:SBS commands are set in italic, e.g.: VoltageSBS bits and flags are capitalized, set in italic and enclosed with square brackets, e.g.: [PRES]DataFlash values are set in bold italic e.g.: COV ThresholdAll Dataflash bits and flags are capitalized, set in bold italic and enclosed with square brackets, e.g.:[NR]
All SBS commands, Dataflash values and flags mentioned in a chapter are listed at the end of eachchapter for reference.
The reference format for SBS commands is: SBS:Command Name(Command No.):ManufacturerAccess(MA No.)[Flag], for example:
SBS:Voltage(0x09), or SBS:ManufacturerAccess(0x00):Seal Device(0x0020)
The reference format for dataflash values is: DF:Class Name:Subclass Name(Subclass ID):ValueName(Offset)[Flag], for example:
DF:1st Level Safety:Voltage(0):COV Threshold(0), or
DF:Configuration:Registers(64):Operation A Cfg(0)[SLEEP].
SLUU250A June 2006 Revised June 2006 Preface 7Submit Documentation Feedback
www.ti.com
Notational Conventions
Preface8 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
2.1 1st Level Protection Features
2.1.1 Cell Overvoltage and Cell Undervoltage
Chapter 2SLUU250A June 2006 Revised June 2006
Detailed Description
The bq20z70 supports a wide range of battery and system protection features that are easily configuredvia the integrated data flash.
The bq20z70 can detect cell overvoltage/undervoltage and protect battery cells from damage from batterycell overvoltage/undervoltage. If Voltage remains over/under the corresponding thresholds for a period of2s, the bq20z70 goes into pack overvoltage/undervoltage condition and switches off the CHG/DSG FET.The bq20z70 recovers from a cell overvoltage condition if all the cell voltages drop below the cellovervoltage recovery threshold. The bq20z70 recovers from cell undervoltage condition if all the cellvoltages rise above the cell undervoltage recovery threshold.
SLUU250A June 2006 Revised June 2006 Detailed Description 9Submit Documentation Feedback
www.ti.com
CUVCondition
Charging Allowed
DischargingDisabled
Stop & Reset Timer
CellVoltageswithinLimit
Any CellVoltage4..1 CUVThreshold
AND
Timer 2s
All CellVoltage4..1 >CUVRecovery
COVCondition
ChargingDisabled
Discharging Allowed
Stop & Reset Timer
Any CellVoltage4..1 COVThreshold
AND
Timer 2s
All CellVoltage4..1 <COVRecovery
Stop & Reset Timer
[CUV] SafetStatus
[COV] SafetStatus
1st Level Protection Features
Figure 2-1. COV and CUV
10 Detailed Description SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
1st Level Protection Features
Table 2-1. COV and CUV
Condition: COV Condition Normal CUV Condition
Flags: BatteryStatus [TCA] [TDA], [FD]SafetyStatus [COV] [CUV]OperationStatus [XDSG]
FET: CHG FET disabled, enabled normal DSG FET disabled,during discharge enabled during charge
SBS ChargingCurrent 0 charging algorithm Pre-chg CurrentCommand:
ChargingVoltage 0 charging algorithm charging algorithm
The bq20z70 indicates cell over voltage condition by setting the [COV] flag in SafetyStatus if anyCellVoltage4..1 reaches or surpasses the COV Threshold limit during charging and stays aboveCOV Threshold limit for 2s.
In cell over voltage condition, charging is disabled, CHG FET and ZVCHG FET (if used) are turned off,ChargingCurrent and ChargingVoltage are set to zero, [TCA] flag in BatteryStatus and [COV] flag inSafetyStatus are set.
The bq20z70 recovers from cell over voltage condition if all CellVoltages4..1 are equal to or lower thanCOV Recovery limit. On recovery the [COV] flag in SafetyStatus is reset, [TCA] flag is reset, andChargingCurrent and ChargingVoltage are set back to appropriate value per the charging algorithm.
In cell over voltage condition the CHG FET is turned on during discharging to prevent overheating of theCHG FET body diode.
The bq20z70 indicates cell under voltage by setting the [CUV] flag in SafetyStatus if any CellVoltage4..1reaches or drops below the CUV Threshold limit during discharging and stays below CUV Threshold limitfor 2s.
In cell under voltage condition, discharging is disabled and DSG FET is turned off and ZVCHG FET (ifused) is turned on, ChargingCurrent is set to Pre-chg Current,[TDA] and [FD] flags in BatteryStatus andthe [CUV] flag in SafetyStatus are set.
The bq20z70 recovers from cell under voltage condition if all CellVoltages4..1 are equal to or higher thanCUV Recovery limit. On recovery the [CUV] flag in SafetyStatus is reset, [XDSG] flag is reset, the [TDA]and [FD] flags are reset, and ChargingCurrent and ChargingVoltage are set back to appropriate value perthe charging algorithm.
In cell under voltage condition, the DSG FET is turned on during charging to prevent overheating of theDSG FET body diode.
Related Variables:
DF:1st Level Safety:Voltage(0):COV Threshold(0)DF:1st Level Safety:Voltage(0):COV Recovery(3)DF:1st Level Safety:Voltage(0):CUV Threshold(12)DF:1st Level Safety:Voltage(0):CUV Recovery(15)DF:Charge Control:Pre-Charge Cfg(33):Pre-chg Current(0)SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[TCA],[TDA],[FD],[DSG]
SBS:CellVoltage4(0x3c)
SBS:CellVoltage3(0x3d)
SBS:CellVoltage2(0x3e)
SBS:CellVoltage1(0x3f)
SBS:SafetyStatus(0x51)[CUV],[COV]
SBS:OperationStatus(0x54)[XDSG]
SLUU250A June 2006 Revised June 2006 Detailed Description 11Submit Documentation Feedback
www.ti.com
2.1.2 Charge and Discharge Overcurrent
OCCondition
Stop & Reset Timer
CurrentwithinLimit
Stop & Reset Timer
Current OCThreshold
AND Timer 2s
PackRemoved
[PRES] = 0
NonremovableRecovery
Start
Timer wait
[NR] = 1
AND AverageCurrent > 100mA
AND Timer < CurrentRecoveryTime
[NR] = 1
AND Current 100mA
AverageCurrent
100mA
[NR] = 0
AND [PRES] transitionsfrom 1 to 0
ANDNonremovableConfiguration
Conditionbitnotset
ReinsertBatteryPack
[PRES] transitionsfrom 0 to 1
AverageCurrent 100mA
AND
Timer CurrentRecoveryTime
SafetyStatusFlagset
1st Level Protection Features
The bq20z70 has overcurrent protection for charge and discharge. This requires that the Current value tobe greater than or equal to a programmed OC Threshold in either charge or discharge current for a periodgreater than 2s.
Table 2-2. Charge and Discharge Overcurrent
Protection OC Threshold OC Time Limit OC Recovery Threshold SafetyStatus
Flag
Tier-1 [OCC]OC (1st Tier)Chg 2s 100mACharge
Tier-1 [OCD]OC (1st Tier) Dsg 2s -100mADischarge
Tier-3 -100mA for [AOCD]AFE OC Dsg AFE OC Dsg TimeDischarge Current Recovery Time
Figure 2-2. OC Protection
For overcurrent protection, the specific flag in SafetyStatus is set if the Current stays above the OCThreshold limit for at least 2s.
After 2s of excessive current detection during charging, the CHG FET is turned off and ZVCHG FET (ifused) is turned off. When this occurs, the internal AFE_Current_Fault timer is started from 0,ChargingCurrent and ChargingVoltage are set to 0, [TCA] flag is set and [OCC] flag is set.
However, when the bq20z70 has [OCC] flag in SafetyStatus set, the CHG FET is turned on again duringdischarge ( Current (-) Dsg Current Threshold). This prevents overheating of the CHG FET bodydiode during discharge. No other flags change state until full recovery is reached. This action is notaffected by the setting of [NR] flag.
After 2s of excessive current detection during discharging, the DSG FET is turned off and the ZVCHG FET(if used) is turned on. When this occurs the AFE_Current_Fault timer is started from 0, ChargingCurrent isset to Pre-chg Current,[XDSG] flag is set, [TDA] flag is set, and [OCD] flag is set.
12 Detailed Description SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
1st Level Protection Features
When the bq29330 detects a discharge-overcurrent fault, the charge and discharge FETs are turned off,the XALERT pin of the bq20z70 is driven low by the XALERT pin of the bq29330, and the bq29330 isinterrogated. When the bq20z70 identifies the overcurrent condition, the AFE_Current_Fault timer isstarted from 0, [TDA] flag is set, ChargingCurrent is set to 0, and [AOCD] is set.
However, when the bq20z70 has either [OCD],[AOCD] set, the DSG FET is turned on again duringcharging ( Current Chg Current Threshold). This prevents overheating of the discharge-FET bodydiode during charge. No other flags change state until full recovery is reached. This action is not affectedby the state of [NR] bit.
Table 2-3. Overcurrent Conditions
Protection Condition Flags FET Charging ChargingCurrent Voltage
SafetyStatus BatteryStatus OperationStatusTier-1 Charge OC [OCC] [TCA] CHG FET 0 0Condition disabled, enabledduring dischargeTier-1 Discharge OC [OCD] [TDA] [XDSG] DSG FET Pre-chg chargingCondition disabled, enabled Current algorithmduring chargeTier-3 Discharge OC [AOCD] [TDA] [XDSG] CHG FET and 0 chargingCondition DSG FET disabled algorithm
The bq20z70 can individually configure each overcurrent-protection feature to recover via two differentmethods based on [NR] bit.
Standard Recovery, when [NR] = 0 and the overcurrent tier is not selected in Non-Removable Cfgregister. When the pack is removed and reinserted the condition is cleared. Pack removal and reinsertionis detected by a low-to-high-to-low transition on the PRES input. When the overcurrent tier is selected inNon-Removable Cfg, that particular feature uses the Non-Removable Battery Mode recovery.
Non-removable Battery Mode Recovery when [NR] = 1. The state of Non-Removable Cfg has noconsequence. This recovery requires AverageCurrent to be 100mA during charging andAverageCurrent to be (-) 100mA during discharging, and for the AFE_Current_Faulttimer Current Recovery Time.
When a charging-fault recovery condition is detected, then the CHG FET is allowed to be turned on, ifother safety and configuration states permit, [TCA] is reset, ChargingCurrent and ChargingVoltage are setto the appropriate value per the charging algorithm, and the appropriate SafetyStatus flag is reset.
When a discharging-fault recovery condition is detected, the DSG FET is allowed to be turned on if othersafety and configuration states permit, [TDA] flag is reset, ChargingCurrent and ChargingVoltage are setto the appropriate value per the charging algorithm and the [XDSG] and the appropriate SafetyStatus flagis reset.
SLUU250A June 2006 Revised June 2006 Detailed Description 13Submit Documentation Feedback
www.ti.com
time
Discharge
Current
AFESCDsgCfg
Bit3 Bit0
AFE SC Dsg Cfg
Bit7 Bit4
(0μs - 915μs)
AFE
SCDSG
AFE
OCDSG
AFEOCDsg
AFE OC Dsg Time
(1ms 31ms)
SOCDsg
SOC Dsg Time
(1s 60s)
2nd Level
SOCDSG
1st Level
OC (1st Tier) Dsg
OC (1stTier) Dsg
2s
GasGauge
SoftwareProtection
(1 secondupdateinterval)
AFE
Hardware
Protection
1st Level Protection Features
Figure 2-3. Overcurrent Protection Levels
14 Detailed Description SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
AOCDCondition
Charging Allowed
DischargingDisabled
DischargeCurrentbelow
AFELimit
AFEdetectsovercurrent
dischargefault
GasGaugeidentifiesovercurrentcondition
PackRemoved
[PRES]= 0
NonremovableRecovery
Start
Timer wait
[DSG] = 1
AND AverageCurrent (-) 100mA
AND Timer < CurrentRecoveryTime
[DSG] = 1
AND AverageCurrent > (-)100mA
AverageCurrent
> (-) 100mA
[DSG] = 0
AND [PRES] transitionsfrom 1 to 0
AND [AOCD] notsetin
NonremovableConfiguration
ReinsertBatteryPack
[PRES] transitionsfrom 0 to 1
AverageCurrent > (-)100mA
AND Timer CurrentRecoveryTime
AFEFaultCondition
ChargingDisabled
DischargingDisabled
1st Level Protection Features
Figure 2-4. AFE Discharge Over Current Protection
Related Variables:
DF:1st Level Safety:Current(1):OC(1st Tier) Chg(0)DF:1st Level Safety:Current(1):OC(1st Tier) Dsg(5)DF:1st Level Safety:Current(1):Current Recovery Time(16)DF:1st Level Safety:Current(1):AFE OC Dsg(17)DF:1st Level Safety:Current(1):AFE OC Dsg Time(18)DF:Charge Control:Pre-Charge Cfg(33):Pre-chg Current(0)DF:Configuration:Registers(64):Operation Cfg B(2)[NR]
SLUU250A June 2006 Revised June 2006 Detailed Description 15Submit Documentation Feedback
www.ti.com
2.1.3 Short-Circuit Protection
1st Level Protection FeaturesDF:Configuration:Registers(64):Non-Removable Cfg(8)SBS:Current(0x0a)
SBS:AverageCurrent(0x0b)
SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[TCA],[TDA]
SBS:SafetyStatus(0x51)[OCC],[OCD],[AOCD]
SBS:OperationStatus(0x54)[XDSG]
The bq20z70 short-circuit protection is controlled by the bq29330, but is recovered by the bq20z70. Thisallows different recovery methods to accommodate various applications.
The bq29330 charge short-circuit and discharge short-circuit protection are configured by the bq20z70dataflash AFE SC Chg Cfg and AFE SC Dsg Cfg registers, respectively.
When the bq29330 detects a short circuit in charge or short circuit in discharge fault, the charge anddischarge FETs are turned off, the XALERT pin of the bq20z70 is driven low by the XALERT pin of thebq29330 and the bq29330 is interrogated. When the bq20z70 identifies the short-circuit condition (chargeor discharge current direction), the internal AFE_Current_Fault timer is started from 0, either [TCA] or[TDA] battery status is set, ChargingCurrent and ChargingVoltage is set to 0 and either [SCC] or [SCD] isset. If the short-circuit condition is in discharge, then [XDSG] flag is also set.
However, when the bq20z70 has [SCC] flag in SafetyStatus set, the CHG FET is turned on again duringdischarge ( Current (-) Dsg Current Threshold). This prevents overheating of the CHG FET bodydiode during discharge. Also, when the bq20z70 has [SOD] set, the DSG FET is turned on again duringcharging ( Current Chg Current Threshold). This prevents overheating of the discharge-FET bodydiode during charge. No other flags change state until full recovery is reached. This action is not affectedby the setting of [NR] flag.
Each bq20z70 short-circuit protection feature can be individually configured to recover via two differentmethods, based on [NR] flag.
Standard Recovery is when [NR] = 0 and the overcurrent tier is not selected in Non-Removable_Cfg.When the pack is removed and re-inserted, the condition is cleared. Pack removal and re-insertion isdetected by transition on the PRES input from low to high to low. When the overcurrent tier is selected inNon-Removable Cfg, that particular feature uses the Nonremovable Battery Mode recovery.
Nonremovable Battery Mode Recovery is when [NR] = 1. The state of Non-Removable Cfg has noconsequence when [NR] flag is set to 1. This recovery requires, during charging AverageCurrent to be 5mA, during discharging AverageCurrent to be (-) 5mA and for the internal AFE_Current_Fault timer tobe Current Recovery Time.
When the recovery condition for a charging fault is detected, the CHG FET is allowed to be turned on ifother safety and configuration states permit. The ZVCHG FET also returns to previous state. When thisoccurs, [TCA] is reset, ChargingCurrent and ChargingVoltage are set to the appropriate values per thecharging algorithm, and the appropriate SafetyStatus flag is reset.
When the recovery condition for a discharging fault is detected, the DSG FET is allowed to be turned on ifother safety and configuration states permit. The ZVCHG FET also returns to previous state. When thisoccurs [TDA] is reset, ChargingCurrent and ChargingVoltage are set to the appropriate value per thecharging algorithm, and [XDSG] and the appropriate SafetyStatus flags are reset.
Table 2-4. Short Circuit Protection
Short Condition Flags set FET Charging Charging ClearCircuit Current Voltage Threshold
Charge AFE SC Chg Cfg [SCC]SafetyStatus, CHG FET disabled, 0 0 5mA[TCA] enabled during discharge
16 Detailed Description SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
2.1.4 Overtemperature Protection
1st Level Protection Features
Table 2-4. Short Circuit Protection (continued)
Short Condition Flags set FET Charging Charging ClearCircuit Current Voltage Threshold
Discharge AFE SC Dsg Cfg [SCD]SafetyStatus, DSG FET disabled, 0 0 -5mA[TDA],[XDSG] enabled during charge
Related Variables:
DF:1st Level Safety:Current(1):AFE SC Chg Cfg(21)DF:1st Level Safety:Current(1):AFE SC Dsg Cfg(22)DF:Configuration:Registers(64):Operation Cfg B(2)[NR]DF:Configuration:Registers(64):Non-Removable Cfg(8)SBS:AverageCurrent(0x0b)
SBS:BatteryStatus(0x16)[TCA],[TDA]
SBS:SafetyStatus(0x51)[SCC],[SCD]
SBS:OperationStatus(0x54)[XDSG]
The bq20z70 has overtemperature protection for both charge and discharge conditions.
The bq20z70 sets the over temperature charging [OTC] SafetyStatus flag, if pack temperature reaches orsurpasses Over Temp Chg limit during charging for a 2s time period.
If [OTFET] is set and bq20z70 is in [OTC] condition, charging is disabled and CHG FET is turned off,ZVCHG FET (if used) is turned off, ChargingCurrent and ChargingVoltage is set to zero, [TCA] flag and[OTC] SafetyStatus are set.
In an [OTC] condition, the CHG FET is turned on again during discharge ( Current (-)Dsg Current Threshold) to prevent overheating of the CHG FET body diode.
The bq20z70 recovers from an [OTC] condition, if Temperature is OTC Chg Recovery limit. On recovery[OTC] SafetyStatus is reset, [TCA] is reset, ChargingCurrent and ChargingVoltage are set back to theirappropriate value per charging algorithm, and CHG FET returns to previous state.
The bq20z70 sets the over temperature discharging [OTD] SafetyStatus flag, if pack temperature reachesor surpasses Over Temp Dsg limit during discharging for a 2s time period.
If [OTFET] is set and bq20z70 is in [OTD] condition, discharging is disabled and DSG FET is turned off,ChargingCurrent is set to zero, [TDA] flag is set, [XDSG] flag is set and [OTD] flag in SafetyStatus is set.
In an [OTD] condition, the DSG FET is turned on during charging ( Current Chg Current Threshold) toprevent overheating of the DSG FET body diode.
The bq20z70 recovers from an [OTD] condition, if pack temperature is OTD Chg Recovery limit. Onrecovery [OTD] SafetyStatus is reset, [TDA] is reset, ChargingCurrent is set back to their appropriatevalue per charging algorithm, and DSG FET is allowed to switch on again.
Table 2-5. Overtemperature ProtectionOvertemp Overtemp Condition RecoveryTime LimitThreshold Threshold
Charge Over Temp Chg 2s [OTC] SafetyStatus Flag,[TCA] set,ChargingCurrent =0, OT Chg RecoveryChargingVoltage = 0,(CHG FET off if [OTFET] set)
Discharge Over Temp Dsg 2s [OTD] SafetyStatus Flag,[TDA] Set,ChargingCurrent =0, OT Dsg Recovery([XDSG] set and DSG FET off if[OTFET] flag set)
SLUU250A June 2006 Revised June 2006 Detailed Description 17Submit Documentation Feedback
www.ti.com
2.1.5 AFE Watchdog
2.2 2nd Level Protection Features
2nd Level Protection Features
Related Variables:
DF:1st Level Safety:Temperature(2):Over Temp Chg(0)DF:1st Level Safety:Temperature(2):OT Chg Recovery(3)DF:1st Level Safety:Temperature(2):Over Temp Dsg(5)DF:1st Level Safety:Temperature(2):OT Dsg Recovery(8)DF:Configuration:Registers(64):Operation Cfg B(2)[OTFET]SBS:Temperature(0x08)
SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[TCA],[TDA]
SBS:SafetyStatus(0x51)[OTC],[OTD]
SBS:OperationStatus(0x54)[XDSG]
The bq29330 automatically turns off the CHG FET, DSG FET and ZVCHG FET (if used), if the bq29330does not receive the appropriate frequency on the WDI pin from bq20z70. The bq20z70 has no warningthat this is about to happen, but it can report the occurrence once the bq20z70 is able to interrogate thebq29330.
When the XALERT input of the bq20z70 is triggered by the XALERT pin of the bq29330, the bq20z70reads the STATUS register of the bq29330. If [WDF] is set, the bq20z70 also sets [WDF] in SafetyStatusand periodic verification of the bq29330 RAM is undertaken. If verification of the bq29330 RAM fails thenthe FETs will turn off. Verification of the bq29330 RAM will continue once every second. If the periodicverification passes, then [WDF] in SafetyStatus is cleared and the FETs return to normal operation.
Related Variables:
SBS:SafetyStatus(0x51)[WDF]
The bq20z70 provides features that can be used to indicate a more serious fault via the SAFE output. Thisoutput can be used to blow an in-line fuse to permanently disable the battery pack from charge ordischarge activity.
If any PF Threshold condition is met, then bq20z70 goes into permanent failure condition and theappropriate flag is set in PFStatus.
When any NEW cause of a permanent failure is set in PFStatus function, the NEW cause is added toPF Flags 1 register. This allows PF Flags 1 register to show ALL permanent failure conditions that haveoccurred.
On the first occasion of a permanent failure indicated by PFStatus change from 0x00, the PFStatus valueis stored in PF Flags 2.
18 Detailed Description SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
NoPF
PFTimeLimit
PFCondition
CHG, DSG, ZVCHGFET turnsoff
[TCA] flagset, [TDA] flagset
DataFlash AccessReadonly
ChargingCurrent= 0
ChargingVoltage = 0
Ifbitin PermanentFailCfgisset,
driveSAFEpinhighand[PF] flagin
SafetyStatus isset
MonitoredValue PFThreshold OR
AFE_Fail_Counter > 0
(MonitoredValue PFThreshold
AND Timer PFTimeLimit)
OR
(AFE_Fail_Counter AFE_Fail_Limit )
Writelowerpartof PFKey + higherpartof PFKey
to ManufacturerAccess
Stop & Reset Timer
Start
Timer wait
MonitoredValue
PFThreshold
MonitoredValue <PFThreshold OR
AFE_Fail_Counter = 0
Start
AFE
Timer
Decrement
AFE_Fail_C
ounter
AFE Timer
20s
2.2.1 2nd Level (Permanent) Failure Actions
2.2.2 Time Limit Based Protection
2nd Level Protection Features
Figure 2-5. 2nd Level Protection
When the PFStatus register changes from 0x00 to indicate a permanent failure then the following actionsare taken in sequence.CHG, DSG, and ZVCHG FETs are turned OFF.[TCA], [TDA] flags in BatteryStatus are set.Data Flash write access is then disabled, but the data flash can be read.ChargingCurrent and ChargingVoltage are set to 0.The appropriate bit in PF Flags 1 is set.If the appropriate bit in Permanent Fail Cfg is set, the SAFE pin is driven and latched high. The [PF]flag in SafetyStatus is also set.
Related Variables:
DF:Configuration:Registers(64):Permanent Fail Cfg(6)DF:PF Status:Device Status Data(96):PF Flags 1(0)DF:PF Status:Device Status Data(96):PF Flags 2(28)SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[TCA],[TDA]
SBS:SafetyStatus(0x51)[PF]
SBS:PFStatus(0x53)
bq20z70 reports a 2nd level protection by setting the appropriate flag in the PFStatus function if themonitored value reaches or rises above the Protection Threshold for a period of Max Alert duration. Seethe table for all Protection Thresholds and Max Alert durations.
Safety Overvoltage Protection The bq20z70 monitors the pack voltage for extreme values.
Cell Imbalance Fault The bq20z70 starts cell imbalance fault detection when Current is lesser or equalto Cell Imbalance Current for Battery Rest Time period. The difference between highest cellvoltage and lowest cell voltage is monitored. If Battery Rest Time is set to zero orCell Imbalance Time is set to zero, this function is disabled.
SLUU250A June 2006 Revised June 2006 Detailed Description 19Submit Documentation Feedback
www.ti.com
2nd Level Protection Features
2nd Level Protection IC Input The PFIN input of the bq20z70 can be used to determine the state ofan external protection device such as the bq294xx. The bq20z70 watches for PFIN pin being drivenlow by an external device.
Safety Overcurrent Protection The bq20z70 monitors the current during charging and discharging.The overcurrent thresholds and time limits can be set independently for charging and discharging.
Safety Overtemperature Protection The bq20z70 monitors the pack temperature during charging anddischarging. The overtemperature thresholds and time limits can be set independently for chargingand discharging.
Charge and Zero-Volt Charge FET Fault Protection The bq20z70 monitors if there is, at any time, anattempt to turn off the CHG FET or ZVCHG FET or the CHG bit in the bq29330 OUTPUT register isset and the current still continues to flow.
Discharge FET Fault Protection The bq20z70 monitors if there is, at any time, an attempt to turn offthe DSG FET or the DSG bit in the bq29330 OUTPUT register is set and the current still continuesto flow.
Table 2-6. Time Limit Based 2nd Level ProtectionProtection Monitored Requirement PF Threshold PF Time Limit (set to 0 PFStatus Flag Permanent FValue to disable Protection) ail Cfg Flag
Safety Overvoltage Voltage -SOV Threshold SOV Time [SOV] [XSOV]
Cell Imbalance Fault Difference of Current Cell Imbalance Cell Imbalance Cell Imbalance Time [CIM] [XCIM]highest and Current for Fail Voltagelowest of Battery Rest TimeCellVoltage4..1
2nd Level Protection PFIN pin - PFIN pin low PFIN Detect Time [PFIN] [XPFIN]IC Input
Safety Overcurrent Current Current > 0 SOC Chg SOC Chg Time [SOCC] [XSOCC]Charge
Safety Overcurrent (-)Current Current < 0 SOC Dsg SOC Dsg Time [SOCD] [XSOCD]Discharge
Safety Temperature Current > 0 SOT Chg SOT Chg Time [SOTC] [XSOTC]Overtemperature Chg
Safety Temperature Current < 0 SOT Dsg SOT Dsg Time [SOTD] [XSOTD]Overtemperature Dsg
Charge and Zero-Volt Current (CHG FET or ZVCHG 50mA FET Fail Time [CFETF] [XCFETF]Charge FET Fault FET turn off attempt orCHG Flag in bq29330OUTPUT register set) andCurrent >0
Discharge FET Fault (-)Current (DSG FET turn off attempt (-)50mA FET Fail Time [DFETF] [XDFETF]or DSG Flag in bq29330OUTPUT register set) andCurrent < 0
Related Variables:
DF:2nd Level Safety:Voltage(16):SOV Threshold(0)DF:2nd Level Safety:Voltage(16):SOV Time(2)DF:2nd Level Safety:Voltage(16):Cell Imbalance Current(3)DF:2nd Level Safety:Voltage(16):Cell Imbalance Fail Voltage(4)DF:2nd Level Safety:Voltage(16):Cell Imbalance Time(6)DF:2nd Level Safety:Voltage(16):Battery Rest Time(7)DF:2nd Level Safety:Voltage(16):PFIN Detect Time(9)DF:2nd Level Safety:Current(17):SOC Chg(0)DF:2nd Level Safety:Current(17):SOC Chg Time(2)DF:2nd Level Safety:Current(17):SOC Dsg(3)DF:2nd Level Safety:Current(17):SOC Dsg Time(5)DF:2nd Level Safety:Temperature(18):SOT Chg(0)
20 Detailed Description SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
2.2.3 Limit based Protection
2nd Level Protection Features
DF:2nd Level Safety:Temperature(18):SOT Chg Time(2)DF:2nd Level Safety:Temperature(18):SOT Dsg(3)DF:2nd Level Safety:Temperature(18):SOT Dsg Time(5)DF:2nd Level Safety:FET Verification(19):FET Fail Time(2)DF:Configuration:Registers(64):Permanent Fail Cfg(6)DF:PF Status:Device Status Data(96):PF Flags 1(0)DF:PF Status:Device Status Data(96):PF Flags 2(28)SBS:Temperature(0x08)
SBS:Voltage(0x09)
SBS:Current(0x0a)
SBS:CellVoltage4..1(0x3c..0x3f)
SBS:SafetyStatus(0x51)[PF]
SBS:PFStatus(0x53)
The bq20z70 reports a 2nd level permanent failure and sets the appropriate PFStatus flag if the internalerror counter reaches the max error limit. The internal error counter is incremented by one if the errorhappens and decremented by one each fail recovery period.
bq29330 AFE Communication Fault Protection The bq20z70 periodically validates its read and writecommunications with the bq29330. If either a read or write verify fails, an internalAFE_Fail_Counter is incremented. If the AFE_Fail_Counter reaches AFE Fail Limit, the bq20z70reports a [AFE_C] permanent failure. If the AFE Fail Limit is set to 0, this feature is disabled. An[AFE_C] fault can also be declared if, after a full reset, the initial gain and offset values read fromthe AFE cannot be verified. These values are A/D readings of the bq29330 VCELL output. Thebq29330 offset values are verified by reading the values twice and confirming that the readings arewithin acceptable limits. The max difference between 2 readings is fixed at 20 . The maximumnumber of read retries, if offset and gain value verification fails and [AFE_C] fault is declared, is setin AFE Fail Limit.
Dataflash Failure The bq20z70 can detect if the data flash is not operating correctly. A permanentfailure is reported when either: (i) After a full reset the instruction flash checksum does not verify; (ii)if any data flash write does not verify; or (iii) if any data flash erase does not verify.
Table 2-7. Error Based 2nd Level ProtectionProtection Monitored Value Fail Recovery Max Error Limit (set to 0 PFStatus Flag Permanent Failto disable Protection) Cfg Flag
AFE Periodic Communication Decrement of AFE_Fail_Counter AFE Fail Limit [AFE_C] [XAFE_C]Communication with bq29330 by one per 20s time periodFault
Data Flash Dataflash - false flash checksum after [DFF] [XDFF]Failure reset, dataflash write notverified, dataflash erase notverified
Related Variables:
DF:2nd Level Safety:AFE Verification(20):AFE Fail Limit(1)DF:Configuration:Registers(64):Permanent Fail Cfg(6)DF:PF Status:Device Status Data(96):PF Flags 1(0)DF:PF Status:Device Status Data(96):PF Flags 1(28)SBS:PFStatus(0x53)
SLUU250A June 2006 Revised June 2006 Detailed Description 21Submit Documentation Feedback
www.ti.com
2.2.4 Clearing Permanent Failure
2.3 Gas Gauging
2.3.1 Impedance Track Configuration
Gas Gauging
The bq20z70 permanent failure can be cleared by sending two ManufacturerAccess commands insequence: the first word of the PFKey followed by the second word of the PFKey. After sending these twocommands in sequence, PFStatus flags are cleared. Refer to Permanent Fail Clear ( PFKey) Manufactureraccess for further details.
Related Variables:
SBS:ManufacturerAccess(0x00)
SBS:PFStatus(0x53)
The bq20z70 measures individual cell voltages, pack voltage, temperature, and current using features ofthe bq29330 AFE device. The bq20z70 determines battery state of charge by analyzing individual cellvoltages when a time exceeding 35 minutes has passed since the batteries last charge or dischargeactivity. The bq20z70 measures charge and discharge activity by monitoring the voltage across asmall-value series sense resistor (10m typ.) between the cell stack negative terminal and the negativeterminal of the battery pack. The battery state of charge is subsequently adjusted during load or chargerapplication using the integrated charge passed through the battery.
Load Mode During normal operation, the battery-impedance profile compensation of the ImpedanceTrack algorithm can provide more accurate full-charge and remaining state-of-charge information ifthe typical load type is known. The two selectable options are constant current ( Load Mode = 0)and constant power ( Load Mode = 1).
Load Select In order to compensate for the I x R drop near the end of discharge, the bq20z70 needs tobe configured for whatever current (or power) will flow in the future. While it can not be exactlyknown, the bq20z70 can use load history such as the average current of the present discharge tomake a sufficiently accurate prediction. The bq20z70 can be configured to use several methods ofthis prediction by setting the Load Select value. Because this estimate has only a second-ordereffect on remaining capacity accuracy, different measurement based methods (0x00 to 0x03) resultin only minor differences in accuracy. However, methods 0x04 - 0x06, where an estimate isarbitrarily assigned by the user, can result in significant error if a fixed estimate is far from theactual load.
Constant Current (Load Mode = 0) Constant Power (Load Mode = 1)0 = previous average discharge current from last previous average discharge power from lastrun run1 = present average discharge current present average discharge power2 = Current Current xVoltage3 = AverageCurrent (default) AverageCurrent x average Voltage4 = Design Capacity / 5 Design Energy / 55 = AtRate (mA) AtRate (10 mW)6 = User Rate-mA User Rate-mW
Detailed Description22 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
2.3.2 Gas Gauge Modes
Gas Gauging
Pulsed Load Compensation and Termination Voltage In order to take into account pulsed loads,while calculating remaining capacity until Term Voltage threshold is reached, the bq20z70 monitorsnot only average load but also short load spikes. The maximum voltage deviation during a loadspike is continuously updated during discharge and stored in Delta Voltage.
Reserve Battery Capacity The bq20z70 allows an amount of capacity to be reserved in either mAh (Reserve Cap-mAh,Load Mode = 0) or 10 mWh ( Reserve Cap-mWh,Load Mode = 1) unitsbetween the point where RemainingCapacity function reports zero capacity, and the absoluteminimum pack voltage, Term Voltage. This enables a system to report zero energy, but still haveenough reserve energy to perform a controlled shutdown, or to provide an extended sleep periodfor the host system.Also, if [RESCAP] bit is set to 0, the reserve capacity is compensated at a no-load condition.However, if [RESCAP] bit is set to 1, then the reserve capacity is compensated at the presentdischarge rate as selected by Load Select.
Related Variables:
DF:SBS Configuration:Data(48):Design Capacity(22)DF:SBS Configuration:Data(48):Design Energy(24)DF:Configuration:Operation Cfg B(2)[RESCAP]DF:Gas Gauging:IT Cfg(80):Load Select(0)DF:Gas Gauging:IT Cfg(80):Load Mode(1)DF:Gas Gauging:IT Cfg(80):Term Voltage(45)DF:Gas Gauging:IT Cfg(80):User Rate-mA(60)DF:Gas Gauging:IT Cfg(80):User Rate-mW(62)DF:Gas Gauging:IT Cfg(80):Reserve Cap-mAh(64)DF:Gas Gauging:IT Cfg(80):Reserve Cap-mWh(66)DF:Gas Gauging:State(82):Delta Voltage(25)SBS:Voltage(0x09)
SBS:Current(0x0a)
SBS:AverageCurrent(0x0b)
SBS:OperationStatus(0x54)[LDMD]
Resistance updates take place only in discharge mode, while OCV and Qmax updates only take place inrelaxation mode. Entry and exit of each mode is controlled by data flash parameters in the subclass 'GasGauging: Current Thresholds' section. In Relaxation Mode or Discharge Mode, the DSG flag inBatteryStatus is set.
SLUU250A June 2006 Revised June 2006 Detailed Description 23Submit Documentation Feedback
www.ti.com
DischargeMode
RelaxationMode Current <(-) DsgCurrentThreshold
Current > (-) QuitCurrent for
1speriod
ChargeMode
Current >ChgCurrentThreshold
Current <QuitCurrent for 60speriod
OCVupdate
Qmaxupdate
[DSG]
CellImpedanceupdate
[DSG]
Current >ChgCurrentThreshold
Current <(-) DsgCurrentThreshold
Gas Gauging
Figure 2-6. Gas Gauge Operating Modes
24 Detailed Description SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
ChgCurrentThreshold
(-)DsgCurrentThreshold
QuitCurrent
(-)QuitCurrent
Current
Time
Relaxation Mode ChargeMode DischargeMode
Relaxation Mode ChargeMode DischargeMode Relaxation Mode
60s
1s
11
0111
0
[DSG]
Gas Gauging
Charge mode is exited and Relaxation mode is entered when Current goes below Quit Current for aperiod of 60s. Discharge mode is entered when Current goes below (-)Dsg Current Threshold.Discharge mode is exited and Relaxation mode is entered when Current goes above (-)Quit Currentthreshold for a period of 1s. Charge mode is entered when Current goes above Chg Current Threshold.
Figure 2-7. Gas Gauge Operating Mode Example
SLUU250A June 2006 Revised June 2006 Detailed Description 25Submit Documentation Feedback
www.ti.com
2.3.3 Qmax
2.3.3.1 Qmax Initial Values
2.3.3.2 Qmax Update Conditions
Gas Gauging
Related Variables:
DF:Gas Gauging:Current Thresholds(81):Dsg Current Threshold(0)DF:Gas Gauging:Current Thresholds(81):Chg Current Threshold(2)DF:Gas Gauging:Current Thresholds(81):Quit Current(4)SBS:Current(0x0a)
SBS:BatteryStatus(0x16)[DSG]
SBS:OperationStatus(0x54)[VOK],[R_DIS],[QEN]
The total battery capacity is found by comparing states of charge before and after applying the load withthe amount of charge passed. When an applications load is applied, the impedance of each cell ismeasured by comparing the open circuit voltage (OCV) obtained from a predefined function for presentstate of charge with the measured voltage under load.
Measurements of OCV and charge integration determine chemical state of charge and Chemical Capacity(Qmax).
The bq20z70 acquires and updates the battery-impedance profile during normal battery usage. It uses thisprofile, along with state-of-charge and the Qmax values, to determine FullChargeCapacity andRelativeStateOfCharge specifically for the present load and temperature. FullChargeCapacity reports acapacity or energy available from a fully charged battery reduced by Reserve Cap-mAh or ReserveCap-mWh under the present load and present temperature until Voltage reaches the Term Voltage .
Related Variables:
DF:Gas Gauging:IT Cfg(80):Term Voltage(45)SBS:Voltage(0x09)
SBS:RelativeStateOfCharge(0x0d)
SBS:FullChargeCapacity(0x10)
The initial Qmax Pack,Qmax Cell 0,Qmax Cell 1,Qmax Cell 2, and Qmax Cell 3 values should betaken from the cell manufacturers' data sheet multiplied by the number of parallel cells, and are also usedfor the DesignCapacity function value in the Design Capacity dataflash value.
See "Theory and Implementation of Impedance Track Battery Fuel-Gauging Algorithm" application note(SLUA364) for further details.
Related Variables:
DF:SBS Configuration:Data(48):Design Capacity(22)DF:Gas Gauging:State(82):Qmax Cell 0(0)DF:Gas Gauging:State(82):Qmax Cell 1(2)DF:Gas Gauging:State(82):Qmax Cell 2(4)DF:Gas Gauging:State(82):Qmax Cell 3(6)DF:Gas Gauging:State(82):Qmax Pack(8)SBS:DesignCapacity(0x18)
The bq20z70 updates the no-load full capacity (Qmax) when two open circuit voltage (OCV) readings aretaken. These OCV readings are taken when the battery is in a relaxed state before and after charge ordischarge activity. A relaxed state is achieved if the battery voltage has a dV/dt of < 4 µV/s. Typically ittakes 2 hrs in a charged state and 5 hrs in a discharged state to ensure that the dV/dt condition issatisfied. If 5 hrs is exceeded, a reading will be taken even if the dV/dt condition was not satisfied. AQmax update is disqualified under the following conditions:Temperature: If Temperature is outside of the range 10 °C to 40 °C.
26 Detailed Description SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
2.4 Charge Control
Charge Control
Delta Capacity: If the capacity change between suitable battery rest periods is less than 37%.Voltage: If CellVoltage4..1is within the range of 3737mV and 3800mV for the defaultLIONchemistry. Refer to "Support of Multiple Li-Ion Chemistries w/Impedance Track(TM) GasGauges", application note, (SLUA372) for the voltage ranges of other chemistries.
Related Variables:
DF:SBS Configuration:Data(48):Device Chemistry(46)SBS:Temperature(0x08)
SBS:RelativeStateOfCharge(0x0d)
SBS:AbsoluteStateOfCharge(0x0e)
SBS:CellVoltage4(0x3c)
SBS:CellVoltage3(0x3d)
SBS:CellVoltage2(0x3e)
SBS:CellVoltage1(0x3f)
SBS:OperationStatus(0x54)[VOK],[QEN]
The bq20z70 can report the appropriate charging current needed for the constant charging current and thecharging voltage needed for constant voltage charging per charging algorithm to a smart charger using theChargingCurrent and the ChargingVoltage functions. The actual charging status of bq20z70 is indicatedwith flags and can be read out with the ChargingStatus function.
SLUU250A June 2006 Revised June 2006 Detailed Description 27Submit Documentation Feedback
www.ti.com
Charge Control
Figure 2-8. Charging
SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:ChargingStatus(0x55)
28 Detailed Description SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
2.4.1 Charge Control SMBus Broadcasts
2.4.2 Cell Balancing
Charge Control
All broadcasts to a host or a smart charger are enabled by the [BCAST] bit. The [ChgM] and [AM] modesin BatteryMode are enabled by setting the [BCAST] bit. If the [HPE] bit is enabled, transmissions to thehost and receiving communications from all sources are PEC enabled. If the [CPE] flag is enabled,Master-Mode broadcasts to the Smart-Charger address are PEC enabled. When broadcast is enabled, thefollowing broadcasts are sent:ChargingVoltage and ChargingCurrent broadcasts are sent to the Smart-Charger device address(0x12) every 10 to 60 seconds.If any of the [OCA], [TCA], [OTA], [TDA], [RCA], [RTA] flags are set, the AlarmWarning broadcast issent to the host device address (0x14) every 10 seconds. Broadcasts stop when all flags above havebeen cleared.If any of the [OCA], [TCA], [OTA] or [TDA] flags are set, the AlarmWarning broadcast is sent toSmart-Charger device address every 10 seconds. Broadcasts stop when all flags above have beencleared.
Related Variables:
DF:Configuration:Registers(64):Operation Cfg B(2)[CPE],[HPE],[BCAST]SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[OCA],[TCA],[OTA],[TDA],[RCA],[RTA]
SBS:BatteryMode(0x03)[ChgM],[AM]
The bq20z70 can determine the chemical state of charge of each cell using the Impedance Track™algorithm. The cell balancing algorithm used in the bq20z70 decreases the differences in imbalanced cellsin a fully charged state gradually, which prevents fully charged cells from becoming overcharged causingexcessive degradation. This increases overall pack energy by preventing premature charge termination.More Information can be found in the "Cell Balancing Using the bq20z80" Application Report (SLUA340).
The algorithm determines the amount of charge needed to fully charge each cell. There is a bypass FETin parallel with each cell connected to the bq29330. The FET is enabled for each cell with charge greaterthan the lowest charged cell to reduce charge current through those cells. Each FET is enabled for aprecalculated time as calculated by the cell balancing algorithm. When any bypass FET is turned on, thenthe [CB] charging status flag is set, otherwise the [CB] flag is cleared.
If Min Cell Deviation is set to 0 cell balancing is disabled and all bypass FETs stay OFF.
The bypass time needed for each cell is calculated as:
Min Cell Deviation = R / (duty_cycle * V_avg) * 3.6 s/mAh
Where:
R = internal bypass FET resistance of 500 (typ.) of bq29330 + 2 series input filter resistors, R χ. Forexample: if input filter R χvalue is 100 , R = 500 + 2 x R χ= 700 .V_avg = 3.6Vduty_cycle = 0.4 typ.
Using default values, the formula calculates the default value for Min Cell Deviation:
Min Cell Deviation = (500 + (2 x R χ) ) / (0.4 * 3.6V) * 3.6 s/mAh = 1750 s/mAh,
Related Variables:
DF:Charge Control:Cell Balancing Cfg(37):Min Cell Deviation(0)SBS:ChargingStatus(0x55)[CB]
SLUU250A June 2006 Revised June 2006 Detailed Description 29Submit Documentation Feedback
www.ti.com
2.4.3 Charge Inhibit Mode
Charge Control
If the bq20z70 is in discharge mode or relaxation mode ( [DSG] = 1), the bq20z70 goes into charge inhibitmode and sets the ChargingCurrent and ChargingVoltage values to 0 to inhibit charging if:Temperature <Charge Inhibit Temp Low limit ORTemperature >Charge Inhibit Temp High limit
In charge inhibit mode the [XCHG] flag in ChargingStatus is set. If [CHGIN] bit in Operation Cfg B is set,the CHG FET and ZVCHG FET (if used) are also turned off when the bq20z70 is in charge-inhibit mode.
The bq20z70 allows charging to resume when:Temperature Charge Inhibit Temp Low + 5 °C ANDTemperature Charge Inhibit Temp High - 5 °C
The FETs also return to their previous states at that time. The [XCHG] flag is cleared when the aboveconditions are met, when a fault condition is detected, or when the battery is removed if in removablemode ( [NR] = 0).
30 Detailed Description SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
ChargeInhibitHigh
Charging Allowed
ChargeInhibitLow
ChargingCurrent= 0
ChargingVoltage= 0
[XCHG]
If [CHGIN]bit set, CHGFET+
ZVCHGFETareturnedoff
.
Temperature
ChargeInhibitTempLow +5°C
Temperature <ChargeInhibitTempLow
ChargingCurrent= 0
ChargingVoltage= 0
[XCHG]
If [CHGIN]bit set, CHGFET+
ZVCHGFETareturnedoff
.Temperature
ChargeInhibitTempHigh -5°C
Temperature >ChargeInhibitTempHigh
Charge Control
Figure 2-9. Charge Inhibit
SLUU250A June 2006 Revised June 2006 Detailed Description 31Submit Documentation Feedback
www.ti.com
2.4.4 Charge Suspend Mode
Charge Control
Related Variables:
DF:Charge Control:Charge Inhibit Cfg(32):Chg Inhibit Temp Low(0)DF:Charge Control:Charge Inhibit Cfg(32):Chg Inhibit Temp High(2)DF:Configuration:Registers(64):Operation Cfg B(2)[CHGIN],[NR]SBS:Temperature(0x08)
SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[DSG]
SBS:ChargingStatus(0x55)[XCHG]
The bq20z70 suspends charging when:one of the following conditionsTemperature <Suspend Low Temp, ORTemperature >Suspend High Temp
In charge suspend mode [CHGSUSP] flag in ChargingStatus is set, and ChargingCurrent is set to 0. TheCHG FET and ZVCHG FET(if used) are also turned off if [CHGSUSP] bit in Operation Cfg B register isset.
The bq20z70 resumes charging if:Temperature Charge Inhibit Temp Low + 5 °C, ANDTemperature Charge Inhibit Temp High 5 °C.
Upon resuming, the bq20z70 clears the [CHGSUSP] status flag, sets ChargingCurrent according to theappropriate charging mode entered and the CHG and ZVCHG FETs (if used) return to their previous state.
The bq20z70 also leaves charge suspend mode and clears the [CHGSUSP] flag when a protectioncondition is detected or when the battery is removed in removable battery mode ( [NR] = 0)
32 Detailed Description SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
ChargeSuspendHigh
Charging
ChargeSuspendLow
ChargingCurrent= 0
[CHGSUSP
]
If [CHGSUSP
]bitin OperationCfgB
isset, CHGFET + ZVCHGFETare
turnedoff
.
Temperature
ChargeInhibitTempLow +5°C
Temperature <SuspendLowTemp
ChargingCurrent= 0
[CHGSUSP
]
If [CHGSUSP
]bitin OperationCfgB
isset, CHGFET + ZVCHGFETare
turnedoff
.Temperature
ChargeInhibitTempHigh -5°C
Temperature >SuspendHighTemp
Charge Control
Figure 2-10. Charge Suspend
Related Variables:
DF:Charge Control:Charge Inhibit Cfg(32):Chg Inhibit Temp Low(0)DF:Charge Control:Charge Inhibit Cfg(32):Chg Inhibit Temp High(2)
SLUU250A June 2006 Revised June 2006 Detailed Description 33Submit Documentation Feedback
www.ti.com
2.4.5 Precharge
Charge Control
DF:Charge Control:Fast Charge Cfg(34):Suspend Low Temp(6)DF:Charge Control:Fast Charge Cfg(34):Suspend High Temp(8)DF:Configuration:Registers(64):Operation Cfg B(2)[CHGSUSP],[NR]DF:Gas Gauging:Current Thresholds(81):Chg Current Threshold(2)SBS:Temperature(0x08
SBS:AverageCurrent(0x0b)
SBS:ChargingCurrent(0x14)
SBS:BatteryStatus(0x16)[DSG]
SBS:ChargingStatus(0x55)[CHGSUSP]
The bq20z70 enters precharge mode during charging if the Temperature function reports a temperaturebetween Charge Inhibit Temp Low limit and Pre-chg Temp limit or any cell voltages are belowPre-chg Voltage limit. Precharge mode is also entered if any of the SafetyStatus flags [CUV] or [OCD]are set.
Depending on the setting of the [ZVCHG1] and [ZVCHG0] bits, different FETs can be used in pre-chargemode.
Detailed Description34 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
2.4.6 Fast Charge
Charge Control
Table 2-8. Precharge FET
ZVCHG1 ZVCHG0 FET used
0 0 ZVCHG FET0 1 CHG FET1 0 GPOD Pin on bq293301 1 No Action
In precharge mode the [PCHG] flag is set and ChargingCurrent is set to Pre-chg Current.
The bq20z70 leaves Pre-charge mode and clears the [PCHG] flag if all cell voltages reach or rise aboveRecovery Voltage and the reported Temperature is equal to or greater than Pre-chg Temp + 5 °C.Pre-charge mode is also exited if charge inhibit mode is entered, any fault condition is detected, or thepack is removed in removable mode.
Related Variables:
DF:Charge Control:Charge Inhibit Cfg(32):Chg Inhibit Temp Low(0)DF:Charge Control:Pre-Charge Cfg(33):Pre-chg Current(0)DF:Charge Control:Pre-Charge Cfg(33):Pre-chg Temp(2)DF:Charge Control:Pre-Charge Cfg(33):Pre-chg Voltage(4)DF:Charge Control:Pre-Charge Cfg(33):Recovery Voltage(6)DF:Configuration:Registers(64):Operation Cfg A(0)[ZVCHG1],[ZVCHG0]SBS:Temperature(0x08)
SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:CellVoltage4..1(0x3c..0x3f)
SBS:SafetyStatus(0x51)[CUV],[OCD],[OCD2]
SBS:ChargingStatus(0x55)[PCHG]
The bq20z70 enters fast charge mode and sets ChargingCurrent to Fast Charge Current andChargingVoltage to Charging Voltage when all of the following conditions are met.Temperature Pre-chg TempTemperature Charge Suspend Temp HighCellVoltage4..1 Pre-chg Voltage
During fast charge, [FCHG] ChargingStatus flag is set and the CHG FET is turned on if no protectionconditions are detected.
Related Variables:
DF:Charge Control:Pre-Charge Cfg(33):Pre-chg Temp(2)DF:Charge Control:Pre-Charge Cfg(33):Pre-chg Voltage(4)DF:Charge Control:Fast Charge Cfg(34):Fast Charge Current(0)DF:Charge Control:Fast Charge Cfg(34):Charging Voltage(2)DF:Charge Control:Fast Charge Cfg(34):Suspend Temp High(10)SBS:Temperature(0x08)
SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:CellVoltage4..1(0x3c..0x3f)
SBS:ChargingStatus(0x55)[FCHG]
SLUU250A June 2006 Revised June 2006 Detailed Description 35Submit Documentation Feedback
www.ti.com
2.4.7 Primary Charge Termination
2.4.8 Charging Faults
Charge Control
The bq20z70 determines charge termination if:Average Charge Current < Taper Current during 2 consecutive 40s time periods, ANDthe accumulated change in capacity must be > 0.25mAh per period during 2 consecutive 40s timeperiods, ANDVoltage +Taper Voltage Charging Voltage
Upon entering charge termination status, [TCA] and [FC] flags are set, [MCHG] is flag set,ChargingCurrent = 0.
The following parameters change the behavior of bq20z70 on charge termination:
Table 2-9. Primary Charge Termination
Parameter Behavior on Primary Charge Termination
[CHGFET] set CHG FET turned off
[CSYNC] set RemainingCapacity =FullChargeCapacity
[RSOCL] set RelativeStateOfCharge is held at 99% until primary charge termination occurs anddisplays 100% only upon entering primary charge termination state.
[RSOCL] cleared RelativeStateOfCharge is not held at 99% until primary charge termination occurs.Fractions of % greater than 99% are rounded up to display 100%.
Related Variables:
DF:Charge Control:Fast Charge Cfg(34):Charging Voltage(2)DF:Charge Control:Termination (36):Taper Current(2)DF:Charge Control:Termination (36):Taper Voltage(6)DF:Configuration:Registers(64):Operation Cfg B(2)[CHGFET],[CSYNC]DF:Configuration:Registers(64):Operation Cfg C(4)[RSOCL]SBS:Voltage(0x09)
SBS:Current(0x0a)
SBS:RemainingCapacity(0x0f)
SBS:FullChargeCapacity(0x10)
SBS:ChargingCurrent(0x14)
SBS:BatteryStatus(0x16)[TCA],[FC]
SBS:ChargingStatus(0x55)[MCHG]
The bq20z70 can report charging faults in the ChargingStatus register.
Overcharge
The bq20z70 goes into overcharge mode if battery pack is charged in excess of FullChargeCapacity by anamount greater than Over Charge Capacity. Also, ChargingCurrent = 0, ChargingVoltage = 0, [TCA] and[OCA] flags in BatteryStatus and [OC] flag in ChargingStatus are set. If Over Charge Capacity is set to 0,this feature is completely disabled.
The bq20z70 recovers if any of the following conditions are met:Pack removed and reinserted ( [NR] = 0)Continuous amount of discharge over 2mAh and AverageCurrent < 0, when [NR] = 1RemainingCapacity FC Clear %
On recovery, [TCA] and [OCA] flags in BatteryStatus and [OC] flag in ChargingStatus are cleared.
Detailed Description36 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
2.4.9 Discharge and Charge Alarms
Charge Control
Table 2-10. Charging Faults
Charge Fault Condition Recovery Condition ChargingStatusFault Flag
Overcharge Charge in excess of Pack removed and reinserted if [NR] = 0, [OC]FullChargeCapacity Over Charge Capacity OR continuous amount of discharge of2mAh if [NR] = 1, ORRemainingCapacity FC Clear %
Related Variables:
DF:Charge Control:Fast Charge Cfg(34):Charging Voltage(2)DF:Charge Control:Termination Cfg(36):FC Clear %(12)DF:Charge Control:Charging Faults(38):Over Charge Capacity(13)DF:Configuration:Registers(64):Operation Cfg B(2)[NR]SBS:Voltage(0x09)
SBS:Current(0x0a)
SBS:AverageCurrent(0x0b)
SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[TCA],[OCA]
SBS:ChargingStatus(0x55)[FCHG]
The bq20z70 enables [TDA], [FD], [TCA] and [FC] flags in BatteryStatus to be set or cleared on thefollowing thresholds based on RelativeStateOfCharge. All thresholds can be disabled by setting them to-1. FC Clear % should not be disabled by setting to -1.
Threshold BatteryStatus Flag
TDA Set % [TDA] is setTDA Clear % [TDA] is clearedFD Set % [FD] is setRelativeStateOfCharge
FD Clear % [FD] is clearedTCA Clear % [TCA] is clearedFC Clear % [FC] is cleared
The [TDA] flag in BatteryStatus can also be set or cleared based on Voltage. If the voltage settings are notused then they should be set to extreme range values.
Threshold BatteryStatus Flag
TDA Volt Threshold for a period of TDA Volt Time [TDA] is setVoltage
TDA Clear Volt [TDA] is cleared
Related Variables:
DF:Charge Control:Termination Cfg.(36):TCA Clear %(10)DF:Charge Control:Termination Cfg.(36):FC Clear%(12)DF:SBS Configuration:Configuration(49):TDA Set %(0)DF:SBS Configuration:Configuration(49):TDA Clear %(1)DF:SBS Configuration:Configuration(49):FD Set %(2)DF:SBS Configuration:Configuration(49):FD Clear %(3)DF:SBS Configuration:Configuration(49):TDA Set Volt Threshold(4)DF:SBS Configuration:Configuration(49):TDA Set Volt Time(6)DF:SBS Configuration:Configuration(49):TDA Clear Volt(7)SBS:Voltage(0x09)
SLUU250A June 2006 Revised June 2006 Detailed Description 37Submit Documentation Feedback
www.ti.com
Charge Control
SBS:RelativeStateOfCharge(0x0d)
Detailed Description38 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
2.5 Device Operating Mode
2.5.1 Normal Mode
2.5.2 Battery Pack Removed Mode/System Present Detection
2.5.2.1 Battery Pack Removed
2.5.2.2 System Present
2.5.3 Sleep Mode
Device Operating Mode
The bq20z70 has several device power modes. During these modes, the bq20z70 modifies its operationto minimize power consumption from the battery.
During normal operation, the bq20z70 takes Current,Voltage, and Temperature measurements, performscalculations, updates SBS data, and makes protection and status decisions at one-second intervals.Between these periods of activity, the bq20z70 is in a reduced power state.
PRES is sampled once per second and if PRES is high, OperationStatus [PRES] flag is cleared. If PRESis low, OperationStatus [PRES] is set indicating the system is present (the battery is inserted).
If [NR] bit is set, the PRES input can be left floating as it is not monitored.
Related Variables:
DF:Configuration:Registers(64):Operation Cfg B(2)[NR]SBS:OperationStatus(0x54)[PRES]
The bq20z70 detects the Battery Pack Removed state if [NR] bit is set to 0 AND the PRES input is high([PRES] = 0).
On entry to the Battery Pack Removed state, [TCA] and [TDA] flags are set, ChargingCurrent andChargingVoltage are set to 0, the CHG and DSG FETs are turned off, and the ZVCHG FET is turned off (ifused).
Polling of the PRES pin continues at a rate of once every 1 s.
The bq20z70 exits the Battery Pack Removed state if [NR] flag is set to 0, AND the PRES input is low ([PRES] = 1). When this occurs, [TCA] and [TDA] flags are reset.
Related Variables:
DF:Configuration:Registers(64):Operation Cfg B(2)[NR]SBS:BatteryStatus(0x16)[TCA],[TDA]
SBS:OperationStatus(0x54)[PRES]
PRES is sampled once per second and if PRES is high, OperationStatus [PRES] flag is cleared. If PRESis low, OperationStatus [PRES] is set indicating the system is present (the battery is inserted). If [NR] bitis set, the PRES input is ignored and can be left floating.
Related Variables:
DF:Configuration:Registers(64):Operation Cfg B(2)[NR]SBS:OperationStatus(0x54)[PRES]
In Sleep mode, the bq20z70 measures Voltage and Temperature every 5s intervals and Current every20s. At each interval, the bq20z70 performs calculations, updates SBS data and makes protection andstatus decisions. Between these periods of activity, the bq20z70 is in a reduced-power state.
The bq20z70 enters Sleep mode when the following conditions exist:If [NR] bit is set to 0, the PRES input must also be high, [PRES] = 0, for the bq20z70 to enter sleep.AND one of the following conditions:(| Current|10mA) AND (SMBus is low for 5s )AND ( [SLEEP] bit is set)
SLUU250A June 2006 Revised June 2006 Detailed Description 39Submit Documentation Feedback
www.ti.com
2.5.4 Wake Function
Device Operating Mode
OR(| Current|10mA) AND (ManufacturerAccess Sleep command is received) AND ( [SLEEP] is set).
Entry to Sleep mode is blocked if any of the PF Status flags are set.
On entry to sleep, if [NR] = 0, the CHG and DSG FETs are turned off, and the ZVCHG FET is turned off(if used) regardless of [NRCHG] setting. If [NR] = 1, the CHG FET is turned off, and the ZVCHG FET isturned off (if used). However, if [NRCHG] is set then the CHG FET remains on.
Also, on entry to Sleep mode, the auto calibration of the A/DC begins. However, if Temperature is 5°Cor Temperature 45 °C, Auto Calibration is not started on entry to sleep mode. The activation of autocalibration is not affected by the state of [SLEEP], nor Current.
The bq20z70 exits Sleep mode when one or more of the following conditions exist:If [NR] bit is set to 0, the PRES is pulled low, [PRES] = 1(| Current| > 10mA)SMBC or SMBD inputs transition highOperationStatus,ChargingStatus or SafetyStatus flags are setWake function enabled by setting Wake Current Reg and a voltage across SRP and SRN
Related Variables:
DF:Power:Power(68):Wake Current Reg(16)DF:Configuration:Registers(64):Operation Cfg A(0)[SLEEP]DF:Configuration:Registers(64):Operation Cfg B(2)[NR], [NRCHG]SBS:ManufacturerAccess(0x00)Sleep(0x0011)
SBS:Current(0x0a)
SBS:SafetyStatus(0x51)
SBS:OperationStatus(0x54)[PRES]
The bq20z70 can exit sleep mode, if enabled, by the presence of a voltage across SRP and SRN. Thelevel of current signal needed is defined in Wake Current Reg.
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0Low Byte RSVD RSVD RSVD RSVD RSVD IWAKE RSNS1 RSNS0LEGEND: RSVD = Reserved and must be programmed to 0
Figure 2-11. Wake Current Reg
IWAKE —This bit sets the current threshold for the Wake function.
0 = 0.5A (or if RSNS0=RSNS1=0 then this function is disabled)
1 = 1.0A (or if RSNS0=RSNS1=0 then this function is disabled)
Table 2-11. Wake Current RegRSNS1 RSNS0 Resistance
0 0 Disabled (Default)
0 1 2.5 m
1 0 5 m
1 1 10 m
Related Variables:
DF:Power:Power(68):Wake Current Reg(16)DF:Configuration:Registers(64):Operation Cfg A(0)[SLEEP]SBS:Current(0x0a)
Detailed Description40 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
2.5.5 Shutdown Mode
2.6 Security (Enables and Disables Features)
Security (Enables and Disables Features)
The bq20z70 enters Shutdown mode if the following conditions are met:Voltage Shutdown Voltage AND Current 0 for a period greater than 10sOR(ManufacturerAccess shutdown command received AND Current = 0) AND voltage at the bq29330PACK pin < Charger Present threshold.
When the bq20z70 meets these conditions, the CHG, DSG, and ZVCHG FETs are turned off, and thebq29330 is commanded to shut down. In Shutdown mode, the bq20z70 is completely powered downbecause its supply is removed.
To exit Shutdown mode, the voltage at the PACK pin of the bq29330 must be greater than its minimumoperating voltage. When this occurs, the bq29330 returns power to the bq20z70, the [WAKE] flag is set,and the bq29330 configured. The [INIT] and [WAKE] flags are cleared after approximately 1 s when allSBS parameters have been measured and updated.
Related Variables:
DF:Power:Power(68):Shutdown Voltage(2)DF:Power:Power(68):Charger Present(5)DF:Configuration:Registers(64):Operation Cfg B(2)[NR]SBS:Voltage(0x09)
SBS:Current(0x0a)
SBS:BatteryStatus(0x16)[INIT]
SBS:OperationStatus(0x54)[PRES],[WAKE]
There are three levels of secured operation within the bq20z70. To switch between the levels, differentoperations are needed with different codes. The three levels are Sealed, Unsealed, and Full Access.
1. Full Access or Unsealed to Sealed The use of the Seal Device command instructs the bq20z70 tolimit access to the SBS functions and data flash space and sets the [SS] flag. 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 cannever permanently return to Unsealed or Full Access modes.
2. Sealed to Unsealed Instructs the bq20z70 to extend access to the SBS and data flash space andclears the [SS] flag. In unsealed mode, all data, SBS, and DF have read/write access. Unsealing isa 2 step command performed by writing the 1st word of the UnSealKey to ManufacturerAccessfollowed by the second word of the UnSealKey to ManufacturerAccess. The unseal key can beread and changed via the extended SBS block command UnSealKey when in Full Access Mode.To return to the Sealed mode, either a hardware reset is needed, or the ManufacturerAccess sealdevice command is needed to transit from Full Access or Unsealed to Sealed.
3. Unsealed to Full Access Instructs the bq20z70 to allow Full Access to all SBS commands and dataflash. The bq20z70 is shipped from TI in this mode. The keys for Unsealed to Full Access can beread and changed via the extended SBS block command FullAccessKey when in Full Accessmode. Changing from Unsealed to Full Access is performed by using the ManufacturerAccesscommand, by writing the 1st word of the FullAccessKey to ManufacturerAccess followed by thesecond word of the FullAccessKey to ManufacturerAccess. The full access key can be read andchanged via the extended SBS block command FullAccessKey when in Full Access Mode. In FullAccess mode, the command to go to Boot ROM can be sent.
SLUU250A June 2006 Revised June 2006 Detailed Description 41Submit Documentation Feedback
www.ti.com
Full AccessMode
UnsealedMode
SealedMode
NoDataFlash Access
StandardSBSCommands
DataFlashRead
/Write Access
StandardSBSCommands
SomeExtendedSBSCommands
DataFlashRead
/Write Access
StandardSBSCommands
AllExtendedSBSCommands
BootROM
Devicecanbereprogrammed
Write 0x0f00 to
ManufacturerAcces
FullHardware
ResetORwriting 0x08
toSMBus
Writelowerpartof
FullAccessKey + higherpartof
FullAccessKey to
ManufacturerAccess
SealDevice Command
SealDevice Command
Writelowerpartof UnsealKey
+ higherpartof UnsealKey to
ManufacturerAccess
Security (Enables and Disables Features)
Figure 2-12. Security
Related Variables:
SBS:ManufacturerAccess(0x00):Seal Device(0x0020)
42 Detailed Description SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
2.7 Calibration
2.7.1 Coulomb Counter Dead Band
2.7.2 Auto Calibration
2.8 Communications
2.8.1 SMBus On and Off State
2.8.2 Packet Error Checking
2.8.3 bq20z70 Slave Address
Calibration
SBS:OperationStatus(0x54)[SS],[FAS]
SBS:UnSealKey(0x60)
SBS:FullAccessKey(0x61)
The bq20z70 does not accumulate charge or discharge for gas gauging when the current input is belowthe dead-band current threshold. The threshold is programmed in CC Deadband (Coulomb CounterDeadband) and should be set sufficiently high to prevent false signal detection with no charge ordischarge flowing through the sense resistor.
Related Variables:
DF:Calibration:Current(107):CC Deadband(1)
The bq20z70 provides an auto-calibration feature to cancel the voltage offset error across SRP and SRNfor maximum charge measurement accuracy. The bq20z70 performs auto-calibration when the SMBuslines stay low continuously for a minimum of 5 s and Temperature is within bounds of 5 °C and 45 °C.
Related Variables:
SBS:Temperature(0x08)
The bq20z70 uses SMBus v1.1 with Master Mode and packet error checking (PEC) options per the SBSspecification.
The bq20z70 detects an SMBus off state when SMBC and SMBD are logic-low for 2 seconds. Clearingthis state requires either SMBC or SMBD to transition high. Within 1 ms, the communication bus isavailable.
The bq20z70 can receive or transmit data with or without PEC.
In the write-word protocol, if the host does not support PEC, the last byte of data is followed by a stopcondition. If host does not support PEC, the [HPE] bit should be set to 0 (default).
In the write-word protocol, the bq20z70 receives the PEC after the last byte of data from the host. Afterreceipt of the PEC, the bq20z70 compares the value to its calculation. If the PEC is correct, the bq20z70responds with an ACKNOWLEDGE. If it is not correct, the bq20z70 responds with a NOTACKNOWLEDGE and sets an error code. If host supports PEC, the [HPE] bit should be set to 1.
In the read-word and block-read in master mode, the host generates an ACKNOWLEDGE after the lastbyte of data sent by the bq20z70. The bq20z70 then sends the PEC, and the host, acting as amaster-receiver, generates a NOT ACKNOWLEDGE and a stop condition.
Related Variables:
DF:Configuration:Registers(64):Operation Cfg B(2)[HPE]
The bq20z70 uses the address 0x16 on SMB for communication.
SLUU250A June 2006 Revised June 2006 Detailed Description 43Submit Documentation Feedback
www.ti.com
2.8.4 Broadcasts to Smart Charger and Smart Battery Host
Communications
The bq20z70 can broadcast messages to the smart battery charger and smart battery host. This can beenabled with the [BCAST] bit.
PEC byte for alarm transmissions in master-mode to charger can be enabled with the [CPE] bit.
PEC byte for alarm transmissions in master-mode to smart battery host and PEC byte for receivingcommunications from all sources in slave-mode can be enabled with the [HPE] bit.
Related Variables:
DF:Configuration:Registers(64):Operation Cfg B(2)[CPE],[HPE],[BCAST]
44 Detailed Description SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
A.1 ManufacturerAccess(0x00)
A.1.1 System Data
A.1.1.1 Device Type(0x0001)
A.1.1.2 Firmware Version(0x0002)
A.1.1.3 Hardware Version(0x0003)
Appendix ASLUU250A June 2006 Revised June 2006
Standard SBS Commands
The bq20z70 SBS command set meets the SBD v1.1 specification. All SBS Values areupdated in second intervals.
This read- or write-word function provides battery-system level data, access to test controls, and securityfeatures.
Table A-1. ManufactuerAccess
SBS Mode Name Format Size in Bytes Min Value Max Value Default Value UnitCmd.
0x00 R/W ManufacturerAccess hex 2 0x0000 0xffff -
The result of these commands need to be read from ManufacturerAccess after a write with the commandword to ManufacturerAccess.
Returns the IC part number.
Table A-2. Device Type
Manufacturer Access Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x0001 R Device Type hex 2 - - 0x0700
Returns the firmware version. The format is most-significant byte (MSB) = Decimal integer, and theleast-significant byte (LSB) = sub-decimal integer, e.g., 0x0120 = version 01.20.
Table A-3. Firmware Version
Manufacturer Access Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x0002 R Firmware Version hex 2 - - 0x0101
Returns the hardware version stored in single byte of reserved data flash. E.G.: 0xa2 = Version A2.
SLUU250A June 2006 Revised June 2006 Standard SBS Commands 45Submit Documentation Feedback
www.ti.com
A.1.1.4 DF Checksum(0x0004)
A.1.1.5 Manufacturer Status(0x0006)
ManufacturerAccess(0x00)
Table A-4. Hardware Version
Manufacturer Access Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x0003 R Hardware Version hex 2 - - -
This function is only available when the bq20z70 is in unsealed mode or full access mode, indicated bythe [SS] and [FAS] flag. A write to this command forces the bq20z70 to generate a checksum of the fullData Flash (DF) array and. The generated checksum is then returned within 45 ms.
Note: If another SMBus command is received while the checksum is being generated, the DFChecksum is generated but the response may be time out (<25ms).
Table A-5. DF Checksum
Manufacturer Access Mode Name Format Size in Bytes Min Value Max Default Value UnitValue
0x0004 R DF Checksum hex 2 - - -
This function is available while the bq20z70 is in normal operation. This 16-bit word reports the batterystatus.
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0High Byte FET1 FET0 PF1 PF0 STATE3 STATE2 STATE1 STATE0Low Byte 0 0 0 0 1 0 1 0LEGEND: All bits are read-only
Figure A-1. Manufacturer Status
FET1, FET0 Indicates the state of the charge and discharge FETs
0,0 = Both charge and discharge FETs are on.0,1 = CHG FET is off, DSG FET is on.1,0 = Both charge and discharge FETs are off.1,1 = CHG FET is on, DSG FET is off.
PF1, PF0 Indicates permanent failure cause when permanent failure indicated by STATE3..STATE0
0,0 = Fuse is blown if enabled via DF:Configuration:Registers(64):Permanent Fail Cfg(6)0,1 = Cell imbalance failure1,0 = Safety voltage failure1,1 = FET failure
Standard SBS Commands46 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
A.1.1.6 Chemistry ID(0x0008)
A.1.2 System Control
A.1.2.1 Shutdown(0x0010)
A.1.2.2 Sleep(0x0011)
ManufacturerAccess(0x00)
STATE3, STATE2, STATE1, STATE0 Indicates the battery state.
0,0,0,0 = Wake Up0,0,0,1 = Normal Discharge0,0,1,1 = Pre-Charge
0,1,0,1 = Charge0,1,1,1 = Charge Termination1,0,0,1 = Permanent Failure1,0,1,0 = Overcurrent
1,0,1,1 = Overtemperature
1,1,0,0 = Battery Failure1,1,0,1 = Sleep1,1,1,0 = Reserved1,1,1,1 = Battery Pack Removed
Returns the OCV table chemistry ID of the battery. The default table ID is 0x0100. For a list of OCVchemistry IDs, refer to "Support of Multiple Li-Ion Chemistries w/Impedance Track(TM) Gas Gauges",application note, (SLUA372).
Table A-6. Chemistry ID
Manufacturer Access Mode Name Format Size in Min Max Default UnitBytes Value Value Value
0x0008 R Chemistry ID hex 2 0x0000 0xffff 0x100
The commands in this section cause the bq20z70 to take actions when written. No data is returned.
Instructs the bq20z70 to verify and enter shutdown mode. This command is only available when thebq20z70 is in Unsealed or Full Access mode. Shutdown will not be entered unless PackVoltage<Charger Present and Current = 0.
Related Variables:
DF:Power:Power(68):Charger Present(5)SBS:Current(0x0a)
SBS:PackVoltage(0x5a)
SBS:OperationStatus(0x54)[SS],[FAS]
Instructs the bq20z70 to verify and enter sleep mode , if no other command is sent after Sleep command.Any SMB transition will wake up bq20z70. It takes about 1 min before the device will go to sleep. Thiscommand is only available when the bq20z70 is in Unsealed or Full Access mode.
Related Variables:
DF:Configuration:Registers(64):Operation Cfg A(0)[SLEEP]
SLUU250A June 2006 Revised June 2006 Standard SBS Commands 47Submit Documentation Feedback
www.ti.com
A.1.2.3 Seal Device(0x0020)
A.1.2.4 IT Enable(0x0021)
A.1.2.5 SAFE activation(0x0030)
A.1.2.6 SAFE Clear(0x0031)
A.1.2.7 Calibration Mode(0x0040)
A.1.2.8 Reset(0x0041)
ManufacturerAccess(0x00)
SBS:OperationStatus(0x54)[SS],[FAS]
Instructs the bq20z70 to limit access to the extended SBS functions and data flash space, set [SS] flagand clears [FAS] flag.
This command is only available when the bq20z70 is in Unsealed or Full Access mode.
See "Security" chapter in this document for detailed information.
Related Variables:
SBS:OperationStatus(0x54)[SS],[FAS]
This command forces the bq20z70 to begin the Impedance Track™ algorithm and changesUpdate Status, and the [QEN] flag.
This command is only available when the bq20z70 is in Unsealed or Full Access mode.
Related Variables:
DF:Gas Gauging:State(82):Update Status(12)SBS:OperationStatus(0x54)[VOK],[QEN],[SS],[FAS]
This command drives the SAFE pin high.
This command is only available when the bq20z70 is in Unsealed or Full Access mode.
Related Variables:
SBS:OperationStatus(0x54)[SS],[FAS]
This command sets the SAFE pin back to low.
This command is only available when the bq20z70 is in Unsealed or Full Access mode.
Related Variables:
SBS:OperationStatus(0x54)[SS],[FAS]
Places the bq20z70 into calibration mode. See "Data Flash Programming and Calibrating the bq20z70and bq20z90 family of Gas Gauges" application note (SLUA379) for further details.
This command is only available when the bq20z70 is in Unsealed or Full Access mode.
Related Variables:
SBS:OperationStatus(0x54)[SS],[FAS]
The bq20z70 undergoes a full reset. The bq20z70 holds the clock line down for a few milli-seconds tocomplete the reset.
This command is only available when the bq20z70 is in Unsealed or Full Access mode.
Related Variables:
SBS:OperationStatus(0x54)[SS],[FAS]
Standard SBS Commands48 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
A.1.2.9 BootRom(0x0f00)
A.1.2.10 Permanent Fail Clear( PFkey)
A.1.2.11 Unseal Device ( UnsealKey)
A.1.2.12 Full Access Device ( FullAccessKey)
ManufacturerAccess(0x00)
The bq20z70 goes into BootRom Mode.
This command is only available when the bq20z70 is in Full Access mode.
Related Variables:
SBS:OperationStatus(0x54)[FAS]
This 2 step command needs to be written to ManufacturerAccess in following order: 1st word of the PFKeyfollowed by the 2nd word of the PFKey. The default 1st word is 0x2673 and the default 2nd word is0x1712.
It instructs the bq20z70 to clear the PFStatus, clear the [PF] flag, reset the SAFE pin and unlock the dataflash for writes.
This command is only available when the bq20z70 is in Unsealed or Full Access mode.
Related Variables:
DF:PF Status:Device Status Data(96):PF Flags 1(0)DF:PF Status:Device Status Data(96):PF Flags 2(28)SBS:PFStatus(0x46)
SBS:SafetyStatus(0x51)[PF]
SBS:PFKey(0x62)
Note: Higher 2 bytes must be immediately followed by lower 2 bytes. If clear command fails,command can only be repeated 4 seconds after previous attempt. If communication otherthan the lower 2 bytes occurs after the first 2 bytes are sent, the Permanent Fail Clearcommand fails.
Instructs the bq20z70 to enable access to the SBS functions and data flash space and clears [SS] flag.This 2 step command needs to be written to ManufacturerAccess in following order: 1st word of theUnSealKey followed by the 2nd word of the UnSealKey.
This command is only available when the bq20z70 is in Sealed mode
See Security chapter in this document for detailed information.
Related Variables:
SBS:OperationStatus(0x54)[SS],[FAS]
SBS:UnsealKey(0x60)
Instructs the bq20z70 to enable full access all SBS functions and data flash space and set the [FAS] flag.This 2 step command needs to be written to ManufacturerAccess in following order: 1st word of theFullAccessKey followed by the 2nd word of the FullAccessKey.
This command is only available when the bq20z70 is in Unsealed mode
See Security chapter in this document for detailed information.
Related Variables:
SBS:OperationStatus(0x54)[SS],[FAS]
SBS:FullAcccessKey(0x61)
SLUU250A June 2006 Revised June 2006 Standard SBS Commands 49Submit Documentation Feedback
www.ti.com
A.1.3 Extended SBS Commands
A.2 RemainingCapacityAlarm(0x01)
A.3 RemainingTimeAlarm(0x02)
RemainingCapacityAlarm(0x01)
Also available via ManufacturerAccess in sealed mode are some of the extended SBS commands. Thecommands available are listed below.
The result of these commands need to be read from ManufacturerAccess after a write toManufacturerAccess.
0x0051 = SBS:SafetyStatus(0x51)
0x0053 = SBS:PFStatus(0x53)
0x0054 = SBS:OperationStatus(0x54)
0x0055 = SBS:ChargingStatus(0x55)
0x0057 = SBS:ResetData(0x57)
0x005a= SBS:PackVoltage(0x5a)
0x005d = SBS:AverageVoltage(0x5d)
This read or write function sets or gets a low-capacity alarm threshold unsigned integer value with a rangeof 0 to 65535 and units of either mAh ( CAPACITY_MODE = 0) or 10 mWh ( CAPACITY_MODE = 1). Thedefault value for RemainingCapacityAlarm is stored in Rem Cap Alarm. If RemainingCapacityAlarm is setto 0, alarm is disabled.
If RemainingCapacity <RemainingCapacityAlarm,[RCA] flag is set and bq20z70 sends AlarmWarningmessage to SMBUS host.
If RemainingCapacity RemainingCapacityAlarm and [DSG] is set, [RCA] flag is cleared.
0 = Remaining capacity alarm is disabled1..700 = remaining capacity limit for [RCA] flag
Table A-7. RemainingCapacityAlarm
SBS Mode Name Format Size in Min Max Default UnitCmd. Bytes Value Value Value
0x01 R/W RemainingCapacityAlarm unsigned integer 2 0 700 300 mAh or 10mWh
Related Variables:
DF:SBS Configuration:Data(48):Rem Cap Alarm(0)SBS:BatteryMode[CapM]
SBS:RemainingCapacity(0x0f)
SBS:BatteryStatus(0x16)[RCA],[DSG]
This read or write-word function sets or gets the RemainingTimeAlarm unsigned integer value in minuteswith a range of 0 to 65,535. The default value of RemaingTimeAlarm is stored in Rem Time Alarm. IfRemainingTimeAlarm = 0, this alarm is disabled.
If AverageTimeToEmpty <RemainingTimeAlarm,[RTA] flag is set and bq20z70 sends AlarmWarningmessage to SMBus host.
If AverageTimeToEmpty RemainingTimeAlarm,[RTA] flag is reset
Standard SBS Commands50 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
A.4 BatteryMode(0x03)
BatteryMode(0x03)
0 = Remaining time alarm is disabled1..30 = remaining time limit for [RTA] flag
Table A-8. RemainingTimeAlarm
SBS Mode Name Format Size in Min Max Default UnitCmd. Bytes Value Value Value
0x02 R/W RemainingTimeAlarm unsigned integer 2 0 30 10 min
Related Variables:
DF:SBS Configuration:Data(48):Rem Time Alarm(4)SBS:AverageTimeToEmpty(0x12)
SBS:BatteryStatus(0x16)[RTA]
This read- or write-word function selects the various battery operational modes and reports the battery'scapabilities, modes, and flags minor conditions requiring attention.bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0High Byte CapM ChgM AM RSVD RSVD RSVD PB CCLow Byte CF RSVD RSVD RSVD RSVD RSVD PBS ICCLEGEND: High Byte is Read/Write, Low Byte is Read Only
Figure A-2. BatteryMode
CAPM: CAPACITY_MODE Sets the units used for capacity information and internal calculation.
0 = Reports in mA or mAh (default)1 = Reports in 10mW or 10mWh
Following functions are instantaneously updated after [CAPACITY_MODE] change:SBS:RemainingCapacityAlarm(0x01)
SBS:AtRate(0x04)
SBS:RemainingCapacity(0x0f)
SBS:FullChargeCapacity(0x10)
Following functions are recalculated within 1 second after [CAPACITY_MODE] change:SBS:RemainingTimeAlarm(0x02)
SBS:AtRateTimeToEmpty(0x06)
SBS:AtRateOK(0x07)
SBS:RunTimeToEmpty(0x11)
SBS:AverageTimeToEmpty(0x12)
SBS:BatteryStatus(0x16)
CHGM: CHARGER_MODE Enables or disables the bq20z70's transmission of ChargingCurrent andChargingVoltage messages to the Smart Battery Charger.
SLUU250A June 2006 Revised June 2006 Standard SBS Commands 51Submit Documentation Feedback
www.ti.com
BatteryMode(0x03)
0 = Enable ChargingVoltage and ChargingCurrent broadcasts to smart battery charger bysetting the [BCAST] bit in Operation Cfg B , when charging is desired.1 = Disable ChargingVoltage and ChargingCurrent broadcasts to smart battery charger byclearing the [BCAST] bit in Operation Cfg B (default).related variables:
SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
Standard SBS Commands52 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
A.5 AtRate(0x04)
AtRate(0x04)AM: ALARM_MODE enable or disable AlarmWarning broadcasts to host and smart batter charger
0 = Enable AlarmWarning broadcast to host and smart battery charger by setting the[BCAST] bit in Operation Cfg B. The bq20z70 sends the AlarmWarning messages to theSMBus Host and the Smart Battery Charger any time an alarm condition is detected1 = Disable AlarmWarning broadcast to host and smart battery charger clearing the [BCAST]bit in Operation Cfg B (default). The bq20z70 does not master the SMBus, andAlarmWarning messages are not sent to the SMBus Host and the Smart Battery Charger.
Note: The system, as a minimum, is required to poll the Smart Battery every 10 secondsif the [ALARM_MODE] flag is set.
PB: PRIMARY_BATTERY Sets the role of the battery pack. This flag is not used by bq20z70 andshould be set to 0.
CC: CHARGE_CONTROLLER Enable or disable internal charge controller. This flag is not used bybq20z70 and should be set to 0.
CF: CONDITION_FLAG This flag is set if MaxError >CF MaxError Limit
0 = Battery OK1 = Condition cycle requestedDF:SBS Configuration:Data(48):CF MaxError Limit (20)SBS:MaxError(0x0c)
PBS: PRIMARY_BATTERY_SUPPORT Primary battery support is not supported by bq20z70 and isfixed to 0.
ICC: INTERNAL_CHARGE_CONTROLLER This flag indicates if internal charge controller function issupported or not. This value is fixed to 1.
This read- or write-word function is the first half of a two-function call set used to set the AtRate valueused in calculations made by the AtRateTimeToFull,AtRateTimeToEmpty and AtRateOK functions. TheAtRate units are in either mA ( [CAPACITY_MODE] = 0) or 10 mW ( [CAPACITY_MODE] = 1).
When the AtRate value is positive, the AtRateTimeToFull function returns the predicted time to full-chargeat the AtRate value of charge. When the AtRate value is negative, the AtRateTimeToEmpty functionreturns the predicted operating time at the AtRate value of discharge. When the AtRate value is negative,the AtRateOK function returns a Boolean value that predicts the battery's ability to supply the AtRate valueof additional discharge energy (current or power) for 10 seconds.
The default value for AtRate is zero.
Table A-9. AtRate
SBS Mode Name Format Size in Bytes Min Value Max Value Default Value UnitCmd.
0x04 R/W AtRate signed integer 2 -32768 32767 0 mA or 10mW
SLUU250A June 2006 Revised June 2006 Standard SBS Commands 53Submit Documentation Feedback
www.ti.com
A.6 AtRateTimeToFull(0x05)
A.7 AtRateTimeToEmpty(0x06)
AtRateTimeToFull(0x05)
Related Variables:
SBS:AtRateTimeToFull(0x05)
SBS:AtRateTimeToEmpty(0x06)
SBS:AtRateOK(0x07)
SBS:BatteryMode(0x03)[CapM]
This read-word function returns an unsigned integer value of the predicted remaining time to fully chargethe battery using a CC-CV method at the AtRate value in minutes, with a range of 0 to 65534. A value of65,535 indicates that the AtRate = 0.
AtRateTimeToFull can report time based on constant current ( [CAPACITY_MODE] = 0) or constantpower ( [CAPACITY_MODE] = 1), and updates within one second after the SMBus host sets the AtRatevalue. The bq20z70 automatically updates AtRateTimeToFull based on the AtRatefunction at one-secondintervals.
0..65534 = predicted time to full charge, based on AtRate65535 = no charge or discharge ( AtRate is 0)
Table A-10. AtRateTimeToFull
SBS Mode Name Format Size in Min Max Default UnitCmd. Bytes Value Value Value
0x05 R AtRateTimeToFull unsigned integer 2 0 65535 - min
Related Variables:
SBS:AtRate(0x04)
SBS:BatteryMode(0x03)[CapM]
This read-word function returns an unsigned integer value of the predicted remaining operating time inminutes with a range of 0 to 65534, if the battery is discharged at the AtRate value. A value of 65,535indicates that AtRate = 0.
AtRateTimeToEmpty can report time based on constant current ( [LDMD] = 0), or constant power ([LDMD] = 1), and is updated within one second after the SMBus host sets the AtRate value. The bq20z70updates AtRateTimeToEmpty at one-second intervals.
0..65534 = predicted remaining operating time, based on AtRate65535 = no charge or discharge ( AtRate is 0)
Table A-11. AtRateTimeToEmpty
SBS Mode Name Format Size in Min Max Default UnitCmd. Bytes Value Value Value
0x06 R AtRateTimeToEmpty unsigned integer 2 0 65535 - min
Related Variables:
SBS:AtRate(0x04)
SBS:OperationStatus(0x54)[LDMD]
Standard SBS Commands54 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
A.8 AtRateOK(0x07)
A.9 Temperature(0x08)
A.10 Voltage(0x09)
A.11 Current(0x0a)
AtRateOK(0x07)
This read-word function returns a boolean value that indicates whether or not the battery can deliver theAtRate value of energy for 10 seconds.
The bq20z70 updates this value within one second after the SMBus host sets the AtRate function value.The bq20z70 updates AtRateOK at one-second intervals.
If AtRate function returns 0, AtRateOK always returns TRUE.
0 = FALSE bq20z70 can not deliver energy for 10 seconds actual discharge rate indicated inAtRate1..65535 TRUE bq20z70 deliver energy for 10 seconds actual discharge rate indicated in AtRate=
Table A-12. AtRateOK
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x07 R AtRateOK unsigned integer 2 0 65535 - min
Related Variables:
SBS:AtRate(0x04)
This read-word function returns an unsigned integer value of the temperature in units of 0.1 °K, asmeasured by the bq20z70. It has a range of 0 to 6553.5 °K.
The source of the measured temperature is configured by [TEMP1],[TEMP0] bits in the Operation Cfg Aregister.
Table A-13. Temperature
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x08 R Temperature unsigned integer 2 0 65535 - 0.1 °K
Related Variables:
DF:Configuration:Register(64):Operation Cfg A(0)
This read-word function returns an unsigned integer value of the sum of the individual cell voltagemeasurements in mV with a range of 0 to 20000 mV.
Table A-14. Voltage
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x09 R Voltage unsigned integer 2 0 20000 - mV
This read-word function returns a signed integer value of the measured current being supplied (oraccepted) by the battery in mA, with a range of –32,768 to 32,767. A positive value indicates chargecurrent and negative indicates discharge.
Any current value within the Deadband will be reported as 0mA by the Current function.
SLUU250A June 2006 Revised June 2006 Standard SBS Commands 55Submit Documentation Feedback
www.ti.com
A.12 AverageCurrent(0x0b)
A.13 MaxError(0x0c)
AverageCurrent(0x0b)
Table A-15. Current
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x0a R Current signed integer 2 -32768 32767 - mA
Related Variables:
DF:Calibration:Current(107):Deadband(1)
Note: Current function is the average of 4 internal current measurements over a one-secondperiod.
This read-word function returns a signed integer value that approximates a one-minute rolling average ofthe current being supplied (or accepted) through the battery terminals in mA, with a range of -32,768 to32,767.
AverageCurrent is calculated by a rolling IIR filtered average of Current function data with a period of14.5s. During the time after a reset and before 14.5s has elapsed the reported AverageCurrent =Currentfunction value.
Table A-16. AverageCurrent
SBS Mode Name Format Size in Bytes Min Max Value Default Value UnitCmd. Value
0x0b R AverageCurrent signed integer 2 -32768 32767 - mA
Related Variables:
DF:Calibration:Current(107):Filter(0)
SBS:Current(0x0a)
This read-word function returns an unsigned integer value of the expected margin of error, in %, in thestate-of-charge calculation with a range of 1 to 100%.
Internally MaxError is incremented 0.05% for every increment of CylceCount after the last Qmax update.The displayed MaxError is incremented by 1% points.
Event MaxError SettingFull Reset set to 100%Ra table update set to 5%Qmax update set to 3%Qmax and Ra table update set to 1%
Table A-17. MaxError
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x0c R MaxError unsigned integer 1 0 100 - %
Related Variables:
SBS:CycleCount(0x17)
Standard SBS Commands56 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
A.14 RelativeStateOfCharge(0x0d)
A.15 AbsoluteStateOfCharge(0x0e)
A.16 RemainingCapacity(0x0f)
RelativeStateOfCharge(0x0d)
This read-word function returns an unsigned integer value of the predicted remaining battery capacityexpressed as a percentage of FullChargeCapacity, in %, with a range of 0 to 100%, with fractions of %rounded up.
If RSOCL bit, in Operation Cfg C, is set, then RelativeStateOfCharge is held at 99% until primary chargetermination occurs and displays 100% only upon entering primary charge termination state.
If RSOCL bit, in Operation Cfg C, is cleared, then RelativeStateOfCharge is not held at 99% until primarycharge termination occurs. Fractions of % greater than 99% are rounded up to display 100%.
Table A-18. RelativeStateOfCharge
SBS Mode Name Format Size in Min Max Default UnitCmd. Bytes Value Value Value
0x0d R RelativeStateOfCharge unsigned integer 1 0 100 - %
Related Variables:
SBS:FullChargeCapacity(0x10)
DF:Configuration:Registers(64):Operation Cfg C(4)[RSOCL]
This read-word function returns an unsigned integer value of the predicted remaining battery capacityexpressed in %, with a range of 0 to 100% with any fractions of % rounded up. The table below shows thecalculation used depending on CAPACITY_MODE flag.
CAPACITY_MODE AbsoluteStateOfCharge Calculation0 = RemainingCapacity /Design Capacity1 = RemainingCapacity /Design Energy
Note: AbsoluteStateOfCharge can return values > 100%.
Table A-19. AbsoluteStateOfCharge
SBS Mode Name Format Size in Min Max Default UnitCmd. Bytes Value Value Value
0x0e R AbsoluteStateOfCharge unsigned integer 1 0 100 - %
Related Variables:
DF:SBS Configuration:Data(48):Design Capacity(22)DF:SBS Configuration:Data(48):Design Energy(24)SBS:BatteryMode(0x03)[CapM]
SBS:RemainingCapacity(0x0f)
This read-word function returns an unsigned integer value, with a range of 0 to 65535, of the predictedcharge or energy remaining in the battery. This value is expressed in either charge (mAh) or energy (10mWh), depending on the setting of [CAPACITY_MODE] flag.
SLUU250A June 2006 Revised June 2006 Standard SBS Commands 57Submit Documentation Feedback
www.ti.com
A.17 FullChargeCapacity(0x10)
A.18 RunTimeToEmpty(0x11)
A.19 AverageTimeToEmpty(0x12)
FullChargeCapacity(0x10)
Table A-20. RemainingCapacity
SBS Mode Name Format Size in Min Max Default UnitCmd. Bytes Value Value Value
0x0f R RemainingCapacity unsigned integer 2 0 65535 - mAh or 10mWh
Related Variables:
SBS:BatteryMode(0x03)[CapM]
This read-word function returns an unsigned integer value, with a range of 0 to 65535, of the predictedpack capacity when it is fully charged. This value is expressed in either charge (mAh) or power (10 mWh)depending on setting of [CAPACITY_MODE] flag.
Table A-21. FullChargeCapacity
SBS Mode Name Format Size Min Max Default UnitCmd. in Value Value ValueBytes
0x10 R FullChargeCapacity unsigned integer 2 0 65535 - mAh or 10mWh
Related Variables:
SBS:BatteryMode(0x03)[CapM]
This read-word function returns an unsigned integer value of the predicted remaining battery life at thepresent rate of discharge, in minutes, with a range of 0 to 65,534 min. A value of 65,535 indicates batteryis not being discharged.
This value is calculated and updated based on current or power, depending on the setting of[CAPACITY_MODE] flag.
Table A-22. RunTimeToEmpty
SBS Mode Name Format Size in Min Max Default UnitCmd. Bytes Value Value Value
0x11 R RunTimeToEmpty unsigned integer 2 0 65535 - min
Related Variables:
SBS:BatteryMode(0x03)[CAPACITY_MODE]
This read-word function returns an unsigned integer value of predicted remaining battery life, in minutes,based upon AverageCurrent with a range of 0 to 65534. A value of 65,535 indicates that the battery is notbeing discharged.
This value is calculated based on current or power, depending on the setting of the [CAPACITY_MODE]flag.
0..65534 = predicted remaining battery life, based on AverageCurrent65535 = battery is not being discharged
58 Standard SBS Commands SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
A.20 AverageTimeToFull(0x13)
A.21 ChargingCurrent(0x14)
A.22 ChargingVoltage(0x15)
AverageTimeToFull(0x13)
Table A-23. AverageTimeToEmpty
SBS Mode Name Format Size in Bytes Min Max Value Default Value UnitCmd. Value
0x12 R AverageTimeToEmpty unsigned integer 2 0 65535 - min
Related Variables:
SBS:BatteryMode(0x03)[CapM]
SBS:AverageCurrent(0x0b)
This read-word function returns an unsigned integer value of predicted remaining time until the batteryreaches full charge, in minutes, based on AverageCurrent with a range of 0 to 65,535. A value of 65,535indicates that the battery is not being charged.
0..65534 = predicted remaining time until full charge65535 = battery is not being charged
Table A-24. AverageTimeToFull
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Default Value UnitValue
0x13 R AverageTimeToFull unsigned integer 2 0 65535 - min
Related Variables:
SBS:AverageCurrent(0x0b)
This read-word function returns an unsigned integer value of the desired charging rate, in mA, with arange of 0 to 65,535. A value of 65,535 indicates that a charger should operate as a voltage sourceoutside its maximum regulated current range.
0..65534 = desired charging voltage in mA65535 = charger should operate as voltage source outside it's maximum regulated voltage range
Table A-25. ChargingCurrent
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x14 R ChargingCurrent unsigned integer 2 0 65535 - mA
This read-word function returns an unsigned integer value of the desired charging voltage, in mV, wherethe range is 0 to 65,535. A value of 65,535 indicates that the charger should operate as a current sourceoutside its maximum regulated voltage range.
0..65534 = desired charging voltage in mV65535 = charger should operate as current source outside it's maximum regulated voltage range
Table A-26. ChargingVoltage
SBS Mode Name Format Size in Bytes Min Value Max Value Default Value UnitCmd.
0x15 R ChargingVoltage unsigned integer 2 0 65535 - mV
SLUU250A June 2006 Revised June 2006 Standard SBS Commands 59Submit Documentation Feedback
www.ti.com
A.23 BatteryStatus(0x16)
BatteryStatus(0x16)
This read-word function returns the status of the bq20z70-based battery.bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0High Byte OCA TCA RSVD OTA TDA RSVD RCA RTALow Byte INIT DSG FC FD EC3 EC2 EC1 EC0LEGEND: All Values Read Only
Figure A-3. BatteryStatus
OCA 1 = Over Charged Alarm
TCA 1 = Terminate Charge Alarm
OTA 1 = Over Temperature Alarm
TDA 1 = Terminate Discharge Alarm
RCA Remaining Capacity Alarm
1 = Remaining Capacity Alarm is setsee:
SBS:RemainingCapacityAlarm(0x01)
RTA Remaining Time Alarm
1 = Remaining Time Alarm is setsee:
SBS:RemainingTimeAlarm(0x02)
INIT 1 = Initialization. This flag is cleared approx. 1 after device reset, after all SBS parameters havebeen measured and updated
DSG Discharging
0 = bq20z70 is in charging mode1 = bq20z70 is in discharging mode, relaxation mode or valid charge termination has occurredsee:
"Gas Gauging Mode" chapter in this document
FC 1 = Fully Charged
FD 1 = Fully Discharged
EC3, EC2, EC1, EC0 Error Code, returns status of processed SBS function
0,0,0,0 OK bq20z70 processed the function code with no errors detected.=0,0,0,1 BUSY bq20z70 is unable to process the function code at this time.=0,0,1,0 Reserved bq20z70 detected an attempt to read or write to a function code reserved by= this version of the specification or bq20z70 detected an attempt to access anunsupported optional manufacturer function code.
60 Standard SBS Commands SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
A.24 CycleCount(0x17)
A.25 DesignCapacity(0x18)
CycleCount(0x17)
0,0,1,1 Unsupported bq20z70 does not support this function code.=0,1,0,0 AccessDenied bq20z70 detected an attempt to write to a read-only function code.=0,1,0,1 Over/Underflow bq20z70 detected a data overflow or underflow.=0,1,1,0 BadSize bq20z70 detected an attempt to write to a function code with an incorrect= data block.0,1,1,1 UnknownError bq20z70 detected an unidentifiable error.=
This read-word function returns, as an unsigned integer value, the number of cycles the battery hasexperienced, with a range of 0 to 65,535. The default value is stored in dataflash value Cycle Countwhich is updated each time this variable is incremented. One cycle count is accumulated discharge of CCThreshold.
When the bq20z70 is in Unsealed or Full Access mode, this block is R/W.
Table A-27. CycleCount
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x17 R/W CycleCount unsigned integer 2 0 65535 0
Related Variables:
DF:SBS Configuration:Data(48)Cycle Count(16)DF:SBS Configuration:Data(48)CC Threshold(18)SBS:OperationStatus(0x54)[SS],[FAS]
This read-word function returns, as an unsigned integer value, the theoretical or nominal capacity of a newpack, stored in Design Capacity or in Design Energy.
The DesignCapacity value is expressed in either current (mAh at a C/5 discharge rate) or power, (0.1mWh at a P/5 discharge rate) depending on the setting of [CAPACITY_MODE] bit.
When the bq20z70 is in Unsealed or Full Access mode, this block is R/W.
Table A-28. DesignCapacity
SBS Mode Name CAPACITY_MO Format Size in Min Max Default UnitCmd. DE Bytes Value Value Value
0x18 R/W DesignCapacity 0 unsigned integer 2 0 65535 4400 mAh1 unsigned integer 2 0 65535 6336 0.1 mWh
Related Variables:
DF:SBS Configuration:Data(48):Design Capacity(22)DF:SBS Configuration:Data(48):Design Energy(24)SBS:BatteryMode(0x03)[CapM]
SBS:OperationStatus(0x54)[SS],[FAS]
SLUU250A June 2006 Revised June 2006 Standard SBS Commands 61Submit Documentation Feedback
www.ti.com
A.26 DesignVoltage(0x19)
A.27 SpecificationInfo(0x1a)
A.28 ManufactureDate(0x1b)
DesignVoltage(0x19)
This read-word function returns an unsigned integer value of the theoretical voltage of a new pack, in mV,with a range of 0 to 65,535. The default value is stored in Design Voltage.
When the bq20z70 is in Unsealed or Full Access mode, this block is R/W.
Table A-29. DesignVoltage
SBS Mode Name Format Size in Bytes Min Value Max Value Default UnitCmd. Value
0x19 R/W DesignVoltage unsigned 2 7000 18000 14400 mVinteger
Related Variables:
DF:SBS Configuration:Data(48):Design Voltage(8)SBS:OperationStatus(0x54)[SS]
SBS:OperationStatus(0x54)[FAS]
This read-word function returns, as an unsigned integer value, the version number of the Smart BatterySpecification the battery pack supports, as well as voltage- and current-scaling information.
Power scaling is the product of the voltage scaling times the current scaling. The data is packed in thefollowing fashion:
IPScale x 0x1000 + VScale x 0x0100 + SpecID_H x 0x0010 + SpecID_L
VScale (voltage scaling) and IPScale (current scaling) should always be set to zero. The default setting isstored in Spec Info. When the bq20z70 is in Unsealed or Full Access mode, this block is R/W.
Table A-30. SpecificationInfo
SBS Mode Name Format Size in Bytes Min Value Max Value Default Value UnitCmd.
0x1a R/W SpecificationInfo hex 2 0x0000 0xffff 0x0031
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0IPScal VScale SpecI SpecIe (0) (0) D_H(0. D_L(multip (multip .15) (0..15)lies liescurrent voltagby 10 e byIPScale
10)
VScale
)LEGEND: R/W = Read/Write; R = Read only; - n= value after reset
Figure A-4. SpecificationInfo
Related Variables:
DF:SBS Configuration:Data(48):Spec Info(10)SBS:OperationStatus(0x54)[SS],[FAS]
This read-word function returns the date the pack was manufactured in a packed integer. The date ispacked in the following fashion:(year-1980) x 512 + month x 32 + day
62 Standard SBS Commands SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
A.29 SerialNumber(0x1c)
A.30 ManufacturerName(0x20)
SerialNumber(0x1c)
The default value for this function is stored in Manuf Date. When the bq20z70 is in Unsealed or FullAccess mode, this block is R/W.
Table A-31. ManufacturerDate
SBS Mode Name Format Size in Bytes Min Value Max Value Default Value UnitCmd.
0x1b R/W ManufacturerDate unsigned integer 2 0 65535 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0Year Month Datebiased (1..12) (0..31)by
1980
(0..127
)MSB LSB MSB LSB MSB LSB
Figure A-5. ManufacturerDate
Related Variables:
DF:SBS Configuration:Data(48):Manuf Date(12)SBS:OperationStatus(0x54)[SS],[FAS]
This read-word function is used to return an unsigned integer serial number. The default value of thisfunction is stored in Ser. Num.. When the bq20z70 is in Unsealed or Full Access mode, this block is R/W.
Table A-32. SerialNumber
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x1c R/W SerialNumber hex 2 0x0000 0xffff 0x0001
Related Variables:
DF:SBS Configuration:Data(48):Ser. Num.(14)SBS:OperationStatus(0x54)[SS],[FAS]
This read-block function returns a character string containing the battery manufacturer's name with amaximum length of 11 characters (11 data + length byte).
The default setting of this function is stored in dataflash Manuf Name. When the bq20z70 is in Unsealedor Full Access mode, this block is R/W.
Table A-33. ManufacturerName
SBS Mode Name Format Size in Bytes Min Value Max Value Default Value UnitCmd.
0x20 R/W ManufacturerName String 11+1 - - Texas Inst. ASCII
Related Variables:
DF:SBS Configuration:Data(48):Manuf Name(26)SBS:OperationStatus(0x54)[SS],[FAS]
SLUU250A June 2006 Revised June 2006 Standard SBS Commands 63Submit Documentation Feedback
www.ti.com
A.31 DeviceName(0x21)
A.32 DeviceChemistry(0x22)
A.33 ManufacturerData(0x23)
DeviceName(0x21)
This read-block function returns a character string that contains the battery name with a maximum lengthof 7 characters (7 data + length byte).
The default setting of this function is stored in dataflash Device Name. When the bq20z70 is in Unsealedor Full Access mode, this block is R/W.
Table A-34. DeviceName
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x21 R/W DeviceName String 7+1 - - bq20z70 ASCII
Related Variables:
DF:SBS Configuration:Data(48):Device Name(38)SBS:OperationStatus(0x54)[SS],[FAS]
This read-block function returns a character string that contains the battery chemistry with a maximumlength of 4 characters (4 data + length byte).
The default setting of this function is in stored in dataflash Device Chemistry although it has no use forinternal charge control or fuel gauging. When the bq20z70 is in Unsealed or Full Access mode, this blockis R/W.
Table A-35. DeviceChemistry
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x22 R/W DeviceChemistry String 4+1 - - LION ASCII
Related Variables:
DF:SBS Configuration:Data(48):Device Chemistry(46)SBS:OperationStatus(0x54)[SS],[FAS]
This read-block function returns several configuration data flash elements with an absolute maximumlength of 7 Data + 1 length byte (stored in Manufacturer Data Length). The Manufacturing data elementsshown below are stored in the Manufacturer Data subclass. When the bq20z70 is in Unsealed or FullAccess mode, this block is R/W.
Table A-36. ManufacturerData
Data Byte Name Format
Manufacturer Data 0 Firmware Version hex1
2 Hardware Revisionbq20z70 Counter 3 Partial Reset Counter4 Full Reset Counter5 Watchdog Reset Counter6 Check Sum7 String Length Byte
64 Standard SBS Commands SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
A.34 Authenticate(0x2f)
A.35 CellVoltage4..1(0x3c..0x3f)
A.36 SBS Command Values
Authenticate(0x2f)Related Variables:
SBS:OperationStatus(0x54)[SS],[FAS]
This read/write-block function allows the host to authenticate the bq20z70-based battery using a SHA-1authentication transform with a length of 20 data bytes + 1 length byte. See SHA-1 Authentication chapterand Using SHA-1 in bq20zxx Family of Gas Gauges application report ( SLUA359 ) for detailedinformation.
Table A-37. Authenticate
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x2f R/W Authenticate String 20+1 - - -
Related Variables:
none
These read-word functions return an unsigned value of the calculated individual cell voltages, in mV, witha range of 0 to 65,535. CellVoltage1 corresponds to the bottom most series cell element, whileCellVoltage4 corresponds to the top most series cell element.
Table A-38. CellVoltage4..1
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x3c R CellVoltage4 unsigned 2 0 65535 mVInteger0x3d CellVoltage3 0x3e CellVoltage2 0x3f CellVoltage1
Related Variables:
none
Table A-39. SBS COMMANDS
SBS Mode Name Format Size in Min Max Default UnitCmd Bytes Value Value Value
0x00 R/W ManufacturerAccess hex 2 0x0000 0xffff 0x01 R/W RemainingCapacityAlarm unsigned int 2 0 65535 mAh or10mWh0x02 R/W RemainingTimeAlarm unsigned int 2 0 65535 min0x03 R/W BatteryMode hex 2 0x0000 0xffff 0x04 R/W AtRate signed int 2 -32768 32767 mA or 10mW0x05 R AtRateTimeToFull unsigned int 2 0 65535 min0x06 R AtRateTimeToEmpty unsigned int 2 0 65535 min0x07 R AtRateOK unsigned int 2 0 65535 0x08 R Temperature unsigned int 2 0 65535 0.1 °K0x09 R Voltage unsigned int 2 0 20000 mV0x0a R Current signed int 2 -32768 32767 mA
SLUU250A June 2006 Revised June 2006 Standard SBS Commands 65Submit Documentation Feedback
www.ti.com
SBS Command Values
Table A-39. SBS COMMANDS (continued)
SBS Mode Name Format Size in Min Max Default UnitCmd Bytes Value Value Value
0x0b R AverageCurrent signed int 2 -32768 32767 mA0x0c R MaxError unsigned int 1 0 100 %0x0d R RelativeStateOfCharge unsigned int 1 0 100 %0x0e R AbsoluteStateOfCharge unsigned int 1 0 100 %0x0f R/W RemainingCapacity unsigned int 2 0 65535 mAh or10mWh0x10 R FullChargeCapacity unsigned int 2 0 65535 mAh or10mWh0x11 R RunTimeToEmpty unsigned int 2 0 65535 min0x12 R AverageTimeToEmpty unsigned int 2 0 65535 min0x13 R AverageTimeToFull unsigned int 2 0 65535 min0x14 R ChargingCurrent unsigned int 2 0 65535 mA0x15 R ChargingVoltage unsigned int 2 0 65535 mV0x16 R BatteryStatus unsigned int 2 0x0000 0xffff 0x17 R/W CycleCount unsigned int 2 0 65535 0x18 R/W DesignCapacity unsigned int 2 0 65535 mAh or10mWh0x19 R/W DesignVoltage unsigned int 2 7000 16000 14400 mV0x1a R/W SpecificationInfo unsigned int 2 0x0000 0xffff 0x00310x1b R/W ManufactureDate unsigned int 2 0 65535 00x1c R/W SerialNumber hex 2 0x0000 0xffff 0x00010x20 R/W ManufacturerName String 11+1 Texas ASCIIInstruments0x21 R/W DeviceName String 7+1 bq20z70 ASCII0x22 R/W DeviceChemistry String 4+1 LION ASCII0x23 R ManufacturerData String 14+1 ASCII0x2f R/W Authenticate String 20+1 ASCII0x3c R CellVoltage4 unsigned int 2 0 65535 mV0x3d R CellVoltage3 unsigned int 2 0 65535 mV0x3e R CellVoltage2 unsigned int 2 0 65535 mV0x3f R CellVoltage1 unsigned int 2 0 65535 mV
Standard SBS Commands66 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
B.1 AFEData(0x45)
B.2 FETControl(0x46)
Appendix BSLUU250A June 2006 Revised June 2006
Extended SBS Commands
The extended SBS commands are only available when bq20z70 device is in unsealedmode and full access mode, indicated by the [SS] flag.
Related Variables:
SBS:ManufacturerAccess(0x00):Seal Access(0x0020)SBS:OperationStatus(0x54)[SS]
SBS:UnSealKey(0x60)
SBS:FullAccessKey(0x61)
This read-block function returns a string of 11 data bytes + 1 length byte. The first 9 bytes are thebq29330 memory map followed by 2 bytes of the internal bq20z70 AFE_Fail_Counter.
Table B-1. AFEData
Data Byte Name Format
bq29330 0 AFE Status hex1 AFE Output2 AFE State3 AFE Function4 AFE Cell Select5 AFE OLV6 AFE OLT7 AFE SCC8 AFE SCDbq20z70 9 internal AFE_Fail_Counter high byte10 internal AFE_Fail_Counter low byte11 String Length Byte
Related Variables:
DF:2nd Level Safety:AFE Verification(20):AFE Fail Limit(1)
This write/read-word function allows direct control of the FETs for test purposes. bq20z70 overrides thiscommands unless in normal mode.
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0FETControl RSVD RSVD RSVD OD ZVCHG CHG DSG RSVDLEGEND: RSVD = Reserved and must be programmed to 0
Figure B-1. FETControl
SLUU250A June 2006 Revised June 2006 Extended SBS Commands 67Submit Documentation Feedback
www.ti.com
B.3 StateOfHealth(0x4f)
B.4 SafetyStatus(0x51)
StateOfHealth(0x4f)
OD bq29330 GPOD pin control.
0 = disable GPOD pin (high-Z)1 = enable GPOD pin (open drain)
ZVCHG Zero-Volt (Pre-Charge) charge FET Control
0 = turn OFF pre-charge FET1 = turn ON pre-charge FET
CHG Charge FET Control
0 = turn OFF CHG FET. CHG FET doesn't turn off in discharge mode to protect the FET bodydiode.
1 = turn ON CHG FET
DSG Discharge FET Control
0 = turn OFF DSG FET. DSG FET doesn't turn of in charge mode to protect the FET bodydiode.
1 = turn ON DSG FET
This read word function returns the state of health of the battery in %. The calculation formula depends onthe CAPACITY_MODE flag.
CAPACITY_MO StateOfHealth
DE
0 = FullChargeCapacity /Design Capacity1 = FullChargeCapacity /Design Energy
Related Variables:
DF:SBS Configuration:Data(48):Design Capacity(22)DF:SBS Configuration:Data(48):Design Energy(24)SBS:FullChargeCapacity(0x10)
SBS:BatteryMode(0x03)[CapM]
This read word function returns the status of the 1st level safety features.
See the "1st Level Safety" chapter for further details.bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0High Byte OTD OTC OCD OCC RSVD RSVD RSVD RSVDLow Byte CUV COV PF RSVD WDF AOCD SCC SCDLEGEND: All Values Read Only
Figure B-2. SafetyStatus
68 Extended SBS Commands SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
B.5 PFStatus(0x53)
PFStatus(0x53)
OTD 1 = Discharge overtemperature condition
OTC 1 = Charge overtemperature condition
OCD 1 = Discharge overcurrent condition
OCC 1 = Charge overcurrent condition
CUV 1 = Cell undervoltage condition
COV 1 = Cell overvoltage condition
PF 1 = Permanent failure and SAFE pin has been driven high.
WDF 1 = AFE watchdog condition
AOCD 1 = Discharge overcurrent condition
SCC 1 = Charge short-circuit condition
SCD 1 = Discharge short-circuit condition
The permanent failure status register indicates the source of the bq20z70 permanent-failure condition.
Any new permanent failure is added to PF Flags 1 register to show all permanent failures occurred.
See the 2nd Level Safety chapter for further details.
Related Variables:
DF:Configuration:Registers(64):Permanent Fail Cfg(6)DF:PF Status:Device Status Data(96):PF Flags 1(0)DF:PF Status:Device Status Data(96):PF Flags 2(28)bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0High Byte RSVD RSVD RSVD RSVD SOCD SOCC RSVD AFE_CLow Byte DFF DFETF CFETF CIM SOTD SOTC SOV PFINLEGEND: All Values Read Only
Figure B-3. PFStatus
SOCD 1 = Discharge Safety Overcurrent permanent failure
SOCC 1 = Charge Safety-Overcurrent permanent failure
AFE_C 1 = Permanent AFE Communications failure
DFF 1 = Dataflash Fault permanent failure
DFETF 1 = Discharge-FET-Failure permanent failure
CFETF 1 = Charge-FET-Failure permanent failure
CIM 1 = Cell-Imbalance permanent failure
SOTD 1 = Discharge Safety Overtemperature permanent failure
SOTC 1 = Charge Safety Overtemperature permanent failure
SOV 1 = Safety-Overvoltage permanent failure
PFIN 1 = External Input Indication of permanent failure
SLUU250A June 2006 Revised June 2006 Extended SBS Commands 69Submit Documentation Feedback
www.ti.com
B.6 OperationStatus(0x54)
B.7 ChargingStatus(0x55)
B.8 ResetData(0x57)
OperationStatus(0x54)
This read-word function returns the current status of the operation status of the bq20z70.bit bit bit bit bit bit bit bit7 6 5 4 3 2 1 0High Byte PRES FAS SS CSV RSVD LDMD RSVD RSVDLow Byte WAKE DSG XDSG RSVD RSVD RSVD VOK QENLEGEND: All Values Read Only
Figure B-4. OperationStatus
PRES 1 = PRES is low, indicating that the system is present (battery inserted).
FAS 0 = Full access security mode
SS 1 = Sealed mode
CSV 1 = Data Flash checksum value has been generated
LDMD Load mode for Impedance Track modeling. 0 = constant current, 1 = constant power
WAKE 1 = bq20z70 WAKE mode
DSG Replica of the SBS:BatteryStatus(0x16)[DISCHARGING] flag.
XDSG 1 = Discharge fault
VOK 1 = Voltages are OK for a Qmax update
QEN 1 = Qmax updates are enabled
This read-word function returns the current status of the charging functions.bit 7 bit bit bit bit bit bit bit6 5 4 3 2 1 0High Byte XCHG CHGSUSP PCHG MCHG RSVD RSVD FCHG RSVDLow Byte RSVD CB RSVD RSVD RSVD RSVD OC RSVDLEGEND: All Values Read Only
Figure B-5. ChargingStatus
XCHG 1 = Charging disabled
CHGSUSP 1 = Charging suspend conditions exist
PCHG 1 = Precharging conditions exist
MCHG 1 = Maintenance charging conditions exist
FCHG 1 = Fast charging conditions exist
CB 1 = Cell balancing in progress
OC 1 = Overcharge fault
This read-word function returns the number of partial resets (low byte) and full resets (high byte) thedevice has experienced.
Extended SBS Commands70 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
B.9 WDResetData(0x58)
B.10 PackVoltage(0x5a)
B.11 AverageVoltage(0x5d)
B.12 UnSealKey(0x60)
WDResetData(0x58)
Table B-2. ResetData
SBS Mode Name Format Size in Min Max Default UnitCmd. Bytes Value Value Value
0x57 R ResetData full resets high byte unsigned integer 1 0 255 -partial resets low byte unsigned integer 1 0 255 -
This read-word function returns the number of watchdog resets the device has experienced.
Table B-3. WDResetData
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x58 R WDResetData unsigned integer 2 0 65535 -
This read-word function returns an unsigned integer representing the measured voltage from the AFEpack pin, in mV, with a range of 0 to 65,535.
Table B-4. PackVoltage
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x5a R PackVoltage unsigned integer 2 0 65535 - mV
This read-word function returns a signed integer value that approximates a one-minute rolling average ofthe sum of cell voltages in mV, with a range of 0 to 65,535.
Table B-5. AverageVoltage
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x5d R AverageVoltage unsigned integer 2 0 65535 - mV
Related Variables:
SBS:Voltage(0x09)
This read/write block command allows the user to change the Unseal key for the Sealed-to-Unsealedsecurity-state transition. This function is only available when the bq20z70 is in the Full-Access mode,indicated by a cleared [FAS] flag.
The order of the bytes entered in ManufacturerAccess is the reverse of what is read from or written to thepart. For example, if the 1st and 2nd word of the UnSealKey block read returns 0x1234 and 0x5678, thenin ManufacturerAccess, you should enter 0x3412 and 0x7856 to unseal the part.
Table B-6. UnSealKey
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x60 R/W UnSealKey hex 4 0x00000000 0xffffffff -
Related Variables:
SBS:OperationStatus(0x54)[FAS]
SLUU250A June 2006 Revised June 2006 Extended SBS Commands 71Submit Documentation Feedback
www.ti.com
B.13 FullAccessKey(0x61)
B.14 PFKey(0x62)
B.15 AuthenKey3(0x63)
B.16 AuthenKey2(0x64)
FullAccessKey(0x61)
This read/write block command allows the user to change the Full-Access security key for theUnsealed-to-Full-Access security-state transition. This function is only available when the bq20z70 is inthe Full-Access mode, indicated by a cleared [FAS] flag.
The order of the bytes entered in ManufacturerAccess is the reverse of what is read from or written to thepart. For example, if the 1st and 2nd word of the FullAccessKey block read returns 0x1234 and 0x5678,then in ManufacturerAccess, you should enter 0x3412 and 0x7856 to put the part in full access mode.
Table B-7. FullAccessKey
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x61 R/W FullAccessKey hex 4 0x00000000 0xffffffff -
Related Variables:
SBS:OperationStatus(0x54)[FAS]
This read/write block command allows the user to change the Permanent-Failure-Clear key. This functionis only available when the bq20z70 is in the Full Access mode, indicated by a cleared [FAS] flag.
The order of the bytes entered in ManufacturerAccess is the reverse of what is read from or written to thepart. For example, if the 1st and 2nd word of the PFKey block read returns 0x1234 and 0x5678, then inManufacturerAccess, you should enter 0x3412 and 0x7856 to clear permanent failure.
The default key values for permanent fail clear are 0x2673 and 0x1712.
Table B-8. PFKey
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x62 R/W PFKey hex 4 0x00000000 0xffffffff -
Related Variables:
SBS:OperationStatus(0x54)[FAS]
This read/write block command stores Byte 12 - Byte 15 of the 16 Byte long authentication key. Thisfunction is only available when the bq20z70 is in the Full Access mode, indicated by a cleared [FAS] flag.
Table B-9. AuthenKey3
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x62 R/W AuthenKey3 hex 4 0x00000000 0xffffffff 0x10325476
Related Variables:
none
This read/write block command stores Byte 8 - Byte 11 of the 16 Byte long authentication key. Thisfunction is only available when the bq20z70 is in the Full Access mode, indicated by a cleared [FAS] flag.
Extended SBS Commands72 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
B.17 AuthenKey1(0x65)
B.18 AuthenKey0(0x66)
B.19 ManufacturerInfo(0x70)
B.20 SenseResistor(0x71)
AuthenKey1(0x65)
Table B-10. AuthenKey2
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x64 R/W AuthenKey2 hex 4 0x00000000 0xffffffff 0x98BADCFE
Related Variables:
none
This read/write block command stores Byte 4 - Byte 7 of the 16 Byte long authentication key. This functionis only available when the bq20z70 is in the Full Access mode, indicated by a cleared [FAS] flag.
Table B-11. AuthenKey1
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x65 R/W AuthenKey1 hex 4 0x00000000 0xffffffff 0xEFCDAB89
Related Variables:
none
This read/write block command stores Byte 0 - Byte 3 of the 16 Byte long authentication key. This functionis only available when the bq20z70 is in the Full Access mode, indicated by a cleared [FAS] flag.
Table B-12. AuthenKey0
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x66 R/W AuthenKey0 hex 4 0x00000000 0xffffffff 0x67452301
Related Variables:
none
This read-block function returns the data stored in Manuf. Info where byte 0 is the MSB with a maximumlength of 8 data + 1 length byte. When the bq20z70 is in Unsealed or Full Access mode, this block is R/W.
Table B-13. ManfacturerInfo
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x70 R/W ManufacturerInf string 8+1 - - -o
Related Variables:
DF:System Data:Manufactuer Info(58):Manuf. Info(0)SBS:OperationStatus(0x54)[SS],[FAS]
This read/write command allows the user to change the sense resistor value used in µ . The bq20z70automatically updates the respective calibration data on receipt of a new sense resistor value.
Table B-14. SenseResistor
SBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x71 R/W SenseResistor unsigned integer 2 0 65535 - µ
SLUU250A June 2006 Revised June 2006 Extended SBS Commands 73Submit Documentation Feedback
www.ti.com
B.21 DataFlashSubClassID(0x77)
B.22 DataFlashSubClassPage1..8(0x78..0x7f)
B.23 Extended SBS Command Values
DataFlashSubClassID(0x77)
This write word function set the bq20z70 dataflash subclass, where data can be accessed by followingDataFlassSubClass1..8 commands.
See "Data Flash Access" chapter for further information.
ANACK is returned to this command if the value of the class is outside of the allowed range. Thesubclasses are defined in the Data Flash.
Table B-15. DataFlashSubClassIDSBS Cmd. Mode Name Format Size in Bytes Min Value Max Value Default Value Unit
0x77 W DataFlashSubClassID hex 2 0x0000 0xffff -
Related Variables:
SBS:DataflashSubClass1..8(0x78..0x7f)
These commands are used to access the consecutive 32-byte pages of each subclass.DataFlashSubClassPage1 gets byte 0 to 31 of the subclass, DataFlashSubClassPage2 get bytes 32 to63, and so on.
Note: Any DF location deemed Reserved responds with a NACK unless the bq20z70 is in thecorrect security state to allow access.
Table B-16. DataFlashSubClass1..8SBS Mode Name Format Size in Bytes Subclass Offset Subclass Offset Default Value UnitCmd.
0x78 R/W DataFlashSubClassPage1 hex 32 0 31 -
0x79 R/W DataFlashSubClassPage2 hex 32 32 63 -
0x7a R/W DataFlashSubClassPage3 hex 32 64 95 -
0x7b R/W DataFlashSubClassPage4 hex 32 96 127 -
0x7c R/W DataFlashSubClassPage5 hex 32 128 159 -
0x7d R/W DataFlashSubClassPage6 hex 32 160 191 -
0x7e R/W DataFlashSubClassPage7 hex 32 192 223 -
0x7f R/W DataFlasClasshSubClass8 hex 32 224 255 -
Related Variables:
SBS:DataFlashSubClassID(0x77)
74 Extended SBS Commands SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
Extended SBS Command Values
Table B-17. EXTENDED SBS COMMANDS
SBS Mode Name Format Size in Min Value Max Value Default UnitCmd Bytes Value
0x45 R AFEData String 11+1 ASCII0x46 R/W FETControl hex 1 0x00 0xff 0x4f R StateOfHealth unsigned int 1 0 100 %0x51 R SafetyStatus hex 2 0x0000 0xffff 0x53 R PFStatus hex 2 0x0000 0xffff 0x54 R OperationStatus hex 2 0x0000 0xffff 0x55 R ChargingStatus hex 2 0x0000 0xffff 0x57 R ResetData hex 2 0x0000 0xffff 0x5a R PackVoltage unsigned int 2 0 65535 mV0x5d R AverageVoltage unsigned int 2 0 65535 mV0x60 R/W UnSealKey hex 4 0x00000000 0xffffffff 0x61 R/W FullAccessKey hex 4 0x00000000 0xffffffff 0x62 R/W PFKey hex 4 0x00000000 0xffffffff 0x63 R/W AuthenKey3 hex 4 0x00000000 0xffffffff 0x64 R/W AuthenKey2 hex 4 0x00000000 0xffffffff 0x65 R/W AuthenKey1 hex 4 0x00000000 0xffffffff 0x66 R/W AuthenKey0 hex 4 0x00000000 0xffffffff 0x70 R/W ManufacturerInfo String 8+1 0x71 R/W SenseResistor unsigned int 2 0 65535 µ 0x77 R/W DataFlashSubClassID hex 2 0x0000 0xffff 0x78 R/W DataFlashSubClassPage1 hex 32 0x79 R/W DataFlashSubClassPage2 hex 32 0x7a R/W DataFlashSubClassPage3 hex 32 0x7b R/W DataFlashSubClassPage4 hex 32 0x7c R/W DataFlashSubClassPage5 hex 32 0x7d R/W DataFlashSubClassPage6 hex 32 0x7e R/W DataFlashSubClassPage7 hex 32 0x7f R/W DataFlashSubClassPage8 hex 32
SLUU250A June 2006 Revised June 2006 Extended SBS Commands 75Submit Documentation Feedback
www.ti.com
Extended SBS Command Values
Extended SBS Commands76 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
C.1 Accessing Data Flash
C.1.1 Data Flash Interface
Appendix CSLUU250A June 2006 Revised June 2006
Data Flash
CAUTION
Care should be taken when mass programming the dataflash space using previous versions of data flash memorymap files (such as *.gg files) to ensure all public locationsare updated correctly.
Data Flash can only be updated if Voltage Flash Update OK Voltage orPackVoltageCharger Present. Data flash reads and writes are verified according tothe method detailed in the 2nd Level Safety section of this data sheet.
Note: Data Flash updates are disabled when [PF] SafetyStatus flag is set.
In different security modes, the data flash access conditions change. See ManufacturerAccess and"Security" chapter for further details.SECURITY MODE NORMAL DATA FLASH ACCESS
BootROM N/AFull Access R/WUnsealed R/WSealed N/A
The bq20z70 data flash is organized into subclasses where each data flash variable is assigned an offsetwithin its numbered subclass. For example: the Pre-chg Temp threshold location is defined as:Class = Charge ControlSubClass = Pre-Charge Cfg = 33Offset = 2
Note: Data Flash commands are NACK'ed if bq20z70 is in sealed mode ( [SS] flag is set).
Each subclass can be addressed individually by using the DataFlashSubClassID command and the datawithin each subclass is accessed by using the DataFlashSubClassPage1..8 commands.
Reading and Writing subclass data are block operations which are 32 Bytes long each. but data can bewritten in shorter block sizes. The final block in one subclass can be shorter than 32 bytes so care mustbe taken not to write over the subclass boundary. None of the values written are bounded by the bq20z70and the values are not rejected by the gas gauge. Writing an incorrect value may result in hardware failuredue to firmware program interpretation of the invalid data. The data written is persistent, so a Power OnReset does resolve the fault.
Related Variables:
SBS:DataFlashSubClassID(0x77)
SLUU250A June 2006 Revised June 2006 Data Flash 77Submit Documentation Feedback
www.ti.com
C.1.2 Reading a SubClass
C.1.3 Writing a SubClass
C.1.4 Example
Accessing Data Flash
SBS:DataFlashSubClassPage1..8(0x78..0x7f)
Information required:SubClassID
Number of bytes in the subclassVariable Offset
Procedure:
1. Write the SubClassID to bq20z70 using DataFlashSubClassID command.2. Read a block of data using DataFlashSubClassPage1..8 command. A subclass can hold up to 256bytes of data, but subclass data can only be read in 32 byte long data blocks. TheDataFlashSubClassPage1 command reads only the first 32 bytes in a subclass, theDataFlashSubClassPage2 command reads the second 32 bytes in a subclass and so on. For exampleif the subclass has 40 bytes, DataFlashSubClassPage1 +DataFlashSubClassPage1 is needed to readthe whole subclass.
Information required:SubClassID
Number of bytes in the subclass32 bytes of initialized data to be written. Less than 32 bytes is acceptable if a subclass contains lessthan 32 bytes in the last block.
Procedure:
1. Write the SubClassID to bq20z70 using DataFlashSubClassID command.2. Write a block of data using DataFlashSubClassPage1..8 command. A subclass can hold up to 256bytes of data, but subclass data can only be write in 32 byte long data blocks. TheDataFlashSubClassPage1 command writes only the first 32 bytes in a subclass, theDataFlashSubClassPage2 command writes the second 32 bytes in a subclass and so on. For exampleif the subclass has 40 bytes and data in offset 34 of the subclass needs to be changed, useDataFlashSubClassPage2 to write data from byte 32 - 40 of the subclass.
To write the value of Term Voltage to a value of 8.7 V the following sequence is used.
Read complete Gas Gauging-IT Cfg subclass (SubclassID = 80) into RAM:Write Subclass ID SMB Slave Address (0x16) SMB CMD 0x77 with 0x0050 as data (=80 decimal)Read Subclass (2 blocks are needed as its over 32 bytes long) SMBSlave Address (0x16) SMB CMD 0x78 receiving 32 bytes of data SMB CMD 0x79 receiving 32 bytes of data
Overwrite offset 45 of received data with 8.7 V:Update offset 45 of second block with 0x21fc (=8700 decimal)
Write the complete subclass back to the bq20z70:Write Subclass ID SMB Slave Address (0x16) SMB CMD 0x77 with 0x0050 as dataWrite Subclass
78 Data Flash SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.2 1st Level Safety Class
C.2.1 Voltage (Subclass 0)
C.2.1.1 COV Threshold (Offset 0)
1st Level Safety Class
SMB Slave Address (0x17) SMB CMD 0x78 with 32 bytes of data SMB CMD 0x79 with 32 bytes of data
Alternatively, only the required block rather than the full subclass can be accessed.
Read required block of Gas Gauging-IT Cfg subclass (SubclassID = 80) into RAM:Write Subclass ID SMB Slave Address (0x17) SMB CMD 0x77 with 0x0050 as data (=80 decimal)Read Subclass (2nd block is needed as its offset 45) SMB Slave Address (0x16) SMB CMD 0x79 receiving 32 bytes of data
Overwrite offset (45 - 32 = 13) of received data with 8.7 V:Update offset 45 with 0x21fc (= 8700 decimal)
Write the updated block back to the bq20z70:Write Subclass ID SMB Slave Address (0x17) SMB CMD 0x77 with 0x0050 as dataWrite Subclass
SMB Slave Address (0x17) SMB CMD 0x79 with 32 bytes of data
The bq20z70 sets the [COV] flag in SafefyStatus if any CellVoltage4..1 is equal to or higher than theCOV Threshold for a period of 2s.
Table C-1. COV ThresholdSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
0 Voltage 0 COV Threshold unsigned integer 2 3700 5000 4300 mV
Related Variables:
DF:1st Level Safety:Voltage(0):COV Recovery(3)SBS:Charging Current(0x14)SBS:Charging Voltage(0x15)SBS:Battery Status(0x16)[TCA]
SBS:CellVoltage4(0x3c)
SBS:CellVoltage3(0x3d)
SBS:CellVoltage2(0x3e)
SBS:CellVoltage1(0x3f)
SBS:SafetyStatus(0x51)[COV]
SLUU250A June 2006 Revised June 2006 Data Flash 79Submit Documentation Feedback
www.ti.com
C.2.1.2 COV Recovery (Offset 3)
C.2.1.3 CUV Threshold (Offset 12)
C.2.1.4 CUV Recovery (Offset 15)
1st Level Safety Class
The bq20z70 recovers from cell over voltage condition, if all cell voltages are equal to or lower than theCOV Recovery threshold level. On recovery the ChargingCurrent and ChargingVoltage is set toappropriate value by charging algorithm, [TCA] is cleared and the [COV] in SafetyStatus is reset.
Table C-2. COV RecoverySubclass ID Subclass Offset Name Format Size in Bytes Min Value Max Value Default UnitName Value
0 Voltage 3 COV unsigned integer 2 0 4400 3900 mVRecovery
Related Variables:
DF:1st Level Safety:Voltage(0):COV Threshold(0)SBS:BatteryStatus(0x16)[TCA]
SBS:CellVoltage4(0x3c)
SBS:CellVoltage3(0x3d)
SBS:CellVoltage2(0x3e)
SBS:CellVoltage1(0x3f)
SBS:SafetyStatus(0x51)[COV]
The bq20z70 sets the [CUV] SafetyStatus if any CellVoltage4..1 is equal to or lower than theCUV Threshold for a period of 2s.
Table C-3. CUV Threshold
Subclass Subclass Offset Name Format Size in Min Max Value Default UnitID Name Bytes Value Value
0 Voltage 12 CUV unsigned 2 0 3500 2200 mVThreshold integer
Related Variables:
DF:1st Level Safety:Voltage(0):CUV Recovery(15)DF:Charge Control:Pre-Charge Cfg(33):Pre-Charge Current(0)SBS:Charging Current(0x14)SBS:BatteryStatus(0x16)[TDA],[FD]
SBS:CellVoltage4(0x3c)
SBS:CellVoltage3(0x3d)
SBS:CellVoltage2(0x3e)
SBS:CellVoltage1(0x3f)
SBS:SafetyStatus(0x51)[CUV]
SBS:OperationStatus(0x54)[XDSG]
The bq20z70 recovers from cell under voltage condition, if all CellVoltage4..1 are equal to or higher thanthe CUV Recovery threshold. On recovery the ChargingCurrent and ChargingVoltage are set toappropriate value by charging algorithm, the [TDA] flag is reset, the [CUV] in SafetyStatus is reset and the[XDSG] flag in OperationStatus is reset.
Data Flash80 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.2.2 Current (Subclass 1)
C.2.2.1 OC (1st Tier) Chg (Offset 0)
1st Level Safety Class
Table C-4. CUV Recovery
Subclass Subclass Offset Name Format Size in Min Max Value Default UnitID Name Bytes Value Value
0 Voltage 15 CUV unsigned 2 0 3600 3000 mVRecovery integer
Related Variables:
DF:1st Level Safety:Voltage(0):CUV Threshold(12)SBS:Charging Current(0x14)SBS:Charging Voltage(0x15)SBS:BatteryStatus(0x16)[TDA],[FD]
SBS:CellVoltage4(0x3c)
SBS:CellVoltage3(0x3d)
SBS:CellVoltage2(0x3e)
SBS:CellVoltage1(0x3f)
SBS:SafetyStatus(0x51)[CUV]
SBS:OperationStatus(0x54)[XDSG]
The bq20z70 sets the [OCC] SafetyStatus if charge Current is equal to or higher than theOC (1st Tier) Chg threshold for a period of 2s.
In overcurrent while charging condition, the CHG FET is turned off, the ChargeCurrent and ChargeVoltageis set to 0, the [TCA] is set and the [OCC] in SafetyStatus is set.
The bq20z70 recovers from over current charge condition in non removable battery mode, if theAverageCurrent is equal to or lower than 100mA for the length of Current Recovery Time. The bq20z70recovers in removable battery mode by removing and reinserting the battery pack. On recovery theChargingCurrent and ChargingVoltage are set to appropriate value per charging algorithm, [TCA] is resetand the [OCC] in SafetyStatus is reset.
Table C-5. OC (1st Tier) Chg
Subclass Subclass Offset Name Format Size in Bytes Min Max Default UnitID Name Value Value Value
1 Current 0 OC (1st Tier) unsigned 2 0 20000 6000 mACharge integer
Related Variables:
DF:1st Level Safety:Current Recovery Time(16)DF:Configuration:Registers(64):Operation Cfg B(2)[NR]SBS:Charging Current(0x14)SBS:Charging Voltage(0x15)SBS:BatteryStatus(0x16)[TCA]
SBS:SafetyStatus(0x51)[OCC]
SLUU250A June 2006 Revised June 2006 Data Flash 81Submit Documentation Feedback
www.ti.com
C.2.2.2 OC (1st Tier) Dsg (Offset 5)
C.2.2.3 Current Recovery Time (Offset 16)
C.2.2.4 AFE OC Dsg (Offset 17)
1st Level Safety Class
The bq20z70 sets the [OCD] SafetyStatus if the discharge Current is equal to or higher than theOC (1st Tier) Dsg threshold for a period of 2s.
In overcurrent discharge condition, the DSG FET is turned off, the ChargeCurrent is set toPre-charge Current, the [TCA] is set, the [FD] flag is set, the [OCD] in SafetyStatus is set and the[XDSG] is set.
The bq20z70 recovers from over current discharge condition in non removable battery mode, if theAverageCurrent is equal to or lower than 100mA current level for the length of Current Recovery Time.On recovery the ChargingCurrent and ChargingVoltage is set to appropriate value per charging algorithm,[TCA] is reset, the [OCD] SafetyStatus is reset and the [XDSG] is reset
Table C-6. OC (1st Tier) Dsg
Subclass Subclass Offset Name Format Size in Min Max Value Default UnitID Name Bytes Value Value
1 Current 5 OC (1st Tier) unsigned 2 0 20000 6000 mADsg integer
Related Variables:
DF:Charge Control:Pre-Charge Cfg(33):Pre-Charge Current(0)DF:1st Level Safety:Current Recovery Time(16)DF:Configuration:Registers(64):Operation Cfg B(2)[NR]SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[TDA]
SBS:OperationStatus(0x54)[XDSG]
The Current Recovery Time sets the minimum time period where the AverageCurrent need to be belowover current charge/discharge recovery threshold to recover from over current charge/discharge condition.
Table C-7. Current Recovery Time
Subclass Subclass Offset Name Format Size in Min Max Default UnitID Name Bytes Value Value Value
1 Current 16 Current Recovery unsigned 1 0 60 8 SecTime integer
Related Variables:
SBS:AverageCurrent(0x0b)
The AFE OC Dsg threshold sets the OLV register of bq29330 AFE device. See overload thresholdregister of bq29330 datasheet for more details and appropriate values to use.
Table C-8. AFE OC Dsg
Subclass Subclass Offset Name Format Size in Min Max Default UnitID Name Bytes Value Value Value
1 Current 17 AFE OC Dsg hex 1 0 0x1F 0x12
Data Flash82 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.2.2.5 AFE OC Dsg Time (Offset 18)
C.2.2.6 AFE SC Chg Cfg (Offset 21)
1st Level Safety Class
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0Low Byte RSVD RSVD RSVD OLV4 OLV3 OLV2 OLV1 OLV0LEGEND: RSVD = Reserved and must be programmed to 0
Figure C-1. OLV Register
OLV4, OLV3, OLV2, OLV1, OLV0 Sets the overload voltage threshold of bq29330
0x00 - 0x1f = sets the voltage threshold between 50mV and 205mV in 5mV steps.
Related Variables:
DF:1st Level Safety:Current(1):AFE OC Dsg Time(18)
The AFE OC Discharge Time is programmed into the OLT register of bq29330 AFE device. If anovercurrent discharge condition is reported by bq29330, ChargingCurrent is set to 0, [TDA] inBatteryStatus is set and [AOCD] in SafetyStatus is set.
The bq20z70 recovers from over current discharge condition in non removable battery mode, if theAverageCurrent is equal to or lower than the (-)100mA current level for the length ofCurrent Recovery Time. On recovery the charging current and voltage is set to appropriate value percharging algorithm, terminate discharge alarm is reset, the [AOCD] in SafetyStatus is reset and theoperation status discharge fault is reset
Table C-9. AFE OC Time
Subclass Subclass Offset Name Format Size in Min Max Default UnitID Name Bytes Value Value Value
1 Current 18 AFE OC Dsg hex 1 0 0x0f 0x0fTime
OLT3, OLT2, OLT1, OLT0 Sets the overload voltage delay of bq29330
0x00 - 0x0f = sets the overvoltage trip delay between 1ms - 31ms in 1ms steps
Related Variables:
DF:1st Level Safety:Current(1):AFE OC Dsg(17)DF:1st Level Safety:Current Recovery Time(16)DF:Configuration:Registers(64):Operation Cfg B(2)[NR]SBS:AverageCurrent(0x0b)
SBS:ChargingCurrent(0x14)
SBS:BatteryStatus(0x16)[TDA]
SBS:SafetyStatus(0x51)[AOCD]
The AFE SC Charge Cfg is programmed into the SCC register of bq29330 AFE device.AFE SC Charge Cfg sets the short circuit charging voltage threshold and the short circuit in chargingdelay of the bq29330.
If bq20z70 identifies short circuit situation from bq29330, ChargingCurrent and ChargingVoltage are set to0, [TCA] in BatteryStatus is set and the [SCC] in SafetyStatus is set.
SLUU250A June 2006 Revised June 2006 Data Flash 83Submit Documentation Feedback
www.ti.com
C.2.2.7 AFE SC Dsg Cfg (Offset 22)
1st Level Safety ClassThe bq20z70 recovers from short circuit charge condition in non removable battery mode, ifAverageCurrent is equal to or lower than the 5mA for the length of Current Recovery Time. On recoverythe ChargingCurrent and ChargingVoltage is set to appropriate value per charging algorithm, , [TCA] inBatteryStatus is reset, the [SCC] in SafetyStatus is reset.
Table C-10. AFE SC Chg Cfg
Subclass Subclass Offset Name Format Size in Min Max Default UnitID Name Bytes Value Value Value
1 Current 21 AFE SC Chg hex 1 0 0xff 0x77Cfg
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0Low Byte SCCT3 SCCT2 SCCT1 SCCT0 SCCV3 SCCV2 SCCV1 SCCV0
Figure C-2. SCC Register
SCCT3, SCCT2, SCCT1, SCCT0 Sets the short circuit delay in charging of bq29330
0x00 - 0x0f = sets the short circuit in charging delay between 0 µs - 915 µs in 61 µs steps
SCCV3, SCCV2, SCCV1, SCCV0 Sets the short circuit voltage threshold in charging of bq29330
0x00 - 0x0f = sets the short circuit voltage threshold between 0.1V and 0.475V in 25mV steps
Related Variables:
DF:1st Level Safety:Current Recovery Time(16)DF:Configuration:Registers(64):Operation Cfg B(2)[NR]SBS:AverageCurrent(0x0b)
SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[TCA]
SBS:SafetyStatus(0x51)[SCC]
The AFE SC Dsg Cfg is programmed into the SCD register of bq29330 AFE device. TheAFE SC Dsg Cfg sets the short circuit discharging voltage threshold and the short circuit in dischargingdelay of the bq29330.
If bq20z70 identifies discharge short circuit situation from bq29330, ChargingCurrent and ChargingVoltageare set to 0, [TDA] in BatteryStatus is set, [SCD] in SafetyStatus is set and [XDSG] in OperationStatus isset.
The bq20z70 recovers from short circuit discharge condition in non removable battery mode, ifAverageCurrent is equal to or greater than the (-)5mA for the length of Current Recovery Time. Onrecovery the ChargingCurrent and ChargingVoltage is set to appropriate value per charging algorithm,[TDA], in BatteryStatus is reset, [SCD] in SafetyStatus is reset and the [XDSG] is reset
Table C-11. AFE SC Dsg Cfg
Subclass Subclass Offset Name Format Size in Min Max Default UnitID Name Bytes Value Value Value
1 Current 22 AFE SC Dsg Cfg hex 1 0 0xff 0x77
Data Flash84 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.2.3 Temperature (Subclass 2)
C.2.3.1 Over Temp Chg (Offset 0)
1st Level Safety Class
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0Low Byte SCDT3 SCDT2 SCDT1 SCDT0 SCDV3 SCDV2 SCDV1 SCDV0
Figure C-3. SCD Register
SCDT3, SCDT2, SCDT1, SCDT0 Sets the short circuit delay in discharging of bq29330
0x00 - 0x0f = sets the short circuit in discharging delay between 0 µs - 915 µs in 61 µs steps
SCDV3, SCDV2, SCDV1, SCDV0 Sets the short circuit voltage threshold in discharging of bq29330
0x00 - 0x0f = sets the short circuit voltage threshold between 0.1V and 0.475V in 25mV steps
Related Variables:
DF:1st Level Safety:Current Recovery Time(16)DF:Configuration:Registers(64):Operation Cfg B(2)[NR]SBS:AverageCurrent(0x0b)
SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[TDA]
SBS:SafetyStatus(0x51)[SCD]
SBS:OperationStatus(0x54)[XDSG]
The bq20z70 sets the [OTC] in SafetyStatus if pack Temperature is equal to or higher than theOver Temp Chg threshold for a period of 2s.
In charging overtemperature condition, the ChargingVoltage and ChargingCurrent is set to 0, the [OTA] inBatteryStatus is set, [TCA] is set, the [OTC] in SafetyStatus is set. If [OTFET] bit is enabled, CHG FETalso turns off.
Table C-12. Over Temp Chg
Subclass ID Subclass Offset Name Format Size in Min Max Default UnitName Bytes Value Value Value
2 Temperature 0 Over Temp unsigned integer 2 0 1200 550 0.1 °CChg
Related Variables:
DF:1st Level Safety:Temperature(2):OT Chg Recovery (3)DF:Configuration:Registers(64):Operation Cfg B(2)[OTFET]SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[OTA],[TCA]
SBS:SafetyStatus(0x51)[OTC]
SBS:Temperature(0x08)
SLUU250A June 2006 Revised June 2006 Data Flash 85Submit Documentation Feedback
www.ti.com
C.2.3.2 OT Chg Recovery (Offset 3)
C.2.3.3 Over Temp Dsg (Offset 5)
C.2.3.4 OT Dsg Recovery (Offset 8)
1st Level Safety Class
The bq20z70 recovers from over temperature charge condition, if the Temperature is equal to or lowerthan the OT Chg Recovery level. On recovery the CHG FET returns to normal operating state, theChargingCurrent and ChargingVoltage are set to appropriate value per charging algorithm, the [OTA] isreset and the [OTC] in SafetyStatus is reset.
Table C-13. OT Chg Recovery
Subclass Subclass Offset Name Format Size in Min Max Default UnitID Name Bytes Value Value Value
2 Temperature 3 OT Chg unsigned integer 2 0 1200 500 0.1 °CRecovery
Related Variables:
DF:1st Level Safety:Temperature(2):Over Temp Chg (0)SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[OTA]
SBS:SafetyStatus(0x51)[OTC]
The bq20z70 sets the [OTD] in SafetyStatus if Temperature function value is equal to or higher thanOver Temp Dsg threshold for a period of 2s.
In discharging overtemperature condition, the ChargingCurrent is set to 0, the [OTA] battery status is set,the [OTD] SafetyStatus is set. If [OTFET] bit is enabled, DSG FET also turns off and [XDSG] inOperationStatus is set.
Table C-14. Over Temp Dsg
Subclass Subclass Offset Name Format Size in Min Max Default UnitID Name Bytes Value Value Value
2 Temperature 5 Over Temp unsigned integer 2 0 1200 600 0.1 °CDsg
Related Variables:
DF:Configuration:Registers(64):Operation Cfg B(2)[OTFET]SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[OTA]
SBS:SafetyStatus(0x51)[OTD]
SBS:OperationStatus(0x54)[XDSG]
The bq20z70 recovers from over temperature discharge condition, if the Temperature function reports atemperature equal to or lower than the OT Dsg Recovery level. On recovery the DSG FET returns tonormal operating state, the ChargingCurrent and ChargingVoltage are set to appropriate value percharging algorithm, the [OTA] is reset, the [OTD] SafetyStatus is reset and the [XDSG] in OperationStatusis reset.
Data Flash86 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.3 2nd Level Safety
C.3.1 Voltage (Subclass 16)
C.3.1.1 SOV Threshold (Offset 0)
C.3.1.2 SOV Time (Offset 2)
2nd Level Safety
Table C-15. OT Dsg Recovery
Subclass Subclass Offset Name Format Size in Min Max Default UnitID Name Bytes Value Value Value
2 Temperature 8 OT Dsg unsigned integer 2 0 1200 550 0.1 °CRecovery
Related Variables:
DF:1st Level Safety:Temperature(2):Over Temp Chg (0)SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[OTA]
SBS:SafetyStatus(0x51)[OTC]
SBS:OperationStatus(0x54)[XDSG]
The bq20z70 sets the [SOV] flag in PF Status if the Voltage function reports a value equal to or higherthan the SOV Threshold.
Table C-16. SOV ThresholdSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
16 Voltage 0 SOV Threshold unsigned integer 2 0 20000 18000 mV
Related Variables:
DF:2nd Level Safety:Voltage(16):SOV Time(2)SBS:Voltage(0x09)
SBS:PFStatus(0x53)[SOV]
If the Voltage exceeds [SOV] threshold for a time period of SOV Time limit, the bq20z70 goes into safetyover voltage condition, [SOV] in PF Status is set and if [XSOV] bit in Permanent Fail Cfg is set, the SAFEpin is driven high. This function is disabled if SOV Time is set to 0.
Table C-17. SOV TimeSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
16 Voltage 2 SOV Time unsigned integer 1 0 30 0 Sec
Related Variables:
DF:2nd Level Safety:Voltage(16):SOV Threshold(0)DF:Configuration:Registers(Subclass 64):Permanent Fail Cfg(4)[XSOV]SBS:Voltage(0x09)
SBS:PFStatus(0x53)[SOV]
SLUU250A June 2006 Revised June 2006 Data Flash 87Submit Documentation Feedback
www.ti.com
C.3.1.3 Cell Imbalance Current (Offset 3)
C.3.1.4 Cell Imbalance Fail Voltage (Offset 4)
C.3.1.5 Cell Imbalance Time (Offset 6)
2nd Level Safety
The battery pack Current must be below the Cell Imbalance Current limit for Cell Imbalance Timebefore bq20z70 starts detecting cell imbalance.
Table C-18. Cell Imbalance CurrentSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
16 Voltage 3 Cell Imbalance unsigned integer 1 0 200 5 mACurrent
Related Variables:
DF:2nd Level Safety:Voltage(16):Cell Imbalance Fail Voltage(4)DF:2nd Level Safety:Voltage(16):Cell Imbalance Time(6)DF:2nd Level Safety:Voltage(16):Battery Rest Time(7)SBS:Current(0x0a)
If the Current goes below Cell Imbalance Current for Battery Rest Time, the bq20z70 starts cellimbalance measurements. The bq20z70 sets the [CIM] in PFStatus if the bq20z70 measures a differencebetween any CellVoltage4..1 are equal to or higher than the Cell Imbalance Fail Voltage threshold for aperiod of Cell Imbalance Time.
Table C-19. Cell Imbalance Fail VoltageSubclass ID Subclass Offset Name Format Size in Bytes Min Value Max Value Default Value UnitName
16 Voltage 4 Cell Imbalance unsigned 2 0 5000 1000 mVFail Voltage integer
Related Variables:
DF:2nd Level Safety:Voltage(16):Cell Imbalance Current(3)DF:2nd Level Safety:Voltage(16):Cell Imbalance Time(6)DF:2nd Level Safety:Voltage(16):Battery Rest Time(7)SBS:CellVoltage4(0x3c)
SBS:CellVoltage3(0x3d)
SBS:CellVoltage2(0x3e)
SBS:CellVoltage1(0x3f)
SBS:PFStatus(0x53)[CIM]
If the measured voltage difference between cells is higher than the Cell Imbalance Fail Voltage thresholdfor a period of Cell Imbalance Time limit, bq20z70 goes into cell imbalance condition, [CIM] in PF Statusis set and if [XCIM] in permanent fail configuration is set, the SAFE pin is also driven high. This function isdisabled if Cell Imbalance Time is set to 0.
Table C-20. Cell Imbalance TimeSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
16 Voltage 6 Cell Imbalance unsigned integer 1 0 30 0 SecTime
Data Flash88 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.3.1.6 Battery Rest Time (Offset 7)
C.3.1.7 PFIN Detect Time (Offset 9)
C.3.2 Current (Subclass 17)
C.3.2.1 SOC Chg (Offset 0)
2nd Level SafetyRelated Variables:
DF:2nd Level Safety:Voltage(16):Cell Imbalance Current(3)DF:2nd Level Safety:Voltage(16):Cell Imbalance Fail Voltage(4)DF:2nd Level Safety:Voltage(16):Battery Rest Time(7)DF:1st Level Safety:Temperature(2):Over Temp Chg (0)DF:Configuration:Registers(Subclass 64):Permanent Fail Cfg(4)[XSOV]SBS:PFStatus(0x53)[CIM]
The battery Current must be below Cell Imbalance Current limit for at least Battery Rest Time periodbefore bq20z70 starts detecting cell imbalance. Set to 0 to disable cell imbalance detection.
Table C-21. Battery Rest TimeSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
16 Voltage 7 Battery Rest unsigned integer 2 0 65535 1800 SecTime
Related Variables:
DF:2nd Level Safety:Voltage(16):Cell Imbalance Current(3)DF:2nd Level Safety:Voltage(16):Cell Imbalance Fail Voltage(4)DF:2nd Level Safety:Voltage(16):Cell Imbalance Time(6)SBS:Current(0x0a)
If PFIN pin logic low for a period of PFIN detect time, [PFIN] in PFStatus is set. If [XPFIN] in permanentfail configuration is set, the SAFE pin is also driven high. This function is disabled if PFIN Detect Time isset to 0.
Table C-22. PFIN Detect TimeSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
16 Voltage 9 PFIN Detect unsigned integer 1 0 30 0 SecTime
Related Variables:
DF:Configuration:Registers(Subclass 64):Permanent Fail Cfg(4)[XPFIN]SBS:PFStatus(0x53)[PFIN]
The bq20z70 sets the [SOCC] in PF Status if Current is equal to or higher than the SOC Chg threshold fora period of SOC Chg Time.
Table C-23. SOC ChgSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
17 Current 0 SOC Chg unsigned integer 2 0 30000 10000 mA
SLUU250A June 2006 Revised June 2006 Data Flash 89Submit Documentation Feedback
www.ti.com
C.3.2.2 SOC Chg Time (Offset 2)
C.3.2.3 SOC Dsg (Offset 3)
C.3.2.4 SOC Dsg Time (Offset 5)
2nd Level Safety
Related Variables:
DF:2nd Level Safety:Current(17):SOC Chg Time(2)DF:Configuration:Registers(Subclass 64):Permanent Fail Cfg(4)[XSOCC]SBS:Current(0x0a)
SBS:PFStatus(0x53)[SOCC]
If the Current is equal to or higher than the SOC Chg threshold, [SOCC] in PFStatus is set and if[XSOCC] in permanent fail configuration is set, the SAFE pin is driven high. This function is disabled ifSOC Chg Time is set to 0.
Table C-24. SOC Chg TimeSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
17 Current 2 SOC Chg Time unsigned integer 1 0 30 0 Sec
Related Variables:
DF:2nd Level Safety:Voltage(16):SOV Threshold(0)DF:Configuration:Registers(Subclass 64):Permanent Fail Cfg(4)[XSOCC]SBS:Current(0x0a)
SBS:PFStatus(0x53)[SOCC]
The bq20z70 sets the [SOCD] PF Status if discharge Current is equal to or higher than the (-)SOC Dsgthreshold for a period of SOC Dsg Time.
Table C-25. SOC DsgSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
17 Current 3 SOC Dsg unsigned integer 2 0 30000 10000 mA
Related Variables:
DF:2nd Level Safety:Current(17):SOC Chg Time(2)DF:Configuration:Registers(Subclass 64):Permanent Fail Cfg(4)[XSOCC]SBS:Current(0x0a)
SBS:PFStatus(0x53)[SOCD]
If the discharge Current is equal to or higher than the (-)SOC Dsg threshold for a period of SOC DsgTime,[SOCD] in PF Status is set and if [XSOCD] bit in permanent fail configuration is set, the SAFE pin isdriven high. This function is disabled if SOCD Dsg Time is set to 0.
Table C-26. SOC Dsg TimeSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
17 Current 5 SOC Dsg Time unsigned integer 1 0 30 0 Sec
Data Flash90 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.3.3 Temperature (Subclass 18)
C.3.3.1 SOT Chg (Offset 0)
C.3.3.2 SOT Chg Time (Offset 2)
C.3.3.3 SOT Dsg (Offset 3)
2nd Level SafetyRelated Variables:
DF:2nd Level Safety:Voltage(16):SOC Dsg(3)DF:Configuration:Registers(Subclass 64):Permanent Fail Cfg(4)[XSOCD]SBS:Current(0x0a)
SBS:PFStatus(0x53)[SOCD]
The bq20z70 sets the [SOTC] PF Status if Temperature is equal to or higher than the SOT Chg thresholdduring charging ( [DSG] = 0) for a period of SOT Chg Time.
Table C-27. SOT ChgSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
18 Temperature 0 SOT Chg unsigned integer 2 0 1200 650 0.1 °C
Related Variables:
DF:2nd Level Safety:Temperature(18):SOT Chg Time(2)SBS:Temperature(0x08)
SBS:BatteryStatus(0x16)[DSG]
SBS:PFStatus(0x53)[SOTC]
If the Temperature is equal to or higher than the SOT Chg threshold during charging for a time period ofsafety over temperature charging time, bq20z70 goes into SOTC condition, [SOTC] in PF Status and if[XSOTC] in permanent fail configuration is set, the SAFE pin is driven high. This function is disabled ifSOT Chg Time is set to 0.
Table C-28. SOT Chg TimeSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
18 Temperature 2 SOT Chg Time unsigned integer 1 0 30 0 Sec
Related Variables:
DF:2nd Level Safety:Temperature(18):SOT Chg(0)DF:Configuration:Registers(Subclass 64):Permanent Fail Cfg(4)[XSOTC]SBS:Temperature(0x08)
SBS:PFStatus(0x53)[SOTC]
The bq20z70 sets the [SOTD] PF Status if Temperature is equal to or higher than the SOT Dsg thresholdduring discharging ( [DSG] = 1) for a period of SOT Dsg Time.
Table C-29. SOT DsgSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
18 Temperature 3 SOT Dsg unsigned integer 2 0 1200 750 0.1 °C
SLUU250A June 2006 Revised June 2006 Data Flash 91Submit Documentation Feedback
www.ti.com
C.3.3.4 SOT Dsg Time (Offset 5)
C.3.4 FET Verification (Subclass 19)
C.3.4.1 FET Fail Time (Offset 2)
2nd Level Safety
Related Variables:
DF:2nd Level Safety:Temperature(18):SOT Dsg Time(5)SBS:Temperature(0x08)
SBS:BatteryStatus(0x16)[DSG]
SBS:PFStatus(0x53)[SOTD]
If Temperature is equal to or higher than the SOT Dsg threshold during discharging ( [DSG] = 1) for aperiod of SOT Dsg Time, bq20z70 goes into [SOTD] condition, [SOTD] in PF Status is set and if [XSOTD]in permanent fail configuration is set, the SAFE pin is driven high. This function is disabled ifSOT Dsg Time is set to 0.
Table C-30. SOT Dsg TimeSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
18 Temperature 5 SOT Dsg Time unsigned integer 1 0 30 0 Sec
Related Variables:
DF:2nd Level Safety:Temperature(18):SOT Dsg(3)DF:Configuration:Registers(Subclass 64):Permanent Fail Cfg(4)[XSOTD]SBS:Temperature(0x08)
SBS:PFStatus(0x53)[SOTD]
If bq20z70 tries to turn off CHG FET and charge Current is equal to or higher than 50mA for a time periodof FET Fail Time the bq20z70 goes into [CFETF] condition, [CFETF] in PF Status is and if [XCFETF] inpermanent fail configuration is set, the SAFE pin is driven high. This function is disabled if FET Fail Timeis set to 0.
If bq20z70 tries to turn off DSG FET and the discharge Current is equal to or lower than the -50mA for atime period of FET fail time, bq20z70 goes into [DFETF] condition, [DFETF] in PF Status is set and if[XDFETF] in permanent fail configuration is set, the SAFE pin is driven high. This function is disabled ifFET Fail Time is set to 0.
Table C-31. FET Fail TimeSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
19 FET Verification 2 FET Fail Time unsigned integer 1 0 30 0 Sec
Related Variables:
DF:2nd Level Safety:FET Verification(19):FET Fail Time( 2)DF:Configuration:Registers(Subclass 64):Permanent Fail Cfg(4)[XCFETF]DF:Configuration:Registers(Subclass 64):Permanent Fail Cfg(4)[XDFETF]SBS:Current(0x0a)
SBS:PFStatus(0x53)[CFETF],[DFETF]
Data Flash92 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.3.5 AFE Verification (Subclass 20)
C.3.5.1 AFE Fail Limit (Offset 1)
C.4 Charge Control
C.4.1 Charge Inhibit Cfg (Subclass 32)
C.4.1.1 Chg Inhibit Temp Low (Offset 0)
C.4.1.2 Chg Inhibit Temp High (Offset 2)
Charge Control
The bq20z70 continuously validates its read and write communications with the bq29330. If either a reador write verify fails, an internal AFE_Fail_Counter is incremented. If the AFE_Fail_Counter reachesAFE Fail Limit, the bq20z70 reports a [AFE_C] permanent failure and if [XAFE_C] in permanent failconfiguration is set, the SAFE pin is driven high. If the AFE Fail Limit is set to 0, this feature is disabled.
Table C-32. AFE Fail LimitSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
20 FET Verification 1 AFE Fail Limit unsigned integer 1 0 500 10
Related Variables:
DF:Configuration:Registers(Subclass 64):Permanent Fail Cfg(4)[XAFE_C]SBS:AFEData(0x45)
SBS:PFStatus(0x53)[AFE_C]
If [DSG] flag is set and the Temperature is below the CHG Inhibit Temp Low threshold, ChargingCurrentand ChargingVoltage are set to 0. If the [CHGIN] bit is also set, CHG FET and ZVCHG FET (if used) areswitched off and [XCHG] in ChargingStatus is set during charge inhibit mode.
If in charge inhibit mode the Temperature rises above Chg Inhibit Temp Low + 5 °C, charging is allowedto be resumed and [XCHG] charging status is cleared. If [NR] flag is cleared, fault condition can becleared by removing and reinserting the battery pack.
Table C-33. Chg Inhibit Temp LowSubclass Subclass Offset Name Format Size in Bytes Min Value Max Value Default Value UnitID Name
32 Charge Inhibit 0 Chg Inhibit Temp signed 2 –400 1200 0 0.1 °CCfg Low integer
Related Variables:
DF:Charge Control:Charge Inhibit Cfg(32):Chg Inhibit Temp High(2)DF:Configuration:Registers(64):Operation Cfg B(2)[CHGIN]SBS:Temperature(0x08)
SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[DSG]
SBS:ChargingStatus(0x55)[XCHG]
If [DSG] flag is set and the Temperature is above the CHG Inhibit Temp High threshold, ChargingCurrentand ChargingVoltage are set to 0. If the [CHGIN] bit is also set, CHG FET and ZVCHG FET (if used) areswitched off and [XCHG] charging status is set in charge inhibit mode.
SLUU250A June 2006 Revised June 2006 Data Flash 93Submit Documentation Feedback
www.ti.com
C.4.2 Pre-Charge Cfg (Subclass 33)
C.4.2.1 Pre-chg Current (Offset 0)
C.4.2.2 Pre-chg Temp (Offset 2)
Charge Control
If in charge inhibit mode the Temperature falls below Chg Inhibit Temp High - 5 °C, charging is allowed tobe resumed and [XCHG] charging status is cleared. If [NR] flag is cleared, fault condition can be clearedby removing and reinserting the battery pack.
Table C-34. Chg Inhibit Temp HighSubclass ID Subclass Offset Name Format Size in Min Value Max Value Default Value UnitName Bytes
32 Charge Inhibit 2 Chg Inhibit Temp signed integer 2 –400 1200 450 0.1 °CCfg High
Related Variables:
DF:Charge Control:Charge Inhibit Cfg(32):Chg Inhibit Temp Low(0)DF:Configuration:Registers(64):Operation Cfg B(2)[CHGIN]SBS:Temperature(0x08)
SBS:ChargingCurrent(0x14)
SBS:ChargingVoltage(0x15)
SBS:BatteryStatus(0x16)[DSG]
SBS:ChargingStatus(0x55)[XCHG]
The bq20z70 sets the ChargingCurrent to the Pre-charge Current value, when in pre-charge mode.
Table C-35. Pre-chg CurrentSubclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
33 Pre-Chg Cfg 0 Pre-chg unsigned 2 0 2000 250 mACurrent integer
Related Variables:
SBS:ChargingCurrent(0x14)
If the battery Temperature drops below the Pre-chg Temp, bq20z70 enters pre-charge mode and [PCHG]flag in ChargingStatus is set. bq20z70 leaves pre-charge mode if Temperature rises above Pre-chg Temp+ 5 °C and all CellVoltage4..1 are above Recovery Voltage level. On recovery [PCHG] status is cleared.
Table C-36. Pre-chg TempSubclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
33 Pre-Chg Cfg 2 Pre-chg Temp signed 2 -400 1200 120 0.1 °Cinteger
Related Variables:
DF:Charge Control:Charge Inhibit Cfg(32):Chg Inhibit Temp Low(0)DF:Pre-Charge Cfg(33):Recovery Voltage(6)SBS:Temperature(0x08)
SBS:CellVoltage4(0x3c)
SBS:CellVoltage3(0x3d)
SBS:CellVoltage2(0x3e)
94 Data Flash SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.4.2.3 Pre-chg Voltage (Offset 4)
C.4.2.4 Recovery Voltage (Offset 6)
C.4.3 Fast Charge Cfg (Subclass 34)
C.4.3.1 Fast Charge Current (Offset 0)
Charge ControlSBS:CellVoltage1(0x3f)
SBS:ChargingStatus(0x55)[PCHG]
The bq20z70 enters pre-charge mode and sets the [PCHG] in ChargingStatus if any CellVoltage4..1 dropsbelow the Pre-chg Voltage threshold.
Table C-37. Pre-chg VoltageSubclass Subclass Name Offset Name Format Size in Min Value Max Value Default UnitID Bytes Value
33 Pre-Chg Cfg 4 Pre-chg unsigned 2 0 20000 3000 mVVoltage integer
Related Variables:
SBS:CellVoltage4(0x3c)
SBS:CellVoltage3(0x3d)
SBS:CellVoltage2(0x3e)
SBS:CellVoltage1(0x3f)
SBS:ChargingStatus(0x55)[PCHG]
The bq20z70 enters fast charge mode from pre charge mode and sets the [FCHG] in ChargingStatus if allCellVoltage4..1 are equal to or higher than the Recovery Voltage threshold and battery Temperature isabove Pre-chg Temp + 5 °C.
Table C-38. Recovery VoltageSubclass Subclass Name Offset Name Format Size in Min Value Max Value Default UnitID Bytes Value
33 Pre-Chg Cfg 6 Recovery Voltage unsigned 2 0 20000 3100 mVinteger
Related Variables:
DF:Pre-Charge Cfg(33):Pre-chg Temp(2)SBS:Temperature(0x08)
SBS:CellVoltage4(0x3c)
SBS:CellVoltage3(0x3d)
SBS:CellVoltage2(0x3e)
SBS:CellVoltage1(0x3f)
SBS:ChargingStatus(0x55)[FCHG]
The bq20z70 sets the ChargingCurrent to the Fast Charge Current value, when in fast charge mode.
Table C-39. Fast Charge CurrentSubclass Subclass Offset Name Format Size in Bytes Min Value Max Value Default UnitID Name Value
34 Fast Charge 0 Fast Charge unsigned 2 0 10000 4000 mACfg Current integer
SLUU250A June 2006 Revised June 2006 Data Flash 95Submit Documentation Feedback
www.ti.com
C.4.3.2 Charging Voltage (Offset 2)
C.4.3.3 Suspend Low Temp (Offset 6)
C.4.3.4 Suspend High Temp (Offset 8)
Charge Control
Related Variables:
SBS:ChargingCurrent(0x14)
SBS:ChargingStatus(0x55)[FCHG]
The bq20z70 sets the ChargingVoltage to this value in fast charge mode.
Table C-40. Charging VoltageSubclass Subclass Name Offset Name Format Size in Min Value Max Value Default UnitID Bytes Value
34 Fast Charge Cfg 2 Charging Voltage unsigned integer 2 0 20000 16800 mV
Related Variables:
SBS:ChargingVoltage(0x15)
SBS:ChargingStatus(0x55)[FCHG]
If the battery pack Temperature drops below Suspend Low Temp, the AverageCurrent is aboveChg Current Threshold and bq20z70 is in charge mode ( [DSG] = 0), the bq20z70 suspends charging.On suspend ChargingCurrent is set to 0 and the [CHGSUSP] flag in ChargingStatus is set. The CHG FETand ZVCHG FET (if used) are also disabled if [CHGSUSP] bit is set. The bq20z70 returns to normalcharging and clears [CHGSUSP], if Temperature rises above Chg Inhibit Temp Low + 5 °C.
Table C-41. Suspend Low TempSubclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
34 Fast Charge Cfg 6 Suspend signed integer 2 -400 1200 -50 0.1 °CLow Temp
Related Variables:
DF:Charge Control:Charge Inhibit Cfg(32):Chg Inhibit Temp Low(0)DF:Charge Control:Charge Inhibit Cfg(32):Chg Inhibit Temp High(2)DF:Charge Control:Fast Charge Cfg(34):Suspend Low Temp(6)DF:Configuration:Registers(64):Operation Cfg B(2)[CHGSUSP]DF:Gas Gauging:Current Thresholds(81):Chg Current Threshold(2)SBS:Temperature(0x08)
SBS:AverageCurrrent(0x0b)
SBS:BatteryStatus(0x16)
SBS:ChargingStatus(0x55)[CHGSUSP]
If battery pack Temperature rises above Suspend Temperature High, the AverageCurrent is above theChg Current Threshold and the bq20z70 is in charge mode ( [DSG] = 0), the bq20z70 suspendscharging. On suspend ChargingCurrent is set to 0 and the [CHGSUSP] flag in ChargingStatus is set. TheCHG FET and ZVCHG FET (if used) are also disabled if [CHGSUSP] bit is set. The bq20z70 returns tonormal charging and clears [CHGSUSP], if temperature drops below Chg Inhibit Temp High - 5 °C.
Data Flash96 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.4.4 Termination Cfg (Subclass 36)
C.4.4.1 Taper Current (Offset 2)
C.4.4.2 Taper Voltage (Offset 6)
C.4.4.3 TCA Clear % (Offset 10)
Charge Control
Table C-42. Suspend High TempSubclass Subclass Name Offset Name Format Size in Bytes Min Value Max Value Default Value UnitID
34 Fast Charge Cfg 8 Suspend Low signed 2 -400 1200 550 0.1 °CTemp integer
Related Variables:
DF:Charge Control:Charge Inhibit Cfg(32):Chg Inhibit Temp Low(0)DF:Charge Control:Charge Inhibit Cfg(32):Chg Inhibit Temp High(2)DF:Charge Control:Fast Charge Cfg(34):Suspend High Temp(8)DF:Gas Gauging:Current Thresholds(81):Chg Current Threshold(2)SBS:Temperature(0x08)
SBS:AverageCurrrent(0x0b)
SBS:BatteryStatus(0x16)
SBS:ChargingStatus(0x55)[CHGSUSP]
If battery Current falls below Taper Current for 2 consecutive windows of 40s each during charging andVoltage is equal or higher than Charging Voltage -Taper Voltage, bq20z70 recognizes valid primarycharge termination.
Table C-43. Taper CurrentSubclass Subclass Name Offset Name Format Size in Bytes Min Max Value Default UnitID Value Value
36 Termination Cfg 2 Taper unsigned integer 2 0 1000 250 mACurrent
Related Variables:
SBS:Current(0x0a)
For valid primary charge termination pack Voltage must equal to or higher than Charging Voltage -Taper Voltage.
Table C-44. Taper VoltageSubclass Subclass Offset Name Format Size in Min Value Max Value Default UnitID Name Bytes Value
36 Termination Cfg 6 Taper Voltage unsigned 2 0 1000 300 mVinteger
Related Variables:
DF:Charge Control:Fast Charge Cfg(34):Charging Voltage(8)SBS:Voltage(0x09)
If set between 0% and 100%, [TCA] battery status is cleared, if RelativeStateOfCharge is belowTCA Clear %. Set to -1% to disable this function.
SLUU250A June 2006 Revised June 2006 Data Flash 97Submit Documentation Feedback
www.ti.com
C.4.4.4 FC Clear % (Offset 12)
C.4.5 Cell Balancing Cfg (Subclass 37)
C.4.5.1 Min Cell Deviation (Offset 0)
C.4.6 Charging Faults (Subclass 38)
C.4.6.1 Over Charge Capacity (Offset 13)
Charge Control
Table C-45. TCA Clear %Subclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
36 Termination Cfg 10 TCA Clear % signed integer 1 -1 100 95 %
Related Variables:
SBS:RelativeStateOfCharge(0x0d)
SBS:BatteryStatus(0x16)[TCA]
If set between 0% and 100%, [FC] battery status is cleared if RelativeStateOfCharge reaches or sinksbelow FC Clear %. Set to -1% to disable this function. It is recommended not to set FC Clear % to -1%.
Table C-46. FC Clear %Subclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
36 Termination Cfg 12 FC Clear % signed integer 1 -1 100 98 %
Related Variables:
DF:Charge Control:Termination Cfg(36):FC Set(10)SBS:RelativeStateOfCharge(0x0d)
SBS:BatteryStatus(0x16)[FC]
This value defines the conversion factor for calculating cell balancing time per cell in balance time permAh, before bq20z70 starts balancing cell capacity during charging. If Min Cell Deviation is set to 0, cellbalancing is disabled.
Table C-47. Min Cell DeviationSubclass Subclass Name Offset Name Format Size in Min Value Max Value Default UnitID Bytes Value
37 Cell Balancing 0 Min Cell unsigned 2 0 65535 1750 Sec/mAhCfg Deviation integer
Related Variables:
none
The bq20z70 goes into overcharge error and sets [OC] flag in ChargingStatus if the internal countedremaining capacity exceeds FullChargeCapacity +Over Charge Capacity.
The bq20z70 recovers from over charge in non removable battery mode( [NR] = 1), if it is continuouslydischarged by an amount of 2mAh.
Data Flash98 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.5 SBS Configuration
C.5.1 Data (Subclass 48)
C.5.1.1 Rem Cap Alarm (Offset 0)
C.5.1.2 Rem Energy Alarm (Offset 2)
C.5.1.3 Rem Time Alarm (Offset 4)
C.5.1.4 Init Battery Mode (Offset 6)
SBS Configuration
Table C-48. Over Charge CapacitySubclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
38 Charging Faults 13 Over Charge unsigned 2 0 4000 300 mAhCapacity integer
Related Variables:
SBS:FullChargeCapacity(0x10)
SBS:ChargingStatus(0x55)[OC]
The default value of RemainingCapacityAlarm is stored in this variable and copied to the SBS value onbq20z70 initialization.
Table C-49. Rem Cap AlarmSubclass Subclass Name Offset Name Format Size in Bytes Min Value Max Value Default Value UnitID
48 Data 0 Rem Cap Alarm unsigned integer 2 0 700 300 mAh
Related Variables:
SBS:RemainingCapacityAlarm(0x01)
The default value of RemainingEnergyAlarm is stored in this variable.
Table C-50. Rem Time AlarmSubclass Subclass Name Offset Name Format Size in Bytes Min Value Max Value Default Value UnitID
48 Data 2 Rem Energy unsigned 2 0 1000 432 mWhAlarm integer
The default value of RemainingTimeAlarm is stored in this variable and copied to the SBS value onbq20z70 initialization.
Table C-51. Rem Time AlarmSubclass Subclass Name Offset Name Format Size in Bytes Min Value Max Value Default Value UnitID
48 Data 4 Rem Time unsigned 2 0 30 10 minAlarm integer
Related Variables:
SBS:RemainingTimeAlarm(0x02)
The default value of BatteryMode is stored in this variable and copied to the SBS value on bq20z70initialization.
SLUU250A June 2006 Revised June 2006 Data Flash 99Submit Documentation Feedback
www.ti.com
C.5.1.5 Design Voltage (Offset 8)
C.5.1.6 Spec Info (Offset 10)
C.5.1.7 Manuf Date (Offset 12)
C.5.1.8 Ser. Num. (Offset 14)
SBS Configuration
Table C-52. Init Battery ModeSubclass Subclass Name Offset Name Format Size in Bytes Min Value Max Value Default UnitID Value
48 Data 6 Init Battery Mode hex 2 0 0xffff 0x0081
Related Variables:
SBS:BatteryMode(0x03)
The default value of DesignVoltage is stored in this variable and copied to the SBS value on bq20z70initialization.
Table C-53. Design VoltageSubclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
48 Data 8 Design unsigned integer 2 7000 18000 14400 mVVoltage
Related Variables:
SBS:DesignVoltage(0x19)
The default value of SpecificationInfo is stored in this variable and copied to the SBS value on bq20z70initialization.
Table C-54. Spec InfoSubclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
48 Data 10 Spec Info hex 2 0x0000 0xffff 0x0031
Related Variables:
SBS:SpecificationInfo(0x1a)
The default value of ManufacturerDate is stored in this variable and copied to the SBS value on bq20z70initialization.
Table C-55. Manuf DateSubclass Subclass Offset Name Format Size in Bytes Min Value Max Value Default Value UnitID Name
48 Data 12 Manuf unsigned 2 0 65535 0 Day + Mo*32Date integer + (Yr
-1980)*512
Related Variables:
SBS:ManufactureDate(0x1b)
The default value of SerialNumber is stored in this variable and copied to the SBS value on bq20z70initialization.
Data Flash100 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.5.1.9 Cycle Count (Offset 16)
C.5.1.10 CC Threshold (Offset 18)
C.5.1.11 CF Max Error Limit (Offset 21)
C.5.1.12 Design Capacity (Offset 22)
SBS Configuration
Table C-56. Ser. Num.Subclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
48 Data 14 Ser. Num. hex 2 0x0000 0xffff 0x0001
Related Variables:
SBS:SerialNumber(0x1c)
The default value of CycleCount is stored in this variable and copied to the SBS value on bq20z70initialization. When SBS value changes this value is also updated.
Table C-57. Cycle CountSubclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
48 Data 16 Cycle Count unsigned 2 0 65535 0integer
Related Variables:
DF:SBS Configuration:Data(48):CC Threshold(18)SBS:CycleCount(0x17)
The cycle count function counts the accumulated discharge of CC Threshold value as one cycle.
Table C-58. CC ThresholdSubclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
48 Data 18 CC signed integer 2 100 32767 4400 mAhThreshold
Related Variables:
SBS:CycleCount(0x17)
If MaxError function value is greater than this limit, CONDITION_FLAG is set.
Table C-59. CF Max Error LimitSubclass Subclass Name Offset Name Format Size in Bytes Min Max Value Default Value UnitID Value
48 Data 21 CF Max Error Limit unsigned 1 0 100 100 %integer
Related Variables:
SBS:BatteryMode(0x03)[CONDITION_FLAG]
SBS:MaxError(0x0c)
If CAPACITY_MODE is set to 0, the DesignCapacity function reports this value.
SLUU250A June 2006 Revised June 2006 Data Flash 101Submit Documentation Feedback
www.ti.com
C.5.1.13 Design Energy (Offset 24)
C.5.1.14 Manuf Name (Offset 26)
C.5.1.15 Device Name (Offset 38)
SBS Configuration
Table C-60. Design CapacitySubclass Subclass Offset Name Format Size in Bytes Min Value Max Value Default UnitID Name Value
48 Data 22 Design unsigned integer 2 0 65535 4400 mAhCapacity
Related Variables:
DF:Gas Gauging:IT Cfg(80):Load Select(0)SBS:BatteryMode(0x03)[CapM]
SBS:DesignCapacity(0x18)
SBS:StateOfHealth(0x4f)
If CAPACITY_MODE is set to 1, the DesignCapacity function reports this value.
Table C-61. Design EnergySubclass Subclass Name Offset Name Format Size in Min Max Value Default Value UnitID Bytes Value
48 Data 24 Design Energy unsigned 2 0 65535 6336 0.1Whinteger
Related Variables:
DF:Gas Gauging:IT Cfg(80):Load Select(0)SBS:BatteryMode(0x03)[CapM]
SBS:DesignCapacity(0x18)
SBS:StateOfHealth(0x4f)
The ManufacturerName function returns a string stored in this value. The maximum text length is 11characters.
Table C-62. Manuf Name
Subclass Subclass Offset Name Format Size in Bytes Min Value Max Default UnitID Name Value Value
48 Data 26 Manuf string 11 + 1 Texas Inst. ASCIIName
Related Variables:
SBS:ManufacturerName(0x20)
The DeviceName function returns a string stored in this value. The maximum text length is 7 characters.
Table C-63. Device NameSubclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
48 Data 38 Device string 7 + 1 bq20z70 ASCIIName
Related Variables:
SBS:DeviceName(0x21)
Data Flash102 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.5.1.16 Device Chemistry (Offset 46)
C.5.2 Configuration(Subclass 49)
C.5.2.1 TDA Set % (Offset 0)
C.5.2.2 TDA Clear % (Offset 1)
C.5.2.3 FD Set % (Offset 2)
SBS Configuration
The DeviceChemistry function returns a string stored in this value. The maximum text length is 4characters.
Table C-64. Device ChemistrySubclass Subclass Name Offset Name Format Size in Min Max Value Default Value UnitID Bytes Value
48 Data 46 Device Chemistry string 4+1 LION ASCII
Related Variables:
SBS:DeviceChemistry(0x22)
If set between 0% and 100%, bq20z70 sets [TDA] flag in BatteryStatus if the RelativeStateOfChargereaches or falls below this value. Set to -1% to disable this function.
Table C-65. TDA Set %Subclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
49 Configuration 0 TDA Set % signed integer 1 -1 100 6 %
Related Variables:
SBS:RelativeStateOfCharge(0x0d)
SBS:BatteryStatus(0x16)[TDA]
If set between 0% and 100%, bq20z70 clears [TDA] flag in BatteryStatus if the RelativeStateOfChargereaches or rises above this value. Set to -1% to disable this function.
Table C-66. TDA Clear %Subclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
49 Configuration 1 TDA Clear % signed integer 1 -1 100 8 %
Related Variables:
SBS:RelativeStateOfCharge(0x0d)
SBS:BatteryStatus(0x16)[TDA]
If set between 0% and 100%, bq20z70 sets [FD] flag in BatteryStatus if the RelativeStateOfChargereaches or falls below this value. Set to -1% to disable this function.
Table C-67. FD Set %Subclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
49 Configuration 2 FD Set % signed integer 1 -1 100 2 %
SLUU250A June 2006 Revised June 2006 Data Flash 103Submit Documentation Feedback
www.ti.com
C.5.2.4 FD Clear % (Offset 3)
C.5.2.5 TDA Set Volt Threshold (Offset 4)
C.5.2.6 TDA Set Volt Time (Offset 6)
SBS Configuration
Related Variables:
SBS:RelativeStateOfCharge(0x0d)
SBS:BatteryStatus(0x16)[FD]
If set between 0% and 100%, bq20z70 clears [FD]flag in BatteryStatus if the RelativeStateOfChargereaches or rises above this value. Set to -1% to disable this function.
Table C-68. FD Clear %Subclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
49 Configuration 3 FC Clear % signed integer 1 -1 100 5 %
Related Variables:
SBS:RelativeStateOfCharge(0x0d)
SBS:BatteryStatus(0x16)[TDA]
bq20z70 sets [TDA] flag in BatteryStatus if Voltage is equal to or lower than this value for a period equalto or greater than TDA Set Volt Time.
Table C-69. TDA Set Volt ThresholdSubclass Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitID Bytes
49 Configuration 4 TDA Set Volt unsigned 2 0 16800 5000 mVThreshold integer
Related Variables:
DF:SBS Configuration:Configuration(49):TDA Set Volt Time(6)SBS:Voltage(0x09)
SBS:BatteryStatus(0x16)[TDA]
The bq20z70 sets [TDA] flag in BatteryStatus if Voltage is equal to or lower than TDA Set Volt Thresholdfor a period equal to or greater than TDA Set Voltage Time. Set to 0 to disable this feature.
Table C-70. TDA Set Volt TimeSubclass Subclass Offset Name Format Size in Min Value Max Value Default Value UnitID Name Bytes
49 Configuration 6 TDA Set Volt unsigned 1 0 60 0 SecTime integer
Related Variables:
DF:SBS Configuration:Configuration(49):TDA Set Volt Threshold(4)SBS:Voltage(0x09)
SBS:BatteryStatus(0x16)[TDA]
Data Flash104 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.5.2.7 TDA Clear Volt (Offset 7)
C.6 System Data
C.6.1 Manufacturer Info (Subclass 58)
C.6.1.1 Manuf. Info (Offset 0)
C.7 Configuration
C.7.1 Registers (Subclass 64)
C.7.1.1 Operation Cfg A (Offset 0)
System Data
bq20z70 clears [TDA] if Voltage is equal to or above than this value. TDA Clear Volt clears [TDA] only if[TDA] is set by TDA Set Volt Threshold. It will not clear [TDA] if [TDA] is set by TDA Set % or any otherfunctions.
Table C-71. TDA Clear Volt
Subclass Subclass Offset Name Format Size in Min Max Default UnitID Name Bytes Value Value Value
49 Configuration 7 TDA Clear unsigned 2 0 16800 5500 mVVolt integer
Related Variables:
DF:SBS Configuration:Configuration(49):TDA Set Volt Threshold(4)DF:SBS Configuration:Configuration(49):TDA Set Volt Time(6)SBS:Voltage(0x09)
SBS:BatteryStatus(0x16)[TDA]
The ManufacturerInfo function returns the string stored in this variable. The maximum text length is 8characters.
Table C-72. Manuf. Info
Subclass Subclass Name Offset Name Format Size in Min Max Default UnitID Bytes Value Value Value
58 Manufacturer Info 0 Manuf. Info string 8 + 1 12345678 ASCII
Related Variables:
SBS:ManufacturerInfo(0x70)
This register enable, disable or configures various features of bq20z70
Table C-73. Operation Cfg A
Subclass Subclass Offset Name Format Size in Min Max Default UnitID Name Bytes Value Value Value
64 Configuration 0 Operation Cfg A hex 2 0x0000 0x033b 0x033b
SLUU250A June 2006 Revised June 2006 Data Flash 105Submit Documentation Feedback
www.ti.com
C.7.1.2 Operation Cfg B (Offset 2)
Configuration
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0High Byte RSVD RSVD RSVD RSVD RSVD RSVD CC1 CC0Low Byte RSVD RSVD SLEEP TEMP1 TEMP0 RSVD ZVCHG1 ZVCHG0
LEGEND: RSVD = Reserved and must be programmed to 0
Figure C-4. Operation Cfg A
CC1, CC0 These bits configure the bq20z70 for the number of series cells in the battery stack.
0,0 = Reserved
0,1 = 2 cell1,0 = 3 cell1,1 = 4 cell (default)
SLEEP Enables the bq20z70 to enter Sleep mode if SMBus lines are low.
0 = bq20z70 never disables Sleep mode1 = bq20z70 enters Sleep mode under normal Sleep entry criteria (default)Related Variables:
SBS:ManufacturerAccess(0x00):Sleep(0x0011)
TEMP1, TEMP0 These bits configures the source of the Temperature function
0,0 = Internal Temperature Sensor0,1 = TS1 Input (default)1,0 = Greater Value of TS1 or TS2 Inputs1,1 = Average of TS1 and TS2 InputsRelated Variables:
SBS:Temperature(0x08)
ZVCHG1, ZVCHG0 These bits enable or disable the use of ZVCHG or CHG FET inZero-Volt/Precharge modes.
0,0 = ZVCHG
0,1 = CHG (default)1,0 = GPOD of bq293301,1 = No Action
This register enable, disable or configures various features of bq20z70
Data Flash106 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
Configuration
Table C-74. Operation Cfg B
Subclass Subclass Name Offset Name Format Size in Min Max Default UnitID Bytes Value Value Value
64 Configuration 2 Operation Cfg B hex 2 0x0000 0x3eff 0x3eff
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0High Byte RSVD RSVD RESCAP NCSMB NRCHG CSYNC CHGTERM RSVDLow Byte CHGSUSP OTFET CHGFET CHGIN NR CPE HPE BCAST
Figure C-5. Operation Cfg B
RESCAP This bit configures the compensation model of the Impedance Track™ Algorithm for reservecapacity calculation.
0 = Light Load Compensation1 = Average Load Compensation defined by Load Select (default)Related Variables:
DF:Gas Gauging:IT Cfg(80):Load Select(0)DF:Gas Gauging:IT Cfg(80):Reserve Cap-mAh(0)DF:Gas Gauging:IT Cfg(80):Reserve Cap-mWh(0)
NCSMB Disables SMBUS t
TIMEOUT
feature. Use this bit with caution.
0 = Normal SMBUS t
TIMEOUT
(default)1 = Extended SMBUS t
TIMEOUT
NRCHG Enables the CHG FET to remain on during sleep when bq20z70 is in non removable batterymode.
0 = CHG FET turns off in Sleep Mode if [NR] bit is set (default)1 = CHG FET remains on in Sleep Mode if [NR] bit is setRelated Variables:
DF:Configuration:Registers(64):Operation Cfg B(2)[NR]
CSYNC Enables the bq20z70 to write RemainingCapacity to equal FullChargeCapacity when a validcharge termination is detected.
0 = RemainingCapacity is not modified on valid primary charge termination1 = RemainingCapacity is written up to equal FullChargeCapacity on valid primary chargetermination. (default)Related Variables:
SBS:RemainingCapacity(0x0f)
SBS:FullChargeCapacity(0x10)
CHGTERM This bit enables or disables [TCA], [FC] flag in BatteryStatus to be cleared after chargertermination confirmed.
SLUU250A June 2006 Revised June 2006 Data Flash 107Submit Documentation Feedback
www.ti.com
Configuration
0 = [TCA], [FC] are not cleared by primary charge termination confirmation, but are cleared byother means. (default)1 = [TCA], [FC] flags are cleared on valid primary charge termination. Note: This does notdisable clearing the flags by TCA Clear % and FC Clear %.Related Variables:
DF:Charge Control:Termination Cfg(36):Taper Current(2)DF:Charge Control:Termination Cfg(36):TCA Clear %(10)DF:Charge Control:Termination Cfg(36):FC Clear %(12)SBS:Current(0x0a)
SBS:BatteryStatus(0x16)[FC], [TCA]
CHGSUSP This bit enables bq20z70 to turn off CHG FET (and ZVCHG FET) when in charge suspendmode.
0 = No FET change in Charge Suspend mode. (default)1 = CHG FET and ZVCHG FET (if used) turns off in Charge Suspend mode.
OTFET This bit enables or disables FET actions from reacting to an overtemperature fault.
0 = There is NO FET action when an overtemperature condition is detected.1 = When [OTC] flag is set then the CHG FET is turned off and when [OTD] flag is set thenthe DSG FET is turned off. (default)Related Variables:
SBS:SafetyStatus(0x16)[OTC],[OTD]
CHGFET This bit enables or disables the CHG FET from reacting to a valid charge termination.
0 = CHG FET stays on at charge termination( [TCA] set). (default)1 = CHG FET turns off at charge termination.Related Variables:
SBS:SafetyStatus(0x16)[TCA]
CHGIN This bit enable the CHG FET and ZVCHG FET (if used) to turn off when the bq20z70 is incharge-inhibit mode.
0 = No FET change in charge-inhibit mode. (default)1 = Charge and ZVCHG, if used, turn off in charge-inhibit mode.Related Variables:
SBS:ChargingStatus(0x55)[XCHG]
NR This bit configures the bq20z70 in removable or non-removable battery mode and determines therecovery method for current based Primary Protection features.
0 = Removable battery mode. (default)1 = Non-removable battery mode.Related Variables:
DF:Configuration:Registers(64): Non-Removable Cfg(6)
108 Data Flash SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.7.1.3 Operation Cfg C (Offset 4)
C.7.1.4 Permanent Fail Cfg (Offset 6)
Configuration
CPE This bit enables or disables PEC transmissions to the smart-battery charger for master-modealarm messages.
0 = No PEC byte on alarm warning to charger (default)1 = PEC byte on alarm warning to charger
HPE This bit enables or disables PEC transmissions to the smart-battery host for master-mode alarmmessages and receiving communications from all sources in slave-mode. If host uses PEC is bitshould be set.
0 = No PEC byte on alarm warning to host and receiving communications from all sources inslave-mode (default)1 = PEC byte on alarm warning to host and receiving communications from all sources inslave-mode. If host uses PEC is bit should be set.
BCAST This bit enables or disables SBS broadcasts to smart charger and host.
0 = Broadcasts to host and charger disabled (default)1 = Broadcasts to host and charger enabled
Table C-75. Operation Cfg C
Subclass Subclass Offset Name Format Size in Min Max Default UnitID Name Bytes Value Value Value
64 Configuration 4 Operation Cfg C hex 2 0x0000 0x0001 0x0000
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0High Byte RSVD RSVD RSVD RSVD RSVD RSVD RSVD RSVDLow Byte RSVD RSVD RSVD RSVD RSVD RSVD RSVD RSOCLLEGEND: RSVD = Reserved and must be programmed to 0
Figure C-6. Operation Cfg C
RSOCL This bits configures the RelativeStateofCharge display during charge termination.
0 = RelativeStateOfCharge is not held at 99% until primary charge termination occurs.Fractions of % greater than 99% are rounded up to display 100%.1 = RelativeStateOfCharge is held at 99% until primary charge termination occurs anddisplays 100% only upon entering primary charge termination state.
The Permanent Failure Configuration register enables or disables the use of the SAFE pin when thecorresponding permanent fail error occurs and the corresponding bit is set in Permanent Fail Cfg. If theSAFE pin is driven high.
SLUU250A June 2006 Revised June 2006 Data Flash 109Submit Documentation Feedback
www.ti.com
Configuration
Table C-76. Permanent Fail Cfg
Subclass Subclass Name Offset Name Format Size in Min Max Default UnitID Bytes Value Value Value
64 Configuration 6 Permanent Fail hex 2 0x0000 0x4dff 0x0000Cfg
Related Variables:
DF:PF Status:Device Status Data(96):PF Flags1(0)bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0High Byte RSVD XPFVSHUT RSVD RSVD XSOCD XSOCC RSVD XAFE_CLow Byte XDFF XDFETF XCFETF XCIM XSOTD XSOTC XSOV XPFINLEGEND: RSVD = Reserved and must be programmed to 0
Figure C-7. Permanent Fail Cfg
XPFVSHUT If bit is set AND any permanent failure happens AND the bq20z70 goes into shutdown, theSAFE pin is set to high.
DF:PF Status:Device Status Data(96):PF Flags1(0)[SOPT]
XSOCD If bit is set AND discharge safety overcurrent error occurs, the SAFE pin is set to high.
XSOCC If bit is set AND charge safety overcurrent failure occurs, the SAFE pin is set to high.
DF:PF Status:Device Status Data(96):PF Flags1(0)[SOCC]
XSOCD If bit is set AND discharge safety overcurrent failure occurs, the SAFE pin is set to high.
DF:PF Status:Device Status Data(96):PF Flags1(0)[SOCD]
XAFE_C If bit is set AND AFE-communications permanent failure occurs, the SAFE pin is set to high.
DF:PF Status:Device Status Data(96):PF Flags1(0)[AFE_C]
XDFF If bit is set AND Data Flash fault permanent failure occurs, the SAFE pin is set to high.
DF:PF Status:Device Status Data(96):PF Flags1(0)[DFF]
XDFETF If bit is set AND discharge FET permanent failure occurs, the SAFE pin is set to high.
DF:PF Status:Device Status Data(96):PF Flags1(0)[DFETF]
XCFETF If bit is set AND CHG FET permanent failure occurs, the SAFE pin is set to high.
DF:PF Status:Device Status Data(96):PF Flags1(0)[CFETF]
XCIM If bit is set AND cell imbalance permanent failure occurs, the SAFE pin is set to high.
DF:PF Status:Device Status Data(96):PF Flags1(0)[CIM]
XSOTD If bit is set AND discharge overtemperature permanent failure occurs, the SAFE pin is set tohigh.
Data Flash110 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.7.1.5 Non-Removable Cfg (Offset 8)
C.8 Power
C.8.1 Power (Subclass 68)
Power
DF:PF Status:Device Status Data(96):PF Flags1(0)[SOTD]
XSOTC If bit is set AND charge overtemperature permanent failure occurs, the SAFE pin is set to high.
DF:PF Status:Device Status Data(96):PF Flags1(0)[SOTC]
XSOV If bit is set AND safety overvoltage permanent failure occurs, the SAFE pin is set to high.
DF:PF Status:Device Status Data(96):PF Flags1(0)[SOV]
XPFIN If bit is set AND external input indication permanent failure occurs, the SAFE pin is set to high.
DF:PF Status:Device Status Data(96):PF Flags1(0)[PFIN]
If bq20z70 is in removable battery mode ( [NR] = 0), these bits sets the recovery method from 1st levelsecurity errors. If corresponding bit is set, it gives an additional [NR] = 1 recovery option for the particularfault. If [NR] is set to 1, this register has no effect.
Table C-77. Non Removable CfgSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
64 Configuration 8 Non-Removable Cfg hex 2 0x0000 0x3027 0x0000
Related Variables:
DF:Configuration:Registers(64):Operation Cfg B(2)[NR]bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0High Byte RSVD RSVD OCD OCC RSVD RSVD RSVD RSVDLow Byte RSVD RSVD OC RSVD RSVD AOCD SCC SCDLEGEND: RSVD = Reserved and must be programmed to 0
Figure C-8. Non-Removable Cfg
OCD Overcurrent in Discharge
OCC Overcurrent in Charge
OC Over Charge Capacity
AOCD AFE Overcurrent in Discharge
SCC Short Circuit in Charge
SCD Short Circuit in Discharge
SLUU250A June 2006 Revised June 2006 Data Flash 111Submit Documentation Feedback
www.ti.com
C.8.1.1 Flash Update OK Voltage (Offset 0)
C.8.1.2 Shutdown Voltage (Offset 2)
C.8.1.3 Charger Present (Offset 5)
C.8.1.4 Wake Current Reg (Offset 16)
Power
This value sets the minimum allowed battery pack voltage for flash update. If battery pack Voltage isbelow this threshold no flash update will be made. If charger present is detected with Charger Present,the is value is bypassed and flash can be updated.
Table C-78. Flash Update OK VoltageSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
68 Power 0 Flash Update OK unsigned integer 2 6000 20000 7500 mVVoltage
Related Variables:
DF:Power:Power(68):Charger Present(5)SBS:Voltage(0x09)
The bq20z70 goes into shutdown mode if battery Voltage is equal to or less than Shutdown Voltage for10s and has been out of shutdown mode at least for 10s.
Table C-79. Shutdown VoltageSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
68 Power 2 Shutdown Voltage unsigned integer 2 5000 20000 7000 mV
Related Variables:
SBS:Voltage(0x09)
The bq20z70 detects a charger when the voltage at PACK pin of bq29330 is above this threshold. If acharger is detected, it overrides Flash Update Ok Voltage and flash can be updated.
Table C-80. Charger PresentSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
68 Power 5 Charger Present unsigned integer 2 0 23000 3000 mV
Related Variables:
DF:Power:Power(68):Flash Update OK Voltage(0)
Wake Current Reg configures the current threshold required to wake the bq20z70 from sleep mode bydetecting voltage across SRN and SRP.
Table C-81. Wake Current RegSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
68 Power 16 Wake Current Reg hex 1 0x00 0xff 0x00
Data Flash112 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.9 Gas Gauging
C.9.1 IT Cfg (Offset 80)
C.9.1.1 Load Select (Offset 0)
Gas Gauging
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0Low Byte RSVD RSVD RSVD RSVD RSVD IWAKE RSNS1 RSNS0LEGEND: RSVD = Reserved and must be programmed to 0
Figure C-9. Wake Current Reg
IWAKE —This bit sets the current threshold for the Wake function.
0 = 0.5A (or if RSNS0=RSNS1=0 then this function is disabled)
1 = 1.0A (or if RSNS0=RSNS1=0 then this function is disabled)
Table C-82. Wake Current RegRSNS1 RSNS0 Resistance
0 0 Disabled (Default)
0 1 2.5 m
1 0 5 m
1 1 10 m
Related Variables:
DF:Configuration:Registers(64):Operation Cfg A(0)[SLEEP]SBS:Current(0x0a)
This value defines the load compensation model used by the Impedance Track™ algorithm for remainingcapacity calculation.
Constant Current (Load Mode = 0) Constant Power (Load Mode = 1)0 = Avg I Last Run Avg P Last Run1 = present average discharge current present average discharge power2 = Current Current xVoltage3 = AverageCurrent (default) AverageCurrent x average Voltage4 = Design Capacity / 5 Design Energy / 55 = AtRate (mA) AtRate (10 mW)6 = User Rate-mA User Rate-10mWh
Table C-83. Load SelectSubclass Subclass Name Offset Name Format Size in Min Max Default UnitID Bytes Value Value Value
80 IT Cfg 0 Load Select unsigned integer 1 0 255 3
SLUU250A June 2006 Revised June 2006 Data Flash 113Submit Documentation Feedback
www.ti.com
C.9.1.2 Load Mode (Offset 1)
C.9.1.3 Term Voltage (Offset 45)
C.9.1.4 User Rate-mA (Offset 60)
Gas Gauging
Related Variables:
DF:SBS Configuration:Data(48):Design Capacity(22)DF:SBS Configuration:Data(48):Design Energy(24)DF:Gas Gauging:IT Cfg(80):Load Mode(1)DF:Gas Gauging:IT Cfg(80):User Rate-mA(60)DF:Gas Gauging:IT Cfg(80):User Rate-10mW(62)SBS:BatteryMode(0x03)[CapM]
SBS:AtRate(0x04)
SBS:Voltage(0x09)
SBS:Current(0x0a)
SBS:AverageCurrent(0x0b)
This value defines the load mode used by the Impedance Track™ algorithm for remaining capacitycalculation.
0 = Constant Current (default)1 = Constant Power
Table C-84. Load ModeSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
80 IT Cfg 1 Load Mode unsigned integer 1 0 255 0
Related Variables:
DF:Gas Gauging:IT Cfg(80):Load Select(0)
This value is the absolute minimum pack voltage used by the Impedance Track™ algorithm for capacitycalculation and should also set to the absolute minimum pack voltage used by application. The reservecapacity function also reserves charge where zero RemainingCapacity is reported and the Term Voltageis reached.
Table C-85. Term VoltageSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
80 IT Cfg 45 Term Voltage signed integer 2 -32768 32767 12000 mV
Related Variables:
DF:Gas Gauging:IT Cfg(80):Reserve Cap-mAh(64)DF:Gas Gauging:IT Cfg(80):Reserve Cap-mWh(66)SBS:Voltage(0x09)
SBS:RemainingCapacity(0x0f)
This value specifies the discharge rate used by the Impedance Track™ algorithm for remaining capacitycalculation if selected by Load Select.
Data Flash114 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.9.1.5 User Rate-10mW (Offset 62)
C.9.1.6 Reserve Cap-mAh (Offset 64)
C.9.1.7 Reserve Cap-mWh (Offset 66)
Gas Gauging
Table C-86. User Rate-mASubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
80 IT Cfg 60 User Rate-mA signed integer 2 -9000 -2000 0 mA
Related Variables:
DF:Gas Gauging:IT Cfg(80):Load Select(0)DF:Gas Gauging:IT Cfg(80):Load Mode(1)
This value specifies the discharge rate in 10 mW used by the Impedance Track™ algorithm for remainingcapacity calculation if selected by Load Select.
Table C-87. User Rate-mWSubclass Subclass Name Offset Name Format Size in Min Max Default UnitID Bytes Value Value Value
80 IT Cfg 62 User Rate-10mW signed integer 2 -14000 -3000 0 10 mW
Related Variables:
DF:Gas Gauging:IT Cfg(80):Load Select(0)DF:Gas Gauging:IT Cfg(80):Load Mode(1)
This value reserves a amount of charge in mAh ( CAPACITY_MODE = 0) for the system to react if theRemainingCapacity reports zero energy remains in the battery. The Reserve Cap-mAh reserves aamount of charge between the final Term Voltage is reached and the RemainingCapacity reports 0energy. The FullChargeCapacity function reports the internally full charge capacity reduced byReserve Cap-mAh.
Table C-88. Reserve Cap-mAhSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
80 IT Cfg 64 Reserve Cap-mAh signed integer 2 0 9000 0 mAh
Related Variables:
DF:Gas Gauging:IT Cfg(80):Load Mode(1)DF:Gas Gauging:IT Cfg(80):Term Voltage(45)DF:Configuration:Registers(64):Operation Cfg B(2)[RESCAP]SBS:BatteryMode(0x03):[CapM]
SBS:RemainingCapacity(0x0f)
SBS:FullChargeCapacity(0x10)
This value reserves a amount of charge in 10 mWh ( CAPACITY_MODE = 1) for the system to react if theRemainingCapacity reports zero energy remains in the battery. The Reserve Cap-mWh reserves aamount of charge between the final Term Voltage is reached and the RemainingCapacity reports 0energy. The FullChargeCapacity function reports the internally full charge capacity reduced byReserve Cap-mAh.
SLUU250A June 2006 Revised June 2006 Data Flash 115Submit Documentation Feedback
www.ti.com
C.9.2 Current Thresholds (Offset 81)
C.9.2.1 Dsg Current Threshold (Offset 0)
C.9.2.2 Chg Current Threshold (Offset 2)
C.9.2.3 Quit Current (Offset 4)
Gas Gauging
Table C-89. Reserve Cap-mAhSubclass Subclass Name Offset Name Format Size in Min Max Default UnitID Bytes Value Value Value
80 IT Cfg 66 Reserve Cap-mWh signed integer 2 0 14000 0 10 mWh
Related Variables:
DF:Gas Gauging:IT Cfg(80):Load Mode(1)DF:Gas Gauging:IT Cfg(80):Term Voltage(45)DF:Configuration:Registers(64):Operation Cfg B(2)[RESCAP]SBS:BatteryMode(0x03):[CapM]
SBS:RemainingCapacity(0x0f)
SBS:FullChargeCapacity(0x10)
bq20z70 enters discharge mode from relaxation mode or charge mode if Current < (-) Dsg CurrentThreshold
Table C-90. Dsg Current ThresholdSubclass Subclass Name Offset Name Format Size in Min Max Default UnitID Bytes Value Value Value
81 IT Cfg 0 Dsg Current Threshold unsigned integer 2 0 2000 100 mA
Related Variables:
SBS:Current(0x0a)
SBS:BatteryStatus(0x16)[DSG]
bq20z70 enters charge mode from relaxation mode or discharge mode if Current >Chg CurrentThreshold.
Table C-91. Chg Current ThresholdSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
81 IT Cfg 2 Chg Current Threshold unsigned integer 2 0 2000 50 mA
Related Variables:
SBS:Current(0x0a)
SBS:BatteryStatus(0x16)[DSG]
The bq20z70 enters relaxation mode from charge mode if Current goes below Quit Current for a period of60s. The bq20z70 also enters relaxation mode from discharge mode if Current goes above(-)Quit Current for a period of 1s.
Table C-92. Quit CurrentSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
81 IT Cfg 4 Quit Current unsigned integer 2 0 1000 10 mA
Data Flash116 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.9.3 State (Offset 82)
C.9.3.1 Qmax Cell 0..3 (Offset 0..6)
C.9.3.2 Qmax Pack (Offset 8)
C.9.3.3 Update Status (Offset 12)
Gas GaugingRelated Variables:
SBS:Current(0x0a)
SBS:BatteryStatus(0x16)[DSG]
This value defines the maximum chemical capacity for all cells used for capacity calculation. The valueshould be taken directly from battery cell datasheet.
Table C-93. Qmax Cell 0..3Subclass ID Subclass Name Offset Name Format Size in Bytes Min Value Max Value Default Value Unit
82 State 0 Qmax Cell 0 unsigned 2 0 65535 4400 mAhinteger2 Qmax Cell 1 2 0 65535 4400 mAh
4 Qmax Cell 2 2 0 65535 4400 mAh
6 Qmax Cell 3 2 0 65535 4400 mAh
Related Variables:
DF:Gas Gauging:State(82):Qmax Pack(8)SBS:OperationStatus(0x54)[QEN]
This value defines the maximum chemical capacity of the battery pack. Usually get set to the smallestvalue of Qmax Cell 0 .. Qmax Cell 0.
Table C-94. Qmax PackSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
82 State 8 Qmax Pack unsigned integer 2 0 65535 4400 mAh
Related Variables:
DF:Gas Gauging:State(82):Qmax Cell 0(0)DF:Gas Gauging:State(82):Qmax Cell 1(2)DF:Gas Gauging:State(82):Qmax Cell 2(4)DF:Gas Gauging:State(82):Qmax Cell 3(6)SBS:OperationStatus(0x54)[QEN]
It is recommended to use ManufactureAccess to enable or disable Impedance Track™ algorithm updating.
0x00 = no Impedance Track™ algorithm updating (default)0x02 = Qmax updated0x04 = Impedance Track™ algorithm updating0x06 = Qmax updated + Impedance Track™ algorithm updating
SLUU250A June 2006 Revised June 2006 Data Flash 117Submit Documentation Feedback
www.ti.com
C.9.3.4 Delta Voltage (Offset 25)
C.10 Ra Table
C.10.1 R_a0 (Subclass 88)
C.10.1.1 Cell0 R_a flag (Offset 0)
Ra Table
Table C-95. Update StatusSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
82 State 12 Update Status hex 2 0x00 0x06 0
Related Variables:
SBS:ManufactureAccess(0x00):IT Enable(0x0021)
The bq20z70 stores the maximum difference of Voltage during short load spikes and normal load, so theImpedance Track™ algorithm can calculate remaining capacity for pulsed loads. It is not recommended tochange this value.
Table C-96. Delta VoltageSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
82 State 25 Delta Voltage signed integer 2 -32768 32767 0 mV
Related Variables:
SBS:Voltage(0x09)
This value indicates the validity of the cell impedance table for cell 0. It is recommended not to change thisvalue.
High Byte Low Byte0x00 cell impedance & Qmax updated 0x00 table not used & Qmax updated0x05 relaxation mode and Qmax update in 0x55 table being usedprocess0x55 discharge mode & cell impedance 0xff table never used, no Qmax or celupdated impedance update0xff cell impedance newer updated
Table C-97. Cell0 R_a flagSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
88 R_a0 0 Cell0 R_a flag hex 2 0x0000 0xffff 0xff55
Related Variables:
DF:Ra Table:R_a0(88):Cell0 R_a 0..14(2..30)
Data Flash118 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.10.1.2 Cell0 R_a 0..14 (Offset 2..30)
C.10.2 R_a1 (Subclass 89)
C.10.2.1 Cell1 R_a flag (Offset 0)
Ra Table
The bq20z70 stores and updates the impedance profile for cell 0 in this table.
Table C-98. Cell0 R_aSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
88 R_a0 2 Cell0 R_a 0 signed integer 2 0 32767 160 2^-10
4 Cell0 R_a 1 0 32767 166
6 Cell0 R_a 2 0 32767 153
8 Cell0 R_a 3 0 32767 151
10 Cell0 R_a 4 0 32767 145
12 Cell0 R_a 5 0 32767 152
14 Cell0 R_a 6 0 32767 176
16 Cell0 R_a 7 0 32767 204
18 Cell0 R_a 8 0 32767 222
20 Cell0 R_a 9 0 32767 254
22 Cell0 R_a 10 0 32767 315
24 Cell0 R_a 11 0 32767 437
26 Cell0 R_a 12 0 32767 651
28 Cell0 R_a 13 0 32767 1001
30 Cell0 R_a 14 0 32767 1458
Related Variables:
DF:Ra Table:R_a0(88):Cell0 R_a Flag(0)
This value indicates the validity of the cell impedance table for cell 1. It is recommended not to change thisvalue.
High Byte Low Byte0x00 cell impedance & Qmax updated 0x00 table not used & Qmax updated0x05 relaxation mode and Qmax update in 0x55 table being usedprocess0x55 discharge mode & cell impedance 0xff table never used, no Qmax or celupdated impedance update0xff cell impedance newer updated
Table C-99. Cell1 R_a flagSubclass ID Subclass Name Offset Name Format Size in Bytes Min Value Max Value Default Value Unit
89 R_a1 0 Cell1 R_a flag hex 2 0x0000 0xffff 0xff55
Related Variables:
DF:Ra Table:R_a1(89):Cell1 R_a 0..14(2..30)
SLUU250A June 2006 Revised June 2006 Data Flash 119Submit Documentation Feedback
www.ti.com
C.10.2.2 Cell1 R_a 0..14 (Offset 2..30)
C.10.3 R_a2 (Subclass 90)
C.10.3.1 Cell2 R_a flag (Offset 0)
Ra Table
The bq20z70 stores and updates the impedance profile for cell 1 in this table.
Table C-100. Cell1 R_aSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
88 R_a1 2 Cell1 R_a 0 signed integer 2 0 32767 160 2^-10
4 Cell1 R_a 1 0 32767 166
6 Cell1 R_a 2 0 32767 153
8 Cell1 R_a 3 0 32767 151
10 Cell1 R_a 4 0 32767 145
12 Cell1 R_a 5 0 32767 152
14 Cell1 R_a 6 0 32767 176
16 Cell1 R_a 7 0 32767 204
18 Cell1 R_a 8 0 32767 222
20 Cell1 R_a 9 0 32767 254
22 Cell1 R_a 10 0 32767 315
24 Cell1 R_a 11 0 32767 437
26 Cell1 R_a 12 0 32767 651
28 Cell1 R_a 13 0 32767 1001
30 Cell1 R_a 14 0 32767 1458
Related Variables:
DF:Ra Table:R_a1(89):Cell1 R_a Flag(0)
This value indicates the validity of the cell impedance table for cell 2. It is recommended not to change thisvalue.
High Byte Low Byte0x00 cell impedance & Qmax updated 0x00 table not used & Qmax updated0x05 relaxation mode and Qmax update in 0x55 table being usedprocess0x55 discharge mode & cell impedance 0xff table never used, no Qmax or celupdated impedance update0xff cell impedance newer updated
Table C-101. Cell2 R_a flagSubclass ID Subclass Name Offset Name Format Size in Bytes Min Value Max Value Default Value Unit
90 R_a2 0 Cell2 R_a flag hex 2 0x0000 0xffff 0xff55
Related Variables:
DF:Ra Table:R_a2(90):Cell2 R_a 0..14(2..30)
Data Flash120 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.10.3.2 Cell2 R_a 0..14 (Offset 2..30)
C.10.4 R_a3 (Subclass 91)
C.10.4.1 Cell3 R_a flag (Offset 0)
Ra Table
The bq20z70 stores and updates the impedance profile for cell 2 in this table.
Table C-102. Cell2 R_aSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
88 R_a2 2 Cell2 R_a 0 signed integer 2 0 32767 160 2^-10
4 Cell2 R_a 1 0 32767 166
6 Cell2 R_a 2 0 32767 153
8 Cell2 R_a 3 0 32767 151
10 Cell2 R_a 4 0 32767 145
12 Cell2 R_a 5 0 32767 152
14 Cell2 R_a 6 0 32767 176
16 Cell2 R_a 7 0 32767 204
18 Cell2 R_a 8 0 32767 222
20 Cell2 R_a 9 0 32767 254
22 Cell2 R_a 10 0 32767 315
24 Cell2 R_a 11 0 32767 437
26 Cell2 R_a 12 0 32767 651
28 Cell2 R_a 13 0 32767 1001
30 Cell2 R_a 14 0 32767 1458
Related Variables:
DF:Ra Table:R_a2(90):Cell2 R_a Flag(0)
This value indicates the validity of the cell impedance table for cell 3. It is recommended not to change thisvalue.
High Byte Low Byte0x00 cell impedance & Qmax updated 0x00 table not used & Qmax updated0x05 relaxation mode and Qmax update in 0x55 table being usedprocess0x55 discharge mode & cell impedance 0xff table never used, no Qmax or celupdated impedance update0xff cell impedance newer updated
Table C-103. Cell3 R_a flagSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
91 R_a3 0 Cell3 R_a flag hex 2 0x0000 0xffff 0xff55
Related Variables:
DF:Ra Table:R_a3(91):Cell3 R_a 0..14(2..30)
SLUU250A June 2006 Revised June 2006 Data Flash 121Submit Documentation Feedback
www.ti.com
C.10.4.2 Cell3 R_a 0..14 (Offset 2..30)
C.10.5 R_a0x (Subclass 92)
C.10.5.1 xCell0 R_a flag (Offset 0)
Ra Table
The bq20z70 stores and updates the impedance profile for cell 3 in this table.
Table C-104. Cell3 R_aSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
88 R_a3 2 Cell3 R_a 0 signed integer 2 0 32767 160 2^-10
4 Cell3 R_a 1 0 32767 166
6 Cell3 R_a 2 0 32767 153
8 Cell3 R_a 3 0 32767 151
10 Cell3 R_a 4 0 32767 145
12 Cell3 R_a 5 0 32767 152
14 Cell3 R_a 6 0 32767 176
16 Cell3 R_a 7 0 32767 204
18 Cell3 R_a 8 0 32767 222
20 Cell3 R_a 9 0 32767 254
22 Cell3 R_a 10 0 32767 315
24 Cell3 R_a 11 0 32767 437
26 Cell3 R_a 12 0 32767 651
28 Cell3 R_a 13 0 32767 1001
30 Cell3 R_a 14 0 32767 1458
Related Variables:
DF:Ra Table:R_a3(91):Cell3 R_a Flag(0)
This value indicates the validity of the cell impedance table for cell 0. It is recommended not to change thisvalue.
High Byte Low Byte0x00 cell impedance & Qmax updated 0x00 table not used & Qmax updated0x05 relaxation mode and Qmax update in 0x55 table being usedprocess0x55 discharge mode & cell impedance 0xff table never used, no Qmax or celupdated impedance update0xff cell impedance newer updated
Table C-105. xCell0 R_a flagSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
92 R_a0x 0 xCell0 R_a flag hex 2 0x0000 0xffff 0xffff
Related Variables:
DF:Ra Table:R_a0x(92):xCell0 R_a 0..14(2..30)
Data Flash122 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.10.5.2 xCell0 R_a 0..14 (Offset 2..30)
C.10.6 R_a1x (Subclass 93)
C.10.6.1 xCell1 R_a flag (Offset 0)
Ra Table
The bq20z70 stores and updates the impedance profile for cell 0 in this table.
Table C-106. xCell0 R_aSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
88 R_a0x 2 xCell0 R_a 0 signed integer 2 0 32767 160 2^-10
4 xCell0 R_a 1 0 32767 166
6 xCell0 R_a 2 0 32767 153
8 xCell0 R_a 3 0 32767 151
10 xCell0 R_a 4 0 32767 145
12 xCell0 R_a 5 0 32767 152
14 xCell0 R_a 6 0 32767 176
16 xCell0 R_a 7 0 32767 204
18 xCell0 R_a 8 0 32767 222
20 xCell0 R_a 9 0 32767 254
22 xCell0 R_a 10 0 32767 315
24 xCell0 R_a 11 0 32767 437
26 xCell0 R_a 12 0 32767 651
28 xCell0 R_a 13 0 32767 1001
30 xCell0 R_a 14 0 32767 1458
Related Variables:
DF:Ra Table:R_a0x(89):xCell0 R_a Flag(0)
This value indicates the validity of the cell impedance table for cell 1. It is recommended not to change thisvalue.
High Byte Low Byte0x00 cell impedance & Qmax updated 0x00 table not used & Qmax updated0x05 relaxation mode and Qmax update in 0x55 table being usedprocess0x55 discharge mode & cell impedance 0xff table never used, no Qmax or celupdated impedance update0xff cell impedance newer updated
Table C-107. xCell1 R_a flagSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
93 R_a1x 0 xCell1 R_a flag hex 2 0x0000 0xffff 0xffff
Related Variables:
DF:Ra Table:R_a1x(93):xCell1 R_a 0..14(2..30)
SLUU250A June 2006 Revised June 2006 Data Flash 123Submit Documentation Feedback
www.ti.com
C.10.6.2 xCell1 R_a 0..14 (Offset 2..30)
C.10.7 R_a2x (Subclass 94)
C.10.7.1 xCell2 R_a flag (Offset 0)
Ra Table
The bq20z70 stores and updates the impedance profile for cell 1 in this table.
Table C-108. xCell1 R_aSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
88 R_a1x 2 xCell1 R_a 0 signed integer 2 0 32767 160 2^-10
4 xCell1 R_a 1 0 32767 166
6 xCell1 R_a 2 0 32767 153
8 xCell1 R_a 3 0 32767 151
10 xCell1 R_a 4 0 32767 145
12 xCell1 R_a 5 0 32767 152
14 xCell1 R_a 6 0 32767 176
16 xCell1 R_a 7 0 32767 204
18 xCell1 R_a 8 0 32767 222
20 xCell1 R_a 9 0 32767 254
22 xCell1 R_a 10 0 32767 315
24 xCell1 R_a 11 0 32767 437
26 xCell1 R_a 12 0 32767 651
28 xCell1 R_a 13 0 32767 1001
30 xCell1 R_a 14 0 32767 1458
Related Variables:
DF:Ra Table:R_a0x(93):xCell1 R_a Flag(0)
This value indicates the validity of the cell impedance table for cell 2. It is recommended not to change thisvalue.
High Byte Low Byte0x00 cell impedance & Qmax updated 0x00 table not used & Qmax updated0x05 relaxation mode and Qmax update in 0x55 table being usedprocess0x55 discharge mode & cell impedance 0xff table never used, no Qmax or celupdated impedance update0xff cell impedance newer updated
Table C-109. xCell2 R_a flagSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
94 R_a2x 0 xCell2 R_a flag hex 2 0x0000 0xffff 0xffff
Related Variables:
DF:Ra Table:R_a2x(94):xCell2 R_a 0..14(2..30)
Data Flash124 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.10.7.2 xCell2 R_a 0..14 (Offset 2..30)
C.10.8 R_a3x (Subclass 95)
C.10.8.1 xCell3 R_a flag (Offset 0)
Ra Table
The bq20z70 stores and updates the impedance profile for cell 2 in this table.
Table C-110. xCell2 R_aSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
88 R_a2x 2 xCell2 R_a 0 signed integer 2 0 32767 160 2^-10
4 xCell2 R_a 1 0 32767 166
6 xCell2 R_a 2 0 32767 153
8 xCell2 R_a 3 0 32767 151
10 xCell2 R_a 4 0 32767 145
12 xCell2 R_a 5 0 32767 152
14 xCell2 R_a 6 0 32767 176
16 xCell2 R_a 7 0 32767 204
18 xCell2 R_a 8 0 32767 222
20 xCell2 R_a 9 0 32767 254
22 xCell2 R_a 10 0 32767 315
24 xCell2 R_a 11 0 32767 437
26 xCell2 R_a 12 0 32767 651
28 xCell2 R_a 13 0 32767 1001
30 xCell2 R_a 14 0 32767 1458
Related Variables:
DF:Ra Table:R_a2x(94):xCell2 R_a Flag(0)
This value indicates the validity of the cell impedance table for cell 3. It is recommended not to change thisvalue.
High Byte Low Byte0x00 cell impedance & Qmax updated 0x00 table not used & Qmax updated0x05 relaxation mode and Qmax update in 0x55 table being usedprocess0x55 discharge mode & cell impedance 0xff table never used, no Qmax or celupdated impedance update0xff cell impedance newer updated
Table C-111. xCell3 R_a flagSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
95 R_a3x 0 xCell3 R_a flag hex 2 0x0000 0xffff 0xffff
Related Variables:
DF:Ra Table:R_a3x(95):xCell3 R_a 0..14(2..30)
SLUU250A June 2006 Revised June 2006 Data Flash 125Submit Documentation Feedback
www.ti.com
C.10.8.2 xCell3 R_a 0..14 (Offset 2..30)
C.11 PF Status
C.11.1 Device Status Data (Subclass 96)
C.11.1.1 PF Flags 1 (Offset 0)
PF Status
The bq20z70 stores and updates the impedance profile for cell 3 in this table.
Table C-112. xCell3 R_aSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
88 R_a3x 2 xCell3 R_a 0 signed integer 2 0 32767 160 2^-10
4 xCell3 R_a 1 0 32767 166
6 xCell3 R_a 2 0 32767 153
8 xCell3 R_a 3 0 32767 151
10 xCell3 R_a 4 0 32767 145
12 xCell3 R_a 5 0 32767 152
14 xCell3 R_a 6 0 32767 176
16 xCell3 R_a 7 0 32767 204
18 xCell3 R_a 8 0 32767 222
20 xCell3 R_a 9 0 32767 254
22 xCell3 R_a 10 0 32767 315
24 xCell3 R_a 11 0 32767 437
26 xCell3 R_a 12 0 32767 651
28 xCell3 R_a 13 0 32767 1001
30 xCell3 R_a 14 0 32767 1458
Related Variables:
DF:Ra Table:R_a3x(95):xCell3 R_a Flag(0)
The flags in PF Flags 1 register indicates the reason that bq20z70 has entered permanent failure. If thefailure flag in PF Flags 1 matches the bit in Permanent Fail Cfg, the SAFE pin is driven high. The SAFEpin can be used to blow a optional fuse in a severe failure condition to prevent more damage of thesystem.
All permanent failure flags in the failure sequence are stored in PF Flags 1. Only the first permanentfailure flag in a failure sequence is stored in PF Flags 2 to indicate the cause of the permanent failure.
Table C-113. PF Flags 1Subclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
96 Device Status Data 0 PF Flags 1 hex 2 0x0000 0xffff 0x0000
Related Variables:
DF:Configuration:Registers(64):Permanent Fail Cfg(4)DF:PF Status:Device Status Data(96):PF Flags 2(28)SBS:PFStatus(0x53)
126 Data Flash SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.11.1.2 PF Flags 2 (Offset 28)
C.12 Calibration
C.12.1 Data (Subclass 104)
C.12.1.1 CC Gain (Offset 0)
Calibration
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0High Byte RSVD XPFVSHU RSVD RSVD SOCD SOCC RSVD ACE_CTLow Byte DFF DFETF CFETF CIM SOTD SOTC SOV PFINLEGEND: All Values Read Only
Figure C-10. PF Flags 1
XPFVSHUT = 1: Another Permanent Failure has occurred AND device went to shutdown after thatevent
SOCD = 1: Safety Overcurrent in Discharge permanent failure
SOCC = 1: Safety Overcurrent in Charge permanent failure
AFE_C =1 AFE-Communications permanent failure
DFF = 1: Data Flash Fault permanent failure
DFETF = 1: Discharge FET permanent failure
CFETF = 1: Charge FET permanent failure
CIM = 1: Cell-Imbalance permanent failure
SOTD = 1: Discharge Safety Overtemperature permanent failure
SOTC = 1: Charge Safety Overtemperature permanent failure
SOV = 1: Safety-Overvoltage permanent failure
PFIN = 1: External PFIN Input of bq29330 Indication of a Permanent Failure.
On first occurrence of permanent failure, when PFStatus changes from 0x0000, then the PFStatus flagswill captured and stored in this value. Only the first permanent failure flag in a failure sequence is stored inPF Flags 2 to indicate the cause of the permanent failure. All permanent failure flags in the failuresequence are stored in PF Flags 1.
Table C-114. PF Flags 2Subclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
96 Device Status Data 28 PF Flags 2 hex 2 0x0000 0xffff 0x0000
Related Variables:
DF:PF Status:Device Status Data(96):PF Flags 1(0)SBS:PFStatus(0x53)
CC Gain sets the mA current scale factor for the coulomb counter. Use calibration routines to set thisvalue.
SLUU250A June 2006 Revised June 2006 Data Flash 127Submit Documentation Feedback
www.ti.com
C.12.1.2 CC Delta (Offset 4)
C.12.1.3 Ref Voltage (Offset 8)
C.12.1.4 AFE Pack Gain (Offset 12)
C.12.1.5 CC Offset (Offset 14)
Calibration
Table C-115. CC GainSubclass ID Subclass Offset Name Format Size in Bytes Min Value Max Value Default Value UnitName
104 Data 0 CC Gain floating point 4 -1E128 1E128 0.471
Related Variables:
SBS:Current(0x0a)
CC Delta sets the mAh capacity scale factor for the coulomb counter. Use calibration routines to set thisvalue.
Table C-116. CC DeltaSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
104 Data 4 CC Delta floating point 4 -1E128 1E128 140500
Related Variables:
SBS:RemainingCapacity(0x0f)
SBS:FullChargeCapacity(0x10)
This register value stores the AFE reference voltage in units of 0.5 mV.
Table C-117. Ref VoltageSubclass ID Subclass Name Offset Name Format Size in Bytes Min Max Value Default Value UnitValue
104 Data 8 Ref Voltage signed integer 2 0 32767 2450 0.5mV
Related Variables:
none
This register value stores the scale factor for the voltage at PACK pin of the bq29330 AFE.
Table C-118. AFE Pack GainSubclass ID Subclass Name Offset Name Format Size in Bytes Min Value Max Value Default Value Unit
104 Data 12 AFE Pack unsigned 2 0 65535 30625 mV/cntGain integer
Related Variables:
none
This register value stores the coulomb counter offset compensation. It is set by automatic calibration of thebq20z70. It is not recommended to change this value.
Table C-119. CC OffsetSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
104 Data 14 CC Offset signed integer 2 -32768 32767 -12250
Data Flash128 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.12.1.6 Board Offset (Offset 16)
C.12.1.7 Int Temp Offset (Offset 18)
C.12.1.8 Ext1 Temp Offset (Offset 19)
C.12.1.9 Ext2 Temp Offset (Offset 20)
Calibration
Related Variables:
none
This register value stores the compensation for PCB dependant coulomb counter offset. It isrecommended to use characterization data of actual PCB to set this value.
Table C-120. Board OffsetSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
104 Data 16 Board Offset signed integer 1 -128 127 0
Related Variables:
Calibration:Data(104):CC Offset(14)
This register value stores the internal temperature sensor offset compensation. Use calibration routines toset this value.
Table C-121. Int Temp OffsetSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
104 Data 18 Int Temp Offset signed integer 1 -128 127 0
Related Variables:
DF:Configuration:Registers(64):Operation Cfg A(0)[TEMP1], [TEMP0]SBS:Temperature(0x08)
This register value stores the temperature sensor offset compensation for the external temperature sensor1 connected at TS1 pin of the bq20z70. Use calibration routines to set this value.
Table C-122. Ext1 Temp OffsetSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
104 Data 19 Ext1 Temp Offset signed integer 1 -128 127 0
Related Variables:
DF:Configuration:Registers(64):Operation Cfg A(0)[TEMP1], [TEMP0]SBS:Temperature(0x08)
This register value stores the temperature sensor offset compensation for the external temperature sensor2 connected at TS2 pin of the bq20z70. Use calibration routines to set this value.
SLUU250A June 2006 Revised June 2006 Data Flash 129Submit Documentation Feedback
www.ti.com
C.12.2 Config (Subclass 105)
C.12.2.1 CC Current (Offset 0)
C.12.2.2 Voltage Signal (Offset 2)
C.12.2.3 Temp Signal (Offset 4)
C.12.2.4 CC Offset Time (Offset 6)
Calibration
Table C-123. Ext2 Temp OffsetSubclass ID Subclass Name Offset Name Format Size in Min Max Value Default Value UnitBytes Value
104 Data 20 Ext2 Temp Offset signed 1 -128 127 0integer
Related Variables:
DF:Configuration:Registers(64):Operation Cfg A(0)[TEMP1], [TEMP0]SBS:Temperature(0x08)
This value sets the current used for CC calibration when in calibration mode.
Table C-124. CC CurrentSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
105 Config 0 CC Current unsigned integer 2 0 65535 3000 mA
Related Variables:
SBS:Current(0x0a)
This value sets the voltage used for calibration when in calibration mode.
Table C-125. Voltage SignalSubclass Subclass Name Offset Name Format Size in Min Max Value Default Value UnitID Bytes Value
105 Config 2 Voltage Signal unsigned integer 2 0 65535 16800 mV
Related Variables:
SBS:Voltage(0x09)
This value sets the temperature used for temperature calibration in calibration mode
Table C-126. Temp SignalSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
105 Config 4 Temp Signal unsigne 2 0 65535 2980 0.1 °Cd
integer
Related Variables:
SBS:Temperature(0x08)
This value sets the time used for CC Offset calibration in calibration mode. More time means moreaccuracy. The legitimate values for this constant are integer multiplies of 250. Numbers less than 250 willcause a CC offset calibration error. Numbers greater than 250 will be rounded down to the nearestmultiple of 250.
Data Flash130 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.12.2.5 ADC Offset Time (Offset 8)
C.12.2.6 CC Gain Time (Offset 10)
C.12.2.7 Voltage Time (Offset 12)
Calibration
Table C-127. CC Offset TimeSubclass ID Subclass Name Offset Name Format Size in Bytes Min Value Max Value Default Value Unit
105 Config 6 CC Offset unsigned 2 0 65535 250 mSecTime integer
Related Variables:
Calibration:Data(104):CC Offset(14)
This constant defines the time for ADC offset calibration in calibration mode. More time means moreaccuracy. The legitimate values for this constant are integer multiplies of 32. Numbers less than 32 willcause a ADC offset calibration error. Numbers greater than 32 will be rounded down to the nearestmultiple of 32.
Table C-128. ADC Offset TimeSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
105 Config 8 ADC Offset Time unsigned 2 0 65535 32 mSecinteger
Related Variables:
none
This constant defines the time for the coulomb counter gain calibration in calibration mode. More timemeans more accuracy. The legitimate values for this constant are integer multiplies of 250. Numbers lessthan 250 will cause a CC gain calibration error. Numbers greater than 250 will be rounded down to thenearest multiple of 250.
Table C-129. CC Gain TimeSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
105 Config 10 CC Gain Time unsigned 2 0 65535 250 mSecinteger
Related Variables:
Calibration:Data(104):CC Gain(0)
This constant defines the time for voltage calibration in calibration mode. More time means moreaccuracy. The legitimate values for this constant are integer multiplies of 1984. Numbers less than 1984will cause a voltage calibration error. Numbers greater than 1984 will be rounded down to the nearestmultiple of 1984.
Table C-130. Voltage TimeSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
105 Config 12 Voltage Time unsigned 2 0 65535 1984 mSecinteger
Related Variables:
SBS:Voltage(0x09)
SLUU250A June 2006 Revised June 2006 Data Flash 131Submit Documentation Feedback
www.ti.com
C.12.2.8 Temperature Time (Offset 14)
C.12.2.9 Cal Mode Timeout (Offset 17)
C.12.3 Temp Model (Subclass 106)
C.12.3.1 Ext Coef 1..4, Ext Min AD, Ext Max Temp
Calibration
This constant defines the time for temperature calibration in calibration mode. More time means moreaccuracy. The legitimate values for this constant are integer multiplies of 32. Numbers less than 32 willcause a temperature calibration error. Numbers greater than 32 will be rounded down to the nearestmultiple of 32.
Table C-131. Temperature TimeSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
105 Config 14 Temperature Time unsigned 2 0 65535 32 mSecinteger
Related Variables:
Calibration:Data(104):Int Temp Offset(18)Calibration:Data(104):Ext1 Temp Offset(19)Calibration:Data(104):Ext2 Temp Offset(20)SBS:Temperature(0x08)
The bq20z70 will exit calibration mode automatically after Calibration Mode Timeout period.
Table C-132. Cal Mode TimeoutSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
105 Config 17 Cal Mode Timeout unsigned 2 0 65535 38400 Sec / 128integer
Related Variables:
SBS:ManufacturerAccess(0x00):Calibration Mode(0x0040)
These values characterize the external temperature sense resistor connected to TS1 pin or TS2 pin ofbq20z70. The default values characterize the Semitec 103AT NTC resistor. Do not modify these valueswithout consulting TI.
Table C-133. Ext Coef 1..4, Ext Min AD, Ext Max TempSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
106 Temp Model 0 Ext Coef 1 signed integer 2 -32768 32767 -28285 Sec
2 Ext Coef 2 20848
4 Ext Coef 3 -7537
6 Ext Coef 4 4012
8 Ext Min AD 0
10 Ext Max Temp 4012
Related Variables:
none
Data Flash132 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
C.12.3.2 Int Coef 1..4, Int Min AD, Int Max Temp
C.12.4 Current (Subclass 107)
C.12.4.1 Filter (Offset 0)
C.12.4.2 Deadband (Offset 1)
Calibration
These values characterize the internal temperature sense resistor of the bq20z70. Do not modify thisvalues without consulting TI.
Table C-134. Int Coef 1..4, Int Min AD, Int Max TempSubclass ID Subclass Name Offset Name Format Size in Min Max Default UnitBytes Value Value Value
106 Temp Model 12 Int Coef 1 signed integer 2 -32768 32767 0 Sec
14 Int Coef 2 0
16 Int Coef 3 -11136
18 Int Coef 4 5754
20 Int Min AD 0
22 Int Max Temp 5754
Related Variables:
none
This constant defines the filter constant used in the AverageCurrent calculation:
AverageCurrent new = a * AverageCurrent old + (1 - a) * Current
with:
a = <Filter> / 256; the time constant = 1 sec/ln(1/a) (default 14.5 sec)
Table C-135. FilterSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
107 Current 0 Filter unsigned 1 0 255 239 mAinteger
Related Variables:
SBS:Current(0x0a)
SBS:AverageCurrent(0x0b)
Any current within ±Deadband will be reported as 0mA by the SBS Current function.
Table C-136. DeadbandSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
107 Current 1 Deadband unsigned 1 0 255 3 mAinteger
Related Variables:
SBS:Current(0x0a)
SLUU250A June 2006 Revised June 2006 Data Flash 133Submit Documentation Feedback
www.ti.com
C.12.4.3 CC Deadband (Offset 2)
C.13 DataFlash Values
DataFlash Values
This constant defines the deadband voltage for the measured voltage between SR1 and SR2 pin used forcapacity accumulation in units of 290 nV. Any voltages within ±CC Deadband does not contribute tocapacity accumulation.
Table C-137. CC DeadbandSubclass ID Subclass Name Offset Name Format Size in Min Value Max Value Default Value UnitBytes
107 Current 2 CC Deadband unsigned 1 0 255 34 290 nVinteger
Related Variables:
SBS:RemainingCapacity(0x0f)
Table C-138. DATAFLASH VALUESClass Subclass Subclass Offset Name Data Min Max Default UnitsID Type Value Value Value
1st Level Safety 0 Voltage 0 COV Threshold I2 3700 5000 4300 mV
1st Level Safety 0 Voltage 3 COV Recovery I2 0 4400 3900 mV
1st Level Safety 0 Voltage 12 CUV Threshold I2 0 3500 2200 mV
1st Level Safety 0 Voltage 15 CUV Recovery I2 0 3600 3000 mV
1st Level Safety 1 Current 0 OC (1st Tier) Chg I2 0 20000 6000 mA
1st Level Safety 1 Current 5 OC (1st Tier) Dsg I2 0 20000 6000 mA
1st Level Safety 1 Current 16 Current Recovery Time U1 0 60 8 s
1st Level Safety 1 Current 17 AFE OC Dsg H1 0x00 0x1f 0x12
1st Level Safety 1 Current 18 AFE OC Dsg Time H1 0x00 0xff 0x0f
1st Level Safety 1 Current 21 AFE SC Chg Cfg H1 0x00 0xff 0x77
1st Level Safety 1 Current 22 AFE SC Dsg Cfg H1 0x00 0xff 0x77
1st Level Safety 2 Temperature 0 Over Temp Chg I2 0 1200 550 0.1 °C
1st Level Safety 2 Temperature 3 OT Chg Recovery I2 0 1200 500 0.1 °C
1st Level Safety 2 Temperature 5 Over Temp Dsg I2 0 1200 600 0.1 °C
1st Level Safety 2 Temperature 8 OT Dsg Recovery I2 0 1200 550 0.1 °C
2nd Level Safety 16 Voltage 0 SOV Threshold I2 0 20000 18000 mV
2nd Level Safety 16 Voltage 2 SOV Time U1 0 30 0 s
2nd Level Safety 16 Voltage 3 Cell Imbalance Current I1 0 200 5 mA
2nd Level Safety 16 Voltage 4 Cell Imbalance Fail Voltage I2 0 5000 1000 mV
2nd Level Safety 16 Voltage 6 Cell Imbalance Time U1 0 30 0 s
2nd Level Safety 16 Voltage 7 Battery Rest Time U2 0 65535 1800 s
2nd Level Safety 16 Voltage 9 PFIN Detect Time U1 0 30 0 s
2nd Level Safety 17 Current 0 SOC Chg I2 0 30000 10000 mA
2nd Level Safety 17 Current 2 SOC Chg Time U1 0 30 0 s
2nd Level Safety 17 Current 3 SOC Dsg I2 0 30000 10000 mA
2nd Level Safety 17 Current 5 SOC Dsg Time U1 0 30 0 s
2nd Level Safety 18 Temperature 0 SOT Chg I2 0 1200 650 0.1 °C
2nd Level Safety 18 Temperature 2 SOT Chg Time U1 0 30 0 s
2nd Level Safety 18 Temperature 3 SOT Dsg I2 0 1200 750 0.1 °C
2nd Level Safety 18 Temperature 5 SOT Dsg Time U1 0 30 0 s
2nd Level Safety 19 FET Verification 2 FET Fail Time U1 0 30 0 s
2nd Level Safety 20 AFE Verification 1 AFE Fail Limit U1 0 255 10
134 Data Flash SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
DataFlash Values
Table C-138. DATAFLASH VALUES (continued)Class Subclass Subclass Offset Name Data Min Max Default UnitsID Type Value Value Value
Charge Control 32 Charge Inhibit 0 Chg Inhibit Temp Low I2 -400 1200 0 0.1 °CCfg
Charge Control 32 Charge Inhibit 2 Chg Inhibit Temp High I2 -400 1200 450 0.1 °CCfg
Charge Control 33 Pre-Charge Cfg 0 Pre-chg Current I2 0 2000 250 mA
Charge Control 33 Pre-Charge Cfg 2 Pre-chg Temp I2 -400 1200 120 0.1 °C
Charge Control 33 Pre-Charge Cfg 4 Pre-chg Voltage I2 0 20000 3000 mV
Charge Control 33 Pre-Charge Cfg 6 Recovery Voltage I2 0 20000 3100 mV
Charge Control 34 Fast Charge Cfg 0 Fast Charge Current I2 0 10000 4000 mA
Charge Control 34 Fast Charge Cfg 2 Charging Voltage I2 0 20000 16800 mV
Charge Control 34 Fast Charge Cfg 6 Suspend Low Temp I2 -400 1200 -50 0.1 °C
Charge Control 34 Fast Charge Cfg 8 Suspend High Temp I2 -400 1200 550 0.1 °C
Charge Control 36 Termination Cfg. 2 Taper Current I2 0 1000 250 mA
Charge Control 36 Termination Cfg. 6 Taper Voltage I2 0 1000 300 mV
Charge Control 36 Termination Cfg. 10 TCA Clear % I1 -1 100 95 %
Charge Control 36 Termination Cfg. 12 FC Clear % I1 -1 100 98 %
Charge Control 37 Cell Balancing 0 Min Cell Deviation U2 0 65535 1750 s/mAhCfg
Charge Control 38 Charging Faults 13 Over Charge Capacity I2 0 4000 300 mAh
SBS Configuration 48 Data 0 Rem Cap Alarm I2 0 700 300 mAh
SBS Configuration 48 Data 2 Rem Energy Alarm I2 0 1000 432 10mW
SBS Configuration 48 Data 4 Rem Time Alarm U2 0 30 10 min
SBS Configuration 48 Data 6 Init Battery Mode H2 0x0000 0xffff 0x0081
SBS Configuration 48 Data 8 Design Voltage I2 7000 18000 14400 mV
SBS Configuration 48 Data 10 Spec Info H2 0x0000 0xffff 0x0031
SBS Configuration 48 Data 12 Manuf Date U2 0 65535 0 Day +Mo*32 +(Yr
-
1980)*25
6
SBS Configuration 48 Data 14 Ser. Num. H2 0x0000 0xffff 0x0001
SBS Configuration 48 Data 16 Cycle Count U2 0 65535 0 Count
SBS Configuration 48 Data 18 CC Threshold I2 100 32767 4400 mAh
SBS Configuration 48 Data 21 CF MaxError Limit U1 0 100 100 %
SBS Configuration 48 Data 22 Design Capacity I2 0 65535 4400 mAh
SBS Configuration 48 Data 24 Design Energy I2 0 65535 6336 10mWh
SBS Configuration 48 Data 26 Manuf Name S12 Texas
Inst.
SBS Configuration 48 Data 38 Device Name S8 bq20z70
SBS Configuration 48 Data 46 Device Chemistry S5 LION
SBS Configuration 49 Configuration 0 TDA Set % I1 -1 100 6 %
SBS Configuration 49 Configuration 1 TDA Clear % I1 -1 100 8 %
SBS Configuration 49 Configuration 2 FD Set % I1 -1 100 2 %
SBS Configuration 49 Configuration 3 FD Clear % I1 -1 100 5 %
SBS Configuration 49 Configuration 4 TDA Set Volt Threshold I2 0 16800 5000 mV
SBS Configuration 49 Configuration 6 TDA Set Volt Time U1 0 60 0 s
SBS Configuration 49 Configuration 7 TDA Clear Volt I2 0 16800 5500 mV
System Data 58 Manufacturer 0 Manuf. Info S9 12345678Info
Configuration 64 Registers 0 Operation Cfg A H2 0x0000 0x033b 0x0329
Configuration 64 Registers 2 Operation Cfg B H2 0x0000 0x3eff 0x2440
Configuration 64 Registers 4 Operation Cfg C H2 0x0000 0x0001 0x0000
SLUU250A June 2006 Revised June 2006 Data Flash 135Submit Documentation Feedback
www.ti.com
DataFlash Values
Table C-138. DATAFLASH VALUES (continued)Class Subclass Subclass Offset Name Data Min Max Default UnitsID Type Value Value Value
Configuration 64 Registers 6 Permanent Fail Cfg H2 0x0000 0x4dff 0x0000
Configuration 64 Registers 8 Non-Removable Cfg H2 0x0000 0x3027 0x0000
Power 68 Power 0 Flash Update OK Voltage I2 6000 20000 7500 mV
Power 68 Power 2 Shutdown Voltage I2 5000 20000 7000 mV
Power 68 Power 5 Charger Present I2 0 23000 3000 mV
Power 68 Power 16 Wake Current Reg H1 0x00 0xff 0x00
Gas Gauging 80 IT Cfg 0 Load Select U1 0 255 3
Gas Gauging 80 IT Cfg 1 Load Mode U1 0 255 0
Gas Gauging 80 IT Cfg 45 Term Voltage I2 -32768 32767 12000 mV
Gas Gauging 80 IT Cfg 60 User Rate-mA I2 2000 9000 0 MilliAmp
Gas Gauging 80 IT Cfg 62 User Rate-mW I2 3000 14000 0 10mW
Gas Gauging 80 IT Cfg 64 Reserve Cap-mAh I2 0 9000 0 mAh
Gas Gauging 80 IT Cfg 66 Reserve Cap-mWh I2 0 14000 0 10mWh
Gas Gauging 81 Current 0 Dsg Current Threshold I2 0 2000 50 mAThresholds
Gas Gauging 81 Current 2 Chg Current Threshold I2 0 2000 25 mAThresholds
Gas Gauging 81 Current 4 Quit Current I2 0 1000 10 mAThresholds
Gas Gauging 82 State 0 Qmax Cell0 I2 0 32767 4400 mAh
Gas Gauging 82 State 2 Qmax Cell1 I2 0 32767 4400 mAh
Gas Gauging 82 State 4 Qmax Cell2 I2 0 32767 4400 mAh
Gas Gauging 82 State 6 Qmax Cell3 I2 0 32767 4400 mAh
Gas Gauging 82 State 8 Qmax Pack I2 0 32767 4400 mAh
Gas Gauging 82 State 12 Update Status H1 0x0 0x3 0x0
Gas Gauging 82 State 25 Delta Voltage I2 -32768 32767 0 mV
Ra Table 88 R_a0 0 Cell0 R_a flag H2 0x0000 0x0000 0xff55
Ra Table 88 R_a0 2 Cell0 R_a 0 I2 183 183 160 2^-10ohm
Ra Table 88 R_a0 4 Cell0 R_a 1 I2 181 181 166 2^-10ohm
Ra Table 88 R_a0 6 Cell0 R_a 2 I2 198 198 153 2^-10ohm
Ra Table 88 R_a0 8 Cell0 R_a 3 I2 244 244 151 2^-10ohm
Ra Table 88 R_a0 10 Cell0 R_a 4 I2 254 254 145 2^-10ohm
Ra Table 88 R_a0 12 Cell0 R_a 5 I2 261 261 152 2^-10ohm
Ra Table 88 R_a0 14 Cell0 R_a 6 I2 333 333 176 2^-10ohm
Ra Table 88 R_a0 16 Cell0 R_a 7 I2 338 338 204 2^-10ohm
Ra Table 88 R_a0 18 Cell0 R_a 8 I2 345 345 222 2^-10ohm
Ra Table 88 R_a0 20 Cell0 R_a 9 I2 350 350 254 2^-10ohm
Ra Table 88 R_a0 22 Cell0 R_a 10 I2 382 382 315 2^-10ohm
Ra Table 88 R_a0 24 Cell0 R_a 11 I2 429 429 437 2^-10ohm
Ra Table 88 R_a0 26 Cell0 R_a 12 I2 502 502 651 2^-10ohm
Ra Table 88 R_a0 28 Cell0 R_a 13 I2 545 545 1001 2^-10ohm
Ra Table 88 R_a0 30 Cell0 R_a 14 I2 366 366 1458 2^-10ohm
Ra Table 89 R_a1 0 Cell1 R_a flag H2 0x0 0x0 0xff55
Ra Table 89 R_a1 2 Cell1 R_a 0 I2 183 183 160 2^-10ohm
Ra Table 89 R_a1 4 Cell1 R_a 1 I2 181 181 166 2^-10ohm
Ra Table 89 R_a1 6 Cell1 R_a 2 I2 198 198 153 2^-10ohm
Ra Table 89 R_a1 8 Cell1 R_a 3 I2 244 244 151 2^-10ohm
Ra Table 89 R_a1 10 Cell1 R_a 4 I2 254 254 145 2^-10ohm
Ra Table 89 R_a1 12 Cell1 R_a 5 I2 261 261 152 2^-10ohm
Ra Table 89 R_a1 14 Cell1 R_a 6 I2 333 333 176 2^-10ohm
136 Data Flash SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
DataFlash Values
Table C-138. DATAFLASH VALUES (continued)Class Subclass Subclass Offset Name Data Min Max Default UnitsID Type Value Value Value
Ra Table 89 R_a1 16 Cell1 R_a 7 I2 338 338 204 2^-10ohm
Ra Table 89 R_a1 18 Cell1 R_a 8 I2 345 345 222 2^-10ohm
Ra Table 89 R_a1 20 Cell1 R_a 9 I2 350 350 254 2^-10ohm
Ra Table 89 R_a1 22 Cell1 R_a 10 I2 382 382 315 2^-10ohm
Ra Table 89 R_a1 24 Cell1 R_a 11 I2 429 429 437 2^-10ohm
Ra Table 89 R_a1 26 Cell1 R_a 12 I2 502 502 651 2^-10ohm
Ra Table 89 R_a1 28 Cell1 R_a 13 I2 545 545 1001 2^-10ohm
Ra Table 89 R_a1 30 Cell1 R_a 14 I2 366 366 1458 2^-10ohm
Ra Table 90 R_a2 0 Cell2 R_a flag H2 0x0000 0x0000 0xff55
Ra Table 90 R_a2 2 Cell2 R_a 0 I2 183 183 160 2^-10ohm
Ra Table 90 R_a2 4 Cell2 R_a 1 I2 181 181 166 2^-10ohm
Ra Table 90 R_a2 6 Cell2 R_a 2 I2 198 198 153 2^-10ohm
Ra Table 90 R_a2 8 Cell2 R_a 3 I2 244 244 151 2^-10ohm
Ra Table 90 R_a2 10 Cell2 R_a 4 I2 254 254 145 2^-10ohm
Ra Table 90 R_a2 12 Cell2 R_a 5 I2 261 261 152 2^-10ohm
Ra Table 90 R_a2 14 Cell2 R_a 6 I2 333 333 176 2^-10ohm
Ra Table 90 R_a2 16 Cell2 R_a 7 I2 338 338 204 2^-10ohm
Ra Table 90 R_a2 18 Cell2 R_a 8 I2 345 345 222 2^-10ohm
Ra Table 90 R_a2 20 Cell2 R_a 9 I2 350 350 254 2^-10ohm
Ra Table 90 R_a2 22 Cell2 R_a 10 I2 382 382 315 2^-10ohm
Ra Table 90 R_a2 24 Cell2 R_a 11 I2 429 429 437 2^-10ohm
Ra Table 90 R_a2 26 Cell2 R_a 12 I2 502 502 651 2^-10ohm
Ra Table 90 R_a2 28 Cell2 R_a 13 I2 545 545 1001 2^-10ohm
Ra Table 90 R_a2 30 Cell2 R_a 14 I2 366 366 1458 2^-10ohm
Ra Table 91 R_a3 0 Cell3 R_a flag H2 0x0000 0x0000 0xff55
Ra Table 91 R_a3 2 Cell3 R_a 0 I2 183 183 160 2^-10ohm
Ra Table 91 R_a3 4 Cell3 R_a 1 I2 181 181 166 2^-10ohm
Ra Table 91 R_a3 6 Cell3 R_a 2 I2 198 198 153 2^-10ohm
Ra Table 91 R_a3 8 Cell3 R_a 3 I2 244 244 151 2^-10ohm
Ra Table 91 R_a3 10 Cell3 R_a 4 I2 254 254 145 2^-10ohm
Ra Table 91 R_a3 12 Cell3 R_a 5 I2 261 261 152 2^-10ohm
Ra Table 91 R_a3 14 Cell3 R_a 6 I2 333 333 176 2^-10ohm
Ra Table 91 R_a3 16 Cell3 R_a 7 I2 338 338 204 2^-10ohm
Ra Table 91 R_a3 18 Cell3 R_a 8 I2 345 345 222 2^-10ohm
Ra Table 91 R_a3 20 Cell3 R_a 9 I2 350 350 254 2^-10ohm
Ra Table 91 R_a3 22 Cell3 R_a 10 I2 382 382 315 2^-10ohm
Ra Table 91 R_a3 24 Cell3 R_a 11 I2 429 429 437 2^-10ohm
Ra Table 91 R_a3 26 Cell3 R_a 12 I2 502 502 651 2^-10ohm
Ra Table 91 R_a3 28 Cell3 R_a 13 I2 545 545 1001 2^-10ohm
Ra Table 91 R_a3 30 Cell3 R_a 14 I2 366 366 1458 2^-10ohm
Ra Table 92 R_a0x 0 xCell0 R_a flag H2 0xffff 0xffff 0xffff
Ra Table 92 R_a0x 2 xCell0 R_a 0 I2 183 183 160 2^-10ohm
Ra Table 92 R_a0x 4 xCell0 R_a 1 I2 181 181 166 2^-10ohm
Ra Table 92 R_a0x 6 xCell0 R_a 2 I2 198 198 153 2^-10ohm
Ra Table 92 R_a0x 8 xCell0 R_a 3 I2 244 244 151 2^-10ohm
Ra Table 92 R_a0x 10 xCell0 R_a 4 I2 254 254 145 2^-10ohm
Ra Table 92 R_a0x 12 xCell0 R_a 5 I2 261 261 152 2^-10ohm
Ra Table 92 R_a0x 14 xCell0 R_a 6 I2 333 333 176 2^-10ohm
Ra Table 92 R_a0x 16 xCell0 R_a 7 I2 338 338 204 2^-10ohm
SLUU250A June 2006 Revised June 2006 Data Flash 137Submit Documentation Feedback
www.ti.com
DataFlash Values
Table C-138. DATAFLASH VALUES (continued)Class Subclass Subclass Offset Name Data Min Max Default UnitsID Type Value Value Value
Ra Table 92 R_a0x 18 xCell0 R_a 8 I2 345 345 222 2^-10ohm
Ra Table 92 R_a0x 20 xCell0 R_a 9 I2 350 350 254 2^-10ohm
Ra Table 92 R_a0x 22 xCell0 R_a 10 I2 382 382 315 2^-10ohm
Ra Table 92 R_a0x 24 xCell0 R_a 11 I2 429 429 437 2^-10ohm
Ra Table 92 R_a0x 26 xCell0 R_a 12 I2 502 502 651 2^-10ohm
Ra Table 92 R_a0x 28 xCell0 R_a 13 I2 545 545 1001 2^-10ohm
Ra Table 92 R_a0x 30 xCell0 R_a 14 I2 366 366 1458 2^-10ohm
Ra Table 93 R_a1x 0 xCell1 R_a flag H2 0xffff 0xffff 0xffff
Ra Table 93 R_a1x 2 xCell1 R_a 0 I2 183 183 160 2^-10ohm
Ra Table 93 R_a1x 4 xCell1 R_a 1 I2 181 181 166 2^-10ohm
Ra Table 93 R_a1x 6 xCell1 R_a 2 I2 198 198 153 2^-10ohm
Ra Table 93 R_a1x 8 xCell1 R_a 3 I2 244 244 151 2^-10ohm
Ra Table 93 R_a1x 10 xCell1 R_a 4 I2 254 254 145 2^-10ohm
Ra Table 93 R_a1x 12 xCell1 R_a 5 I2 261 261 152 2^-10ohm
Ra Table 93 R_a1x 14 xCell1 R_a 6 I2 333 333 176 2^-10ohm
Ra Table 93 R_a1x 16 xCell1 R_a 7 I2 338 338 204 2^-10ohm
Ra Table 93 R_a1x 18 xCell1 R_a 8 I2 345 345 222 2^-10ohm
Ra Table 93 R_a1x 20 xCell1 R_a 9 I2 350 350 254 2^-10ohm
Ra Table 93 R_a1x 22 xCell1 R_a 10 I2 382 382 315 2^-10ohm
Ra Table 93 R_a1x 24 xCell1 R_a 11 I2 429 429 437 2^-10ohm
Ra Table 93 R_a1x 26 xCell1 R_a 12 I2 502 502 651 2^-10ohm
Ra Table 93 R_a1x 28 xCell1 R_a 13 I2 545 545 1001 2^-10ohm
Ra Table 93 R_a1x 30 xCell1 R_a 14 I2 366 366 1458 2^-10ohm
Ra Table 94 R_a2x 0 xCell2 R_a flag H2 0xffff 0xffff 0xffff
Ra Table 94 R_a2x 2 xCell2 R_a 0 I2 183 183 160 2^-10ohm
Ra Table 94 R_a2x 4 xCell2 R_a 1 I2 181 181 166 2^-10ohm
Ra Table 94 R_a2x 6 xCell2 R_a 2 I2 198 198 153 2^-10ohm
Ra Table 94 R_a2x 8 xCell2 R_a 3 I2 244 244 151 2^-10ohm
Ra Table 94 R_a2x 10 xCell2 R_a 4 I2 254 254 145 2^-10ohm
Ra Table 94 R_a2x 12 xCell2 R_a 5 I2 261 261 152 2^-10ohm
Ra Table 94 R_a2x 14 xCell2 R_a 6 I2 333 333 176 2^-10ohm
Ra Table 94 R_a2x 16 xCell2 R_a 7 I2 338 338 204 2^-10ohm
Ra Table 94 R_a2x 18 xCell2 R_a 8 I2 345 345 222 2^-10ohm
Ra Table 94 R_a2x 20 xCell2 R_a 9 I2 350 350 254 2^-10ohm
Ra Table 94 R_a2x 22 xCell2 R_a 10 I2 382 382 315 2^-10ohm
Ra Table 94 R_a2x 24 xCell2 R_a 11 I2 429 429 437 2^-10ohm
Ra Table 94 R_a2x 26 xCell2 R_a 12 I2 502 502 651 2^-10ohm
Ra Table 94 R_a2x 28 xCell2 R_a 13 I2 545 545 1001 2^-10ohm
Ra Table 94 R_a2x 30 xCell2 R_a 14 I2 366 366 1458 2^-10ohm
Ra Table 95 R_a3x 0 xCell3 R_a flag H2 0xffff 0xffff 0xffff
Ra Table 95 R_a3x 2 xCell3 R_a 0 I2 183 183 160 2^-10ohm
Ra Table 95 R_a3x 4 xCell3 R_a 1 I2 181 181 166 2^-10ohm
Ra Table 95 R_a3x 6 xCell3 R_a 2 I2 198 198 153 2^-10ohm
Ra Table 95 R_a3x 8 xCell3 R_a 3 I2 244 244 151 2^-10ohm
Ra Table 95 R_a3x 10 xCell3 R_a 4 I2 254 254 145 2^-10ohm
Ra Table 95 R_a3x 12 xCell3 R_a 5 I2 261 261 152 2^-10ohm
Ra Table 95 R_a3x 14 xCell3 R_a 6 I2 333 333 176 2^-10ohm
Ra Table 95 R_a3x 16 xCell3 R_a 7 I2 338 338 204 2^-10ohm
Ra Table 95 R_a3x 18 xCell3 R_a 8 I2 345 345 222 2^-10ohm
138 Data Flash SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
DataFlash Values
Table C-138. DATAFLASH VALUES (continued)Class Subclass Subclass Offset Name Data Min Max Default UnitsID Type Value Value Value
Ra Table 95 R_a3x 20 xCell3 R_a 9 I2 350 350 254 2^-10ohm
Ra Table 95 R_a3x 22 xCell3 R_a 10 I2 382 382 315 2^-10ohm
Ra Table 95 R_a3x 24 xCell3 R_a 11 I2 429 429 437 2^-10ohm
Ra Table 95 R_a3x 26 xCell3 R_a 12 I2 502 502 651 2^-10ohm
Ra Table 95 R_a3x 28 xCell3 R_a 13 I2 545 545 1001 2^-10ohm
Ra Table 95 R_a3x 30 xCell3 R_a 14 I2 366 366 1458 2^-10ohm
PF Status 96 Device Status 0 PF Flags 1 H2 0x0000 0x4dff 0x0000Data
PF Status 96 Device Status 28 PF Flags 2 H2 0x0000 0x0dff 0x0000Data
Calibration 104 Data 0 CC Gain F4 0.1 4 0.9419
Calibration 104 Data 4 CC Delta F4 29826 119304 280932.66 25
Calibration 104 Data 8 Ref Voltage I2 0 32767 24500 50uV
Calibration 104 Data 12 AFE Pack Gain I2 0 32767 22050 µV/cnt
Calibration 104 Data 14 CC Offset I2 -32768 32767 -1667
Calibration 104 Data 16 Board Offset I2 -32768 32767 0
Calibration 104 Data 18 Int Temp Offset I1 -128 127 0
Calibration 104 Data 19 Ext1 Temp Offset I1 -128 127 0
Calibration 104 Data 20 Ext2 Temp Offset I1 -128 127 0
Calibration 105 Config 0 CC Current I2 0 32767 3000 mA
Calibration 105 Config 2 Voltage Signal I2 0 32767 16800 mV
Calibration 105 Config 4 Temp Signal I2 0 32767 2980 0.1 °C
Calibration 105 Config 6 CC Offset Time U2 0 65535 250 s
Calibration 105 Config 8 ADC Offset Time U2 0 65535 32 s
Calibration 105 Config 10 CC Gain Time U2 0 65535 250 s
Calibration 105 Config 12 Voltage Time U2 0 65535 1984 ms
Calibration 105 Config 14 Temperature Time U2 0 65535 32 s
Calibration 105 Config 17 Cal Mode Timeout U2 0 65535 38400 1/128 s
Calibration 106 Temp Model 0 Ext Coef 1 I2 -32768 32767 -28285 s
Calibration 106 Temp Model 2 Ext Coef 2 I2 -32768 32767 20848 s
Calibration 106 Temp Model 4 Ext Coef 3 I2 -32768 32767 -7537 s
Calibration 106 Temp Model 6 Ext Coef 4 I2 -32768 32767 4012 s
Calibration 106 Temp Model 8 Ext Min AD I2 -32768 32767 0 s
Calibration 106 Temp Model 10 Ext Max Temp I2 -32768 32767 4012 s
Calibration 106 Temp Model 12 Int Coef 1 I2 -32768 32767 0 s
Calibration 106 Temp Model 14 Int Coef 2 I2 -32768 32767 0 s
Calibration 106 Temp Model 16 Int Coef 3 I2 -32768 32767 -11136 s
Calibration 106 Temp Model 18 Int Coef 4 I2 -32768 32767 5754 s
Calibration 106 Temp Model 20 Int Min AD I2 -32768 32767 0 s
Calibration 106 Temp Model 22 Int Max Temp I2 -32768 32767 5754 s
Calibration 107 Current 0 Filter U1 0 255 239
Calibration 107 Current 1 Deadband U1 0 255 3 mA
Calibration 107 Current 2 CC Deadband U1 0 255 34 294 nV
SLUU250A June 2006 Revised June 2006 Data Flash 139Submit Documentation Feedback
www.ti.com
DataFlash Values
Data Flash140 SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
Appendix DSLUU250A June 2006 Revised June 2006
Glossaryreferences to non-existent LED, POV, and PUVfeatures.
ADC Analog to Digital ConverterAFE Analog Front Endbit a single bit in a SBS command or Dataflash value which can be changed byuserCC Coulomb CounterCHG FET charge FET, connected to CHG pin of bq29330; used by bq29330 to enable ordisable chargingCOV Cell Over VoltageCPU Central Processing UnitCUV Cell Under VoltageDF DataflashDSG flag set by bq20z70 to indicate charge (DSG= 0) or discharge (DSG=1)DSG FET discharge FET, connected to DSG pin of bq29330; used by bq29330 to enableor disable dischargingFAS Full Access SecurityFC Fully ChargedFCHG Fast ChargeFCTMO Fast Charge TimeoutFD Fully Dischargedflag a single bit in a SBS command or Dataflash value which is set by bq20z70 orbq29330 and indicates a status changeIC Integrated CircuitLi-Ion Lithium-IonNR Non RemovableOC Over CurrentOCA Over Charge AlarmOCV Open Circuit VoltageOTC Over Temperature ChargingOTD Over Temperature DischargingPCHG Pre-ChargePEC Packet Error CheckingPF Permanent Fail
SLUU250A June 2006 Revised June 2006 Glossary 141Submit Documentation Feedback
www.ti.com
Appendix D
PRES System Present FlagQmax Maximum Chemical CapacityRCA Remaining Capacity AlarmRSOC RelativeStateOfCharge
SBS Smart Battery SystemSCC Short Circuit ChargeSCD Short Circuit DischargeSMBus System Management BusSOC Safety Over CurrentSOT Safety Over TemperatureSS Sealed mode flagTCA Terminate Charge AlarmTDA Terminate Discharge AlarmZVCHG FET pre- charge FET, connected to ZVCHG pin of bq29330; depending onconfiguration it is used for pre charging and/or zero volt chargingXDSG Discharge Fault flag
142 Glossary SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
www.ti.com
Revision History
Revision History
Changes from Original (June 2006) to A Revision ......................................................................................................... Page
Deleted references to non-existent LED, POV, and PUV features. ................................................................ 6Changed Suspend Temp Low offset .................................................................................................. 34Changed Suspend Temp High offset ................................................................................................. 34Deleted reference to non-existent [PUV] flag ........................................................................................ 35Deleted reference to non-existent TCA Set% and FC Set% dataflash values. .................................................. 36Deleted reference to non-existent Maintenance Current dataflash values. ...................................................... 36Deleted references to TCA Set% and FC Set% ..................................................................................... 37Changed CF Max Error Limit offset value from (19) to (20) ........................................................................ 53Changed the OC Discharge recovery threshold value .............................................................................. 82Changed FET Fail Time offset ......................................................................................................... 92Deleted reference to non-existent Temp Hys dataflash value ..................................................................... 94Changed Suspend Temp Low offset from 8 to 6 .................................................................................... 96Changed Suspend Temp High offset from 10 to 8 .................................................................................. 97Changed reference from non-existent AFE_P flag to RSVD flag. ............................................................... 127Deleted non-existent AFE Corr (Offset 10) dataflash value description. ........................................................ 128Changed Int Temp Offset from 17 to 18. ............................................................................................ 129Changed Ext1 Temp Offset from 18 to 19. ......................................................................................... 129Changed Ext2 Temp Offset from 19 to 20. ......................................................................................... 130Deleted references to non-existent LED, POV, and PUV features. ............................................................. 141Deleted references to non-existent LED, POV, and PUV features. ............................................................. 142Deleted references to non-existent LED, POV, and PUV features. ............................................................. 143
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
SLUU250A June 2006 Revised June 2006 Glossary 143Submit Documentation Feedback
Index
SLUU250A June 2006 Revised June 2006
Index
1st Level Protection 9Cal Mode Timeout 1322nd Level Permanent Failure Actions 19 CAPACITY_MODE 512nd Level Protection 18 CAPM 512nd Level Protection IC Input 20 CB 70CC 53A
CC0 106AbsoluteStateOfCharge 57
CC1 106ADC Offset Time 131
CC Current 130AFE_C 69 , 127
CC Deadband 134AFE Communication Fault 21
CC Delta 128AFEData 67
CC Gain 127AFE Fail Limit 93
CC Gain Time 131AFE OC Dsg 82
CC Offset 128AFE OC Dsg Recovery 83
CC Offset Time 130AFE OC Dsg Time 83
CC Threshold 101AFE Pack Gain 128
Cell0 R_a 0 119AFE SC Chg Cfg 83
Cell0 R_a 1 119AFE SC Dsg Cfg 84
Cell0 R_a 2 119AFE SC Recovery 84
Cell0 R_a 3 119AFE Watchdog 18
Cell0 R_a 4 119ALARM_MODE 53
Cell0 R_a 5 119AM 53
Cell0 R_a 6 119AOCD 69 , 111
Cell0 R_a 7 119AtRate 53
Cell0 R_a 8 119AtRateOK 55
Cell0 R_a 9 119AtRateTimeToEmpty 54
Cell0 R_a 10 119AtRateTimeToFull 54
Cell0 R_a 11 119AuthenKey0 73
Cell0 R_a 12 119AuthenKey1 73
Cell0 R_a 13 119AuthenKey2 72
Cell0 R_a 14 119AuthenKey3 72
Cell0 R_a flag 118Authenticate 65
Cell1 R_a 0 120AverageCurrent 56
Cell1 R_a 1 120AverageTimeToEmpty 58
Cell1 R_a 2 120AverageTimeToFull 59
Cell1 R_a 3 120AverageVoltage 71
Cell1 R_a 4 120Cell1 R_a 5 120B
Cell1 R_a 6 120BatteryMode 51
Cell1 R_a 7 120Battery Pack Removed 39
Cell1 R_a 8 120Battery Rest Time 89
Cell1 R_a 9 120BatteryStatus 60
Cell1 R_a 10 120BCAST 109
Cell1 R_a 11 120Board Offset 129
Cell1 R_a 12 120BootRom 49
Cell1 R_a 13 120Cell1 R_a 14 120C
Cell1 R_a flag 119Calibration Mode 48
144 Revision History SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
Revision History
Cell2 R_a 0 121 Charging Faults 36Cell2 R_a 1 121 ChargingStatus 70Cell2 R_a 2 121 ChargingVoltage 59 , 96Cell2 R_a 3 121 Chemistry ID 47Cell2 R_a 4 121 CHG 68Cell2 R_a 5 121 Chg Current Threshold 116Cell2 R_a 6 121 CHGFET 108Cell2 R_a 7 121 CHG FET Fault 20Cell2 R_a 8 121 CHGIN 108Cell2 R_a 9 121 Chg Inhibit Temp High 93Cell2 R_a 10 121 Chg Inhibit Temp Low 93Cell2 R_a 11 121 CHGM 51Cell2 R_a 12 121 Chg Mode 23Cell2 R_a 13 121 CHGSUSP 70 , 108Cell2 R_a 14 121 CHGTERM 107Cell2 R_a flag 120 CIM 69 , 127Cell3 R_a 0 122 Clearing Permanent Failure 22Cell3 R_a 1 122 CONDITION_FLAG 53Cell3 R_a 2 122 COV 69Cell3 R_a 3 122 COV Recovery 80Cell3 R_a 4 122 COV Threshold 79Cell3 R_a 5 122 CPE 109Cell3 R_a 6 122 CSV 70Cell3 R_a 7 122 CSYNC 107Cell3 R_a 8 122 Current 55Cell3 R_a 9 122 Current Recovery Time 82Cell3 R_a 10 122 CUV 69Cell3 R_a 11 122 CUV Recovery 80Cell3 R_a 12 122 CUV Threshold 80Cell3 R_a 13 122 CycleCount 61 , 101Cell3 R_a 14 122
DCell3 R_a flag 121
DataFlashSubClassID 74Cell Balancing 29
DataFlashSubClassPage1 74Cell Imbalance Current 88
DataFlashSubClassPage2 74Cell Imbalance Fail Voltage 88
DataFlashSubClassPage3 74Cell Imbalance Fault 19
DataFlashSubClassPage4 74Cell Imbalance Time 88
DataFlashSubClassPage5 74Cell Overvoltage 9
DataFlashSubClassPage6 74Cell Undervoltage 9
DataFlashSubClassPage7 74CellVoltage1 65
DataFlashSubClassPage8 74CellVoltage2 65
Deadband 133CellVoltage3 65
Delta Voltage 118CellVoltage4 65
DesignCapacity 61 , 101CF 53
Design CapaEnergy 102CFETF 69 , 127
DesignVoltage 62 , 100CF Max Error Limit 101
DeviceChemistry 64 , 103CHARGE_CONTROLLER 53
DeviceName 64 , 102Charge Alarm 37
Device Type 45Charge Control 27
DF Checksum 46Charge Control SMBus Broadcasts 29
DFETF 69 , 127Charge Inhibit 30
DFF 69 , 127Charge Overcurrent 12
DF Failure 21CHARGER_MODE 51
Discharge Alarm 37Charger Present 112
Discharge Overcurrent 12Charge Suspend 32
DSG 68 , 70ChargingCurrent 59
SLUU250A June 2006 Revised June 2006 Index 145Submit Documentation Feedback
Revision History
Dsg Current Threshold 116 Int Max Temp 133DSG FET Fault 20 Int Min AD 133Dsg Mode 23 Int Temp Offset 129IT Enable 48EEC0 60 LEC1 60 LDMD 70EC2 60 Load Mode 22 , 114EC3 60 Load Select 22 , 113Ext1 Temp Offset 129
MExt2 Temp Offset 129
ManufactureDate 62Ext Coef 1 132
ManufacturerAccess 45Ext Coef 2 132
ManufacturerData 64Ext Coef 3 132
ManufacturerInfo 73Ext Coef 4 132
ManufacturerName 63Extended SBS Commands 50 , 67
Manufacturer Status 46Ext Max Temp 132
Manuf Date 100Ext Min AD 132
Manuf. Info 105FManuf Name 102FAS 70 MaxError 56Fast Charge Current 95 MCHG 70Fast Charge Mode 35 Min Cell Deviation 98FC 60
NFC Clear % 98
NCSMB 107FCHG 70
Nonremovable Battery Mode Recovery 13 , 16FD 60
Non-Removable Cfg 111FD Cleat % 104
nPrecharge Mode 34FD Set % 103
NR 108FET0 46
NRCHG 107FET1 46FETControl 67
OFET Fail Time 92
OC 36 , 70 , 111Filter 133
OC (1st Tier) Chg 81Firmware Version 45
OC (1st Tier) Dsg 82Flash Update OK Voltage 112
OCA 60Full Access Device 49
OCC 69 , 111FullAccessKey 72
OC Chg Recovery 81FullChargeCapacity 58
OCD 69 , 111OC Dsg Recovery 82G
OD 68Gas Gauging 22
Operation Cfg A 105HOperation Cfg B 106Hardware Version 45 OperationStatus 70HPE 109 OTA 60OTC 69I
OT Chg Recovery 86ICC 53
OTD 69Impedance Track 22
OT Dsg Recovery 86INIT 60
OTFET 108Init Battery Mode 99
Overcharge 36Int Coef 1 133
Over Charge Capacity 98Int Coef 2 133
Over Temp Chg 85Int Coef 3 133
Over Temp Dsg 86Int Coef 4 133
Overtemperature Protection 17INTERNAL_CHARGE_CONTROLLER 53
146 Index SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
Revision History
RunTimeToEmpty 58PPackVoltage 71
SPB 53
SAFE activation 48PBS 53
SAFE Cleat 48PCHG 70
Safety Overcurrent Protection 20Permanent Fail Cfg 109
Safety Overtemperature Protection 20Permanent Fail Clear 49
Safety Overvoltage Protection 19PF 69
SafetyStatus 68PF0 46
SCC 69 , 111PF1 46
SCD 69 , 111PF Flags 1 126
Seal Device 48PF Flags 2 127
SenseResistor 73PFIN 69 , 127
SerialNumber 63PFIN Detect Time 89
Ser. Num. 100PFKey 72
Short-Circuit Protection 16PFStatus 69
Shutdown 47Pre-chg Current 94
Shutdown Mode 41Pre-chg Temp 94
Shutdown Voltage 112Pre-chg Voltage 95
Sleep 47 , 106PRES 70
Sleep Mode 39PRIMARY_BATTERY 53
SOCC 69 , 127PRIMARY_BATTERY_SUPPORT 53
SOC Chg 89Primary Charge Termination 36
SOC Chg Time 90Pulsed Load Compensation 23
SOCD 69 , 127SOC Dsg 90Q
SOC Dsg Time 90QEN 70
SOTC 69 , 127Qmax 26
SOT Chg 91Qmax Cell 0 117
SOT Chg Time 91Qmax Cell 1 117
SOTD 69 , 127Qmax Cell 2 117
SOT Dsg 91Qmax Cell 3 117
SOT Dsg Time 92Qmax initial values 26
SOV 69 , 127Qmax Pack 117
SOV Threshold 87Qmax Update Condition 26
SOV Time 87Quit Current 116
SpecificationInfo 62Spec Info 100R
SS 70RCA 60
Standard Recovery 13 , 16Recovery Voltage 95
STATE0 47Ref Voltage 128
STATE1 47RelativeStateOfCharge 57
STATE2 47Relaxation Mode 23
STATE3 47RemainingCapacity 57
StateOfHealth 68RemainingCapacityAlarm 50
Suspend High Temp 96Rem Cap Alarm 99
Suspend Low Temp 96Rem Energy Alarm 99
System Present 39Rem Time Alarm 99RESCAP 107
TReserve Battery Capacity 23
Taper Current 97Reserve Cap-mAh 115
TCA 60Reserve Cap-mWh 115
TCA Clear % 97Reset 48
TDA 60ResetData 70
TDA Cleat % 103RSOCL 109
TDA Set % 103RTA 60
SLUU250A June 2006 Revised June 2006 Index 147Submit Documentation Feedback
Revision History
TDA Set Volt Threshold 104 xCell1 R_a 9 124TDA Set Volt Time 104 xCell1 R_a 10 124TEMP0 106 xCell1 R_a 11 124TEMP1 106 xCell1 R_a 12 124Temperature 55 xCell1 R_a 13 124Temperature Time 132 xCell1 R_a 14 124Temp Signal 130 xCell1 R_a flag 123Termination Voltage 23 , 97 xCell2 R_a 0 125Term Voltage 114 xCell2 R_a 1 125xCell2 R_a 2 125U
xCell2 R_a 3 125Unseal Device 49
xCell2 R_a 4 125UnSealKey 71
xCell2 R_a 5 125Update Status 117
xCell2 R_a 6 125User Rate-10mW 115
xCell2 R_a 7 125User Rate-mA 114
xCell2 R_a 8 125xCell2 R_a 9 125V
xCell2 R_a 10 125VOK 70
xCell2 R_a 11 125Voltage 55
xCell2 R_a 12 125Voltage Signal 130
xCell2 R_a 13 125Voltage Time 131
xCell2 R_a 14 125xCell2 R_a flag 124W
xCell3 R_a 0 126WAKE 70
xCell3 R_a 1 126Wake Current Reg 112
xCell3 R_a 2 126Wake Function 40
xCell3 R_a 3 126WDF 69
xCell3 R_a 4 126WDResetData 71
xCell3 R_a 5 126xCell3 R_a 6 126X
xCell3 R_a 7 126XAFE_C 110
xCell3 R_a 8 126xCell0 R_a 0 123
xCell3 R_a 9 126xCell0 R_a 1 123
xCell3 R_a 10 126xCell0 R_a 2 123
xCell3 R_a 11 126xCell0 R_a 3 123
xCell3 R_a 12 126xCell0 R_a 4 123
xCell3 R_a 13 126xCell0 R_a 5 123
xCell3 R_a 14 126xCell0 R_a 6 123
xCell3 R_a flag 125xCell0 R_a 7 123
XCFETF 110xCell0 R_a 8 123
XCIM 110xCell0 R_a 9 123
XDFETF 110xCell0 R_a 10 123
XDFF 110xCell0 R_a 11 123
XDSG 70xCell0 R_a 12 123
XPFIN 111xCell0 R_a 13 123
XPFVSHUT 110 , 127xCell0 R_a 14 123
XSOCC 110xCell0 R_a flag 122
XSOCD 110xCell1 R_a 0 124
XSOTC 111xCell1 R_a 1 124
XSOTD 110xCell1 R_a 2 124
XSOV 111xCell1 R_a 3 124xCell1 R_a 4 124
ZxCell1 R_a 5 124
ZVCHG 68xCell1 R_a 6 124
ZVCHG0 106xCell1 R_a 7 124
ZVCHG1 106xCell1 R_a 8 124
148 Index SLUU250A June 2006 Revised June 2006Submit Documentation Feedback
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications,
enhancements, improvements, and other changes to its products and services at any time and to discontinue
any product or service without notice. Customers should obtain the latest relevant information before placing
orders and should verify that such information is current and complete. All products are sold subject to TI’ s terms
and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in
accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI
deems necessary to support this warranty. Except where mandated by government requirements, testing of all
parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for
their products and applications using TI components. To minimize the risks associated with customer products
and applications, customers should provide adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right,
copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process
in which TI products or services are used. Information published by TI regarding third-party products or services
does not constitute a license from TI to use such products or services or a warranty or endorsement thereof.
Use of such information may require a license from a third party under the patents or other intellectual property
of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of information in TI data books or data sheets is permissible only if reproduction is without
alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction
of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for
such altered documentation.
Resale of T I products or services with statements different from or beyond the parameters stated by TI for that
product or service voids all express and any implied warranties for the associated TI product or service and
is an unfair and deceptive business practice. TI is not responsible or liable for any such statements.
Following are URLs where you can obtain information on other Texas Instruments products and application
solutions:
Products Applications
Amplifiers amplifier.ti.com Audio www.ti.com/audio
Data Converters dataconverter.ti.com Automotive www.ti.com/automotive
DSP dsp.ti.com Broadband www.ti.com/broadband
Interface interface.ti.com Digital Control www.ti.com/digitalcontrol
Logic logic.ti.com Military www.ti.com/military
Power Mgmt power.ti.com Optical Networking www.ti.com/opticalnetwork
Microcontrollers microcontroller.ti.com Security www.ti.com/security
Low Power Wireless www.ti.com/lpw Telephony www.ti.com/telephony
Video & Imaging www.ti.com/video
Wireless www.ti.com/wireless
Mailing Address: Texas Instruments
Post Office Box 655303 Dallas, Texas 75265
Copyright 2006, Texas Instruments Incorporated