Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

i2c

  • Identifiez-vous pour voir les commentaires

  • Soyez le premier à aimer ceci

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

×