SPI Devices
R2026bCreate an Arduino object using arduino before you use SPI
functions. See Connect to Arduino Hardware for more information. You can use Arduino
Explorer to interactively configure the SPI communication interface to
read and write data to SPI devices connected to Arduino and other supported hardware in MATLAB® and MATLAB
Online™. For more information, see Connect to SPI Device Using Arduino Explorer App.
For a complete list of hardware supported in the installed version of MATLAB, see Supported Hardware. For more information regarding supported boards, workflows, and platforms supported on MATLAB Online, see Get Started with MATLAB Online for Arduino.
Note
All functions 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.
- Use Arduino Explorer App
Learn how to use the Arduino Explorer app to configure GPIO pins and communication protocol interfaces and visualize data.
- Connect to SPI Device Using Arduino Explorer App
Arduino Explorer app lets you configure the Serial Peripheral Interface (SPI) communication interface, which you can then use to read and write data to SPI devices connected to the Arduino hardware.