I2C

I2C (Inter-Integrated Circuit, see I2C), also known as TWI (Two-Wire Interface).

Any digital IO line can be used as an I2C interface with the VIs from the SDK. The data is transferred via 2 FIFOs.

The following Examples included in the SDK can be used as a reference on how to use the VIs:

  1. ZSOM-Control_SmartBattery.lvproj (reads a smart battery fuel gauge via the DIOs)
  2. ZSOM-Mini_RTC.lvproj (reads and sets time and wake-up alarms of the precise RTC on ZSOM-Mini)
  3. ZSOM-Mini_IMU.lvproj (reads heading information from the 9 axes IMU on ZSOM-Mini