10.1 Manufacture Testing
To improve the manufacture testing flow, the gas gauge device allows certain features to be toggled on or
off through
MACSubcmd()
commands. For example, the
CHG FET()
,
DSG FET()
,
Lifetime Data Collection()
,
Calibration()
, and so on. Enabling only the feature under test can simplify the test flow in production by avoiding
any feature interference. These toggling commands will only set the RAM data, meaning the conditions set by
the these commands will be cleared if a reset or seal is issued to the gauge. The
ManufacturingStatus()
keeps
track of the status (enabled or disabled) of each feature.
The data flash
Manufacturing Status
provides the option to enable or disable individual features for normal
operation. Upon a reset or a seal command,
ManufacturingStatus()
will be reloaded from
Manufacturing
Status
. This also means if an update is made to
ManufacturingStatus()
to enable or disable a feature, the
gauge will only take the new setting if a reset or seal command is sent.
10.2 Calibration
The device has integrated routines that support calibration of current, voltage, and temperature readings,
accessible after writing 0xF081 or 0xF082 to
MACSubcmd()
when the
ManufacturingStatus()[CAL_EN]
bit is
ON. While the calibration is active, the raw ADC data is available on
MACData()
. The device stops reporting
calibration data on
MACData()
if any other MAC commands are sent or the device is reset or sealed.
Note
The
ManufacturingStatus()[CAL_EN]
bit must be turned OFF after calibration is completed. This bit is
cleared at reset or after sealing.
Table 10-1. MACSubcmd() Descriptions
MACSubcmd()
Description
0x002D
Enables/Disables
ManufacturingStatus()[CAL_EN]
0xF080
Disables raw ADC data output on
MACData()
0xF081
Outputs raw ADC data of voltage, current, and temperature on
MACData()
0xF082
Outputs raw ADC data of voltage, current, and temperature on
MACData()
. This mode enables an
internal short on the coulomb counter inputs (SRP, SRN).
The
MACData()
output format is: ZZYYaaAAbbBBccCCddDDeeEEffFFggGGhhHHiiIIjjJJkkKK,
where:
Table 10-2. MACData() Format Descriptions
Value
Format
Description
ZZ
byte
8-bit counter, increments when raw ADC values are refreshed (every 250 ms)
YY
byte
Output status
MACSubcmd()
= 0xF081: 1
MACSubcmd()
= 0xF082: 2
AAaa
2's comp
Current (coulomb counter)
BBbb
2's comp
Cell Voltage 1
Chapter 10
Manufacture Production
Manufacture Production
SLUUCO0 – APRIL 2022
BQ28Z610-R2
57
Copyright © 2022 Texas Instruments Incorporated