The Serial Peripheral Interface (SPI) pins are used for a synchronous serial data protocol that is used by microcontrollers for communicating with peripheral devices. This protocol always has one master with one or more slave devices. The pins are:
- MISO: The Master in Slave out pin is used to send data from the slave to the master device.
- MOSI: The Master out Slave in the pin is used to send data from the master to the slave device.
- SCK: The serial clock synchronizes the data transmission and is generated by the master.
- SS: The slave select pin tells the slave to go active or to go to sleep. This is used to select which slave device should receive the transmission from the master.
Now that we have quickly looked at the pins on ...