26.11.2014 Views

System Management Bus (SMBus) Specification, version 2.

System Management Bus (SMBus) Specification, version 2.

System Management Bus (SMBus) Specification, version 2.

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>System</strong> <strong>Management</strong> <strong>Bus</strong> (SM<strong>Bus</strong>) <strong>Specification</strong> Version <strong>2.</strong>0<br />

count does not include the PEC byte. The byte count may not be 0. A Block Read or Write is allowed to<br />

transfer a maximum of 32 data bytes.<br />

1 7 1 1 8 1 8 1 8 1<br />

S Slave Address Wr A Command Code A Byte Count = N A Data Byte 1 A …<br />

8 1 … 8 1 1<br />

Data Byte 2 A … Data Byte N A P<br />

Figure 5-17: Block Write<br />

1 7 1 1 8 1 8 1 8 1<br />

S Slave Address Wr A Command Code A Byte Count = N A Data Byte 1 A …<br />

8 1 … 8 1 8 1 1<br />

Data Byte 2 A … Data Byte N A PEC A P<br />

Figure 5-18: Block Write with PEC<br />

A Block Read differs from a block write in that the repeated START condition exists to satisfy the<br />

requirement for a change in the transfer direction. A NACK immediately preceding the STOP condition<br />

signifies the end of the read transfer.<br />

1 7 1 1 8 1 1 7 1 1 8 1<br />

S Slave Address Wr A Command Code A Sr Slave Address Rd A Byte Count = N A …<br />

8 1 8 1 … 8 1 1<br />

Data Byte 1 A Data Byte 2 A … Data Byte N A P<br />

1<br />

Figure 5-19: Block Read<br />

1 7 1 1 8 1 1 7 1 1 8 1<br />

S Slave Address Wr A Command Code A Sr Slave Address Rd A Byte Count = N A …<br />

8 1 8 1 … 8 1 8 1 1<br />

Data Byte 1 A Data Byte 2 A … Data Byte N A PEC A P<br />

1<br />

Figure 5-20: Block Read with PEC<br />

5.5.8. Block write-block read process call<br />

The block write-block read process call is a two-part message. The call begins with a slave address and a<br />

write condition. After the command code the host issues a write byte count (M) that describes how many<br />

more bytes will be written in the first part of the message. If a master has 6 bytes to send, the byte count<br />

SBS Implementers Forum 32

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!