For the Instrument Control Toolbox™ I2C and SPI interfaces, you can use either a Total Phase Aardvark host adaptor or an NI-845x adaptor. To use the I2C or SPI interface with the Aardvark adaptor, you must download this Hardware Support Package to obtain the necessary files. You must also download the USB device driver from the vendor.
The Instrument Control Toolbox Support Package for Total Phase Aardvark I2C/SPI Interface downloads and installs the Total Phase Aardvark host adaptor driver file on your host computer. Examples of using the Aardvark adaptor with the I2C interface can be found in the Instrument Control Toolbox documentation. For more information on using Aardvark with the I2C and SPI interfaces, see I2C Interface Overview and SPI Interface Overview.
For R2018b and R2018a, you cannot use the Aardvark adaptor for I2C or SPI interfaces on the macOS platform. You can still use it on Windows® and Linux®. For releases prior to R2018a, you can use it on all three platforms, including the Mac.
Installing the Support Package
To install the Instrument Control Toolbox Support Package for Total Phase Aardvark I2C/SPI Interface:
On the MATLAB® Home tab, in the Environment section, click Add-Ons > Get Hardware Support Packages.
In the Add-On Explorer, scroll to the Hardware Support Packages section, and click show all to find your support package.
To uninstall support packages:
On the MATLAB Home tab, in the Environment section, click Add-Ons > Manage Add-Ons.
To update existing support packages:
On the MATLAB Home tab, in the Environment section, click Add-Ons > Check for Updates > Hardware Support Packages.
For more information about using Add-On Explorer, see Get and Manage Add-Ons (MATLAB).