BQ28Z610 Driver
BQ28Z610 Battery fuel gauge device driver for Arduino
Static Public Attributes
DF_ADDR Class Reference

Data Flash addresses. More...

#include <data_flash_access.h>

Static Public Attributes

static const word MIN = 0x4000
 Minimum Data Flash address.
 
static const word MAX = 0x5FFF
 Maximum Data Flash address.
 
static const word MANUFACTURER_NAME = 0x406B
 I2C Configuration; Data; Manufacturer Name; S21. More...
 
static const word DEVICE_NAME = 0x4080
 I2C Configuration; Data; Device Name; S21. More...
 
static const word DEVICE_CHEMISTRY = 0x4095
 I2C Configuration; Data; Device Chemistry; S5. More...
 
static const word GAS_GAUGING_CYCLE_COUNT = 0x4240
 Gas Gauging; State; Cycle Count; U2.
 
static const word GAS_GAUGING_UPDATE_STATUS = 0x420E
 Gas Gauging; State; Update Status; H1. More...
 
static const word FET_OPTIONS = 0x4600
 Settings; Configuration; FET Options; H1.
 
static const word DESIGN_CAPACITY_MAH = 0x462A
 Gas Gauging; Design; Design Capacity mAh; I2. More...
 
static const word DESIGN_CAPACITY_CWH = 0x462C
 Gas Gauging; Design; Design Capacity cWh; I2. More...
 
static const word SOC_FLAG_CONFIG_A = 0x4632
 Settings; Configuration; 0x4632; SOC Flag Config A; H2.
 
static const word TC_SET_RSOC_THRESHOLD = 0x464B
 Gas Gauging; TC; Set % RSOC Threshold; U1. More...
 
static const word TC_CLEAR_RSOC_THRESHOLD = 0x464C
 Gas Gauging; TC; Clear % RSOC Threshold; U1. More...
 
static const word DA_CONFIGURATION = 0x469B
 Settings; Configuration; DA Configuration; H1.
 
static const word CHARGE_TERM_TAPER_CURRENT = 0x4693
 Advanced Charge Algorithm; Termination Config; Charge Term Taper Current; I2. More...
 
static const word OCC_THRESHOLD = 0x46C9
 13.10.3 OCC- Overcurrent In Charge: Protections; OCC; 0x46C9; Threshold; I2
 
static const word OTC_THRESHOLD = 0x46D8
 13.10.8 OTC - Overtemperature in Charge: Protections; OTC; 0x46D8; Threshold; I2 More...
 
static const word OTC_RECOVERY = 0x46DB
 13.10.8 OTC - Overtemperature in Charge: Protections; OTC; 0x46DB; Recovery; I2
 
static const word Q_MAX_CELL_1 = 0x4206
 Gas Gauging; State; Qmax Cell 1; I2. More...
 
static const word Q_MAX_CELL_2 = 0x4208
 Gas Gauging; State; Qmax Cell 2; I2. More...
 
static const word Q_MAX_PACK = 0x420A
 Gas Gauging; State; Qmax Pack; I2. More...
 
static const word CELL0_RA_FLAG = 0x4100
 
static const word CELL1_RA_FLAG = 0x4140
 Ra Table; R_a1; 0x4140; Cell1 R_a flag; H2. More...
 
static const word X_CELL0_RA_FLAG = 0x4180
 Ra Table; R_a0x; 0x4180; xCell0 R_a flag; H2. More...
 
static const word X_CELL1_RA_FLAG = 0x41C0
 Ra Table; R_a1x; 0x41C0; xCell1 R_a flag; H2. More...
 

Detailed Description

Data Flash addresses.

Field Documentation

◆ CELL0_RA_FLAG

const word DF_ADDR::CELL0_RA_FLAG = 0x4100
static

Ra Table; R_a0; 0x4100; Cell0 R_a flag; H2

High Byte:

  • 0x00 - Cell impedance and QMax updated
  • 0x05 - RELAX mode and QMax update in progress
  • 0x55 - DISCHARGE mode and cell impedance updated
  • 0xFF - Cell impedance never updated

Low Byte:

  • 0x00 - Table not used and QMax updated
  • 0x55 - Table being used
  • 0xFF - Table never used, neither QMax nor cell impedance updated

Following it are 15 two-byte (I2) values of the corresponding row of the table.

Return values
Default0xFF55
See also
6.4.5 Ra Table Initial Values

◆ CELL1_RA_FLAG

const word DF_ADDR::CELL1_RA_FLAG = 0x4140
static

Ra Table; R_a1; 0x4140; Cell1 R_a flag; H2.

High Byte:

  • 0x00 - Cell impedance and QMax updated
  • 0x05 - RELAX mode and QMax update in progress
  • 0x55 - DISCHARGE mode and cell impedance updated
  • 0xFF - Cell impedance never updated

Low Byte:

  • 0x00 - Table not used and QMax updated
  • 0x55 - Table being used
  • 0xFF - Table never used, neither QMax nor cell impedance updated

Following it are 15 two-byte (I2) values of the corresponding row of the table.

Return values
Default0xFF55
See also
6.4.5 Ra Table Initial Values

◆ CHARGE_TERM_TAPER_CURRENT

const word DF_ADDR::CHARGE_TERM_TAPER_CURRENT = 0x4693
static

Advanced Charge Algorithm; Termination Config; Charge Term Taper Current; I2.

Return values
JBL330 (mA)

◆ DESIGN_CAPACITY_CWH

const word DF_ADDR::DESIGN_CAPACITY_CWH = 0x462C
static

Gas Gauging; Design; Design Capacity cWh; I2.

Return values
JBL3672 (cWh)

◆ DESIGN_CAPACITY_MAH

const word DF_ADDR::DESIGN_CAPACITY_MAH = 0x462A
static

Gas Gauging; Design; Design Capacity mAh; I2.

Return values
JBL5100 (mAh)

◆ DEVICE_CHEMISTRY

const word DF_ADDR::DEVICE_CHEMISTRY = 0x4095
static

I2C Configuration; Data; Device Chemistry; S5.

Return values
JBL1352 - this is ID of the type for the Li-Ion battery

◆ DEVICE_NAME

const word DF_ADDR::DEVICE_NAME = 0x4080
static

I2C Configuration; Data; Device Name; S21.

Return values
JBLID1019-A-M26-28z610

◆ GAS_GAUGING_UPDATE_STATUS

const word DF_ADDR::GAS_GAUGING_UPDATE_STATUS = 0x420E
static

Gas Gauging; State; Update Status; H1.

Return values
Default0x0E

◆ MANUFACTURER_NAME

const word DF_ADDR::MANUFACTURER_NAME = 0x406B
static

I2C Configuration; Data; Manufacturer Name; S21.

Return values
JBLXTREME2

◆ OTC_THRESHOLD

const word DF_ADDR::OTC_THRESHOLD = 0x46D8
static

13.10.8 OTC - Overtemperature in Charge: Protections; OTC; 0x46D8; Threshold; I2

Return values
JBL46.0 °C

◆ Q_MAX_CELL_1

const word DF_ADDR::Q_MAX_CELL_1 = 0x4206
static

Gas Gauging; State; Qmax Cell 1; I2.

Return values
JBL4965

◆ Q_MAX_CELL_2

const word DF_ADDR::Q_MAX_CELL_2 = 0x4208
static

Gas Gauging; State; Qmax Cell 2; I2.

Return values
JBL4931

◆ Q_MAX_PACK

const word DF_ADDR::Q_MAX_PACK = 0x420A
static

Gas Gauging; State; Qmax Pack; I2.

Return values
JBL4931

◆ TC_CLEAR_RSOC_THRESHOLD

const word DF_ADDR::TC_CLEAR_RSOC_THRESHOLD = 0x464C
static

Gas Gauging; TC; Clear % RSOC Threshold; U1.

Return values
Default95

◆ TC_SET_RSOC_THRESHOLD

const word DF_ADDR::TC_SET_RSOC_THRESHOLD = 0x464B
static

Gas Gauging; TC; Set % RSOC Threshold; U1.

Return values
Default100

◆ X_CELL0_RA_FLAG

const word DF_ADDR::X_CELL0_RA_FLAG = 0x4180
static

Ra Table; R_a0x; 0x4180; xCell0 R_a flag; H2.

The initial x-values are a copy of the non-x data set. Two sets of Ra tables are used alternatively when gauging is enabled to prevent wearing out the data flash.

High Byte:

  • 0x00 - Cell impedance and QMax updated
  • 0x05 - RELAX mode and QMax update in progress
  • 0x55 - DISCHARGE mode and cell impedance updated
  • 0xFF - Cell impedance never updated

Low Byte:

  • 0x00 - Table not used and QMax updated
  • 0x55 - Table being used
  • 0xFF - Table never used, neither QMax nor cell impedance updated

Following it are 15 two-byte (I2) values of the corresponding row of the table.

Return values
Default0xFFFF
See also
6.4.5 Ra Table Initial Values

◆ X_CELL1_RA_FLAG

const word DF_ADDR::X_CELL1_RA_FLAG = 0x41C0
static

Ra Table; R_a1x; 0x41C0; xCell1 R_a flag; H2.

The initial x-values are a copy of the non-x data set. Two sets of Ra tables are used alternatively when gauging is enabled to prevent wearing out the data flash.

High Byte:

  • 0x00 - Cell impedance and QMax updated
  • 0x05 - RELAX mode and QMax update in progress
  • 0x55 - DISCHARGE mode and cell impedance updated
  • 0xFF - Cell impedance never updated

Low Byte:

  • 0x00 - Table not used and QMax updated
  • 0x55 - Table being used
  • 0xFF - Table never used, neither QMax nor cell impedance updated

Following it are 15 two-byte (I2) values of the corresponding row of the table.

Return values
Default0xFFFF
See also
6.4.5 Ra Table Initial Values

The documentation for this class was generated from the following file: