SPI Interface

Use the Raspberry Pi™’s SPI interface

Functions

raspiCreate connection to Raspberry Pi hardware
spidevCreate connection to SPI device
writeReadWrite data to and read data from SPI device
enableSPIEnable SPI interface
disableSPIDisable SPI interface

Examples and How To

Use the Raspberry Pi SPI Interface to Connect to a Device

Use the SPI Interface on the Raspberry Pi Hardware

Concepts

The Raspberry Pi SPI Interface

SPI Interface on the Raspberry Pi Hardware

Featured Examples