Serial Peripheral Interface (SPI)
Serial Peripheral Interface (SPI) is commonly used for connecting to peripheral devices.
Conventions
CSis Chip Select- On Raspberry Pi, this is
CE0orCE1 - This is a digital signal that tells the slave device to listen to the master
- On Raspberry Pi, this is
DCis Data/Command- This is a digital signal that tells the slave device whether the data on the
MOSIline is a command or data
- This is a digital signal that tells the slave device whether the data on the
SDAis data line- Also called
MOSI(Master Out Slave In) orDIN(Data In) - This is the line that the master sends data to the slave
- Also called
SCLis clock line- Also called
CLKorSCLK(Serial Clock) - This is the line that the master uses to send clock pulses to the slave
- Also called
RSTis reset- This is a digital signal that resets the slave device