Tuesday, March 13, 2007

I2C (Inter-Integrated Circuit) - Concept

I²C是一種串列通訊匯流排,使用多主從(multi-master bus)架構。

I²C uses two wires, serial data (SDA) and serial clock (SCL), carry information between the devices connected to the bus. Each device is recognized by a unique address (whether it’s a microcontroller, LCD driver, memory or keyboard interface) and can operate as either a transmitter or receiver, depending on the function of the device.



Additionally, a master can also be a slave, and vice-versa.

Overall, there are four distinct modes for a given bus:

  • master transmit — the node is in control of the clock and is sending data to a slave
  • master receive — the node is in control of the clock but is receiving data from a slave
  • slave transmit — the node is not in control of the clock but is sending data to a master
  • slave receive — the node is not in control of the clock but is receiving data from the master

0 comments: