MATLAB® supports SPI interface communication through Instrument Control Toolbox™. SPI (Serial Peripheral Interface) is a chip-to-chip interface that supports four- wire duplex communications. Instrument Control Toolbox SPI interface support lets you open connections with individual devices, such as EEPROM or on-board SPI sensors, on the SPI bus. You can then read and write data over the connections.
When characterizing a sensor or verifying the performance of a device or subsystem, you can configure chip settings using SPI while measuring outputs of the board or device with other test and measurement equipment. SPI interface support is available using SPI host adapters from Total Phase and National Instruments®.
Instrument Control Toolbox supports the SPI interface hardware shown below.
|Manufacturer||Model||Minimum Toolbox Version|
|Total Phase||Aardvark TP240141||R2013b (version 3.4)|
|National Instruments||NI-USB-8451||R2014b (version 3.6)|
|National Instruments||NI-USB-8452||R2014b (version 3.6)|
For Total Phase Aardvark, support is available on 64-bit Microsoft® Windows®, 64-bit Mac OS X, and Linux®.
For National Instruments, support is available on 64-bit Microsoft Windows only.
There are two support packages depending on the hardware being used. Click to get your support package now:
|For Total Phase Aardvark|
|For National Instruments USB-845x|
Related Hardware Support Views: Communication Infrastructure, Consumer Electronics, I2C ∕ SPI, Instrument Control Toolbox, MATLAB Product Family, MathWorks Supported, National Instruments, Semiconductor, Support Package Installer Enabled, Test and Measurement, Total Phase
The Support Package Installer installs this support package and all required third-party software. To start the installer, go to the MATLAB toolstrip and click Add-Ons > Get Hardware Support Packages. For more information, read the documentation.
For National Instruments hardware:
For Total Phase Aardvark hardware: