SLUUBY2B September 2020 – May 2022 BQ76952
The BQ76952 device uses a special CONFIG_UPDATE mode to make changes to the data memory settings. If changes were made to the data memory settings while the firmware was in normal operation, it could result in unexpected operation or consequences if settings used by the firmware changed in the midst of operation. When changes to the data memory settings are needed (which generally should only be done on the customer manufacturing line or in an offline condition), the host should:
Place the device into CONFIG_UPDATE mode by sending the 0x0090 ENTER_CFG_UPDATE() subcommand. The device will then automatically disable the protection FETs if they are enabled. | |
Wait for the 0x12 Battery Status()[CFGUPDATE] flag to set. | |
Modify settings as needed by writing updated data memory settings (for more information, see Data Memory Access). | |
Send the 0x0092 EXIT_CFG_UPDATE() command to resume firmware operation. |
When in CONFIG_UPDATE mode, the device stops normal firmware operation and stops all measurements and protection monitoring. The host can then make changes to data memory settings (either writing registers directly into RAM, or instructing the device to program the RAM data into OTP). After changes are complete, the host then sends the 0x0092 EXIT_CFG_UPDATE() command, at which point the device restarts normal firmware operation using the new data memory settings.