Advantages and disadvantages of serial peripheral interface (SPI)
There are some important advantages of serial peripheral interface (SPI) are given below,
- It has complete flexibility for the bits transferred i.e. not limited to 8 bit word.
- It has very simple hardware interfacing.
- Not limited to any maximum clock speed, enabling potentially high speed
- It’s faster than asynchronous serial.
- It supports multiple slaves
- It supports full duplex communication.
- It having a one unique bus signal per device called as chip select and all other signals are shared.
- No arbitration failure modes.
- It has no transceivers are needed.
There are some important disadvantages of serial peripheral interface (SPI) are given below,
- It requires more pin on IC packages as compare to I²C.
- It does not support hot swapping (dynamically adding nodes).
- It supports only one master device.
- No error checking protocol.
- SPI usually requires separate SS lines to each slave, which can be problematic if numerous slaves are needed.