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 Devices

Read and write to SPI devices connected to Arduino® hardware

Create an Arduino object using arduino before you use SPI functions. See Connect to Arduino Hardware for more information.


deviceConnection to device on I2C or SPI bus on Arduino hardware
writeReadWrite and read data from SPI device
spidevConnection to SPI device on Arduino hardware


Communicate with a SPI EEPROM Device

Learn how to store and retrieve data from an SPI EEPROM device.

Communicate with SPI Device on Arduino® Hardware

Learn how to communicate with an SPI device on your Arduino hardware.

Arduino and SPI Interface

Learn how Arduino hardware interfaces with the SPI protocol.