SLUAAM4 December 2023 BQ76905 , BQ76907
The CB_ACTIVE_CELLS subcommand shown in Table 2-4 is an example of a subcommand that can read or write cell balancing data to a register. When written, balancing starts on the specified cells. In Figure 2-4, cell balancing is performed on cell 1 by writing the 0x0083 command and 0x02 data to 0x3E followed by a write to 0x60/0x61 with the checksum and length. When writing data with subcommands, the checksum and length are necessary for the data to be accepted. The checksum is calculated on the address and data (0x83, 0x00, 0x02) and is the complement of the sum of these bytes. In this case, the checksum is 0x7A. The length includes the two bytes for device address and command address for a total length of 0x05.
Command | Name | Description |
---|---|---|
0x0083 | CB_ACTIVE_CELLS | Cell balancing active cells: When written, starts balancing on the specified cells. |