SLUUCA6 October 2021 BQ27Z746
This is the checksum of the AltManufacturerAccess() and MACData() bytes.
I2C Cmd | Name | Access | Protocol | Type | Min | Max | Default | Unit | ||
---|---|---|---|---|---|---|---|---|---|---|
SE | US | FA | ||||||||
0x60 | MACDataChecksum() | R | R | R | Byte | — | — | — | — | — |
The checksum is the 8-bit sum of the MSB and LSB of the command + the (command length) bytes in the buffer. The final sum is the bitwise inversion of the result. Because the length is part of the checksum, the verification cannot take place until the length is written. The checksum and length must be written together as a word to be valid.