i2c bus protocol
TRANSCRIPT
![Page 1: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/1.jpg)
Birla Vishwakarma Mahavidyalaya
ET Department
Under the Guidance :-
Prof. Hiren Patel
ET Department
Prepared By:-
Kashyap Mandaliya(08)
Disha Rashtrapal(13)
Meet Thakkar (18)
Viral Rabadiya(22)
I2C PROTOCOL
1
![Page 2: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/2.jpg)
Topics :-
• I2C BUS • I2C LINE ELECTRICAL CHARACTERISTICS • I2C NODES • BIT FORMATE • START AND STOP CONDITIONS • PACKET FORMAT IN I2C • CLOCK STRETCHING • ARBITRATION • MULTIBYTE BURST WRITE • MULTIBYTE BURST READ
2
![Page 3: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/3.jpg)
Introduction WHY REQUIRED ?
Many of today’s applications, however, require higher bus speeds and lower supply voltages.
Description :-
• The I2C bus was designed by PHILIPS in the early '80s to allow easy communication between components which reside on the same circuit board.
• Philips Semiconductors migrated to NXP in 2006.
• The name I²C translates into "Inter IC". Sometimes the bus is called IIC .
3
![Page 4: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/4.jpg)
Generation of I2C
• 1982 :- first release
• 1998 :- higher bus speeds and lower supply
voltage
• 2007 introduced by NXP ) :- Fast mode plus introduced in this version
• 2012 :- user manual release
4
![Page 5: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/5.jpg)
I2C Architecture
Half-duplex, synchronous, multi-master bus No chip select or arbitration logic required Serial data (SDA) and Serial clock (SCL)
Fig 1
5
![Page 6: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/6.jpg)
I2C NODES
• Can function like a master or a slave . • Clock is generated by the master • The master device addresses the slave. • Both the master as well as the slave can transmit as well as receive data • Four operating modes :- -master transmitter -master receiver -slave transmitter -slave receiver NOTE :- A NODE CAN HAVE MORE THAN ONE OPERATING MODE. HOWEVER,AT A TIMES IT HAS ONLY ONE OPERATING NODE.
Fig 2 Electrical Characteristics
6
![Page 7: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/7.jpg)
Start & stop condition
Start Condition – A high to low transition on SDA when SCL is high.
Stop Condition – A low to high transition on SDA when SCL is high.
Fig 3 7
![Page 8: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/8.jpg)
Packet format in I2C
8
![Page 9: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/9.jpg)
Fig 4
9
![Page 10: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/10.jpg)
10
![Page 11: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/11.jpg)
11
![Page 12: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/12.jpg)
12
![Page 13: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/13.jpg)
13
![Page 14: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/14.jpg)
14
![Page 15: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/15.jpg)
15
![Page 16: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/16.jpg)
16
![Page 17: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/17.jpg)
17
![Page 18: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/18.jpg)
18
![Page 19: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/19.jpg)
19
I2C Module
![Page 20: I2C BUS PROTOCOL](https://reader033.vdocuments.pub/reader033/viewer/2022052318/58a36fa51a28aba4138b6cf7/html5/thumbnails/20.jpg)
20
THANK YOU