S
Address Wr
A
1
7
Command
8
A
Data Byte
8
A
P
1
1
1
1
1
EOM
PEC_VALID
DATA_RDY
RD_BYTE_COUNT
1
S
Address Wr
A
1
7
Command
8
A
Data Byte
8
A
PEC
8
A
P
1
1
1
1
1
1
EOM
PEC_VALID
DATA_RDY
RD_BYTE_COUNT
1
PMBus Slave Mode Command Examples
358
SNIU028A – February 2016 – Revised April 2016
Copyright © 2016, Texas Instruments Incorporated
PMBus Interface/I2C Interface
Figure 10-4. Write Command and Byte - with PEC
Figure 10-5. Write 2 Bytes with no PEC
All 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.
10.3.3 Quick Command Write
The Quick Command has only the address byte with the R/W bit cleared to indicate a write. It is just the
same as the messages above, except the DATA_RDY and RD_BYTE_COUNT bits will not be set. Since
there is no data, only the EOM bit will be set. Ignore PEC_VALID.
10.3.4 Writes of 4 Bytes or More With Full Auto Acknowledge
At 4 bytes counting command, data, and PEC, if any, the 4 byte RXBUF will be full. The RXBUF must be
read, and the ACK bit set, before the PMBus hardware can accept more data. If the firmware is quick
enough, there will be no clock stretching. The PMBus hardware automatically provides clock stretching on
the ACK for the 4th byte, if it is necessary. Here is the timing diagram: