1 / 12

Understanding the I2C Bus Protocol: Master-Slave Communication and Events

The I2C (Inter-Integrated Circuit) Bus Protocol is a crucial communication interface in embedded systems, allowing devices to communicate with a master-slave architecture. This document covers the I2C master and slave interfaces, detailing key bus events such as Start, Stop, byte transmission, and acknowledgment. Additionally, it addresses scenarios like No Acknowledge, which may indicate issues such as a missing slave device or synchronization errors. The I2C bus operates at speeds between 100kHz and 400kHz, initially supporting 5V but allowing configurations down to 2V with newer specifications.

Télécharger la présentation

Understanding the I2C Bus Protocol: Master-Slave Communication and Events

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. I2C Bus Inter-Integrated Circuit Bus

  2. The I2C Bus Protocol

  3. I2C Slave interface

  4. I2C Master interface

  5. Master to Slave

  6. I2C Bus Events: Start I2Cและ Stop I2C

  7. I2C Bus Events: Transmitting a byte to a slave device

  8. I2C Bus Events: Receiving a byte from a slave

  9. I2C Bus Events: Getting Acknowledge from a slave

  10. I2C Bus Events: Giving Acknowledge to a slave

  11. I2C Bus Events: No Acknowledge (from slave to master) This means that either : • The slave is not there (in case of an address) • The slave missed a pulse and got out of sync with the SCL line of the master. • The bus is "stuck". One of the lines could be held low permanently

  12. ข้อกำหนดเบื้องต้น BUS Speed • 100kHz – 400kHz Voltage Level • In the beginning the I2C bus focussed on 5 volt logic. • With the I2C specification 2.0 released 1998 the possible I2C reference voltage was decreased to 2 volt.

More Related