SlideShare a Scribd company logo
Serial Communication Protocols-
Inter-Integrated circuits(I2C)
By,
Mrs.S.Revathi
• The I2C bus is a popular bus.
• The l2C was originally developed at Philips
Semiconductors.
• There are three I2C bus standards:
 Industrial 100 kbps l2C,
100 kbps SM I2C and
400 kbps l2C.
• I2C Bus has two lines that carry the signals one
line is for the clock and one is for bidirectional
data.
• I2C bus protocol has specific fields.
• Each field has specific number of bits and
sequences and time intervals between them.
• The master is a source device, one that transmits
the clock pulses for synchronization at the
destination.
• The master has a processing element, which
functions as a bus controller or microcontroller
with I2C bus interface circuit.
• Each 12C device has an address using which the
data transfers take place.
• A master can address 127 other slaves at an
instance.
• Each slave can also optionally have I2C bus
controller or a processing element.
• Any number of masters can be connected on the
bus. However, at an instance, the master is one
which initiates a data transfer on SDA (serial data)
line and which transmits the SCL (serial clock)
pulses.
Inter intergrated circuits-communication protocol
• First field of 1 bit- Start bit similar to UART
Second field of 7 bits- Address field, which defines slave
address, which is being sent the data frame (of many bytes) by
the master using SDA and SCL
Third field of 1 control bit- Control field 1, which defines
whether a read or write cycle is in progress.
Fourth field of 1 control bit- Control field 2, which defines
whether the present data is an acknowledgment (from slave).
• Fifth field of 8 bits- Data field for I2c device data byte.
• Sixth field of 1 bit- NACK (negative acknowledgement) field
in data frame, if active then acknowledgment after a transfer is
not needed from the slave; else, acknowledgement is expected
from the slave.
• Seventh field of 1 bit- Stop bit like in an UART
• A disadvantage of I2C bus is the time taken by the
algorithm executing at master hardware.
• The algorithm analyses the bits through I2C in case the
slave hardware does not provide for the hardware that
supports it.
• Some ICs support the protocol and some do not. Also,
there are open collector drivers at the master.
• Therefore, a pull-up resistance of 2.2 K on each line is
essential.
• I2C is a serial bus for interconnecting ICs.
• It has the start and stop bits as in the UART.
• It has seven fields: Start, 7-bits address, bit for defining
a read or write, byte for defining acknowledging, data
byte, NACK and End.
THANK YOU

More Related Content

What's hot (20)

PPTX
Universal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
Tejas Shetye
 
PPSX
USART - 8251 / usart-8251A Pallav Shukla
Pallav Shukla
 
PPT
SPI Bus Protocol
Sudhanshu Janwadkar
 
PDF
The I2C Interface
Corrado Santoro
 
PPTX
I2c protocol - Inter–Integrated Circuit Communication Protocol
Ankur Soni
 
PPT
I2 c
sean chen
 
PDF
Raspberry Pi - Lecture 3 Embedded Communication Protocols
Mohamed Abdallah
 
PPTX
I2c buses
Naveen Dubey
 
PPT
Serial Communication Part-16
Techvilla
 
PPTX
Slow peripheral interfaces (i2 c spi uart)
PREMAL GAJJAR
 
PPT
8251 08 Serial
Aisu
 
PPT
I2C Protocol
Anurag Tomar
 
PPT
UART
Naveen Kumar
 
PPTX
Usart 8251
saravanamanikandan02
 
PDF
SPI Protocol
Anurag Tomar
 
PPT
Master synchronous serial port (mssp)
babak danyal
 
PPT
I2C And SPI Part-23
Techvilla
 
PPTX
Serial Peripheral Interface
Anurag Tomar
 
PPTX
Serial data transfer
Dinesh Subhuraaj
 
PPTX
I2C Protocol
Abhijeet kapse
 
Universal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
Tejas Shetye
 
USART - 8251 / usart-8251A Pallav Shukla
Pallav Shukla
 
SPI Bus Protocol
Sudhanshu Janwadkar
 
The I2C Interface
Corrado Santoro
 
I2c protocol - Inter–Integrated Circuit Communication Protocol
Ankur Soni
 
I2 c
sean chen
 
Raspberry Pi - Lecture 3 Embedded Communication Protocols
Mohamed Abdallah
 
I2c buses
Naveen Dubey
 
Serial Communication Part-16
Techvilla
 
Slow peripheral interfaces (i2 c spi uart)
PREMAL GAJJAR
 
8251 08 Serial
Aisu
 
I2C Protocol
Anurag Tomar
 
SPI Protocol
Anurag Tomar
 
Master synchronous serial port (mssp)
babak danyal
 
I2C And SPI Part-23
Techvilla
 
Serial Peripheral Interface
Anurag Tomar
 
Serial data transfer
Dinesh Subhuraaj
 
I2C Protocol
Abhijeet kapse
 

Similar to Inter intergrated circuits-communication protocol (20)

PPTX
I2C introduction
SUNODH GARLAPATI
 
PPTX
embedded system on board communication.pptx
BEVARAVASUDEVAAP1813
 
PPTX
embedded system on board communication.pptx
BEVARAVASUDEVAAP1813
 
PPTX
embedded system on board communication.pptx
BEVARAVASUDEVAAP1813
 
PDF
communication interfaces-Embedded real time systems
Raghunath reddy
 
PPT
Serial-peripheral-imterface-protocol.ppt
prostation0
 
PPTX
Peripherals and interfacing
RAMPRAKASHT1
 
PPTX
Serial Busses.pptx
ssuser1542b11
 
PPTX
serial_busses_i2c.pptx
SKUP1
 
PPTX
Embedded networking
Arul Kumar
 
PPTX
I2 c communication protocol
ShankaranarayanaBarr
 
PPTX
UNI T 6- SPI_I2C_Lecture8.pptx
naveen088888
 
PPTX
I2C Protocol
Sudhanshu Janwadkar
 
PPTX
I2C presentation for Microcontrollers and Microprocessors
baileyhannahlooper
 
PPTX
Communication_Protocols[2][1].pptx on protocoals
AshishDogra34
 
PPT
I2C PRESENTATION.PPT
venkatesh405785
 
PDF
An Implementation of I2C Slave Interface using Verilog HDL
IJMER
 
PPT
Introduction to embedded systems
Игорь Медведев
 
PPT
atmega 128 and communication protocol
Rashmi Deoli
 
PPT
serial.ppt
AhmadZafrullah1
 
I2C introduction
SUNODH GARLAPATI
 
embedded system on board communication.pptx
BEVARAVASUDEVAAP1813
 
embedded system on board communication.pptx
BEVARAVASUDEVAAP1813
 
embedded system on board communication.pptx
BEVARAVASUDEVAAP1813
 
communication interfaces-Embedded real time systems
Raghunath reddy
 
Serial-peripheral-imterface-protocol.ppt
prostation0
 
Peripherals and interfacing
RAMPRAKASHT1
 
Serial Busses.pptx
ssuser1542b11
 
serial_busses_i2c.pptx
SKUP1
 
Embedded networking
Arul Kumar
 
I2 c communication protocol
ShankaranarayanaBarr
 
UNI T 6- SPI_I2C_Lecture8.pptx
naveen088888
 
I2C Protocol
Sudhanshu Janwadkar
 
I2C presentation for Microcontrollers and Microprocessors
baileyhannahlooper
 
Communication_Protocols[2][1].pptx on protocoals
AshishDogra34
 
I2C PRESENTATION.PPT
venkatesh405785
 
An Implementation of I2C Slave Interface using Verilog HDL
IJMER
 
Introduction to embedded systems
Игорь Медведев
 
atmega 128 and communication protocol
Rashmi Deoli
 
serial.ppt
AhmadZafrullah1
 
Ad

More from Revathi Subramaniam (20)

PPTX
Introduction to embedded system
Revathi Subramaniam
 
PPTX
Application of embeddd system
Revathi Subramaniam
 
PPTX
Embedded development life cycle
Revathi Subramaniam
 
PPTX
Adaptive cruise control acc
Revathi Subramaniam
 
PDF
Unsymmetrical fault analysis
Revathi Subramaniam
 
PDF
Structure of power system
Revathi Subramaniam
 
PDF
Restructuring
Revathi Subramaniam
 
PDF
Power flow analysis
Revathi Subramaniam
 
PDF
Per unit analysis
Revathi Subramaniam
 
PDF
Newton raphson method
Revathi Subramaniam
 
PDF
Introduction to power system analysis
Revathi Subramaniam
 
PDF
Gauss seidel method
Revathi Subramaniam
 
PDF
Fault analysis
Revathi Subramaniam
 
PDF
Fault analysis using z bus
Revathi Subramaniam
 
PDF
VHDL-Behavioral-Programs-Structure of VHDL
Revathi Subramaniam
 
PDF
Programmable Logic Array(PLA) & Programmable Array Logic(PAL)
Revathi Subramaniam
 
PDF
Flip flops
Revathi Subramaniam
 
PDF
Complex Programmable Logic Devices(CPLD) & Field Programmable Logic Devices (...
Revathi Subramaniam
 
PDF
Counters
Revathi Subramaniam
 
PDF
Digital logic families
Revathi Subramaniam
 
Introduction to embedded system
Revathi Subramaniam
 
Application of embeddd system
Revathi Subramaniam
 
Embedded development life cycle
Revathi Subramaniam
 
Adaptive cruise control acc
Revathi Subramaniam
 
Unsymmetrical fault analysis
Revathi Subramaniam
 
Structure of power system
Revathi Subramaniam
 
Restructuring
Revathi Subramaniam
 
Power flow analysis
Revathi Subramaniam
 
Per unit analysis
Revathi Subramaniam
 
Newton raphson method
Revathi Subramaniam
 
Introduction to power system analysis
Revathi Subramaniam
 
Gauss seidel method
Revathi Subramaniam
 
Fault analysis
Revathi Subramaniam
 
Fault analysis using z bus
Revathi Subramaniam
 
VHDL-Behavioral-Programs-Structure of VHDL
Revathi Subramaniam
 
Programmable Logic Array(PLA) & Programmable Array Logic(PAL)
Revathi Subramaniam
 
Complex Programmable Logic Devices(CPLD) & Field Programmable Logic Devices (...
Revathi Subramaniam
 
Digital logic families
Revathi Subramaniam
 
Ad

Recently uploaded (20)

PDF
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
PDF
Book.pdf01_Intro.ppt algorithm for preperation stu used
archu26
 
PPT
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PDF
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
 
PPTX
Day2 B2 Best.pptx
helenjenefa1
 
PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
PPTX
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
PPTX
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
PPTX
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
DOC
MRRS Strength and Durability of Concrete
CivilMythili
 
PPTX
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
PDF
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PPTX
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
PPTX
Introduction to Design of Machine Elements
PradeepKumarS27
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
Book.pdf01_Intro.ppt algorithm for preperation stu used
archu26
 
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
 
Day2 B2 Best.pptx
helenjenefa1
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
MRRS Strength and Durability of Concrete
CivilMythili
 
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
Introduction to Design of Machine Elements
PradeepKumarS27
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 

Inter intergrated circuits-communication protocol

  • 1. Serial Communication Protocols- Inter-Integrated circuits(I2C) By, Mrs.S.Revathi
  • 2. • The I2C bus is a popular bus. • The l2C was originally developed at Philips Semiconductors. • There are three I2C bus standards:  Industrial 100 kbps l2C, 100 kbps SM I2C and 400 kbps l2C.
  • 3. • I2C Bus has two lines that carry the signals one line is for the clock and one is for bidirectional data. • I2C bus protocol has specific fields. • Each field has specific number of bits and sequences and time intervals between them. • The master is a source device, one that transmits the clock pulses for synchronization at the destination.
  • 4. • The master has a processing element, which functions as a bus controller or microcontroller with I2C bus interface circuit. • Each 12C device has an address using which the data transfers take place. • A master can address 127 other slaves at an instance. • Each slave can also optionally have I2C bus controller or a processing element. • Any number of masters can be connected on the bus. However, at an instance, the master is one which initiates a data transfer on SDA (serial data) line and which transmits the SCL (serial clock) pulses.
  • 6. • First field of 1 bit- Start bit similar to UART Second field of 7 bits- Address field, which defines slave address, which is being sent the data frame (of many bytes) by the master using SDA and SCL Third field of 1 control bit- Control field 1, which defines whether a read or write cycle is in progress. Fourth field of 1 control bit- Control field 2, which defines whether the present data is an acknowledgment (from slave). • Fifth field of 8 bits- Data field for I2c device data byte. • Sixth field of 1 bit- NACK (negative acknowledgement) field in data frame, if active then acknowledgment after a transfer is not needed from the slave; else, acknowledgement is expected from the slave. • Seventh field of 1 bit- Stop bit like in an UART
  • 7. • A disadvantage of I2C bus is the time taken by the algorithm executing at master hardware. • The algorithm analyses the bits through I2C in case the slave hardware does not provide for the hardware that supports it. • Some ICs support the protocol and some do not. Also, there are open collector drivers at the master. • Therefore, a pull-up resistance of 2.2 K on each line is essential. • I2C is a serial bus for interconnecting ICs. • It has the start and stop bits as in the UART. • It has seven fields: Start, 7-bits address, bit for defining a read or write, byte for defining acknowledging, data byte, NACK and End.