Skip to content

Run the Demonstration (AD7606B)

SnehalBuche edited this page Aug 13, 2021 · 1 revision

Run the Demonstration

Table of Contents

  1. Signal source
  2. Run the demonstration locally
  3. Run the demonstration via ethernet

Signal Source

A signal generator is used to generate the single ended or bipolar signal, driving the AD7606B inputs. The AD7606B expects the input signals to swing between AGND and +/-AVCC. This means that the user is expected to provide a single ended bipolar input signal with max amplitude within +AVCC to -AVCC respected to AGND.

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. Right click on axi-ad7606-adc in the Plot Channels window. Select voltage0 and rising edge as the trigger parameters.


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.


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

Run the demonstration via ethernet

Define the host PC IP address

A wired ethernet point-to-point connection between the host PC and the embedded target is required. Use this link for instructions on how to assign a static IP address to the host Ethernet adapter. Set the following values

  • IP address : 192.168.0.1

  • Subnet mask : 255.255.255.0

  • No entries required for the other fields

Connect to the target terminal

  • A wired Micro USB serial port connection between the host PC and the embedded target is required
  • Launch a linux terminal (like Tera Term VT or Putty) and connect using serial port
  • Select 115200 baud
  • Select the appropriate target COM port

Define the target IP address

Type the following at the terminal prompt to set the target IP address

  • $ ifconfig eth0 192.168.0.2 up

Launch IIO Oscilloscope

Note: IIO Oscilloscope creates a .osc_profile.ini file in the Users/UserName/Appdata/Local directory. The next time IIO Oscilloscope is opened, the existence of this file delays connection to the target. It is recommended to delete the .osc_profile.ini (if it exists) prior to launching IIO Oscilloscope.

Connect to the target

  • Select the Discoverable/Scan option and click the Refresh button..
  • A successful connection results in discovery of the IIO devices. Press OK to continue.


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. Right click on axi-ad7606-adc in the Plot Channels window. Select voltage0 and rising edge as the trigger parameters.


Capture Time Domain Signals

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.


Shutting down the demo

  • Power down the target. Type the following at the terminal prompt

      $ poweroff  
    
  • Wait until the linux terminal shows

      $ reboot : System Halted
    
  • Close out IIO Oscilloscope and all associated windows

Prev- Install Required Software

Return to AD7606B Quick Start Guide



Clone this wiki locally