-
Notifications
You must be signed in to change notification settings - Fork 1
Run the Demonstration Standalone (AD469x)
The DataStorm DAQ development kit can be run as a standalone desktop computer. This hardware configuration requires a keyboard, mouse, and HDMI monitor
The AD469x demonstration uses AD4696® Evaluation Platform in this configuration which is comprised of the following components:
- Analog Devices EVAL-AD4696 (also known as EVAL-AD4696FMCZ) 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
- One (1) BNC Male to SMB Female Cable
- 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 EVAL-AD4696FMCZ 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-AD4696FMCZ 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 EVAL-AD4696FMCZ SMA connectors
- Ensure that Jumper JP11 is at position B to give onboard 5V reference, Jumper JP8 is in position A to give VADJ from FMC connector, Jumper JP7 is in position A to supply LDOin with AVDD.
- Connect the power supply to the DataStorm DAQ
- Plug the AC-DC adapter into an AC outlet
AD469x is sixteen channel multiplexed ADC, but on EVAL-AD4696FMCZ has only two channel viz ch0 and ch1 is available to give a external signal source. rest of the channel from ch2 to ch15 is given a onboard fixed dc supply. For details refer product link. For channel ch0 and ch1 expects a differential signal but chx(-) channel is effectively grounded on EVAL-AD4696FMCZ. So EVAL-AD4696FMCZ ch0 and ch1 requires a signal within range of 0V to Vref i.e 5V , negative supply signal need to be bias or offset to make in range of 0-5V signal.
The Analog Discovery 2 is used as a signal generator to drive the AD469x input.
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 1
Select Type as Sine
Select Frequency or Period
Set Amplitude to 1V
Set Offset to 1V
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. For configuring other features of AD469x follow this link.
Select a Plot Channel to be displayed in IIO Oscilloscope. Click on the check box in the Plot Channel window adjacent to voltage0. Right click on axi-ad469x-adc in the Plot Channels window. Select voltage0 and rising edge as the trigger parameters.
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 in Staggered Mode and only Channel 0 enabled.
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 the Terminal. 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 ad469x-fmcz.py to review in the text editor - Select your preferred channel to obtain readings from that specific channel - Select your preferred data read mode using ADC_MODE constant. It is set to "Staggered Mode" by default.
-
Run the Python source code
$ python3 ad469x-fmcz.py
This capture shows a signal source of 10 kHz with harmonic components in Staggered Mode and only Channel 0 enabled.
NOTE: The following image shows the output data from Channel 0 of the 16 available channels in AD469x. The outputs from other channels can be obtained in a similar method by defining the relevant channel number in the given source code.
-
Open the Terminal. 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 ad4696-iiostream.c to review in the text editor - Select your preferred data read mode using MODE_REG_VAL constant. It is set to "Staggered Mode" by default. - Select your preferred channel in the CHANNEL_NUMBER constant to obtain readings from that specific channel
-
Compile the C source code (Use -liio flag to dynamically link the LibIIO libraries)
$ gcc ad4696-iiostream.c -o ad4696-iiostream -liio
-
Run the C executable using sudo permissions. The password is analog.
$ sudo ./ad4696-iiostream
NOTE: The following image shows the output data from Channel 0 of the 16 available channels in AD469x. The outputs from other channels can be obtained in a similar method by defining the relevant channel number in the given source code.
-
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
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