Difference between revisions of "Serial Peripheral Interface (SPI)"
(Created page with "Serial Peripheral Interface (SPI) is commonly used for connecting to peripheral devices. === Conventions === * <code>CS</code> is Chip Select ** On Raspberry Pi, this is <co...") |
|||
Line 1: | Line 1: | ||
− | Serial Peripheral Interface (SPI) is commonly used for connecting to peripheral devices. | + | Serial Peripheral Interface (SPI) is commonly used for connecting to peripheral devices. A commonly used alternative is [[Inter-Integrated Circuit (I2C)]]. |
=== Conventions === | === Conventions === | ||
Line 16: | Line 16: | ||
* <code>RST</code> is reset | * <code>RST</code> is reset | ||
** This is a digital signal that resets the slave device | ** This is a digital signal that resets the slave device | ||
+ | |||
+ | [[Category: Communication]] |
Latest revision as of 09:09, 24 April 2024
Serial Peripheral Interface (SPI) is commonly used for connecting to peripheral devices. A commonly used alternative is Inter-Integrated Circuit (I2C).
Conventions[edit]
CS
is Chip Select- On Raspberry Pi, this is
CE0
orCE1
- This is a digital signal that tells the slave device to listen to the master
- On Raspberry Pi, this is
DC
is Data/Command- This is a digital signal that tells the slave device whether the data on the
MOSI
line is a command or data
- This is a digital signal that tells the slave device whether the data on the
SDA
is 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
SCL
is clock line- Also called
CLK
orSCLK
(Serial Clock) - This is the line that the master uses to send clock pulses to the slave
- Also called
RST
is reset- This is a digital signal that resets the slave device