-
Notifications
You must be signed in to change notification settings - Fork 1
Run the Demonstration Standalone (AD7768‐1)
The DataStorm DAQ development kit can be run as a standalone desktop computer. This hardware configuration requires a keyboard, mouse, and HDMI monitor.
The AD7768-1® Evaluation Platform in this configuration is comprised of the following components:
- Analog Devices EV-AD7768-1FMCZ (also Known As EVAL-AD7768-1) data converter board
- DataStorm DAQ (Trenz Intel® Cyclone® V SoC TEI0022 Development Board) (Includes 12VDC power supply)
- Digilent Analog Discovery 2 Signal Generator with dual outputs
- Digilent Discovery BNC adapter board
- Two (2) BNC Male to SMB Female Cables
- Monitor with HDMI input
- HDMI cable
- Keyboard and Mouse with USB connectors
- Separate Windows PC running Digilent WaveForms App
Select the SD card as the boot source for the processor.
The FMC_VADJ power rails provide power to the EV-AD7768-1FMCZ via the FMC interface. This is an adjustable voltage. It must be set to 3.3V. Modify the VID_SW DIP switch settings to select 3.3V.
Follow the steps in the order shown below.
- Insert the Micro SD card into the SD card slot
- Insert the EV-AD7768-1FMCZ FMC connector into the FMC mating connector on the DataStorm DAQ board
- Attach the monitor to the DataStorm DAQ using an HDMI cable
- Attach the keyboard and mouse to the DataStorm DAQ using any of the 4 USB ports
- Connect the Signal Generator to the EV-AD7768-1FMCZ SMA connectors
- Ensure that Jumper VINSEL is in position B EV-AD7768-1FMCZ board, for it to be powered via the FMC connector
- Connect the power supply to the DataStorm DAQ
- Plug the AC-DC adapter into an AC outlet
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 (+5V on the EV-AD7768-1FMCZ board). This means that the user is expected to provide a true differential input centered at VCOM (AVDD1-AVSS)/2 (as in yellow tag #5 below)
Install (if not already done) the Digilent WaveForms App.
Open the WaveForms App and Click on Wavegen in the left margin which opens a waveform window
Click on Channels and select 2
Select Type as Sine
Select Frequency or Period
Set Amplitude to 2V
Set Offset (Common Mode Voltage) to 2.5V
For Channel 2, Match the Channel 1 settings
Select the Phase to 180 degrees for Inverse signal
Click on No synchronization and select Synchronized
Click Run All
Power up the unit and wait approximately 60 seconds for the unit to be fully functional.
IIO Oscilloscope automatically launches during the Linux boot process. No further configuration is required, however the application also has a desktop icon in case the user needs to launch the application on demand.
Select a Plot Channel to be displayed in IIO Oscilloscope. Click on the check box in the Plot Channel window adjacent to voltage0
Select an appropriate number of Time Domain samples in the Plot Type window. Press the Capture / Stop button to begin the capture process.
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.
The LibIIO library API enables access to the converter data from C code, Python code, or MATLAB. A small sample of C and Python codes are provided for the reader and can be run natively on the DataStorm DAQ.
-
Open a Terminal. To do this, either double click on the 'Terminal Emulator' icon on the Desktop or type CTRL + T.
$ cd examples/python-examples $ thunar
-
Review the Python source code
Double click on the file ad7768evb-1.py to review in the text editor
-
Run the Python source code
$ python3 ad7768evb-1.py
This capture shows a signal source of 10 kHz with harmonic components.
-
Open a Terminal. To do this, either double click on the 'Terminal Emulator' icon on the Desktop or type CTRL + T.
$ cd examples/c-examples $ thunar
-
Review the C source code
Double click on the file ad7768-1-iiostream.c to review in the text editor
-
Compile the C source code (Use -liio flag to dynamically link the LibIIO libraries)
$ gcc ad7768-1-iiostream.c -o ad7768-1-iiostream -liio
-
Run the C executable
$ ./ad7768-1-iiostream
-
Power down the target. Launch a Root Terminal by double clicking on the root terminal icon. Type the following
$ poweroff
-
Wait 30 seconds and then you can safely power down the DataStorm DAQ
Return to AD7768-1 Quick Start Guide
Please click Here to purchase platform boards
Arrow Data Storm DAQ Development Platform
Introduction
Developer Starter Guides
Additional Developer Docs
AD40xx Platform User Guide
AD7768 Platform User Guide
AD7768-1 Platform User Guide
AD7606B Platform User Guide
AD738x Platform User Guide
AD469x Platform User Guide
AD463x Platform User Guide
ADRV9001/2 Platform User Guide