English
Language : 

MC81F4216 Datasheet, PDF (165/200 Pages) Finechips – ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
25.3 Message format
MC81F4x16
Figure 25-2 Data transfer on the IIC-BUS
START, Repeated START and STOP
One IIC data message is started by „START condition‟ and finished by „STOP‟ or „START‟ condition.
If one message is finished by „START‟ condition, it means both an end of the current message and a
start of the next message at the same time. So we call it „repeated START condition‟.
Repeated START is used to keep the IIC communication bus. If master transmit the STOP condition,
other masters can take the bus. To prevent it, the repeated START condition is used.
When SDA(data line) is changed while SCL(clock line) is staying high, it must be one of START,
repeated Start or STOP condition. In other words, changing SDA state while SCL is staying high is
not possible except those conditions.
START : SDA is changed from HIGH to LOW while SCL is staying high.
STOP : SDA is changed from LOW to HIGH while SCL is staying high.
Repeated START : START condition at the end of the frame.
Message Transmit
After START or repeated START condition, one byte data is transferred from master to slave. The first
one byte data consist of 7 bit address and 1 bit read/write flag.
And 1 bit ACK(acknowledge) is transferred from slave to master to notice that receiving process is
correctly finished and the slave address is matched.
Note: Simply transmitting „0‟ is ACK.
After then, one or more data bytes are transferred. The data bytes are sent MSB first.
It is possible both master to slave and slave to master based on the read/write bit flag (the last bit of
the first one byte).
Write = read/write bit is 0 = data is transferred from master to slave.
October 19, 2009 Ver.1.35
165