Main Content
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. You can also use Arduino Explorer
app to configure SPI communication interface to read and write data to SPI
devices connected to the Arduino hardware.
Note
All functions can be used to generate code using the MATLAB Function block. For more details, see Deploy Arduino Functions to Arduino Hardware Using MATLAB Function Block.
Functions
Topics
- 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.