Open main menu

Humanoid Robots Wiki β

Changes

Serial Peripheral Interface (SPI)

884 bytes added, 24 April
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..."
Serial Peripheral Interface (SPI) is commonly used for connecting to peripheral devices.

=== Conventions ===

* <code>CS</code> is Chip Select
** On Raspberry Pi, this is <code>CE0</code> or <code>CE1</code>
** This is a digital signal that tells the slave device to listen to the master
* <code>DC</code> is Data/Command
** This is a digital signal that tells the slave device whether the data on the <code>MOSI</code> line is a command or data
* <code>SDA</code> is data line
** Also called <code>MOSI</code> (Master Out Slave In) or <code>DIN</code> (Data In)
** This is the line that the master sends data to the slave
* <code>SCL</code> is clock line
** Also called <code>CLK</code> or <code>SCLK</code> (Serial Clock)
** This is the line that the master uses to send clock pulses to the slave
* <code>RST</code> is reset
** This is a digital signal that resets the slave device