SCL is the clock signal line which is used to synchronize the communication. ![]() I2C is a half duplex communication since there is one data line. SDA is the data line in which the data bits are transmitted and received. I2C is a popular serial communication protocol where the data bits transmission takes place via two wires – SDA and SCL. In this tutorial we will see how to configure USI as I2C protocol in ATtiny85 microcontroller to send and receive data between devices. I2C mode using this USI interface is also referred as Two wire mode. ATtin85 microcontroller is equipped with Universal Serial interface aka USI which can be configured to operate in I2C mode. This protocol uses full duplex communication and uses only two wires to exchange data. I2C or Inter Integrated circuit is another popular serial communication protocol built in almost every modern microcontrollers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |