Presented By: Hemal M. Chevli Vishal Sharma Guided By: MR - Prasad Joshi
Presented By: Hemal M. Chevli Vishal Sharma Guided By: MR - Prasad Joshi
Chevli
Vishal Sharma
Guided by: Mr.Prasad Joshi
1
Introduction
2
What is I2C
Originally, bus defined by providing a simple way to talk
between IC’s by using a minimum number of pins
A set of specifications to build a simple universal bus
guaranteeing compatibility of parts (ICs) from different
manufacturers:–
Simple Hardware standards
Simple Software protocol standard
No specific wiring or connectors -most often it’s just
PCB tracks
Has become a recognised standard throughout our
industry and is used now by ALL major IC manufacturers
3
Simple bi-directional 2-wire bus:
serial data (SDA)
serial clock (SCL)
Has become a worldwide industry standard and used by all
major IC manufacturers
Multi-master capable bus with arbitration feature
Master-Slave communication; Two-device only
communication
Each IC on the bus is identified by its own address code
The slave can be a:
receiver-only device
transmitter with the capability to both receive and send data
4
I2C bus
Simple procedures that allow communication to start, to
achieve data transfer, and to stop
Described in the Philips protocol (rules)
Message serial data format is very simple
Often generated by simple software in general purpose micro
Dedicated peripheral devices contain a complete interface
Multi-master capable with arbitration feature
Each IC on the bus is identified by its own address code
Address has to be unique
The master IC that initiates communication provides the
clocksignal (SCL)
There is a maximum clock frequency but NO MINIMUM SPEED
5
I2C implementation
6
START/STOP conditions
7
START/STOP conditions
8
Addressing Scheme
9
7-bit Addressing scheme
10
10-bit addressing scheme
11
Read/Write Operations
Write to slave
12
Ways to drive I2C
14
Thank you
15