I2C Interface Support from Instrument Control Toolbox
Use the I2C protocol to connect MATLAB to your chips, circuit boards, and sensors.
MATLAB supports I2C (Inter-Integrated Circuit) interface communication through Instrument Control Toolbox. I2C is a chip-to-chip interface that supports two-wire communication. Instrument Control Toolbox I2C support lets you open connections with individual chips or on-board I2C sensors. You can then read and write data over these connections.
When characterizing a sensor or verifying the performance of a device or subsystem, you can configure chip settings using I2C while measuring outputs of the board or device with other test and measurement equipment. I2C interface support is available using USB to I2C host adapters from Total Phase and National Instruments®.
Supported Interface Hardware
Instrument Control Toolbox supports the I2C interface hardware shown below. Only Controller/Master mode is supported.
Manufacturer | Model | Minimum Toolbox Version |
---|---|---|
Total Phase | Aardvark TP240141 | R2013b (version 3.4) |
National Instruments | NI-USB-8451 | R2014a (version 3.5) |
National Instruments | NI-USB-8452 | R2014a (version 3.5) |
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
Platform Support
For Total Phase Aardvark and for National Instruments I2C devices, support is available on 64-bit Microsoft® Windows® only. 64-bit Mac support is available only on releases R2012a - R2017b.
For National Instruments, support is available on 64-bit Microsoft Windows only.