SNIU028E February 2016 – February 2025 UCD3138 , UCD3138064 , UCD3138064A , UCD3138128 , UCD3138A , UCD3138A64
Writes with an address and up to 3 bytes of data/command/PEC will be handled essentially the same way as the one with a single byte.
For simplicity, the ACK and clock stretching sequence will be left off these drawings.
Figure 10-2 Command with PEC
Figure 10-3 Write Command and Byte - No PEC
Figure 10-4 Write Command and Byte - with PEC
Figure 10-5 Write 2 Bytes with no PECAll of these diagrams have the same basic operation – at the end of the message the firmware simply has to read the RXBUF and set the ACK bit, and process the message. The only difference is the number put in RD_BYTE_COUNT, and the value put in PEC_VALID. The command byte, any data bytes, and the PEC all are included in the RD_BYTE_COUNT.