Beruflich Dokumente
Kultur Dokumente
IC
By:
DEEKSHITH D P
Contents
Introduction
Structure of I2C
Communication in I2C
Standards of I2C
Features
Disadvantages
Application
Conclusion
Introduction
interface bus
To attach lower speed peripheral ICs to processors and
Structure of I2C
I2C bus consist of two bus lines
1) Serial Clock (SCL)
2) Serial Data (SDA)
) SCL is responsible for generating synchronization clock
pulses
) SDA is responsible for transmitting the serial data across
device
Master
device
is
responsible
for
controlling
the
clock pulses
Slave devices waits for the command from the master and
only
Most of the I2C Supports multi master on the same bus
Vdd
2.2k
Microchip 24LC515
SCL
SCL
A2
Vdd
A1
SDA
2.2k
SDA
SCL
A0
A2
A0
Communication in I2C
I2C Bus is IDLE when both SDA and SCL is high
1) The master device pulls the clock line(SCL) bus to high
2) The master device pulls the data line(SDA) to LOW when
the SCL line at logic HIGH ,this is the start condition for
data transfer. After start condition bus will be considered as
busy
3)
Standards of I2C
I2C Bus supports three different data rates they are
1) Standard mode (data rate up to 100kbps)
2) Fast mode(data rate up to 400kbps)
3) High speed mode (data rate up to 3.4Mbps)
) The first generation I2C devices were designed to
I2C Features
Only two bus lines are required SCL&SDA lines
SDA is bidirectional, communication is half duplex
Multiple receivers do not require separate select lines
Devices have simple master/slave relationship
V 0.3
15
Disadvantages of I2C
Certain ICs support the protocol and certain do not.
Open collector drivers at the master need a pull-up
Applications
Accessing NVRAM that keep user settings
Accessing low speed DACs and ADCs
Changing contrast , hue, and color balance settings in
monitors
Controlling OLED/LCD displays
Reading real-time clocks
Conclusion
I2C Bus is used by many integrated circuits and is simple
to implement
Any microcontroller can communicate with I2C devices
even if it has no special I2C interface
Here shows I2C master controller, where I2C master will
sends and receives data from the salve. We can say that
any low speed peripherals can be used with I2C bus. In
future multiple masters can be implemented in real time
clock domain using different arbitration and clock
synchronization techniques.