To read the DF, send a block write to the
MACSubcmd(),
followed by the starting address, then send a block
read to the
MACSubcmd()
. The return data contains the starting address followed by 32 bytes of DF data in Little
Endian.
Read from DF example:
Taking the same assuming from the read DF example, to read DF:
a. Send the write block with command 0x3E, block = 0x00 + 0x40
b. Send the read block with command 0x3E
The returned block = a starting a 32 bytes of DF dat
= 0x00 + 0x40 + data1_L data1_Hi data2_L data2_HighByte.... data32_L
data32_HighByte
The gauge supports an auto-increment on the address during a DF read. This greatly reduces the time required
to read out the entire DF. Continue with the read from the DF example. If another read block is sent with
command 0x3E, the gauge returns another 32 bytes of DF data, starting with address 0x4020.
12.2.46 MACSubcmd() 0xF080 Exit Calibration Output Mode
This command stops the output of calibration data to the
MACData()
command.
Status
Condition
Action
Activate
MACData()
= 1 AND 0xF080 to
MACSubcmd()
Stops output of ADC or CC data on
MACData()
12.2.47 MACSubcmd() 0xF081 Output CC and ADC for Calibration
This command instructs the device to output the raw values for calibration purposes on
MACData()
. All values
are updated every 250 ms and the format of each value is 2's complement, MSB first.
Status
Condition
Action
Disable
ManufacturingStatus()[CAL_EN]
= 1 AND
0xF080 to
MACSubcmd()
ManufacturingStatus()[CAL_EN]
= 0
Stops output of ADC and CC data on
MACData()
Enable
0xF081 to
MACSubcmd()
ManufacturingStatus()[CAL_EN]
= 1
Outputs the raw CC and AD values on
MACData()
in the format
of ZZYYaaAAbbBBccCCddDDeeEEffFF
ggGGhhHHiiIIjjJJkkKK:
ZZ: rolling 8-bit counter, increments when values are refreshed.
YY: status, 1 when
MACSubcmd()
= 0xF081, 2 when
MACSubcmd()
= 0xF082
AAaa: Current (Coulomb Counter)
BBaa: Cell Voltage 1
CCaa: Cell Voltage 2
DDaa:
EEee:
FFff:PACK Voltage
GGgg: VC2 (BAT) Voltage
HHhh: Cell Current 1
IIii: Cell Current 2
JJjj:
KKkk:
12.2.48 MACSubcmd() 0xF082 Output Shorted CC and ADC for Calibration
This command instructs the device to output the raw values for calibration purposes on
MACSubcmd() or
MACData()
. All values are updated every 250 ms and the format of each value is 2's complement, MSB first.
This mode includes an internal short on the coulomb counter inputs for measuring offset.
I2C Commands
92
BQ28Z610-R2
Copyright © 2022 Texas Instruments Incorporated