Run the no‐OS Demonstration Standalone (AD738x) - ArrowElectronics/data-storm-daq GitHub Wiki
In addition to the DataStorm DAQ development kit running either in standalone mode or remotely via Ethernet cable, it can also run with no-OS software while connected to computer via an usb cable.
Configuration for no-OS software access
The AD738x demonstration uses AD7380® or AD7381® Evaluation Platform in this configuration which is comprised of the following components:
- Analog Devices EVAL-AD7380FMCZ or EVAL-AD7381FMCZ 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 Cable
- USB connectors
- Separate Windows PC running Digilent WaveForms App and Terminal Program
Configure BOOTSEL DIP Switches
Select the SD card as the boot source for the processor.
Configure FMC_VADJ DIP Switches
The FMC_VADJ power rails provide power to the EVAL-AD738xFMCZ 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.
Assemble the Hardware
Follow the steps in the order shown below.
- Insert the Micro SD card into the SD card slot
- Insert the EVAL-AD738xFMCZ FMC connector into the FMC mating connector on the DataStorm DAQ board
- Connect the Signal Generator to the EVAL-AD738xFMCZ SMA connectors
- Ensure that Jumper LK4 is on position 3, 4 for setting external reference to +3.3V, Jumper LK3 is in position 1,2 to to get +12V from FMC on the EVAL-AD738xFMCZ board, Jumper LK5 is in position 3, 4 to get onboard vlogic supply on AD738x. Ensure Jumper LK1 & LK2 is in position 1, 2.
- Connect the power supply to the DataStorm DAQ
- Plug the AC-DC adapter into an AC outlet
Signal Source
The AD738x requires a Differential signal from a signal source. The EVAL-AD738xFMCZ, in its default configuration, requires the input signal to be centered around VCM=3.3V/2. Connect the Differential signal source to VIN+ and VIN- input of EVAL-AD738xFMCZ.
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 1.65V
Set Offset (Common Mode Voltage) to 0V
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
Run the no-OS demonstration
Software for no-OS access
There may be a few software components that need to be installed in order to run this demo successfully:
- A SW terminal like Tera Term VT or Putty
Connect to the target terminal
- A wired Micro USB serial port connection between the separate Windows PC and the embedded target is required
- Launch a terminal program like Tera Term VT or Putty and connect via a serial port to interact with the demo
- Select 115200 baud
- Select the appropriate target COM port
Run the demonstration
Simply power up the unit. No additional configuration is required. The bare metal application runs automatically and continuously streams analog measurement results across the serial port to be received and displayed in the terminal program running on the separate Windows PC.
Note: The snapshot demo images are based on AD7380, But similarly it can be applicable for other AD738x platforms.
NOTE: HDL design for AD738x is based on 2-wire mode (SDIx2) for max ADC data throughput. The no-OS driver supports 2-wire and 1-wire mode upto 2MSPS and 1MSPS throughputs respectively.