top of page

SPI

Recent Posts

What is SPI?

SPI is another serial communication protocol, (just like I2C),  which was invented in 1980 by Motorola. It uses 4 pins in total, which are the Clock (SCK), Master-Out-Slave-in (MOSI), Master-In-Slave-out (MISO), and the Chip select pin (CS).  

How do they work?

When the Chip Select pin (CS) is active low, the SPI communication starts, which allows the other pins to function. The "MOSI" pin is used when the master device sends data to the slave device, while the "MISO" pin does the exact opposite. The Clock pin (SCK) is used to synchronize the data using a square wave signal.

Introduction-to-SPI-Multiple-Slave-Configuration-Separate-Slave-Select.png

Figure 1: Diagram of Master & Slave

bottom of page