Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

i2c

172 views

Published on

  • Login to see the comments

  • Be the first to like this

i2c

  1. 1. i2c Features • 2 wire bi-directional • Multi-master • Multi-slave • Single-ended • Serial computer bus • Open drain Speed ● 100 kbit/s standard mode ● 400 kbit/s Fast mode ● 1 Mbit/s Fast mode plus ● 3.4 Mbit/s High Speed mode Number of Devices ● 7 bit – 128 devices ● Total line capcitance - 400pf
  2. 2. General Configuration
  3. 3. Types of Nodes ● Master node — generates the clock and initiates communication with slaves ● Slave node — receives the clock and responds when addressed by the master Modes of operation ● master transmit — master node is sending data to a slave ● master receive — master node is receiving data from a slave ● slave transmit — slave node is sending data to the master ● slave receive — slave node is receiving data from the master
  4. 4. Protocol ● Start bit 1 bit ● Slave address + read/Write 7+1 bits ● Ack by Slave 1 Bits ● Register read/Write 1 Bit by slave ● Data 8 bits ● Stop bit 1bit
  5. 5. Timing Diagram
  6. 6. Addressing a slave
  7. 7. Open-Drain for Bidirectional Communication

×