SLUSDQ4 April 2019 BQ79606A-Q1
A write command for a single device enables the customer to update up to 8 consecutive registers with one command. Some register writes, OTP_PROG_UNLOCK1* and OTP_PROG_UNLOCK2* for example, require that multiple registers be written with one command. The single device 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 byte for the single device write command is the number of registers to update. The command frame for a single device write to the OTP_PROG_UNLOCK1* registers is configured as in Table 14 Initialization byte is 0x90 for 1 byte data read, 0x91 for 2 bytes data read, 0x92 for 3 bytes data read and so on.
|Initialization Byte||0x93||Writing 4 data bytes to a single device (0x90 for 1 bytes data read)|
|Device ID Address||0x00||Device address 0 is addressed in this case.|
|Register Address||0x0100||Start with address 0x100 (OTP_PROG_UNLOCK1A)|
|Data||0x02B778BC||Write 4 bytes to registers 0x100-0x103|