Run the Demonstration Standalone (AD7768 1) - ArrowElectronics/data-storm-daq GitHub Wiki

The DataStorm DAQ development kit is designed to run as a standalone desktop computer. Connect a keyboard, mouse and HDMI display to operate in this mode.

Configuration for local IIO Oscilloscope access



The DataStorm DAQ development kit is designed to run as a standalone desktop computer. Connect a keyboard, mouse and HDMI display to operate in this mode.

The AD7768-1 Evaluation Platform in this configuration is comprised of the following components:

  • Analog Devices EVAL-AD7768-1-FMCZ data converter board
  • Trenz Intel® Cyclone® V SoC TEI0022 Development Board (includes 12VDC power supply)
  • Signal Generator with dual outputs capable of channel tracking and inversion for differential outputs
  • Two (2) BNC to SMA Cables
  • Monitor with HDMI input
  • HDMI cable
  • Keyboard and Mouse with USB connectors

Assemble the Hardware

Follow the steps in the order shown below.

  • Insert the Micro SD card into the SD card slot
  • Insert the EVAL-AD7768-1-FMCZ FMC connector into the FMC mating connector on the Trenz TEI0022 board
  • Attach the monitor to the TEI0022 using an HDMI cable
  • Attach the keyboard and mouse to the TEI0022 using any of the 4 USB ports
  • Connect the Signal Generator to the EVAL-AD7768-1-FMCZ SMA connectors
  • Ensure that Jumper VINSEL is in position B EVAL-AD7768-1 board, for it to be powered via the FMC connector
  • Connect the power supply to the TEI0022
  • Plug the AC-DC adapter into an AC outlet

Signal Source

A signal generator with 2 outputs is used to generate the differential signals driving the AD7768-1 inputs. The AD7768-1 expects the input signals to swing between AVSS and AVDD1. This means that the user is expected to provide a true differential input centered at VCOM (AVDD1-AVSS)/2.

  • Set up the first channel to generate the desired signal
  • Set up the second channel for tracking the first channel
  • Offset both channels with VCOM.

Run the demonstration standalone

Power up the unit using this hardware configuration. Wait approximately 60 seconds for the unit to be fully functional.

IIO Oscilloscope will be automatically launched on the system desktop. No configuration is required.


Enable voltage0 ADC channel

Select a Plot Channel to be displayed in IIO Oscilloscope. Click on the check box in the Plot Channel window adjacent to voltage0


Capture Time Domain Signals

Select an appropriate number of Time Domain samples in the Plot Type window. Press the Capture / Stop button to begin the capture process.


Capture Frequency Domain Signals with Frequency Markers enabled

Change the capture mode to Frequency Domain. Select an FFT Size and Average. Press the Capture / Stop button to begin the capture process.


Right click in the IIO Oscilloscope plot area. Select Single Tone markers. Press the Capture / Stop button to begin the capture process with markers.

Note the information in the Marker window. This capture shows a signal source of 10 khz with harmonic components.


Run the Python script

The LibIIO library API enables access to the converter data from C code, Python code, or Matlab. A small sample of Python code is provided for the reader and can be run natively on the DataStorm DAQ.

Review the Python source code

  • Open a Terminal Emulator. Double click on the 'Terminal Emulator' icon on the Desktop

      $ cd examples
      $ thunar
    


  • Review the Python source code

      Double click on the file ad7768-1evb.py to review in the text editor
    



  • Run the Python source code

      $ python3 ad7768-1evb.py
    


Shutting down the demo

  • Power down the target. Launch a Root Terminal. Type the following

      $ poweroff  
    
  • Wait 30 seconds and then you can safely power down the DataStorm DAQ


Return to AD7768-1 Quick Start Guide

⚠️ **GitHub.com Fallback** ⚠️