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
resources:eval:dpg:ad9129-mix-ebz [20 Sep 2017 15:53] – [AD9129 Evaluation Software] Janet Dephoureresources:eval:dpg:ad9129-mix-ebz [26 Sep 2017 21:24] (current) Janet Dephoure
Line 36: Line 36:
  
 ===== Getting Started ===== ===== Getting Started =====
-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. The installation will include the DPG Downloader as well as all the necessary AD9129 files including schematic, board layout, data sheet, SPI GUI, 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 as well as all the necessary AD9129 files including schematic, board layout, data sheet, SPI GUI, and other files.The ACE plug-in for the AD9129 is available on the eval website.  
-The following procedure will set up a basic 1-carrier, 256-QAM signal.  +The following procedure will set up a basic 1-carrier, 256-QAM signal. This can be done with either ACE or the SPI software, though ACE is preferred.  
-==== Initial Set-Up ====+ 
 +==== A. ACE ==== 
 +=== Initial Set-Up === 
 +1. Install the DPG Downloader, ACE, AD9129 ACE plug-in, and AD9129 software and support files on your PC  
 +2. Start ACE 
 +3. Connect the EVB to your PC and lab equipment as shown in Figure 1 above. Use a USB cable to connect your PC to the EVB, and another USB cable to connect your PC to the DPG unit.  
 +It is suggested that the basic set-up is verified before making any modifications to the evaluation board.  
 +=== Load ACE Settings === 
 +Open ACE from the start window. It can be found by following the file path to the program or by searching in the windows search bar for “ACE.” The {{:resources:eval:user-guides:ace_icon_small.png}} icon indicates the ACE software. 
 + 
 +If the board is connected properly, ACE will detect it and display it on the Start page under //Attached Hardware//. Double click this board.  
 + 
 +{{ :resources:eval:user-guides:ad9129_detected.png }} 
 + 
 +Ensure that the {{:resources:eval:user-guides:connection_icon.png}} button is green in the subsystem image under the “System” tab. If not, click it, select the AD9129, and click //Acquire//. Double click on the subsystem image.  
 + 
 +{{ :resources:eval:user-guides:ad9129_system.png }} 
 + 
 +On the board diagram, click //Run Example Startup Routine//. This will set the parameters for this example.  
 + 
 +{{ :resources:eval:user-guides:ad9129_chipview.png }} 
 + 
 +For further changes, double click on the AD9129 on the board diagram. This will bring up the chip block diagram, which can be used to set other parameters, such as data format and PLL Config. The PLL and DLL should both be locked and the delay cells should be checked. If not, click //Read All// in the upper left corner of the page. For more details about altering parameters, see the //ACE Software Features// section.  
 + 
 +{{ :resources:eval:user-guides:ad9129_clickview.png }} 
 + 
 +=== Configure Hardware === 
 +Configure the hardware according to the hardware set-up instructions given in the //Hardware Setup// section above. Set the frequency of the signal generator to 2 GHz, and the output level to 0 dBm. The spectrum analyzer can be configured with Start Frequency = 20 MHz, Stop Frequency 1 GHz, and Resolution Bandwidth of 100 kHz. Use an Average/RMS detector setting, and choose Input Attenuation to be 10 dB. This can be adjusted later if indications are that the analyzer is causing degradations (warnings on the analyzer itself, or third order products appearing on the output spectrum). 
 + 
 +=== Load Pattern from the DPG2 === 
 +Open DPGDownloader (Start > Programs > Analog Devices > DPG > DPGDownloader). Ensure that the program detects the AD9129, as indicated in the //Evaluation Board// drop-down list, and select it. For this evaluation board, LVDS is the only valid Port Configuration. If it is not selected automatically, select it from the //Port Configuration// drop-down list. The //Data Clock Frequency// window may not yet show a clock frequency, but it normally does.  
 +Click on //Add Generated Waveform//, and then //Single Tone//. Enter the data rate, or DAC clock frequency, as 2GHz and the desired frequency as 200 MHz. Next, choose the //Resolution// to be 14 bits. Ensure that the DPDDownloader settings match the figure below.  
 + 
 +{{ :resources:eval:user-guides:ad9129_dpgd_singletone.png }} 
 + 
 +Next, in the lower portion of the screen, select //Single Tone// as the Data Vector. The other options can be left at their default values. The Data Clock Out (DCO) frequency from the AD9129 should be reported in the Data Clock Frequency window as roughly 500 MHz.  
 +Make sure the DPG2 unit is powered up and the AD9129 eval board is plugged into it correctly. Click the Download button ({{:resources:eval:dpg:ad9129:Download.png?15|}}) to download the pattern from the computer to the DPG2 unit, wait for the Play ({{:resources:eval:dpg:ad9129:play_pattern.png?15|}}) button to become active, and then click the Play ({{:resources:eval:dpg:ad9129:play_pattern.png?15|}}) button to begin vector playback to the AD9129.  
 + 
 +=== Result === 
 +The final result should be a clean 200 MHz tone as shown below. To best verify the set-up, match the settings seen below on the spectrum analyzer screen.  
 + 
 +{{ :resources:eval:user-guides:ad9129_newspectrum.png }} 
 +  
 + 
 + 
 +==== B. SPI Software/GUI ==== 
 +=== Initial Set-Up ===
 1. Install the DPG Downloader and AD9129 software and support files on your PC \\ 1. Install the DPG Downloader and AD9129 software and support files on your PC \\
 2. Start the AD9129 Control Panel GUI (but don’t hit the run arrow yet) \\ 2. Start the AD9129 Control Panel GUI (but don’t hit the run arrow yet) \\
 3. Connect the EVB to your PC and lab equipment as shown in Figure 1 above. Use a USB cable to connect your PC to the EVB, and another USB cable to connect your PC to the DPG2 unit. Note that a DPG3 unit can also be used. \\ 3. Connect the EVB to your PC and lab equipment as shown in Figure 1 above. Use a USB cable to connect your PC to the EVB, and another USB cable to connect your PC to the DPG2 unit. Note that a DPG3 unit can also be used. \\
 It is suggested that the basic set-up is verified before making any modifications to the evaluation board.   It is suggested that the basic set-up is verified before making any modifications to the evaluation board.  
-==== Load Initial Settings ====+=== Load Initial Settings ===
 To begin, open the AD9129 SPI application (Start > Programs > Analog Devices > AD9129 > AD9129_27 SPI). The screen should look similar to Figure 3 on the Common tab. The AD9129 SPI loads default settings that should be usable for most applications. To begin, open the AD9129 SPI application (Start > Programs > Analog Devices > AD9129 > AD9129_27 SPI). The screen should look similar to Figure 3 on the Common tab. The AD9129 SPI loads default settings that should be usable for most applications.
  
Line 51: Line 97:
 <WRAP centeralign> Figure 3. Entry screen of the AD9129 SPI GUI </WRAP> <WRAP centeralign> Figure 3. Entry screen of the AD9129 SPI GUI </WRAP>
  
-==== Configure Hardware ====+=== Configure Hardware ===
 Configure the hardware according to the hardware set-up instructions given in the Hardware Setup section above. Set the frequency of the signal generator to 2.455125926 GHz, and the output level to 0 dBm. The spectrum analyzer can be configured with Start Frequency = 20 MHz, Stop Frequency 1 GHz, and Resolution Bandwidth of 100 kHz. Use an Average/RMS detector setting, and choose Input Attenuation to be 10 dB. This can be adjusted later if indications are that the analyzer is causing degradations (warnings on the analyzer itself, or third order products appearing on the output spectrum.).  Configure the hardware according to the hardware set-up instructions given in the Hardware Setup section above. Set the frequency of the signal generator to 2.455125926 GHz, and the output level to 0 dBm. The spectrum analyzer can be configured with Start Frequency = 20 MHz, Stop Frequency 1 GHz, and Resolution Bandwidth of 100 kHz. Use an Average/RMS detector setting, and choose Input Attenuation to be 10 dB. This can be adjusted later if indications are that the analyzer is causing degradations (warnings on the analyzer itself, or third order products appearing on the output spectrum.). 
  
-==== Enable the PLL ====+=== Enable the PLL ===
 On the “PLL” tab, the “Controller Ena” button should be green. Click the "Play" button ({{:resources:eval:dpg:ad9129:play_vi.png?15|}}) to program the registers. The Readback light next to the button should change from red to green, and the PLL LOCK light should turn green. Note that in some cases, it may be necessary to click the “Controller Reset” button (it goes to green), click the ({{:resources:eval:dpg:ad9129:play_vi.png?15|}}) button, and then click the “Controller Reset” button (it goes to red) and the ({{:resources:eval:dpg:ad9129:play_vi.png?15|}}) button again to reset the PLL in order for it to lock.  On the “PLL” tab, the “Controller Ena” button should be green. Click the "Play" button ({{:resources:eval:dpg:ad9129:play_vi.png?15|}}) to program the registers. The Readback light next to the button should change from red to green, and the PLL LOCK light should turn green. Note that in some cases, it may be necessary to click the “Controller Reset” button (it goes to green), click the ({{:resources:eval:dpg:ad9129:play_vi.png?15|}}) button, and then click the “Controller Reset” button (it goes to red) and the ({{:resources:eval:dpg:ad9129:play_vi.png?15|}}) button again to reset the PLL in order for it to lock. 
  
Line 62: Line 108:
 <WRAP centeralign> Figure 4. PLL screen of the AD9129 SPI GUI </WRAP> <WRAP centeralign> Figure 4. PLL screen of the AD9129 SPI GUI </WRAP>
  
-==== Load Pattern from the DPG2 ====+=== Load Pattern from the DPG2 ===
 Open DPGDownloader (Start > Programs > Analog Devices > DPG > DPGDownloader). Ensure that the program detects the AD9129, as indicated in the “Evaluation Board” drop-down list, and select it. For this evaluation board, LVDS is the only valid Port Configuration, and it will be selected automatically. The “Data Clock Frequency” window may not yet show a clock frequency, but it normally does.  Open DPGDownloader (Start > Programs > Analog Devices > DPG > DPGDownloader). Ensure that the program detects the AD9129, as indicated in the “Evaluation Board” drop-down list, and select it. For this evaluation board, LVDS is the only valid Port Configuration, and it will be selected automatically. The “Data Clock Frequency” window may not yet show a clock frequency, but it normally does. 
  
Line 85: Line 131:
  
 Make sure the DPG2 unit is powered up and the AD9129 eval board is plugged into it correctly. Click the "Download" button ({{:resources:eval:dpg:ad9129:Download.png?15|}}) to download the pattern from the computer to the DPG2 unit, wait for the Play ({{:resources:eval:dpg:ad9129:play_pattern.png?15|}}) button to become active, and then click the Play ({{:resources:eval:dpg:ad9129:play_pattern.png?15|}}) button to begin vector playback to the AD9129.  Make sure the DPG2 unit is powered up and the AD9129 eval board is plugged into it correctly. Click the "Download" button ({{:resources:eval:dpg:ad9129:Download.png?15|}}) to download the pattern from the computer to the DPG2 unit, wait for the Play ({{:resources:eval:dpg:ad9129:play_pattern.png?15|}}) button to become active, and then click the Play ({{:resources:eval:dpg:ad9129:play_pattern.png?15|}}) button to begin vector playback to the AD9129. 
-==== Enable the LVDS Controller ====+=== Enable the LVDS Controller ===
 On the AD9129 SPI GUI’s “DLL” tab, the “DUTY Corr Ena” button and the “DLL_ENA” button should be green (selected). Click the ({{:resources:eval:dpg:ad9129:play_vi.png?15|}}) button to program the registers. The Readback light next to both buttons should change from red to green, and the DLL Lock light should change from red to green. It may be necessary to click the ({{:resources:eval:dpg:ad9129:play_vi.png?15|}}) button again to get a full readback status since the controller may take slightly longer to lock than the GUI allowed on the first write and then readback.  On the AD9129 SPI GUI’s “DLL” tab, the “DUTY Corr Ena” button and the “DLL_ENA” button should be green (selected). Click the ({{:resources:eval:dpg:ad9129:play_vi.png?15|}}) button to program the registers. The Readback light next to both buttons should change from red to green, and the DLL Lock light should change from red to green. It may be necessary to click the ({{:resources:eval:dpg:ad9129:play_vi.png?15|}}) button again to get a full readback status since the controller may take slightly longer to lock than the GUI allowed on the first write and then readback. 
  
Line 95: Line 141:
 In rare cases, the data link may have gotten corrupted and the registers not programmed correctly. In these cases, the output of the DAC will show significantly degraded performance. To remedy this situation, click the “DUTY Corr Ena” button and the “DLL_ENA” buttons, and then click the ({{:resources:eval:dpg:ad9129:play_vi.png?15|}}) button to program the registers. Then, re-click the “DUTY Corr Ena” button and the “DLL_ENA” buttons, and then click the ({{:resources:eval:dpg:ad9129:play_vi.png?15|}}) button to program the registers. This disables and re-enables the Data Interface DLL and allows it to re-lock to the DCI. At this time, it is also possible to click the "Repeat" button ({{:resources:eval:dpg:ad9129:repeat_play_vi.png?15|}}) to continuously program the part, making the SPI GUI run in a more interactive mode. In rare cases, the data link may have gotten corrupted and the registers not programmed correctly. In these cases, the output of the DAC will show significantly degraded performance. To remedy this situation, click the “DUTY Corr Ena” button and the “DLL_ENA” buttons, and then click the ({{:resources:eval:dpg:ad9129:play_vi.png?15|}}) button to program the registers. Then, re-click the “DUTY Corr Ena” button and the “DLL_ENA” buttons, and then click the ({{:resources:eval:dpg:ad9129:play_vi.png?15|}}) button to program the registers. This disables and re-enables the Data Interface DLL and allows it to re-lock to the DCI. At this time, it is also possible to click the "Repeat" button ({{:resources:eval:dpg:ad9129:repeat_play_vi.png?15|}}) to continuously program the part, making the SPI GUI run in a more interactive mode.
  
-==== Result ====+=== Result ===
 The final result should be a single 256-QAM carrier centered at 108 MHz, as shown in Figure 9. An attenuation of 10 dB was used in this measurement, which raises the noise floor of the measurement, but avoided saturating the input and causing higher-ordered products from being created. A second plot is shown in Figure 10, in which the attenuation was reduced to 6 dB. It can be seen that the third harmonic increased in amplitude by about 6 dB, and the noise floor reduced by 4 dB, indicating the input of the spectrum analyzer is affecting the measurement. The final result should be a single 256-QAM carrier centered at 108 MHz, as shown in Figure 9. An attenuation of 10 dB was used in this measurement, which raises the noise floor of the measurement, but avoided saturating the input and causing higher-ordered products from being created. A second plot is shown in Figure 10, in which the attenuation was reduced to 6 dB. It can be seen that the third harmonic increased in amplitude by about 6 dB, and the noise floor reduced by 4 dB, indicating the input of the spectrum analyzer is affecting the measurement.
  
Line 108: Line 154:
 <WRAP centeralign> Figure 10. 256-QAM channel at AD9129 output with 6 dB attenuation setting on spectrum analyzer input </WRAP> <WRAP centeralign> Figure 10. 256-QAM channel at AD9129 output with 6 dB attenuation setting on spectrum analyzer input </WRAP>
  
-==== Mix-Mode Operation ====+=== Mix-Mode Operation ===
 The AD9129-MIX-EBZ is equipped with a wideband balun to enable operation in the second and third Nyquist zones. To enable mix-mode, press the “Mix-Mode?” button on the Common screen to make it turn green, as shown in Figure 11.  The AD9129-MIX-EBZ is equipped with a wideband balun to enable operation in the second and third Nyquist zones. To enable mix-mode, press the “Mix-Mode?” button on the Common screen to make it turn green, as shown in Figure 11. 
  
Line 208: Line 254:
 <WRAP right 50% centeralign> Figure 18. Save/Load tab of the AD9129 SPI GUI </WRAP> <WRAP right 50% centeralign> Figure 18. Save/Load tab of the AD9129 SPI GUI </WRAP>
 <WRAP clear></WRAP> <WRAP clear></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.
  
resources/eval/dpg/ad9129-mix-ebz.1505915587.txt.gz · Last modified: 20 Sep 2017 15:53 by Janet Dephoure