Thursday, March 19, 2009

I2C Protocol: Mini Overview

The I2C Protocol works as follows:
  • Master Device (e.g. microcontroller): M
  • Slave Device (e.g. DAC): S
  • Every Transmission is one byte in length

M: START (joins the bus)
M: SEND (Address)
S: (if address matches) ACK
M: SEND (Byte)
S: ACK
M SEND (Byte)
S: ACK
M: SEND (Byte)
S: ACK
.
.
.
M: STOP (stop to end transmission to this device)

No comments:

Post a Comment