SlideShare a Scribd company logo
1 of 13
Inter-Integrated Circuit
Protocol
Presented By
Abhijeet Kapse
Contents
•
•
•
•
•
•
•

History
Basic Characteristics
Overview
Advantages
Disadvantages
Application
Comparison
History
• Before 1980’s in Tv Sets- Microcontroller connected to each peripheral by
wire

• Complex and Bulky Structure
• Philips Developed Two wired Protocol-I2C
• Reduced Complexity
Basic Characteristics
• Two wired bus
• Speed
Normal mode-100kbps
Fast mode-400kbps
High Speed mode-3.4mbps

• Data Transfer: Serial,8 bit oriented , bidirectional
• Master slave approach with multimaster option
• Addressing-7 bit or 10 bit unique addressing
Overview :
• SCL : Serial Clock Line
• SDA : Serial Data Line
• Data transfer between devices connected to the bus
• Master Slave Approach
Overview :Terms
•
•
•
•
•
•

•

Transmitter – The device sending data to the bus
Receiver – Device receiving data from the bus
Master – device initiating a transfer, generates to clock and terminates a transfer
Slave – Device addressed by the master
Multi-master – more than one master can attempt to control the bus
Arbitration – procedure to insure that only one master has control of ther bus at
any instant
Synchronization – procedure to sync then clocks of two or more devices
Master and Slave
• Master :
- Controls the SCL
- Starts and stops data transfer

- Controls addressing of other devices
• Slave :
- Device address by master
Physical Structure:
+5v

Rp

Rp

Device 1

SCL
SDA

Device 2

Device 3
Special Start and Stop Conditions:
• Only in Start and Stop conditions SDA is allowed to change while SCL is high
• Data transfer mode : SDA is stable when SCL is High

SDA

SCL

SDA

SCL
Data Transfer
• Every Byte put on SDA must be 8 bit long
• Each Byte followed by Acknowledge bit
• Transfer- MSB to LSB
• When SCL is low- Data can be transfer
Advantages
• Only two signal lines requires
• Flexible data transmission rates
• Each device on the bus is independently addressable
• Devices have a simple Master/Slave relationship
• Capable of handling multiple master communications by providing
arbitration and communication collision detection
Disadvantages
• Open Collector driver at master needs pull up resistance 2.2k on each line
• High Power Requirement
• Low Speed
• Low Throughput
Comparison : I2C Vs SPI
I2C

SPI

Requires only two lines

Requires minimum four lines

Low Speed

Higher Speed

Half Duplex

Full Duplex

Additional Signal select lines not
required if devices increases

Additional Signal select lines are required
as devices increases

More Power required

Less Power Required

Multimaster can be used easily

Multimaster is difficult to implement

More Related Content

What's hot

Spi master core verification
Spi master core verificationSpi master core verification
Spi master core verification
Maulik Suthar
 

What's hot (20)

I2 c protocol
I2 c protocolI2 c protocol
I2 c protocol
 
SPI Protocol
SPI ProtocolSPI Protocol
SPI Protocol
 
SPI Protocol in LPC2148
SPI  Protocol in LPC2148SPI  Protocol in LPC2148
SPI Protocol in LPC2148
 
SPI Bus Protocol
SPI Bus ProtocolSPI Bus Protocol
SPI Bus Protocol
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
I2C
I2CI2C
I2C
 
Serial Peripheral Interface
Serial Peripheral InterfaceSerial Peripheral Interface
Serial Peripheral Interface
 
I2C BUS PROTOCOL
I2C BUS PROTOCOLI2C BUS PROTOCOL
I2C BUS PROTOCOL
 
APB protocol v1.0
APB protocol v1.0APB protocol v1.0
APB protocol v1.0
 
I2c buses
I2c busesI2c buses
I2c buses
 
Uart
UartUart
Uart
 
Spi master core verification
Spi master core verificationSpi master core verification
Spi master core verification
 
UART
UARTUART
UART
 
I2C-Bus Design and Verification Specs
I2C-Bus Design and Verification SpecsI2C-Bus Design and Verification Specs
I2C-Bus Design and Verification Specs
 
axi protocol
axi protocolaxi protocol
axi protocol
 
Apb
ApbApb
Apb
 
Serial peripheral Interface - Embedded System Protocol
Serial peripheral Interface - Embedded System ProtocolSerial peripheral Interface - Embedded System Protocol
Serial peripheral Interface - Embedded System Protocol
 
Communication Protocols (UART, SPI,I2C)
Communication Protocols (UART, SPI,I2C)Communication Protocols (UART, SPI,I2C)
Communication Protocols (UART, SPI,I2C)
 
USB protocol
USB protocolUSB protocol
USB protocol
 
Communication protocols - Embedded Systems
Communication protocols - Embedded SystemsCommunication protocols - Embedded Systems
Communication protocols - Embedded Systems
 

Viewers also liked

Protols used in bluetooth
Protols used in bluetoothProtols used in bluetooth
Protols used in bluetooth
Sonali Parab
 
Code Optimization
Code OptimizationCode Optimization
Code Optimization
guest9f8315
 

Viewers also liked (16)

Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)
 
Arm processor
Arm processorArm processor
Arm processor
 
Protols used in bluetooth
Protols used in bluetoothProtols used in bluetooth
Protols used in bluetooth
 
Multiple Inheritance
Multiple InheritanceMultiple Inheritance
Multiple Inheritance
 
I2C programming with C and Arduino
I2C programming with C and ArduinoI2C programming with C and Arduino
I2C programming with C and Arduino
 
Object-Oriented Design: Multiple inheritance (C++ and C#)
Object-Oriented Design: Multiple inheritance (C++ and C#)Object-Oriented Design: Multiple inheritance (C++ and C#)
Object-Oriented Design: Multiple inheritance (C++ and C#)
 
Compiler in System Programming/Code Optimization techniques in System Program...
Compiler in System Programming/Code Optimization techniques in System Program...Compiler in System Programming/Code Optimization techniques in System Program...
Compiler in System Programming/Code Optimization techniques in System Program...
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded System
 
Embedded C - Optimization techniques
Embedded C - Optimization techniquesEmbedded C - Optimization techniques
Embedded C - Optimization techniques
 
Arm developement
Arm developementArm developement
Arm developement
 
Embedded C
Embedded CEmbedded C
Embedded C
 
Inheritance in OOPS
Inheritance in OOPSInheritance in OOPS
Inheritance in OOPS
 
Embedded C - Lecture 1
Embedded C - Lecture 1Embedded C - Lecture 1
Embedded C - Lecture 1
 
Serial peripheral interface
Serial peripheral interfaceSerial peripheral interface
Serial peripheral interface
 
Code Optimization
Code OptimizationCode Optimization
Code Optimization
 
Iot
IotIot
Iot
 

Similar to I2C Protocol

CS553_ST7_Ch15-LANOverview.ppt
CS553_ST7_Ch15-LANOverview.pptCS553_ST7_Ch15-LANOverview.ppt
CS553_ST7_Ch15-LANOverview.ppt
ssuser2cc0d4
 

Similar to I2C Protocol (20)

Slow peripheral interfaces (i2 c spi uart)
Slow peripheral interfaces (i2 c  spi uart)Slow peripheral interfaces (i2 c  spi uart)
Slow peripheral interfaces (i2 c spi uart)
 
Embedded networking
Embedded networkingEmbedded networking
Embedded networking
 
Deepu Kumar Shah.pptx
Deepu Kumar Shah.pptxDeepu Kumar Shah.pptx
Deepu Kumar Shah.pptx
 
serial_busses_i2c.pptx
serial_busses_i2c.pptxserial_busses_i2c.pptx
serial_busses_i2c.pptx
 
Serial Busses.pptx
Serial Busses.pptxSerial Busses.pptx
Serial Busses.pptx
 
communication interfaces-Embedded real time systems
communication interfaces-Embedded real time systemscommunication interfaces-Embedded real time systems
communication interfaces-Embedded real time systems
 
Raspberry Pi - Lecture 3 Embedded Communication Protocols
Raspberry Pi - Lecture 3 Embedded Communication ProtocolsRaspberry Pi - Lecture 3 Embedded Communication Protocols
Raspberry Pi - Lecture 3 Embedded Communication Protocols
 
I2 c communication protocol
I2 c communication protocolI2 c communication protocol
I2 c communication protocol
 
Inter intergrated circuits-communication protocol
Inter intergrated circuits-communication protocolInter intergrated circuits-communication protocol
Inter intergrated circuits-communication protocol
 
Switched networks (LAN Switching – Switches)
Switched networks (LAN Switching – Switches)Switched networks (LAN Switching – Switches)
Switched networks (LAN Switching – Switches)
 
serial.ppt
serial.pptserial.ppt
serial.ppt
 
serial.ppt
serial.pptserial.ppt
serial.ppt
 
L3-L4 Data Transfer - 8085.pptx
L3-L4 Data Transfer - 8085.pptxL3-L4 Data Transfer - 8085.pptx
L3-L4 Data Transfer - 8085.pptx
 
CS553_ST7_Ch15-LANOverview (1).ppt
CS553_ST7_Ch15-LANOverview (1).pptCS553_ST7_Ch15-LANOverview (1).ppt
CS553_ST7_Ch15-LANOverview (1).ppt
 
CS553_ST7_Ch15-LANOverview.ppt
CS553_ST7_Ch15-LANOverview.pptCS553_ST7_Ch15-LANOverview.ppt
CS553_ST7_Ch15-LANOverview.ppt
 
CS553_ST7_Ch15-LANOverview.ppt
CS553_ST7_Ch15-LANOverview.pptCS553_ST7_Ch15-LANOverview.ppt
CS553_ST7_Ch15-LANOverview.ppt
 
spi-180501092933-converted.pptx
spi-180501092933-converted.pptxspi-180501092933-converted.pptx
spi-180501092933-converted.pptx
 
i2c
i2ci2c
i2c
 
MIPI DevCon 2016: A Developer's Guide to MIPI I3C Implementation
MIPI DevCon 2016: A Developer's Guide to MIPI I3C ImplementationMIPI DevCon 2016: A Developer's Guide to MIPI I3C Implementation
MIPI DevCon 2016: A Developer's Guide to MIPI I3C Implementation
 
Lan overview
Lan overviewLan overview
Lan overview
 

More from Abhijeet kapse

More from Abhijeet kapse (8)

Social crm
Social crmSocial crm
Social crm
 
Motivate
MotivateMotivate
Motivate
 
Accelerometer and LED Sensor Array Based Remote Control Car
Accelerometer and LED Sensor Array Based Remote Control CarAccelerometer and LED Sensor Array Based Remote Control Car
Accelerometer and LED Sensor Array Based Remote Control Car
 
Fight with cancer using nanorobots
Fight with cancer using nanorobotsFight with cancer using nanorobots
Fight with cancer using nanorobots
 
Arm as a Touchscreen
Arm as a TouchscreenArm as a Touchscreen
Arm as a Touchscreen
 
Fight with cancer using nanorobots
Fight with cancer using nanorobotsFight with cancer using nanorobots
Fight with cancer using nanorobots
 
Arm as a touchscreen 1
Arm as a touchscreen 1Arm as a touchscreen 1
Arm as a touchscreen 1
 
Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 

I2C Protocol

  • 3. History • Before 1980’s in Tv Sets- Microcontroller connected to each peripheral by wire • Complex and Bulky Structure • Philips Developed Two wired Protocol-I2C • Reduced Complexity
  • 4. Basic Characteristics • Two wired bus • Speed Normal mode-100kbps Fast mode-400kbps High Speed mode-3.4mbps • Data Transfer: Serial,8 bit oriented , bidirectional • Master slave approach with multimaster option • Addressing-7 bit or 10 bit unique addressing
  • 5. Overview : • SCL : Serial Clock Line • SDA : Serial Data Line • Data transfer between devices connected to the bus • Master Slave Approach
  • 6. Overview :Terms • • • • • • • Transmitter – The device sending data to the bus Receiver – Device receiving data from the bus Master – device initiating a transfer, generates to clock and terminates a transfer Slave – Device addressed by the master Multi-master – more than one master can attempt to control the bus Arbitration – procedure to insure that only one master has control of ther bus at any instant Synchronization – procedure to sync then clocks of two or more devices
  • 7. Master and Slave • Master : - Controls the SCL - Starts and stops data transfer - Controls addressing of other devices • Slave : - Device address by master
  • 9. Special Start and Stop Conditions: • Only in Start and Stop conditions SDA is allowed to change while SCL is high • Data transfer mode : SDA is stable when SCL is High SDA SCL SDA SCL
  • 10. Data Transfer • Every Byte put on SDA must be 8 bit long • Each Byte followed by Acknowledge bit • Transfer- MSB to LSB • When SCL is low- Data can be transfer
  • 11. Advantages • Only two signal lines requires • Flexible data transmission rates • Each device on the bus is independently addressable • Devices have a simple Master/Slave relationship • Capable of handling multiple master communications by providing arbitration and communication collision detection
  • 12. Disadvantages • Open Collector driver at master needs pull up resistance 2.2k on each line • High Power Requirement • Low Speed • Low Throughput
  • 13. Comparison : I2C Vs SPI I2C SPI Requires only two lines Requires minimum four lines Low Speed Higher Speed Half Duplex Full Duplex Additional Signal select lines not required if devices increases Additional Signal select lines are required as devices increases More Power required Less Power Required Multimaster can be used easily Multimaster is difficult to implement