Command frame format templates are provided in the
following tables for single device read/write, stack read/write, and broadcast
read/write. For bit-level detail on the command frames, see the "Command and
Response Protocol" section of the BQ79616-Q1, BQ79614-Q1, BQ79612-Q1
Functional Safety-Compliant Automotive 16S/14S/12S Battery Monitor, Balancer
and Integrated Hardware Protector data sheet.
Table 1-2 Single Device Read Command Frame | Data | Comments |
---|
Initialization Byte | 0x80 | Always 0x80 |
Device ID Address | 0x00 | Device address 0 is addresssed in this case |
Register Address | 0x0215 | Start with address 0x215 |
Data | 0x0B | Send 12 bytes worth of data back (register contents from 0x215 to 0x220) |
CRC | 0xCB49 | |
Table 1-3 Single Device Write Command
Frame
|
Data |
Comments |
Initialization
Byte |
0x93 |
Writing four data bytes
to a single device (0x90 for 1 byte of data read) |
Device ID
Address |
0x00 |
Device address 0 is
addressed in this case |
Register Address |
0x0100 |
Start with address
0x100 |
Data |
0x02B778BC |
Write 4 bytes to
registers 0x100-0x103 |
CRC |
0x9A8C |
|
Table 1-4 Stack Read Command Frame | Data | Comments |
---|
Initialization Byte | 0xA0 | Always 0xA0 |
Device ID Address | -- | No address byte is sent in stack read |
Register Address | 0x0215 | Start with address 0x215 |
Data | 0x02B778BC | Send 12 bytes worth of data back (register contents
from 0x215 to 0x220) from each device in the stack |
CRC | 0xCCB3 | |
Table 1-5 Stack Write Command Frame | Data | Comments |
---|
Initialization Byte | 0xB3 | Writing 4 bytes to the stack devices |
Device ID Address | -- | No address byte is sent in stack write |
Register Address | 0x0100 | Start with address 0x100 |
Data | 0x02B778BC | Write 4 bytes to registers 0x100-0x103 to all devices in stack |
CRC | 0x0A35 | |
Table 1-6 Broadcast Read Command Frame | Data | Comments |
---|
Initialization Byte | 0xC0 | Always 0xC0 |
Device ID Address | -- | No address byte is sent in broadcast mode |
Register Address | 0x0215 | Start with address 0x215 |
Data | 0x0B | Send 12 bytes worth of data back (register contents from 0x215 to 0x220) |
CRC | 0xD2B3 | |
Table 1-7 Broadcast Write Command Frame | Data | Comments |
---|
Initialization Byte | 0xD3 | Writing four bytes to all the devices |
Device ID Address | -- | No address byte is sent in broadcast mode |
Register Address | 0x0100 | Start with address 0x100 |
Data | 0x02B778BC | Write four bytes to registers 0x100-0x103 to all devices |
CRC | 0x336A | |