Example: Mini AllIO

This example builds on an FPGA application that feeds all digital and analog lines of the ZSOM-Mini to the RT application. It also incorporates the on-board TWI bus. See the examples for RTC and IMU on how to use it.

The example can be used as a template to build custom applications. Copy the folder <LabVIEW>\examples\ZSOM\Mini\easy\ZSOM-Mini_AllIO to your preferred working directory.

Project: ZSOM-Mini_AllIO.lvproj. In LabVIEW, open Help → Find Examples and search for “ZSOM”.

AllIO example, front panel (tab ADC)
RT code: front panel

The front panel has three tabs.

Tab Content
GPIOs The GPIOs that control the power distribution, see Example: Mini GPIO
DIO DIN DOUT Digital I/O lines, see Example: Mini GPIO
ADC Burst reading of the analog inputs, see Example: ADC burst
  • FPGA (AllIO_FPGA_main.vi): Provides the analog and digital lines and the GPIOs to the RT.
  • RT (AllIO_main.vi): Loads and starts the FPGA and runs three parallel loops: ADC 1 (burst reading with filtered DC value), GPIOs and DIO DIN DOUT.

Block diagram of the RT VI
RT code: block diagram

Block diagram of the FPGA VI
FPGA code: block diagram

  • Last modified: 4 weeks ago