![]() ![]() ![]() Because this is synchronous communication. Unlike UART Communication, this protocol requires a clock signal. Any number of slaves and any number of masters can be connected to these 2 signals. I☬ protocol uses 2 signal lines, a serial data line (SDA) and a serial clock line (SCL). Low-speed peripherals include external EEPROMs, digital sensors, I2C LCD, temperature sensors. It is used for attaching lower-speed peripheral ICs to microcontrollers in short distance communication. It is a short distance serial interface that requires only two bus lines for bi-directional data transfer. I☬ protocol was invented by Philips semiconductors in the 1980s, to provide easy on-board communications between a CPU and various peripheral chips. We will use PIC16F877A and PIC18F4550 microcontroller for programming examples. In the end, I2C programming examples will be discussed in both compilers. Secondly, we will understand the control and configuration registers of PIC Microcontroller I2C module. At the start, we will see the introduction of I2C communication. ![]() We will see I2C code examples with two popular compilers such as MPLAB XC8 and MikroC Pro. This tutorial is an in-depth guide on I2C Communication using PIC Microcontroller. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |