You are on page 1of 1

SPI I2C UART

SPI is a synchronous duplex I2C standard is widely used UART is a protocol where two
communication protocol, which communication between . chips are directly connected.
means data can be transferred and The Tx of one chip is
received at the same time. connected to the Rx of the
other and vice-versa. This is
not a scalable protocol,
meaning that only two chips
can talk to each other using
one UART line.
It generally uses 4 wires: Master Out . It uses a data line (SDA) and a It does not transmit any clock,
Slave In (MOSI), Master In Slave Out clock line (SCL) for communication. so the receiving chip must
(MISO), Serial Clock (SCLK), and know at what speed the other
Chip Select (CS) chip is transmitting at. Similar
to SPI, it is good practice to
add a series resistor in the
UART line to compensate for
the overshoot and ringing.
Since the signals are single
ended, it is more prone to
noise, specially for long
distance. Sometimes two other
signal, CTS (Clear to Send)
and RTS (Request to Send) is
added to improve the fidelity of
the communication.
One master can communicate with ICsThere is no limitation on the
several slave, but each slave will number of slaves that can be
require a chip select signal. This connected to one master as long as
means for n number of slaves the the bus input capacitance is within
master will require n+3 pins. the limit of the I2C standard.
The speed of SPI communication can It can support speed up to 5MHz.
reach upto 100MHz.
 to communicate at high speed
several additional circuitry might be
needed. 
The most common problem of high
speed SPI signal is overshoot and
ringing.

You might also like