-
Notifications
You must be signed in to change notification settings - Fork 1
Run the no OS Demonstration Standalone
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 AD40xx Evaluation Platform in this configuration is comprised of the following components:
- Analog Devices EVAL-AD400x-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
Select the SD card as the boot source for the processor.
The FMC_VADJ power rails provide power to the EVAL-ADRV9002NP/W1/PCBZ 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 EVAL-AD400x-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-AD400x-FMCZ SMA connectors
- Connect the power supply to the TEI0022
- Plug the AC-DC adapter into an AC outlet
A signal generator with 2 outputs is used to generate the differential signals driving the AD40xx inputs. The AD4020, in its default configuration, requires the input signal to be centered around 2.5V.
- Set up the first channel to generate the desired signal
- Set up the second channel for tracking the first channel
- Set up the Second channel for signal inversion.
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.
Select a Plot Channel to be displayed in IIO Oscilloscope. Click on the check box in the Plot Channel window adjacent to voltage0
Press the Capture / Stop button to begin the capture process. After viewing the waveform press the button again to stop the capture.
Change the capture mode to Frequency Domain. Select an FFT Size and Average. Press the Capture / Stop button to begin the capture process. An FFT is continuously plotted. Note that larger FFT sizes provide a higher resolution but the screen updates more slowly. The x-axis is labeled “MHz” in the top right corner and the maximum frequency depends on the sampling frequency which is independent of the selected FFT size. After viewing the FFT press the button again to stop the capture.
Right click in the IIO Oscilloscope plot area. Select a marker option. 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 100 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 Emulator. Double click on the 'Terminal Emulator' icon on the Desktop
$ cd examples/python-examples $ thunar
-
Review the Python source code
Double click on the file ad4020evb.py to review in the text editor
-
Run the Python source code
$ python3 ad4020evb.py
This capture shows a signal source of 25 kHz with harmonic components.
-
Open a Terminal Emulator. Double click on the 'Terminal Emulator' icon on the Desktop
$ cd examples/c-examples $ thunar
-
Review the C source code
Double click on the file ad4020-iiostream.c to review in the text editor
-
Compile the C source code (Use -liio flag to dynamically link the LibIIO libraries)
$ gcc ad4020-iiostream.c -o ad4020-iiostream -liio
-
Run the C executable
$ ./ad4020-iiostream
-
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 AD40XX 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