This is an old revision of the document!
EVALUATING THE AD6679 IF DIVERSITY RECEIVER
Preface
This user guide describes the AD6679 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 HSC-ADC-EVALEZ is the recommended FPGA based data capture board for the AD6679. The ADS7-V2EBZ may alternatively be used as the FPGA based data capture board for the AD6679.
The AD6679 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.
AD6679 Evaluation Board
Figure 1. AD6679 Evaluation Board
Typical Measurement Setup
Features
Helpful Documents
Software Needed
Design and Integration Files
Equipment Needed
Getting Started
This section provides quick start procedures for using the evaluation board for AD6679.
Configuring the Board
Before using the software for testing, configure the evaluation board as follows:
Connect the evaluation board to the
HSC-ADC-EVALEZ data capture board, as shown in Figure 2.
Connect one 12V, 6.5A switching power supply to P1301 on the
HSC-ADC-EVALEZ board. Connect the Standard-B
USB port of the
HSC-ADC-EVALEZ board to the PC with the supplied
USB cable.
The
HSC-ADC-EVALEZ will appear in the Device Manager as shown in Figure 3.
If the Device Manager does not show the
HSC-ADC-EVALEZ 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.
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.
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.)
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
Click Start
All Programs
Analog Devices
VisualAnalog
VisualAnalog
On the VisualAnalog “New Canvas” window, click
ADCDualAD6679
Figure 4. Selecting the AD6679 canvas
If VisualAnalog opens with a collapsed view, click on the “Expand Display” icon (see figure 5)
Figure 5. Expanding Display in VA
Click the
Settings button in the
ADC Data Capture block as shown in Figure 6
Figure 6. Changing the ADC Capture Settings
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) or 262144 (256k) per channel. The HSC-ADC-EVALEZ FPGA software supports up to 2M FFT capture (1M per channel)
Figure 7. Setting the clock frequency and Capture length
-
Click OK
SPIController Setup
Click Start
All Programs
Analog Devices
SPIController
SPIController
Select the appropriate configuration file when prompted.
In the
Global tab, under the
Generic Read/Write section, write 0x81 to register 0x000. This issues a Soft reset for the DUT.
Figure 8. Sending a Soft Reset to the AD6679
Individual Channel control for
ADC A and
ADC B are done using the Device Index Register (0x008) in the Global tab.
Figure 9. Device Index for ADC Channel A and Channel B
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:
Chip Configuration Register (2): This option allows the channel to be powered on
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.
Analog Input Differential Termination (16): This sets the input termination. Recommended settings are 500, 200, 100, 50 ohms. At lower termination settings, the harmonic distortion performance may show improvement, but the analog input signal amplitude will be reduced.
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 - NSR Mode
The default Chip Application Mode for the AD6679-500 is set to NSR.
Figure 10. Default Application Mode - NSR/Decimation by 2
The NSR mode settings are configured in the ADCA and ADCB tabs. The NSR defaults to 21% bandwidth mode with a tuning word of 0.
Figure 11. Channel A and Channel B NSR Settings
Obtaining an FFT - NSR Mode
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.
Figure 12. AD6679-500 FFT Data Capture Settings
In order to obtain an FFT with NSR enabled, Visual Analog must be configured correctly. Click on the settings button on the FFT Analysis block and configure the settings in Visual Analog to match the NSR settings that have been programmed into the AD6679. Under Advanced Calculation, click the Enable box, select AD6679 NSR, and then select the appropriate bandwidth mode and tuning word. Make sure to set the Bandwidth to match the mode. When finished, click the Apply button and then the OK button to apply the settings.
Figure 13. AD6679-500 FFT Analysis NSR Settings
Click the Run button in Visual Analog and you should see the capture data similar to the plot below.
Figure 14. AD6679-500 FFT with NSR Enabled
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.) NSR imposes a ~3dB loss in the signal, but does not impact the dynamic range. A -1.0
dBFS input signal will show as -4.0
dBFS in the FFT in Visual Analog.
To save the FFT plot do the following
Click on the Float Form button in the FFT window
Figure 15. Floating the FFT window
Click on File
Save Form As button and save it to a location of choice
Figure 16. Saving the FFT
Device Setup - VDR Mode
The default Chip Application Mode for the AD6679 is set to NSR. The settings in the ADCBase0 tab must be changed to configure the AD6679 into VDR mode. To set up the AD6679 for VDR mode change the Chip Application Mode in register 0x200 to Variable Dynamic Range (VDR) Mode and set the Chip Decimation Ratio in register 0x201 to Full Sample Rate.
Figure 17. Set Application Mode to VDR
The VDR mode tuning word can be configured in the ADC A and ADC B tabs. VDR defaults to 25% bandwidth complex mode with a tuning word of 0. The tuning word can be changed using the VDR Tuner Frequency selection (register 0x434). See the AD6679 data sheet for more details on the available bandwidth modes and tuning words.
Figure 18. Channel A and Channel B VDR Settings
Obtaining an FFT - VDR Mode
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.
Figure 19. AD6679-500 FFT Data Capture Settings
Click the Run button in Visual Analog and you should see the capture data similar to the plot below.
Figure 20. AD6679-500 FFT with VDR Enabled
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.) VDR imposes no loss on the input signal so a -1.0
dBFS input signal will show as -1.0
dBFS in the FFT in Visual Analog.
To save the FFT plot do the following
Click on the Float Form button in the FFT window
Figure 21. Floating the FFT window
Click on File
Save Form As button and save it to a location of choice
Figure 22. Saving the FFT
Setting up SPIController to Output the VDR High/Low Resolution Bit or the VDR Punish Bit - VDR Mode
To enable the VDR High/Low Resolution bit go to the ADCBase2 tab in SPIController. In the OUTPUT CTRL MODE REG(559) drop down select “VDR High/Low Resolution Bit”.
Figure 26. SPIController ADCBase2 Settings for VDR High/Low Resolution Bit on Status Pins
Alternatively, the VDR Punish Bit can be enabled. To enable this bit go to ADCBase2 in SPIController and in the OUTPUT CTRL MODE REG(559) drop down select “Fast Detect (FD) or VDR Punish Bit
Figure 27. SPIController ADCBase2 Settings for VDR Punish Bit on Status Pins
Viewing the VDR Punish Bits and the VDR High/Low Resolution Bit - VDR Mode
The first step is to open a new Logic canvas in VisualAnalog. In the Logic canvas configure the Input Formatter to set the Resolution to 16 bits and the Alignment to 18 bits. This will create the space such that the VDR status bit can be visible in the Logic canvas.
Figure 28. Input Formatter Settings for VDR Indicators in the Status Bit
Next configure the Logic Analysis block for the data alignement. Set the High Bit to 17 and the low bit to 0. This will align the canvas such that the VDR status bit can be visible in the Logic canvas.
Figure 29. Logic Analysis Settings for Bit Alignment
Once a signal is input that will trigger VDR to operate the VDR high/low resolution bit can be seen in the Logic Canvas display. The VDR high/low resolution bit indicates that the resolution is ≤13 bits.
Figure 30. Logic Canvas Display Showing VDR High/Low Resolution Bit
When a signal is input that will trigger VDR then the VDR punish bit may alternatively be enabled. The VDR punish bit can be seen in the Logic Canvas display. The VDR punish bit indicates that resolution is ≤12 bits.
Figure 31. Logic Canvas Display Showing VDR Punish Bit
Device Setup - 2 ADCs, 2DDCs, Real Mode Decimate by 2
The default Chip Application Mode for the AD6679 is set to NSR. The settings in the ADCBase0 tab must be changed to configure the AD6679 to use the DDCs. In this example the AD6679 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 33. Set Application Mode to 2 DDCs Real Mode Decimate by 2
The DDC settings must be configured in ADCBase1, but first, the tuning step, translation frequency, and DDC Phase Increment must be calculated.
The tuning step is equal to the output sample rate divided by 4096.
tuning step = 500MSPS/4096 = 122070.3125
The translation frequency is equal to the output sample rate divided by 4*(decimation ratio).
translation frequency = 500MSPS/(4*2) = 62500000
The DDC Phase Increment is equal to the translation frequency divided by the tuning step.
DDC Phase Increment = 62500000/122070.3125 = 512
Under DDCO CTRL and DDC1 CTRL in the ADCBase1 tab configure the DDCs to select 6dB Gain, Variable IF Mode, Decimate by 4 Filter Selection (when in real mode this actually sets the AD6679 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
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 34. Channel A and Channel B DDC Settings
Obtaining an FFT - 2 ADCs, 2DDCs, Real Mode Decimate by 2
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 AD6679 so this must be selected under the ADC Data Capture Settings.
Figure 35. AD6679-500 FFT Data Capture Settings
Click the Run button in Visual Analog and you should see the capture data similar to the plot below.
Figure 36. AD6679-500 FFT with 2 DDCs in Real Mode with Dec2 Enabled
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.
To save the FFT plot do the following
Click on the Float Form button in the FFT window
Figure 37. Floating the FFT window
Click on File
Save Form As button and save it to a location of choice
Figure 38. Saving the FFT
Device Setup - 2 ADCs, 1DDC, Complex ZIF Mode Decimate by 2
The default Chip Application Mode for the AD6679 is set to NSR. The settings in the ADCBase0 tab must be changed to configure the AD6679 to use the DDC. In this example the AD6679 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 39. Set Application Mode to 1 DDC Complex ZIF Mode Decimate by 2
The DDC settings must be configured under DDCO 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.
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 40. DDC Settings for Complex ZIF Mode
Obtaining an FFT - 2 ADCs, 1DDC, Complex ZIF Mode Decimate by 2
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 AD6679 so this must be selected under the ADC Data Capture Settings.
Figure 41. AD6679-500 FFT Data Capture Settings
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 42. AD6679-500 FFT with 2 DDCs in Real Mode with Dec2 Enabled
Click the Run button in Visual Analog and you should see the capture data similar to the plot below.
Figure 43. AD6679-500 FFT with 1 DDC in Complex ZIF Mode with Dec2 Enabled
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.
To save the FFT plot do the following
Click on the Float Form button in the FFT window
Figure 44. Floating the FFT window
Click on File
Save Form As button and save it to a location of choice
Figure 45. 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 46
Figure 46. 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
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 48.
Figure 48. Clock Detection Status Register