SLUUCD5 January 2023 BQ27427
With the Battery Management Studio (bqStudio) software, users can generate specific instruction files called gm.fs files, which contain the necessary I2C commands that a host can send to the BQ27427 device to program the RAM-based data memory parameters.
The gm.fs file is an ASCII text file that contains commands and data. Each line of the file represents one command and potentially 96 bytes of data, as described in the following text. No row contains more than 96 data bytes. The first two characters of each row represent the command, followed by a ":
"W:" — | Indicates that the row is a command to write one or more bytes of data. | ||||
"C:" — | Indicates that the row is a command to read and compare one or more bytes of data. | ||||
"X:" — | Indicates that the row is a command to wait a given number of milliseconds before proceeding. |
White space is used to separate fields within the gm.fs files. Each row contains only one of the four commands. The commands discussed in this section can be implemented by a system that can perform multi-byte or single-byte operations for I2C.
#SLUA7591668 shows a typical gm.fs file snippet generated from the BQStudio software.