I2C, or Inter-Integrated Circuit, is a chip-to-chip interface
supporting two-wire communication. You can open connections with individual
chips and read and write over the connections. Create the interface
object using the
i2c function, and use the
To use the I2C interface, you need to have either a Total Phase Aardvark host adaptor or a NI USB-845x adaptor board installed. See Configuring I2C Communication for more details.
|Create I2C object|
|Remove instrument objects from MATLAB workspace|
|Remove instrument objects from memory|
|Display instrument object summary information|
|Disconnect interface object from instrument|
|Connect interface object to instrument|
|Read binary data from instrument|
|Write binary data to instrument|
|Instrument object properties|
|Information about available hardware|
|Class method names and descriptions|
|Record data and event information to file|
|Configure or display instrument object properties|
- Configuring I2C Communication
You need to have either a Total Phase Aardvark host adapter or a NI USB-845x adapter board installed to use the
- Transmitting Data Over the I2C Interface
Communicating over the I2C interface involves adapter discovery, connection, communication, and cleanup.
- Install the NI-845x I2C/SPI Interface Support Package
For the Instrument Control Toolbox™ I2C and SPI interfaces, you can use either a Total Phase Aardvark host adaptor or an NI-845x adaptor.
- I2C Interface Overview
Instrument Control Toolbox I2C support lets you open connections with individual chips and to read and write over the connections to individual chips.
- I2C Interface Usage Requirements and Guidelines
These tips and guidelines apply to the use of the I2C interface.
- Instrument Control Toolbox Properties
These properties are available in the toolbox.
Try these tips if you have problems using the toolbox with the I2C interface. Includes information about I2C supported platforms, adapter requirements, and configuration and connection.