SLUSDQ4 April 2019 BQ79606A-Q1
A write command for a stack devices (it does not include the base or bridge device) enables the customer to update up to 8 consecutive registers for an entire stack of devices with one command. As in the previous example, some register writes, OTP_PROG_UNLOCK1* and OTP_PROG_UNLOCK2* for example, require that multiple registers be written with one command. The stack write command frame must contain the register address to start at (address field) and the data bytes to write to the registers. The DATA_SIZE field in the initialization frame for the single device write command is the number of registers to update. The command frame for a stack write to the OTP_PROG_UNLOCK1* registers is configured as in Table 16.
A stack write is the same as the broadcast write except that it applies only for stack devices (excludes the base and the bridge).
|Initialization Byte||0xB3||Writing 4 bytes to the stack devices (B0 for 1 byte)|
|Device ID Address||--||No address byte is sent in stack write|
|Register Address||0x0100||Start with address 0x100 (OTP_PROG_UNLOCK1A)|
|Data||0x02B778BC||Write 4 bytes to registers 0x100-0x103 to all devices in stack|