Advantages of SPI | disadvantages of SPI

This page covers advantages and disadvantages of SPI. It mentions SPI advantages or benefits and SPI disadvantages or drawbacks. It also describes SPI interface basics.

What is SPI?

Introduction:
• SPI stands for Serial Peripheral Interface.
• It uses four lines for communication between devices viz. one master and multiple slaves. They are MOSI (Master Out Slave In) , MISO (Master In Slave Out), SCLK (Serial Clock) and SS (Slave Select).
• It supports data rate of about 10 to 20 Mbps. Maximum limit is not specified in SPI interface specifications.
• It is synchronous communication as there is one common serial clock used between one master and one/many slave devices.

SPI interface diagram

Refer UART vs SPI vs I2C >> and SPI Interface >> for more information.

Benefits or advantages of SPI

Following are the benefits or advantages of SPI:
➨It is very simple protocol hence it does not require processing overheads. Designers need to understand respective read/write timing diagrams of microcontroller/EPROM in order to use it.
➨It supports full duplex communication.
➨SPI uses push-pull configuration and hence higher data rates and longer distances are supported by SPI.
➨It consumes less power than I2C interface.
➨Data can be transferred at high speed in tens of MHz

Drawbacks or disadvantages of SPI

Following are the disadvantages of SPI:
➨It uses one CS line per slave and hence hardware complexity increases if slave devices are more in the design.
➨In order to add slave device, software needs to be changed and extra CS line is required to be added.
➨No flow control and no acknowledgment used in SPI.
➨Master and Slave relationships mapped to the devices can not be altered unlike I2C interface.
➨Master may not be aware whether slave is present or absent. Handshaking is needed using software.



Advantages and Disadvantages of other wireless technologies

IrDA    HomeRF    Bluetooth    Radar    RF    Wireless    Internet    Mobile Phone    IoT    Solar Energy    Fiber Optic    Microwave    Satellite    GPS    RFID    AM and FM    LTE   

Useful interface types

UART vs SPI vs I2C   RS485 interface   RS422 interface   CAN interface   SPI interface   interface types and converters   DigRF interface  what is microcontroller  microcontroller vs microprocessor  microcontroller programming 

What is Difference between

difference between OFDM and OFDMA
Difference between SC-FDMA and OFDM
Difference between SISO and MIMO
Difference between TDD and FDD
FDMA vs TDMA vs CDMA
FDM vs TDM
CDMA vs GSM

RF and Wireless Terminologies