MC74
Write Byte Format
ADDRESS
ACK
ACK
S
WR
ACK
COMMAND
8 Bits
DATA
P
7 Bits
8 Bits
Slave Address
Command Byte: selects
which register you are
writing to.
Data Byte: data goes
into the register set
by the command byte.
Read Byte Format
ADDRESS WR ACK
S
COMMAND ACK
S
ADDRESS RD ACK
DATA NACK
P
7 Bits
8 Bits
7 Bits
8 Bits
Slave Address
Command Byte: selects
which register you are
reading from.
Slave Address: repeated
due to change in data–
flow direction.
Data Byte: reads from
the register set by the
command byte.
Receive Byte Format
ADDRESS RD ACK
7 Bits
S
DATA NACK
P
8 Bits
Data Byte: reads data from
the register commanded by
the last Read Byte.
S = Start Condition
P = Stop Condition
Shaded = Slave Transmission
Figure 1. SMBus Protocols
Acknowledge (ACK)
Start Condition (START)
The MC74 continuously monitors the SDA and SCL lines
for a start condition (a HIGH to LOW transition of SDA
whileSCLisHIGH)andwillnotresponduntilthiscondition
is met.
Acknowledge (ACK) provides a positive handshake
betweenthehostandtheMC74. ThehostreleasesSDAafter
transmitting eight bits, then generates a ninth clock cycle to
allow the MC74 to pull the SDA line LOW to acknowledge
that it successfully received the previous eight bits of data or
address.
Address Byte
Immediately following the Start Condition, the host must
transmit the address byte to the MC74. The states of A1 and
A0 determine the 7–bit SMBus address for the MC74. The
7–bit address transmitted in the serial bit stream must match
for the MC74 to respond with an Acknowledge (indicating
the MC74 is on the bus and ready to accept data). The eighth
bit in the Address Byte is a Read–Write Bit. This bit is a 1
for a read operation or 0 for a write operation. During the
first phase of any transfer this bit will be set = 0 to indicate
that the command byte is being written.
Data Byte
After a successful ACK of the address byte, the host must
transmit the data byte to be written or clock out the data to
be read. (See the appropriate timing diagrams. ) ACK will
be generated after a successful write of a data byte into the
MC74.
Stop Condition (STOP)
Communications must be terminated by a stop condition
(a LOW to HIGH transition of SDA while SCL is HIGH).
The Stop Condition must be communicated by the
transmitter to the MC74. NOTE: Refer to Timing Diagrams
for serial bus timing.
http://onsemi.com
5