Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
resources:eval:dpg:ad9136-fmc-ebz [03 Oct 2014 22:51] – [Single-Tone Demonstration] Michele Vianiresources:eval:dpg:ad9136-fmc-ebz [16 Oct 2017 15:16] Janet Dephoure
Line 20: Line 20:
  
 ===== AD9136/AD9135 Evaluation Software ===== ===== AD9136/AD9135 Evaluation Software =====
-The AD9136/AD9135 Evaluation Board software runs on the SPIPro graphical user interface (GUI). It is included on the Evaluation Board CD. Registers on the AD9136/AD9135 and AD9516 products are programmed via a USB cable connecting the user’s PC to the AD9136/AD9135-FMC-EBZ XP2 connectorSoftware in the AD9136/AD9135-FMC-EBZ PIC processor (XU1) provides the interface between the USB bus and the SPI busses of the AD9136/AD9135 and AD9516. +The AD9136/AD9135 Evaluation Board software has a legacy easy-to-use graphical user interface (GUI) included with the DPGDownloader. It is included on the Evaluation Board CD, or can be downloaded from the DPG website at http://www.analog.com/dpg. This will install DPGDownloader (for generating and loading vectors into the DPG3) and AD9136/AD9135 SPI software. However, ACE, or Analysis|Control|Evaluation, is the preferred evaluation software over the SPI software. ACE is included on the Evaluation Board CD or can be downloaded from https://wiki.analog.com/resources/tools-software/aceThe ACE plug-in for the AD9136/AD9135 is available in the software section of the eval website for both the [[adi>EVAL-AD9135]] and [[adi>EVAL-AD9136]].
- +
 ===== Hardware Setup ===== ===== Hardware Setup =====
 A low phase noise high frequency clock source should be connected to the AD9136/AD9135-FMC-EBZ SMA connector J1.  A spectrum analyzer should be connected to the SMA connector J17.  J5 of the EVB should be connected to an oscilloscope. The evaluation board connects to the ADS7 through the connector P1. The PC should be connected to the EVB using the mini-USB connector XP2. Figure 1 shows a block diagram of the set-up. A low phase noise high frequency clock source should be connected to the AD9136/AD9135-FMC-EBZ SMA connector J1.  A spectrum analyzer should be connected to the SMA connector J17.  J5 of the EVB should be connected to an oscilloscope. The evaluation board connects to the ADS7 through the connector P1. The PC should be connected to the EVB using the mini-USB connector XP2. Figure 1 shows a block diagram of the set-up.
Line 33: Line 31:
  
 ===== Getting Started ===== ===== Getting Started =====
-The PC software is included in the CD shipped with the EVB. The installation includes the DPG Downloader software as well as all the necessary AD9136/AD9135 files including schematic, board layout, datasheet, and other files. +The PC software comes on the included Evaluation Board CD, but may also be downloaded from the DPG Web site at http://www.analog.com/dpg and the ACE website at https://wiki.analog.com/resources/tools-software/ace. The installation will include the DPG Downloader software as well as all the necessary AD9136/AD9135 files including schematic, board layout, datasheet, AD9136/AD9135 SPI, and other files. The ACE installation will include the necessary evaluation software, which is preferred over the DPGDownloader GUI. The following set-up describes how to use either ACE or the legacy SPI GUI to generate an output. 
 ==== Initial Set-Up ==== ==== Initial Set-Up ====
-1. Install the DPG Downloader and SPIPro software and support files on your PC. Follow the instructions in the installation wizard and use the default (recommended) installation settings. \\ +1. Install the DPG Downloader and ACE or the AD9136/AD9135 SPI software and support files on your PC. Follow the instructions in the installation wizard and use the default (recommended) installation settings. \\  
-2. Plug the AD9136/AD9135-FMC-EBZ into port FMC_1 of the ADS7 System. Use a USB cable to connect the EVB to your PC and connect the lab equipment to the EVB as shown in Figure 1. \\ +2. Use a USB cable to connect the EVB to your PC and connect the lab equipment to the EVB. \\ 
-3. Connect the ADS7 unit to your PC via USB and turn on the ADS7. \\+3. Connect the DGP3 unit to your PC and turn on the unit. \\ 
 + 
 + 
 + 
 +==== Single-Tone Test ==== 
 +These settings configure the AD9136/AD9135 to output a sine wave using the DPG3 and allow the user to view the single-tone performance at the DAC output, under the condition: Fdata = 1.6GHz, 1X interpolation, 4-carrier WCDMA signal with center frequency = 100MHz. \\ \\ 
 +=== Configure DPG Vector Software  === 
 +1. To begin, turn on the external +5V supply. \\ \\ 
 +2. Open DPG Downloader if you have not done so. (Start > All Programs > Analog Devices > DPG > DPGDownloader). Ensure that the program detects the AD9136/AD9135, as indicated in the “Evaluation Board” drop-down list, and select it. Select "QBF 2X4 85G 425M" from the "Port Configuration" drop-down list and "Mode 8" from the "JESD Mode" drop-down list. \\ \\ 
 +3. Click on “Add Generated Waveform”, and then “Wireless Infrastructure”. A WIFR panel will be added to the vector list. Enter the Data Rate, in this case 1.6GHz and the desired frequency, 100MHz. Enter the digital amplitude. In this case we use 0dBFS. Select "2's Complement" from the Number Format drop-down list.  Input the center frequency of "100MHz" at the bottom of the panel, choose "WCDMA" from the Standard drop-down menu and increase the No. of Carriers to "4" - then hit the "Add Carriers" button.\\ \\  
 +4. Select the WIFR vector (I) in the “DAC0” drop down menu and the WIFR vector (Q) in the “DAC1”. At this point, the DPG Downloader panel should look like Figure 3.\\ \\ 
 + 
 +<WRAP center> 
 +| {{ {{ :resources:eval:user-guides:ad9135_dpgd_new.png |}} | 
 +|  Figure 3. DPG Downloader Panel  | 
 +</WRAP> 
 + 
 +=== Configuring SPI using ACE === 
 + 
 +1. Configure the hardware according to the hardware set-up instructions given in the Hardware Setup section above. Set the frequency of the DAC clock signal generator to 1.6GHz, and the output level to 3dBm. The spectrum analyzer can be configured with Start Frequency = 1 MHz, Stop Frequency  = 800 MHz, and Resolution Bandwidth of 30 kHz, and Trace Detector to Average (Log/RMS/V). Choose Input Attenuation to be 8dB. This can be adjusted later if indications are that the analyzer is causing degradations. \\ \\ 
 + 
 +2. Open ACE (Start > All Programs > Analog Devices > ACE > ACE). The {{:resources:eval:user-guides:ace_icon_small.png}} icon indicates the ACE software. If the board is connected properly, the screen should look similar to Figure 4. Double click on this board. \\ \\ 
 +<WRAP center>   
 + 
 +| {{ {{ :resources:eval:user-guides:ad9135_detected.png |}} |  
 + 
 +|  Figure 4. Detected AD9135 in ACE  | 
 +</WRAP> 
 + 
 +Ensure that the {{:resources:eval:user-guides:connection_icon.png}} button is green in the subsystem image under the “System” tab, as shown in Figure 5. If not, click it, select the AD9136/5, and click //Acquire//. Double click on the subsystem image to reach the board block diagram. 
 +<WRAP center>   
 + 
 +| {{ {{ :resources:eval:user-guides:ad9135_system.png |}} |  
 + 
 +|  Figure 5. AD9135 system 
 +</WRAP> 
 + 
 +Next to the board block diagram, click "Modify" under "Initial Configuration Summary."  
 +<WRAP center>  
 + 
 +| {{ {{ :resources:eval:user-guides:ad9135_boardview_new.png |}} |  
 + 
 +|  Figure 6. AD9135 board block diagram. The JESD PLL should not be locked yet | 
 +</WRAP> 
 + 
 +Select "Dual Link" from the pull-down menu next to Links, and set the JESD Mode to 8. Check the Subclass box and set interpolation to 1. The FDAC frequency should be set to 1.6 GHz. The settings should match Figure 6. Select "Apply."  
 +<WRAP center>  
 + 
 +| {{ {{ :resources:eval:user-guides:ad9135_applypage_new.png |}} |  
 + 
 +|  Figure 7. Initial configuration settings for the AD9135 
 +</WRAP> 
 + 
 +Double click on the dark blue AD9135 chip block in the board block diagram. The chip block diagram should appear, as shown in Figure 8. The JESD PLL should now be locked on both the board and chip block diagrams. Other parameters can be changed on both block diagrams, but do not need to be for this test. For more information about changing parameters in ACE, see the ACE Software Features section.  
 +<WRAP center>  
 + 
 +| {{ {{ :resources:eval:user-guides:ad9135_chipview_new.png |}} |  
 + 
 +|  Figure 8. AD9135 chip block diagram 
 +</WRAP> 
 + 
 +3. On the DPGDownloader panel, seen in Figure 3, the Serial Line Rate in the should read 8Gbps.\\ \\ 
 + 
 +Click Download ({{:resources:eval:dpg:image009.png?direct&|}}) and Play ({{:resources:eval:dpg:image010.png?direct&|}}) in the DPG Downloader screen. \\ \\  
 + 
 +The current on the 5V supply should read about 1430mA. If you do not see the output, gently push the board toward the DPG3. This ensures that the board is firmly connected to the DPG3. The four registers codeGrpSync, FrameSync, GoodCheckSum and Initial LaneSync should all read 0F indicating the lanes are working correctly. \\ \\ 
 + 
 +4. The output spectrum of the DAC should look like Figure 9 below. 
 +<WRAP center> 
 +| {{ {{ :resources:eval:dpg:ad9136:ad9136_1.6ghzdac_1x_4xwcdma_fout100m_plloff.png?600 |}} |  
 +|  Figure 9. AD9136/AD9135-EBZ Eval Board DAC output Spectrum 
 +</WRAP> 
 + 
 +=== Configuring SPI using the legacy SPI Application === 
 + 
 +1. Open the AD9136/AD9135 SPI application (Start > All Programs > Analog Devices > AD9136/AD9135 > AD9136/AD9135 SPI). The screen should look similar to Figure 10.  \\ \\ 
 +<WRAP center>  
 + 
 +| {{ {{ :resources:eval:dpg:ad9136:ad9136-ebz_spipro_initialview.png?600 |}} | 
 + 
 +|  Figure 10. Entry Screen of the AD9136/AD9135 SPI software 
 +</WRAP> 
 + 
 +2. Configure the hardware according to the hardware set-up instructions given in the Hardware Setup section above. Set the frequency of the DAC clock signal generator to 1.6GHz, and the output level to 3dBm. The spectrum analyzer can be configured with Start Frequency = 1 MHz, Stop Frequency  = 800 MHz, and Resolution Bandwidth of 30 kHz, and Trace Detector to Average (Log/RMS/V). Choose Input Attenuation to be 8dB. This can be adjusted later if indications are that the analyzer is causing degradations. \\ \\ 
 +3. Follow the sequence below to configure the AD9136/AD9135 SPI registers. \\ \\  
 +a. The Links should be set to dual link. The JESD Mode is set to 8, Subclass 1 box checked, Interpolation set to 1, and FDAC set to 1.6GHz. Click “Commit” button to initialize the AD9136/AD9135. The JESD204B PLL should be locked indicated with bright green JESD204B PLL readback LED.\\ \\  
 +b. At this point the Serial Line Rate in the DPG3 software panel should read 8Gbps.\\ \\ 
 + 
 +<WRAP center> 
 +| {{ {{ :resources:eval:dpg:ad9136:ad9136-ebz_spipro_finalview.png?600 |}} |  
 +|  Figure 11. Configured panel of the AD9136/AD9135 SPI software 
 +</WRAP> 
 + 
 +d. Click Download ({{:resources:eval:dpg:image009.png?direct&|}}) and Play ({{:resources:eval:dpg:image010.png?direct&|}}) in the DPG Downloader screen. \\ \\  
 + 
 +e. The current on the 5V supply should read about 1430mA. If you do not see the output, gently push the board toward the DPG3. This ensures that the board is firmly connected to the DPG3. The four registers codeGrpSync, FrameSync, GoodCheckSum and Initial LaneSync should all read 0F  indicating the lanes are working correctly. \\ \\ 
 + 
 +4. The output spectrum of the DAC should look like Figure 12 below. 
 +<WRAP center> 
 +| {{ {{ :resources:eval:dpg:ad9136:ad9136_1.6ghzdac_1x_4xwcdma_fout100m_plloff.png?600 |}} |  
 +|  Figure 12. AD9136/AD9135-EBZ Eval Board DAC output Spectrum 
 +</WRAP> 
 + 
 +===== ACE Software Features ===== 
 +The ACE software is organized to allow the user to evaluate and control the AD9122A evaluation board. The “Initial Configuration” wizard, which is only available for certain boards, controls the DAC and PLL setups. Block diagram views of the board and chip contain elements that can be used to vary parameters like ref current and data format. These parameters can be changed using check boxes, drop down menus, and input boxes. Some parameters do not have settings shown in the diagram. Double click on the parameter to view the available settings, seen with the NCO settings below.  
 + 
 +{{ :resources:eval:user-guides:ad9122_nco.png }} 
 +<WRAP clear> 
 +</WRAP> 
 +<WRAP centeralign> NCO settings for the AD9122 </WRAP> 
 + 
 +In addition, some parameters can be enabled or disabled. This feature is evident by the color of the block parameter. For example, if the block parameter is dark blue, the parameter is enabled. If it is light grey, it is disabled. To enable or disable a parameter, click on it.  
 + 
 +<WRAP column 40%> 
 +{{ :resources:eval:user-guides:ad9739a_on.png }} 
 +</WRAP> 
 +<WRAP column 55%> 
 +{{ :resources:eval:user-guides:ad9739a_off.png }} 
 +</WRAP> 
 +<WRAP clear> 
 +</WRAP> 
 +<WRAP column 40%> 
 +<WRAP centeralign> Enabled parameter </WRAP> 
 +</WRAP> 
 +<WRAP column 55%> 
 +<WRAP centeralign> Disabled parameter </WRAP> 
 +</WRAP> 
 +<WRAP clear> 
 +</WRAP> 
 + 
 +More direct changes to registers and bit fields can be made in the memory map, which is linked from the chip block diagram through the “Proceed to Memory Map” button. In this view, names, addresses, and data can be manually altered by the user.  
 + 
 +{{ :resources:eval:user-guides:ad9122_memmap.png }} 
 +<WRAP clear> 
 +</WRAP> 
 +<WRAP centeralign> Bench Set-Up </WRAP> 
 + 
 +ACE also contains the Macro Tool, which can be used to record register reads and writes. This is executed in the memory map view or with the initialization wizard. To use, check the “Record Sub-Commands” checkbox and press the record button. Changes in the memory map, which are bolded until they are applied to the part, are recorded as UI commands by the macro tool once the changes are made. Changed register write commands for the controls are also recorded. Hit “Apply Changes” to execute the commands and make changes in the memory map. To stop recording, click the “Stop Recording” button. A macro tool page with the command steps will be created. The macro can be saved using the “Save Macro” button so that it may be loaded for future use.  
 + 
 +{{ :resources:eval:user-guides:ad9122_macrocommands.png }} 
 +<WRAP clear> 
 +</WRAP> 
 +<WRAP centeralign> Macro tool in ACE. The //Stop Recording//, //Record//, and //Save Macro// commands are located at the top of the macro tool. </WRAP> 
 + 
 +The raw macro file will be saved using ACE syntax, which is not easily readable. To remedy this, the ACE software download includes the Macro to Hex Conversion Tool. The user can choose to include or exclude register write, reads, and/or comments in the conversion. The file pathways for the source and save paths should be the same, except that one should be an .acemacro file and the other should be a .txt file. The “Convert” button converts and opens the converted text file, which is easier to read. The conversion tool can also convert back to an .acemacro file if desired.  
 + 
 +<WRAP column 40%> 
 +{{ :resources:eval:user-guides:ad9122_m2hconvert_5.png }} 
 +</WRAP> 
 +<WRAP column 55%> 
 +{{ :resources:eval:user-guides:ad9122_m2hconvert_4.png }} 
 +</WRAP> 
 +<WRAP clear> 
 +</WRAP> 
 +<WRAP column 40%> 
 +<WRAP centeralign> Conversion set-up for macro to hex </WRAP> 
 +</WRAP> 
 +<WRAP column 55%> 
 +<WRAP centeralign> Converted text file </WRAP> 
 +</WRAP> 
 +<WRAP clear> 
 +</WRAP> 
 +For more information about ACE and its features, visit https://wiki.analog.com/resources/tools-software/ace. 
 + 
 + 
  
 ==== Single-Tone Demonstration  ==== ==== Single-Tone Demonstration  ====
resources/eval/dpg/ad9136-fmc-ebz.txt · Last modified: 11 Oct 2022 14:05 by Shine Cabatan