SLUUCD5 January   2023 BQ27427

 

  1.   Read This First
    1. 1.1 Notational conventions used in this document:
    2. 1.2 Trademarks
    3. 1.3 Glossary
  2. 1General Description
  3. 2Functional Description
    1. 2.1 Fuel Gauging
    2. 2.2 Temperature Measurement
    3. 2.3 Current Measurement
    4. 2.4 Operating Modes
      1. 2.4.1 SHUTDOWN Mode
      2. 2.4.2 POR and INITIALIZATION Modes
      3. 2.4.3 CONFIG UPDATE Mode
      4. 2.4.4 NORMAL Mode
      5. 2.4.5 SLEEP Mode
    5. 2.5 Pin Descriptions
      1. 2.5.1 GPOUT Pin
      2. 2.5.2 Battery Detection (BIN)
  4. 3Communications
    1. 3.1 I2C Interface
    2. 3.2 I2C Time Out
    3. 3.3 I2C Command Waiting Time
    4. 3.4 I2C Clock Stretching
  5. 4Application Examples
    1. 4.1 Data Memory Parameter Update Example
    2. 4.2 Chemistry Profile Change Example
  6. 5Standard Commands
    1. 5.1  Control(): 0x00 and 0x01
      1. 5.1.1  CONTROL_STATUS: 0x0000
      2. 5.1.2  DEVICE_TYPE: 0x0001
      3. 5.1.3  FW_VERSION: 0x0002
      4. 5.1.4  DM_CODE: 0x0004
      5. 5.1.5  PREV_MACWRITE: 0x0007
      6. 5.1.6  CHEM_ID: 0x0008
      7. 5.1.7  BAT_INSERT: 0x000C
      8. 5.1.8  BAT_REMOVE: 0x000D
      9. 5.1.9  SET_CFGUPDATE: 0x0013
      10. 5.1.10 SMOOTH_SYNC: 0x0019
      11. 5.1.11 SHUTDOWN_ENABLE: 0x001B
      12. 5.1.12 SHUTDOWN: 0x001C
      13. 5.1.13 SEALED: 0x0020
      14. 5.1.14 PULSE_SOC_INT: 0x0023
      15. 5.1.15 CHEM_A:/B/C 0x0030/0x0031/0x0032
      16. 5.1.16 RESET: 0x0041
      17. 5.1.17 SOFT_RESET: 0x0042
    2. 5.2  Temperature(): 0x02 and 0x03
    3. 5.3  Voltage(): 0x04 and 0x05
    4. 5.4  Flags(): 0x06 and 0x07
    5. 5.5  NominalAvailableCapacity(): 0x08 and 0x09
    6. 5.6  FullAvailableCapacity(): 0x0A and 0x0B
    7. 5.7  RemainingCapacity(): 0x0C and 0x0D
    8. 5.8  FullChargeCapacity(): 0x0E and 0x0F
    9. 5.9  AverageCurrent(): 0x10 and 0x11
    10. 5.10 AveragePower(): 0x18 and 0x19
    11. 5.11 StateOfCharge(): 0x1C and 0x1D
    12. 5.12 InternalTemperature(): 0x1E and 0x1F
    13. 5.13 RemainingCapacityUnfiltered(): 0x28 and 0x29
    14. 5.14 RemainingCapacityFiltered(): 0x2A and 0x2B
    15. 5.15 FullChargeCapacityUnfiltered(): 0x2C and 0x2D
    16. 5.16 FullChargeCapacityFiltered(): 0x2E and 0x2F
    17. 5.17 StateOfChargeUnfiltered(): 0x30 and 0x31
  7. 6Extended Data Commands
    1. 6.1 DataClass(): 0x3E
    2. 6.2 DataBlock(): 0x3F
    3. 6.3 BlockData(): 0x40 Through 0x5F
    4. 6.4 BlockDataChecksum(): 0x60
    5. 6.5 BlockDataControl(): 0x61
    6. 6.6 Reserved—0x62 Through 0x7F
  8. 7Data Memory
    1. 7.1 Data Memory Interface
      1. 7.1.1 Accessing the Data Memory
      2. 7.1.2 Access Modes
      3. 7.1.3 SEALING and UNSEALING Data Memory Access
    2. 7.2 Data Types Summary
    3. 7.3 Data Flash Summary
    4. 7.4 Data Memory Parameter Descriptions
      1. 7.4.1 Configuration Class
        1. 7.4.1.1 Safety Subclass
          1. 7.4.1.1.1 Over-Temperature Threshold, Under-Temperature Threshold, Temperature Hysteresis
        2. 7.4.1.2 Charge Termination Subclass
          1. 7.4.1.2.1 Terminate Charge Alarm Set %, Terminate Charge Alarm Clear %
          2. 7.4.1.2.2 Full Charge Set %, Full Charge Clear %
          3. 7.4.1.2.3 DOD at EOC Delta Temperature
        3. 7.4.1.3 Discharge Subclass
          1. 7.4.1.3.1 State-of-Charge 1 Set Threshold, State-of-Charge 1 Clear Threshold
          2. 7.4.1.3.2 State-of-Charge Final Set Threshold, State-of-Charge Final Clear Threshold
        4. 7.4.1.4 Registers
          1. 7.4.1.4.1 Operation Configuration (OpConfig) Register
          2. 7.4.1.4.2 Operation Configuration B (OpConfigB) Register
          3. 7.4.1.4.3 Operation Configuration C (OpConfigC) Register
          4. 7.4.1.4.4 Operation Configuration D (OpConfigD) Register
      2. 7.4.2 Gas (Fuel) Gauging Class
        1. 7.4.2.1 IT Cfg Subclass
          1. 7.4.2.1.1  OCV Wait Time
          2. 7.4.2.1.2  Ra Filter
          3. 7.4.2.1.3  Resistance Update Voltage Drop
          4. 7.4.2.1.4  Samples to Wake
          5. 7.4.2.1.5  Qmax Max Time
          6. 7.4.2.1.6  Fast Qmax Start DOD%, Fast Qmax Start Voltage Delta, Fast Qmax Current Threshold
          7. 7.4.2.1.7  Fast Qmax End DOD%, Fast Qmax Minimum Data Points
          8. 7.4.2.1.8  Maximum Qmax Change
          9. 7.4.2.1.9  Qmax Maximum Delta %
          10. 7.4.2.1.10 Maximum % Default Qmax
          11. 7.4.2.1.11 Qmax Filter
          12. 7.4.2.1.12 Simulation ResRelax Time (ResRelax Time)
          13. 7.4.2.1.13 User-Defined Rate-Current
          14. 7.4.2.1.14 User-Defined Rate-Power
          15. 7.4.2.1.15 Maximum Simulation Rate, Minimum Simulation Rate
          16. 7.4.2.1.16 Ra Max Delta
          17. 7.4.2.1.17 Minimum Delta Voltage, Maximum Delta Voltage
          18. 7.4.2.1.18 DeltaV Maximum Delta Voltage
          19. 7.4.2.1.19 Terminate Voltage Valid Time
          20. 7.4.2.1.20 Trace Resistance
          21. 7.4.2.1.21 Downstream Resistance
          22. 7.4.2.1.22 Predict Ambient Time
          23. 7.4.2.1.23 Design Energy Scale
          24. 7.4.2.1.24 Fast Scale Load Select
          25. 7.4.2.1.25 Chg DOD Correction Start SOC
          26. 7.4.2.1.26 Chg DOD Correction Taper Ratio
        2. 7.4.2.2 Current Thresholds Subclass
          1. 7.4.2.2.1 Discharge and Charge Detection Threshold, Quit Current and Relax Time, Discharge and Charge Relax Time
          2. 7.4.2.2.2 Max IR Correct
        3. 7.4.2.3 State Subclass
          1. 7.4.2.3.1  Qmax Cell 0
          2. 7.4.2.3.2  Update Status
          3. 7.4.2.3.3  Reserve Capacity (mAh)
          4. 7.4.2.3.4  Load Select, Load Mode
          5. 7.4.2.3.5  Design Capacity, Design Energy, Default Design Capacity
          6. 7.4.2.3.6  Terminate Voltage
          7. 7.4.2.3.7  Thermal Rise Factor (T Rise)
          8. 7.4.2.3.8  Thermal Time Constant (T Time Constant)
          9. 7.4.2.3.9  SOC Interrupt Delta
          10. 7.4.2.3.10 Taper Rate, Taper Voltage
          11. 7.4.2.3.11 Sleep Current
          12. 7.4.2.3.12 Voltage at Charge Termination
          13. 7.4.2.3.13 Average Current Last Run
          14. 7.4.2.3.14 Average Power Last Run
          15. 7.4.2.3.15 Delta Voltage
      3. 7.4.3 Ra Table Class
        1. 7.4.3.1 R_a RAM Subclass
      4. 7.4.4 Chemistry Class
        1. 7.4.4.1 Chem Data Subclass
          1. 7.4.4.1.1 Q Invalid Max V and Q Invalid Min V
          2. 7.4.4.1.2 V at Chg Term
          3. 7.4.4.1.3 Taper Voltage
      5. 7.4.5 Calibration Class
        1. 7.4.5.1 Data Subclass
          1. 7.4.5.1.1 Board Offset
          2. 7.4.5.1.2 Internal Temperature Offset and External Temperature Offset
          3. 7.4.5.1.3 Pack Voltage Offset
          4. 7.4.5.1.4 Ext a Coef and Ext b Coef
        2. 7.4.5.2 CC Cal Subclass
          1. 7.4.5.2.1 CC Cal Temp
        3. 7.4.5.3 Current Subclass
          1. 7.4.5.3.1 Deadband
      6. 7.4.6 Security Class
        1. 7.4.6.1 Codes Subclass
          1. 7.4.6.1.1 Sealed to Unsealed
  9. 8Updating BQ27427 Configuration Parameters
    1. 8.1 Gauge Mode FlashStream (gm.fs) Files
    2. 8.2 Write Command
    3. 8.3 Read and Compare Command
    4. 8.4 Wait Command
    5. 8.5 CONFIG UPDATE Mode
  10. 9Revision History

Data Flash Summary

Table 7-2 Data Flash Summary
ClassSubclassSubclass IDOffsetTypeNameMinMaxDefaultUnits
Configuration Safety 2 0 I2 Over Temp –1200 1200 550 0.1°C
Configuration Safety 2 2 I2 Under Temp –1200 1200 0 0.1°C
Configuration Safety 2 4 U1 Temp Hys 0 255 50 0.1°C
Configuration Charge Termination 36 3 I1 TCA Set % –1 100 99 %
Configuration Charge Termination 36 4 I1 TCA Clear % –1 100 95 %
Configuration Charge Termination 36 5 I1 FC Set % –1 100 –1 %
Configuration Charge Termination 36 6 I1 FC Clear % 0 100 98 %
Configuration Charge Termination 36 7 I2 DODatEOC Delta T 0 1000 50 0.1°C
Configuration Discharge 49 0 U1 SOC1 Set Threshold 0 100 10 %
Configuration Discharge 49 1 U1 SOC1 Clear Threshold 0 100 15 %
Configuration Discharge 49 2 U1 SOCF Set Threshold 0 100 2 %
Configuration Discharge 49 3 U1 SOCF Clear Threshold 0 100 5 %
Configuration Registers 64 0 H2 OpConfig 0 ffff 6478 Flag
Configuration Registers 64 2 H1 OpConfigB 0 ff 0f Flag
Configuration Registers 64 3 H1 OpConfigC 0 ff 9f Flag
Configuration Registers 64 4 H1 OpConfigD 0 ff 23 Flag
Gas Gauging IT Cfg 80 7 U2 OCV Wait Time 0 65535 60 s
Gas Gauging IT Cfg 80 18 U2 Ra Filter 0 1000 800 Num
Gas Gauging IT Cfg 80 20 I2 Res V Drop 0 32767 32767 mV
Gas Gauging IT Cfg 80 22 U2 Samples to Wake 0 65535 240 s
Gas Gauging IT Cfg 80 24 U2 Qmax Max Time 0 65535 18000 s
Gas Gauging IT Cfg 80 31 U1 DOD Valid Time 0 255 25 s
Gas Gauging IT Cfg 80 33 U1 Fast Qmax Start DOD % 0 100 92 %
Gas Gauging IT Cfg 80 34 U1 Fast Qmax End DOD % 0 100 96 %
Gas Gauging IT Cfg 80 35 I2 Fast Qmax Start Volt Delta 0 4200 125 mV
Gas Gauging IT Cfg 80 37 U2 Fast Qmax Current Threshold 0 1000 4 Hr rate
Gas Gauging IT Cfg 80 39 U1 Fast Qmax Min Points 0 255 3 Num
Gas Gauging IT Cfg 80 43 U1 Max Qmax Change 0 255 20 %
Gas Gauging IT Cfg 80 44 U1 Qmax Max Delta % 0 255 10 %DCap
Gas Gauging IT Cfg 80 45 U1 Max % Default Qmax 0 255 120 %DCap
Gas Gauging IT Cfg 80 46 U1 Qmax Filter 0 255 96 Num
Gas Gauging IT Cfg 80 48 U2 ResRelax Time 0 65535 500 s
Gas Gauging IT Cfg 80 50 I2 User Rate-mA –32768 0 0 mA
Gas Gauging IT Cfg 80 52 I2 User Rate-mW –32768 0 0 mW
Gas Gauging IT Cfg 80 57 U1 Max Sim Rate 0 255 1 Hr rate
Gas Gauging IT Cfg 80 58 U1 Min Sim Rate 0 255 20 Hr rate
Gas Gauging IT Cfg 80 59 U2 Ra Max Delta 0 32767 8 4 mΩ
Gas Gauging IT Cfg 80 68 I2 Min Delta Voltage 0 32767 0 mV
Gas Gauging IT Cfg 80 70 I2 Max Delta Voltage 0 32767 200 mV
Gas Gauging IT Cfg 80 72 I2 DeltaV Max dV 0 32767 100 mV
Gas Gauging IT Cfg 80 74 U1 TermV Valid t 0 255 2 s
Gas Gauging IT Cfg 80 75 I2 Trace Resistance 0 32767 0
Gas Gauging IT Cfg 80 77 I2 Downstream Resistance 0 32767 0
Gas Gauging IT Cfg 80 79 U2 Predict Ambient Time 0 65535 2000 s
Gas Gauging IT Cfg 80 81 U1 Design Energy Scale 1 10 1 Num
Gas Gauging IT Cfg 80 82 U1 Fast Scale Load Select 0 6 3 Num
Gas Gauging IT Cfg 80 83 U1 Chg DOD Correction Start SOC 0 101 90 Num
Gas Gauging IT Cfg 80 84 U1 Chg DOD Correction Taper Ratio 0 20 20 Num
Gas Gauging Current Thresholds 81 0 I2 Dsg Current Threshold 0 2000 167 .1 Hr rate
Gas Gauging Current Thresholds 81 2 I2 Chg Current Threshold 0 2000 100 .1 Hr rate
Gas Gauging Current Thresholds 81 4 I2 Quit Current 0 2000 250 .1 Hr rate
Gas Gauging Current Thresholds 81 6 U2 Dsg Relax Time 0 65535 60 s
Gas Gauging Current Thresholds 81 8 U1 Chg Relax Time 0 255 60 s
Gas Gauging Current Thresholds 81 9 U1 Quit Relax Time 0 255 1 s
Gas Gauging Current Thresholds 81 12 U2 Max IR Correct 0 1000 400 mV
Gas Gauging State 82 0 I2 Qmax Cell 0 0 32767 16384 Num
Gas Gauging State 82 2 H1 Update Status 0 ff 0 Hex
Gas Gauging State 82 3 I2 Reserve Cap-mAh 0 9000 0 mAh
Gas Gauging State 82 5 H1 Load Select/Mode 0 ff 81 Hex
Gas Gauging State 82 6 I2 Design Capacity 0 8000 1340 mAh
Gas Gauging State 82 8 I2 Design Energy 0 32767 4960 mWh
Gas Gauging State 82 10 I2 Terminate Voltage 2500 3700 3200 mV
Gas Gauging State 82 16 I2 T Rise 0 32767 20 Num
Gas Gauging State 82 18 I2 T Time Constant 0 32767 1000 s
Gas Gauging State 82 20 U1 SOCI Delta 0 100 1 %
Gas Gauging State 82 21 I2 Taper Rate 0 2000 100 .1 Hr rate
Gas Gauging State 82 23 I2 Sleep Current 0 1000 10 mA
Gas Gauging State 82 25 I2 Avg I Last Run –32768 –1 –50 .1 Hr rate
Gas Gauging State 82 27 I2 Avg P Last Run –32768 –1 –50 .1 Hr rate
Gas Gauging State 82 29 I2 Delta Voltage 0 1000 1 mV
Ra Tables Ra0 RAM 89 0 I2 Ra 0 0 32767 78 Num
Ra Tables Ra0 RAM 89 2 I2 Ra 1 0 32767 35 Num
Ra Tables Ra0 RAM 89 4 I2 Ra 2 0 32767 39 Num
Ra Tables Ra0 RAM 89 6 I2 Ra 3 0 32767 45 Num
Ra Tables Ra0 RAM 89 8 I2 Ra 4 0 32767 42 Num
Ra Tables Ra0 RAM 89 10 I2 Ra 5 0 32767 36 Num
Ra Tables Ra0 RAM 89 12 I2 Ra 6 0 32767 39 Num
Ra Tables Ra0 RAM 89 14 I2 Ra 7 0 32767 36 Num
Ra Tables Ra0 RAM 89 16 I2 Ra 8 0 32767 35 Num
Ra Tables Ra0 RAM 89 18 I2 Ra 9 0 32767 37 Num
Ra Tables Ra0 RAM 89 20 I2 Ra 10 0 32767 38 Num
Ra Tables Ra0 RAM 89 22 I2 Ra 11 0 32767 40 Num
Ra Tables Ra0 RAM 89 24 I2 Ra 12 0 32767 46 Num
Ra Tables Ra0 RAM 89 26 I2 Ra 13 0 32767 54 Num
Ra Tables Ra0 RAM 89 28 I2 Ra 14 0 32767 46 Num
Chemistry Info Chem Data 109 2 I2 Q Invalid MaxV 0 32767 3811 mV
Chemistry Info Chem Data 109 4 I2 Q Invalid MinV 0 32767 3750 mV
Chemistry Info Chem Data 109 6 I2 V at Chg Term 0 5000 4340 mV
Chemistry Info Chem Data 109 8 I2 Taper Voltage 0 5000 4250 mV
Calibration Data 104 0 I1 Board Offset –128 127 0 Counts
Calibration Data 104 1 I1 Int Temp Offset –128 127 0 0.1°C
Calibration Data 104 2 I1 Ext Temp Offset –128 127 0 0.1°C
Calibration Data 104 3 I1 Pack V Offset –128 127 0 mV
Calibration Data 104 4 I2 Ext a Coef 1 –32768 32767 –11130 Num
Calibration Data 104 6 I2 Ext a Coef 2 –32768 32767 19142 Num
Calibration Data 104 8 I2 Ext a Coef 3 –32768 32767 –19262 Num
Calibration Data 104 10 I2 Ext a Coef 4 –32768 32767 28203 Num
Calibration Data 104 12 I2 Ext a Coef 5 –32768 32767 892 Num
Calibration Data 104 14 I2 Ext b Coef 1 –32768 32767 328 Num
Calibration Data 104 16 I2 Ext b Coef 2 –32768 32767 –605 Num
Calibration Data 104 18 I2 Ext b Coef 3 –32768 32767 –2443 Num
Calibration Data 104 20 I2 Ext b Coef 4 –32768 32767 4696 Num
Calibration CC Cal 105 2 I2 CC Cal Temp 0 32767 2982 K
Calibration Current 107 1 U1 Deadband 0 255 5 mA
Security Codes 112 0 H4 Sealed to Unsealed 10001 ffffffff 80008000 Hex