
Configuration can be entered in the volatile registers using the Data Memory tool. The Data Memory tool
displays as a tab in the center pane of the BQStudio window.
shows the initial data memory view
with a device connected. Configuration settings are grouped into different functions accessed with buttons on the
left side of the pane. The Calibration section is displayed on initial selection. Other functional sections can be
displayed by clicking on the named button.
Figure 4-5. Data Memory View
4.6.1 Entering, Saving, and Loading Configuration
Most of the configuration of the BQ76922 is accomplished through setting values in data memory. The data
memory locations are accessed using the buttons in the Data Memory view. The
Parameter View
selection
at the top of the pane allows the choice of basic parameters which shows commonly used parameters, or all
parameters which shows more configuration parameters. Data values may be changed by selecting and entering
a value. Parameter registers which are bit fields may be changed by selecting the bit in the pop up when the
register or its value is selected. Data Memory must be written after bit changes, a button is provided under the
bit field.
shows the bit field for the Enabled Protections A which is one of the most basic settings that
must typically be changed with the EVM.
Figure 4-6. Data Memory Bit Field Change
Changes to configuration by memory changes take place immediately, however the FETs are enabled using the
Enable_FETs command. Enabling a protection and enabling the protection action on a FET are not sufficient,
the FETs must be enabled with the command. BQStudio will enter and exit configuration update mode of the
part automatically when data memory is edited. If FETs were on when config update mode was entered they will
be turned off during the write and turned on after exit. Exiting config will clear some command settings such as
SLEEP_DISABLE, check settings after configuration changes.
Calibration data is also located in data memory. Calibration values may be loaded manually or calculated by a
tool.
The data is read from the part when the Data Memory view is opened, but the window does not know when
the power may have been cycled so that the data is not current. Data may be read using the
Read All
tool
at the top of the pane. The
Export
tool in the Data Memory view allows saving the configuration data to a
comma-separated-value file format which can be accessed by a spreadsheet program. Reading data before
export with the
Read All
button loads the data from the part rather than values which may be only in the view.
Export also has an option to export a Flash Stream format file which can be written to another part by the
Command Sequence tool. The FS file can be saved with OTP programming command included. The
Import
tool
allows loading a saved file into the view so that it can be written to the device. The
Write All
tool writes all values
Battery Management Studio Software
10
BQ76922EVM Evaluation Module
SLVU957A – SEPTEMBER 2019 – REVISED NOVEMBER 2021
Copyright © 2021 Texas Instruments Incorporated