Implementation of The I2c Protocol Using Fpga
Implementation of The I2c Protocol Using Fpga
IMPLEMENTATION OF AN I2C
BUS USING FPGA
By
Nagaraj
Roopa.R
Shivkumar
Venkatesh.L
Introduction
• • Communication
Communicationisisone oneofofthe
themost
mostrapidly
rapidly
growing
growingareas
areastoday.
today.
• • The
Thetransmission
transmissionisisthethephysical
physicalmovement
movementofof
information and concerns issues like
information and concerns issues like bit bit
polarity,
polarity,clock,
clock,synchronization,
synchronization,electrical
electrical
charactstics
charactsticsofofsignals
signals, ,modulation,
modulation,
demodulation
demodulationetc. etc.
Modes of based on timing control for
reception of bits
• Asynchronous transmission: In this method
only one byte is sent at a time and there no
time relation between consecutive bytes. That
is after sending a byte the next byte can be
sent after an arbitrary delay.
• Synchronous transmission: in this method bits
are always synchronized to reference clock.
Bytes are transmitted in block in a continuous
stream of bits .
INTER-INTEGRATED CIRCUIT(I2C)
• I2c is a multi master serial computer bus
invented by Philips that is used to attach low
speed peripherals to a mother board,
embedded systems, or cell phone.
• Fig 1 master and slaves.
• A sample schematic with one master
(microcontroller) and three slave nodes (an ADC,
DAC, and other microcontroller ) with pull up
resistors (Rp).
• I2C uses only 2 bidirectional open collector lines
,serial data(SDA) and serial clock(SCL),pulled up
with resistors
• Every device hooked up to the bus has its own
unique address no matter whether it is an LCD
driver , memory or ASIC . Each of these chips can
act as a receiver or as transmitter depending on
the functionality .
• Our project entitled “implementation of the
i2c protocol using fpga” involves serial data
communication between integrated
circuits(IC),that is between chips thus the
name inter-integrated circuit hence I2C
controller has been designed for interfacing
Comparison between different serial buses
Benefits:
1.Designers benefits:
• I2C bus compatible IC’s allow the system
design to rapidly progress directly from
functional block diagram to a prototype
• IC’s can be added to or removed from a
system without affecting any other circuits on
the bus.
• Fault diagnosis and debugging are simple.
In addition to the above advantages there are
few more advantages they are: