SLUUCH2 March 2021 BQ40Z50-R2
Refer to the bq40zxx Manufacture, Production, and Calibration Application Note (SLUA734) for the detailed calibration procedure.
The BQ40Z50-R4 device has integrated routines that support calibration of current, voltage, and temperature readings, accessible after writing 0xF081 or 0xF082 to ManufacturerAccess() when the ManufacturingStatus()[CAL] bit is ON. While the calibration is active, the raw ADC data is available on ManufacturerData(). The BQ40Z50-R4 device stops reporting calibration data on ManufacturerData() if any other MAC commands are sent or the device is reset or sealed.
The ManufacturingStatus()[CAL] bit must be turned OFF after calibration is completed. The ManufacturingStatus()[CAL] bit is set by default when the Manufacturing Status Init is cleared This bit is cleared at reset or after sealing.
| ManufacturerAccess() | Description |
|---|---|
| 0x002D | Enables/Disables ManufacturingStatus()[CAL] |
| 0xF080 | Disables raw ADC data output on ManufacturerData() |
| 0xF081 | Outputs raw ADC data of voltage, current, and temperature on ManufacturerData() |
| 0xF082 | Outputs raw ADC data of voltage, current, and temperature on ManufacturerData(). This mode enables an internal short on the coulomb counter inputs (SRP, SRN). |
The ManufacturerData() output format is: ZZYYaaAAbbBBccCCddDDeeEEffFFggGGhhHHiiIIjjJJkkKK,
where:
| Value | Format | Description |
|---|---|---|
| ZZ | byte | 8-bit counter, increments when raw ADC values are refreshed (every 250 ms) |
| YY | byte | Output status ManufacturerAccess() = 0xF081: 1 ManufacturerAccess() = 0xF082: 2 |
| AAaa | 2's comp | Current (coulomb counter) |
| BBbb | 2's comp | Cell Voltage 1 |
| CCcc | 2's comp | Cell Voltage 2 |
| DDdd | 2's comp | Cell Voltage 3 |
| EEee | 2's comp | Cell Voltage 4 |
| FFff | 2's comp | PACK Voltage |
| GGgg | 2's comp | BAT Voltage |
| HHhh | 2's comp | Cell Current 1 |
| IIii | 2's comp | Cell Current 2 |
| JJjj | 2's comp | Cell Current 3 |
| KKkk | 2's comp | Cell Current 4 |