SLUUB65B May 2015 – December 2022
The BQ275xx gas gauges are flash-based and can be updated, if necessary. An example would be a pack-side device implementation in which the data flash image needs updating, but I2C is no longer accessible and HDQ communication must make the update. This section provides all the information necessary to implement a system firmware that sends the necessary I2C or HDQ commands to update the firmware or data flash in the BQ27542-G1. This section must be used along with a file of .BQFS type for firmware plus data flash updates or a file of .DFFS type for data-flash-only updates.
To get sample C code that can interact with the gauge (read/write registers and commands) as well as configure the gauge, go to this link: http://processors.wiki.ti.com/index.php/Linux/Android_Software_Solutions_for_TI_Single-cell_Gas_Gauges.
The BQtool utility enables configuration of the fuel gauge by using either the FlashStream method (parsing a .gm.fs file) or by using a .gg.csv file that includes the parameter locations.