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

PPTX
UART(universal asynchronous receiver transmitter ) PPT
PPTX
Serial peripheral Interface - Embedded System Protocol
PDF
I2C Bus (Inter-Integrated Circuit)
PPTX
PPTX
PPTX
I2C BUS
PPT
UART(universal asynchronous receiver transmitter ) PPT
Serial peripheral Interface - Embedded System Protocol
I2C Bus (Inter-Integrated Circuit)
I2C BUS

What's hot (20)

PPTX
Universal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
PPSX
USART - 8251 / usart-8251A Pallav Shukla
PPT
SPI Bus Protocol
PDF
The I2C Interface
PPTX
I2c protocol - Inter–Integrated Circuit Communication Protocol
PPT
I2 c
PDF
Raspberry Pi - Lecture 3 Embedded Communication Protocols
PPTX
I2c buses
PPT
Serial Communication Part-16
PPTX
Slow peripheral interfaces (i2 c spi uart)
PPT
8251 08 Serial
PPT
I2C Protocol
PPT
PPTX
PDF
SPI Protocol
PPT
Master synchronous serial port (mssp)
PPT
I2C And SPI Part-23
PPTX
Serial Peripheral Interface
PPTX
Serial data transfer
PPTX
I2C Protocol
Universal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
USART - 8251 / usart-8251A Pallav Shukla
SPI Bus Protocol
The I2C Interface
I2c protocol - Inter–Integrated Circuit Communication Protocol
I2 c
Raspberry Pi - Lecture 3 Embedded Communication Protocols
I2c buses
Serial Communication Part-16
Slow peripheral interfaces (i2 c spi uart)
8251 08 Serial
I2C Protocol
SPI Protocol
Master synchronous serial port (mssp)
I2C And SPI Part-23
Serial Peripheral Interface
Serial data transfer
I2C Protocol
Ad

Similar to Inter intergrated circuits-communication protocol (20)

PPTX
I2C Protocol
PPT
I2C PRESENTATION.PPT
PPTX
COM_BASIC.pptx
PPTX
I2C introduction
PDF
Design of dual master i2 c bus controller
PDF
Design &Implementation of I2C Master Controller Interfaced With RAM Using VHDL
PPTX
I2C Protocal off chip communication interface.pptx
PPTX
serial_busses_i2c.pptx
PPTX
embedded system on board communication.pptx
PPTX
embedded system on board communication.pptx
PPTX
embedded system on board communication.pptx
PDF
communication interfaces-Embedded real time systems
PDF
PPT
I2C Bus 11.3.2 Unit 2 Design of Embedded systems Ref. Book Ajay Deshmukh
PPTX
Serial Busses.pptx
PPTX
Part-2: Mastering microcontroller with embedded driver development
PPTX
I2C presentation for Microcontrollers and Microprocessors
PDF
An Implementation of I2C Slave Interface using Verilog HDL
PPTX
seial pheripheral interface and inter integrated circuitsi2c.pptx
PPTX
INTRODUCTION TO INTER INTEGRATED CIRCUIT PROTOCOL
I2C Protocol
I2C PRESENTATION.PPT
COM_BASIC.pptx
I2C introduction
Design of dual master i2 c bus controller
Design &Implementation of I2C Master Controller Interfaced With RAM Using VHDL
I2C Protocal off chip communication interface.pptx
serial_busses_i2c.pptx
embedded system on board communication.pptx
embedded system on board communication.pptx
embedded system on board communication.pptx
communication interfaces-Embedded real time systems
I2C Bus 11.3.2 Unit 2 Design of Embedded systems Ref. Book Ajay Deshmukh
Serial Busses.pptx
Part-2: Mastering microcontroller with embedded driver development
I2C presentation for Microcontrollers and Microprocessors
An Implementation of I2C Slave Interface using Verilog HDL
seial pheripheral interface and inter integrated circuitsi2c.pptx
INTRODUCTION TO INTER INTEGRATED CIRCUIT PROTOCOL
Ad

More from Revathi Subramaniam (20)

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

Recently uploaded (20)

PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
composite construction of structures.pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Well-logging-methods_new................
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
additive manufacturing of ss316l using mig welding
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Lecture Notes Electrical Wiring System Components
Structs to JSON How Go Powers REST APIs.pdf
CH1 Production IntroductoryConcepts.pptx
Lesson 3_Tessellation.pptx finite Mathematics
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
composite construction of structures.pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Well-logging-methods_new................
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
573137875-Attendance-Management-System-original
OOP with Java - Java Introduction (Basics)
Strings in CPP - Strings in C++ are sequences of characters used to store and...
CYBER-CRIMES AND SECURITY A guide to understanding
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
additive manufacturing of ss316l using mig welding

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.