Wiki

No renderer 'pdf' found for mode 'pdf'
This version (24 Apr 2017 15:05) was approved by J.Harris.The Previously approved version (26 Feb 2016 20:43) is available.Diff

EVALUATING THE AD9684 DUAL 14B ADC

Preface

This user guide describes the AD9684 evaluation board which provides all of the support circuitry required to operate the ADC in its various modes and configurations. The application software used to interface with the devices is also described.

The AD9684 data sheet provides additional information and should be consulted when using the evaluation board. All documents and software tools are available at www.analog.com/hsadcevalboard. For additional information or questions, send an email to highspeed.converters@analog.com.

AD9684 Evaluation Board

Figure 1. AD9684 Evaluation Board

Typical Measurement Setup

Figure 2. Evaluation Board Connection—AD9684-500EBZ (on Left) and HSC-ADC-EVALEZ (on Right)

Features

  • Full featured evaluation board for the AD9684
  • SPI interface for setup and control
  • Wide band Balun driven input
  • No external supply needed. Uses 12V-1A and 3.3V-3A supplies from FMC
  • VisualAnalog® and SPI controller software interfaces

Helpful Documents

Software Needed

Design and Integration Files

Equipment Needed

  • Analog signal source and antialiasing filter
  • Encode clock source
  • 12V, 6.5A switching power supply (such as the SL POWER CENB1080A1251F01 supplied with hsc-adc-evale)
  • PC running Windows®
  • USB 2.0 port
  • hsc-adc-evale FPGA-based data capture kit

Getting Started

This section provides quick start procedures for using the evaluation board for AD9684.

Configuring the Board

Before using the software for testing, configure the evaluation board as follows:

  1. Connect the evaluation board to the hsc-adc-evale data capture board, as shown in Figure 2.
  2. Connect one 12V, 6.5A switching power supply (such as the CENB1080A1251F01 supplied) to P4 on the hsc-adc-evale board. Connect the Standard-B USB port of the hsc-adc-evale board to the PC with the supplied USB cable.
  3. Turn on the hsc-adc-evale.
  4. The hsc-adc-evale will appear in the Windows(R) Device Manager
  5. If the Device Manager does not show the hsc-adc-evale listed as shown in Figure 2, unplug all USB devices from the PC, uninstall and re-install SPIController and VisualAnalog and restart the hardware setup from step 1.
  6. On the ADC evaluation board, provide a clean, low jitter 1GHz clock source to connector J801 and set the amplitude to 14dBm. This is the ADC Sample Clock.
  7. On the ADC evaluation board, use a clean signal generator with low phase noise to provide an input signal for channel A to P200. Use a shielded, RG-58, 50 Ω coaxial cable to connect the signal generator output to the ADC Evaluation Board. For best results, use a narrow-band, band-pass filter with 50 Ω terminations and an appropriate center frequency. (ADI uses TTE, Allen Avionics, and K & L band-pass filters.)
  8. On the ADC evaluation board, use a clean signal generator with low phase noise to provide an input signal for channel B to P202. Use a shielded, RG-58, 50 Ω coaxial cable to connect the signal generator output to the ADC Evaluation Board. For best results, use a narrow-band, band-pass filter with 50 Ω terminations and an appropriate center frequency. (ADI uses TTE, Allen Avionics, and K & L band-pass filters.)

Visual Analog Setup

  1. Click Start right All Programs right Analog Devices right VisualAnalog right VisualAnalog
  2. On the VisualAnalog “New Canvas” window, click ADCrightDualrightAD9684
  3. Select a Dual ADC

    Figure 3. Selecting the AD9684 canvas

  4. Select the AD9684

    Figure 4. Selecting the AD9684 canvas

  5. View the AD9684 canvas

    Figure 5. TheAD9684 canvas

  6. If VisualAnalog opens with a collapsed view, click on the “Expand Display” icon (see figure 6)

    Figure 6. Expanding Display in VA

  7. Click the Settings button in the ADC Data Capture block to view the capture size as shown in Figure 7

    Figure 7. Setting the capture length

  8. On the General tab make sure the clock frequency is set to 500MHz (or other clock frequency). The FFT capture length may be changed to 131072 (128k) per channel. The HSC-EVALE FPGA software supports up to 256K FFT capture (128K per channel)

    Figure 8. Setting the clock frequency

  9. Click on the Capture Board tab and browse to the ad9684_evalez_05202014_0903am.mcs file. Click the Program button. The FPGA_DONE LED should illuminate on the HSC-EVALE board indicating that the FPGA has been correctly programmed. The bin file is available at the ftp site ftp://ftp.analog.com/pub/HSC_ADC_Apps/AD9684CE01A_Design_Support/ad9684_evalez_05202014_0903am.mcs
  10. Click OK

SPIController Setup

  1. Click Start right All Programs right Analog Devices right SPIController right SPIController
  2. Select the appropriate configuration file when prompted.
  3. In the Global tab, under the Generic Read/Write section, write 0x81 to register 0x000. This issues a Soft reset for the DUT.

    Figure 9. Sending a Soft Reset to the AD9684

  4. Individual Channel control for ADC A and ADC B are done using the Device Index Register (0x008) in the Global tab.

    Figure 10. Device Index for ADC Channel A and Channel B

  5. Under ADC A and ADC B tabs the options for Channel A and B are listed. Default settings have been programmed to ensure optimal performance for the input bandwidth and sample rate. Only the following options need to be operated with:
    1. Chip Configuration Register (2): This option allows the channel to be powered on
    2. Buffer Current Setting (18): This option allows the buffer current to change to enable better harmonic performance at different frequencies. At high analog input frequencies, the buffer current may need to be increased to optimize harmonic distortion performance (HD2, HD3). Keep in mind that at high frequencies, the performance is also jitter limited. So increasing the buffer currents may lead to diminishing returns with higher power consumption. Refer to the datasheet to understand the relationship between IAVDD3 and Buffer Current Setting.
    3. Analog Input Differential Termination (16): This sets the input termination. Recommended settings are 400, 200, 100, 50 ohms. At lower termination settings, the harmonic distortion performance may show improvement, but the analog input signal amplitude will be reduced.
    4. Input Full Scale Range (25): At high input frequencies, in order to preserve the linearity of the input buffer, it may be beneficial to reduce the input full-scale range in order to get more harmonic distortion performance. This in turn may negatively affect the SNR of the ADC.

Device Setup - 2 ADCs, 2DDCs, Real Mode Decimate by 2

  1. The settings in the ADCBase0 tab must be changed to configure the AD9684 to use the DDCs. In this example the AD9684 is set up to use two DDCs (one per ADC channel) with real outputs and a decimation ratio of two. Set the Chip Application Mode in register 0x200 to Two Digital Down Converters and select the Only Real (I) Selected checkbox. Set the Chip Decimation Ratio in register 0x201 to Decimate by 2 Ratio.

    Figure 11. Set Application Mode to 2 DDCs Real Mode Decimate by 2

  2. The DDC settings must be configured in ADCBase1, but first, the tuning step, translation frequency, and DDC Phase Increment must be calculated.
    1. The tuning step is equal to the output sample rate divided by 4096.
      1. tuning step = 500MSPS/4096 = 122070.3125
    2. The translation frequency is equal to the output sample rate divided by 4*(decimation ratio).
      1. translation frequency = 500MSPS/(4*2) = 62500000
    3. The DDC Phase Increment is equal to the translation frequency divided by the tuning step.
      1. DDC Phase Increment = 62500000/122070.3125 = 512
  3. Under DDCO CTRL and DDC1 CTRL in the ADCBase1 tab configure the DDCs to select 6dB Gain, Decimate by 4 Filter Selection (when in real mode this actually sets the AD9684 to Decimate by 2), Real (I) Output Only, Both Input Sample Selections to Channel A for DDC0 and Channel B for DDC1, and the DDC Phase Increment to the calculated value of 512
    1. After changing DDC selections, perform a soft reset of the DDCs by checking and unchecking the box for DDC Soft Reset under the DDC Synchronization CTRL Reg (300).

      Figure 12. Channel A and Channel B DDC Settings

Obtaining an FFT - 2 ADCs, 2DDCs, Real Mode Decimate by 2

  1. The first item to configure in Visual Analog is the input clock frequency. This is the frequency of the input clock and NOT the decimated sample rate (if using decimation). Click in the ADC Data Capture block to open the settings. In this example, 500MHz is the input clock frequency. In addition, the DDC data must be selected under the Output Data section. DDC0 and DDC1 are being used in the AD9684 so this must be selected under the ADC Data Capture Settings.
  2. Click the Run button in Visual Analog and you should see the capture data similar to the plot below.

    Figure 13. AD9684-500 FFT with 2 DDCs in Real Mode with Dec2 Enabled

  3. Adjust the amplitude of the input signal so that the fundamental is at the desired level. (Examine the Fund Power reading in the left panel of the VisualAnalog FFT window.) Real DDC operation imposes ~0.7 dB loss on the input signal but does not impact the dynamic range. A -1.0 dBFS input signal will show as -1.7 dBFS in the FFT in Visual Analog.
  4. To save the FFT plot do the following
    1. Click on the Float Form button in the FFT window

Figure 14. Floating the FFT window

  1. Click on File right Save Form As button and save it to a location of choice

    Figure 15. Saving the FFT

Device Setup - 2 ADCs, 1DDC, Complex ZIF Mode Decimate by 2

  1. The settings in the ADCBase0 tab must be changed to configure the AD9684 to use the DDC. In this example the AD9684 will be set up to use one DDCs with a complex ZIF output (NCO bypassed) and a decimation ration of two. Set the Chip Application Mode in register 0x200 to One Digital Down Converter and make sure the Only Real (I) Selected checkbox is NOT checked. Set the Chip Decimation Ratio in register 0x201 to Decimate by 2 Ratio.

    Figure 16. Set Application Mode to 1 DDC Complex ZIF Mode Decimate by 2

  2. The DDC settings must be configured under DDC0 CTRL in the ADCBase1 tab configure the DDC to select Complex Mixer Selection, 0 Hz IF Mode, Decimate by 2 Filter Selection, Real (I) Input Sample Selection to Channel A for DDC0, and Complex (Q) Input Sample Selection to Channel B.
    1. After changing DDC selections, perform a soft reset of the DDCs by checking and unchecking the box for DDC Soft Reset under the DDC Synchronization CTRL Reg (300).

      Figure 17. DDC Settings for Complex ZIF Mode

Obtaining an FFT - 2 ADCs, 1DDC, Complex ZIF Mode Decimate by 2

  1. The first item to configure in Visual Analog is the input clock frequency. This is the frequency of the input clock and NOT the decimated sample rate (if using decimation). Click in the ADC Data Capture block to open the settings. In this example, 500MHz is the input clock frequency. In addition, the DDC data must be selected under the Output Data section. DDC0 is being used in the AD9684 so this must be selected under the ADC Data Capture Settings.

    Figure 18. AD9684-500 FFT Data Capture Settings

  2. In order to exclude the image frequency from the SFDR measurements, configure Visual Analog to remove the image from its calculations. This is done under the FFT Analysis settings. Under the User-Defined tab add a new row by clicking Add. Name it ‘Image’. Use a symbol such as the # and set the Freq to ‘-fund’. Set the Single-Side Band to 3 Bins and set it as ‘Spur, Exclude’. Once done, select the row, and then hit the Move Up button to place this new row just below the row with Fund.

    Figure 19. AD9684-500 FFT with 2 DDCs in Real Mode with Dec2 Enabled

  3. Click the Run button in Visual Analog and you should see the capture data similar to the plot below.

    Figure 20. AD9684-500 FFT with 1 DDC in Complex ZIF Mode with Dec2 Enabled

  4. Adjust the amplitude of the input signal so that the fundamental is at the desired level. (Examine the “Fund Power” reading in the left panel of the VisualAnalog FFT window.) Complex DDC operation imposes ~1dB loss in the signal, but does not impact the dynamic range. A -1dBFS input signal will show as -2dBFS in Visual Analog.
  5. To save the FFT plot do the following
    1. Click on the Float Form button in the FFT window

      Figure 21. Floating the FFT window

    2. Click on File right Save Form As button and save it to a location of choice

      Figure 22. Saving the FFT

Troubleshooting Tips

FFT plot appears abnormal

  • If you see a normal noise floor when you disconnect the signal generator from the analog input, be sure you are not overdriving the ADC. Reduce input level if necessary.
  • In VisualAnalog, Click on the Settings button in the Input Formatter block. Check that Number Format is set to the correct encoding (twos compliment by default). Repeat for the other channel.
  • Issue a Data Path Soft Reset through SPIController Global tab as shown in Figure 23

    Figure 23. Issuing a data path soft reset through SPIController

The FFT plot appears normal, but performance is poor.

  • Make sure you are using the appropriate band-pass filter on the analog input.
  • Make sure the signal generators for the clock and the analog input are clean (low phase noise).
  • If you are using non-coherent sampling, change the analog input frequency slightly, or use coherent frequencies.
  • Make sure the SPI config file matches the product being evaluated.

The FFT window remains blank after the Run button is clicked

  • Make sure the evaluation board is securely connected to the hsc-adc-evale.
  • Make sure the FPGA has been programmed by verifying that the Config DONE LED is illuminated on the HSC-EVALE . If this LED is not illuminated reprogram the FPGA through VisualAnalog. If the LED still does not illuminate disconnect the USB and power cord for 15 seconds. Connect again and repeat the hsc-adc-evale setup process.
  • Make sure the correct FPGA bin file was used to program the FPGA.
  • Be sure that the correct sample rate is programmed. Click on the Settings button in the ADC Data Capture block in VisualAnalog, and verify that the Clock Frequency is properly set.
  • Restart SPIController.

VisualAnalog indicates that the “FIFO capture timed out” or “FIFO not ready for read back”

  • Make sure all power and USB connections are secure.

VisualAnalog displays a blank FFT when the RUN button is clicked

  • Ensure that the clock to the ADC is supplied. Using SPIController ADCBase0 tab the status of the clock can be read out. See figure 24.

    Figure 24. Clock Detection Status Register

resources/eval/ad9684-500ebz.txt · Last modified: 24 Apr 2017 15:05 by J.Harris