SPI Interface Support from Instrument Control Toolbox

Communicate with chips, circuit boards and sensors using MATLAB.

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®.

Supported Interface Hardware

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)

Platform Support

For Total Phase Aardvark, support is available on 64-bit Microsoft® Windows® and Linux®. 64-bit Mac support is available only on releases R2012a - R2017b.

For National Instruments, support is available on 64-bit Microsoft Windows only.

Get Support Package Now

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, MathWorks Supported, MATLAB Product Family, 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:



  • Any SPI interface hardware listed on this page.

Don't see the hardware you're looking for?