Difference between revisions of "I2C/TWI Basics"
(Created page with "It is uses '''I²C''' ('''Inter-Integrated Circuit''') protocol, referred to as ''I-squared-C'', ''I-two-C'', or ''IIC'') for communication with the micrcontroller.Let see fir...") |
|||
Line 1: | Line 1: | ||
+ | {{Box|type=l_green_light|text= | ||
It is uses '''I²C''' ('''Inter-Integrated Circuit''') protocol, referred to as ''I-squared-C'', ''I-two-C'', or ''IIC'') for communication with the micrcontroller.Let see first the basics of the communication protocol first. | It is uses '''I²C''' ('''Inter-Integrated Circuit''') protocol, referred to as ''I-squared-C'', ''I-two-C'', or ''IIC'') for communication with the micrcontroller.Let see first the basics of the communication protocol first. | ||
Line 7: | Line 8: | ||
There are various modes and configurations in which it can be used. Let us start simply with a single master and a single slave. | There are various modes and configurations in which it can be used. Let us start simply with a single master and a single slave. | ||
− | The Master generates the clock for serial | + | The Master generates the clock for serial communication |
+ | }} |
Revision as of 13:16, 28 January 2014
It is uses I²C (Inter-Integrated Circuit) protocol, referred to as I-squared-C, I-two-C, or IIC) for communication with the micrcontroller.Let see first the basics of the communication protocol first.
The I²C require only two wires for communication. One is called the Serial Data (SDA) and the other is Serial Clock (SCL) as shown.
There are various modes and configurations in which it can be used. Let us start simply with a single master and a single slave.
The Master generates the clock for serial communication