This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

SPI Interface

Use the Raspberry Pi™’s SPI interface

Objects

raspiConnection to Raspberry Pi board
spidevConnection to SPI device on Raspberry Pi hardware

Functions

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