I²C Protocol

From LinuxTVWiki
Revision as of 10:21, 13 September 2004 by Holger (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The i2c Protocol was introduced by Philips as Inter-Integrated Circuit Protocol. It's implemented as trivial 2-Wire Bus with one or more Masters and up to 127 clients.

The two wire signals are called SDA (Serial Data) and SCL (Serial Clock).

Every i2c message consists of an address byte (7 bit address, 1 bit R/W#) and an arbitrary number of data bytes.

The master starts transmission by issuing a START condition, then submitting the address byte to the bus. If any client with this i2c address is listening on the bus he acknowledges this address by pulling the SDA wire low for one clock.

For Write Transfers the master sends all following bytes to the bus and the client acknowledges each byte.

Read Transfers get acknowledged by the Master except the last byte (which does not gets acknowledged in order to signal the end of transmission).

Please add a link to the Philips i2c spec here and it would be nice to have some pictures visualizing the protocol. Any contributors?