This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:eval:ad9578-user-guide [28 Apr 2015 22:20] – Added Software section Kyle Slightom | resources:eval:ad9578-user-guide [04 Feb 2021 21:52] (current) – [Running the Software] Petre Minciunescu | ||
---|---|---|---|
Line 25: | Line 25: | ||
=====General Description===== | =====General Description===== | ||
- | ---- | + | The [[adi> |
- | The [[adi> | + | |
<WRAP centeralign> | <WRAP centeralign> | ||
{{ : | {{ : | ||
Line 37: | Line 36: | ||
The following instructions are for setting up the physical connections to the AD9578/PCBZ evaluation board. | The following instructions are for setting up the physical connections to the AD9578/PCBZ evaluation board. | ||
==== Power Connections ==== | ==== Power Connections ==== | ||
- | The AD9578/PCBZ is setup by default to power the AD9578 and remaining circuitry with 3.3V using the provided 6V wall power supply. | + | The AD9578/PCBZ is setup by default to power the AD9578 and remaining circuitry with 3.3V using the provided 6V wall power supply. |
===Connecting External Supplies=== | ===Connecting External Supplies=== | ||
Line 46: | Line 45: | ||
==== PC Connections ==== | ==== PC Connections ==== | ||
The following instructions assume the evaluation board is set up with the default power configuration as described in the **Power Connections** section. | The following instructions assume the evaluation board is set up with the default power configuration as described in the **Power Connections** section. | ||
- | - Download the latest [[adi> | + | - Download the latest [[adi> |
- Install the [[adi> | - Install the [[adi> | ||
- Connect the 6V wall power supply to the main power connector labeled P500. | - Connect the 6V wall power supply to the main power connector labeled P500. | ||
Line 58: | Line 57: | ||
The AD9578 evaluation board comes prepopulated with a 49.152MHz crystal (Y101) across the XO1 and XO2 pins. Crystal Y102 connects to the XO3 and XO4 pins and is not prepopulated. | The AD9578 evaluation board comes prepopulated with a 49.152MHz crystal (Y101) across the XO1 and XO2 pins. Crystal Y102 connects to the XO3 and XO4 pins and is not prepopulated. | ||
- | <note important> | ||
=== Outputs === | === Outputs === | ||
- | The REFOUT output (J217 and J218) can be configured to be a copy of either XO input or a divided version of the applied REFCLK input (includes divide by 1). The frequency source of OUT1 and OUT2 is PLL1 and the source of OUT3 and OUT4 is PLL2. The logic level of each output is selectable between CMOS, HCSL, LVDS and LVPECL. | + | The REFOUT output (J217 and J218) can be configured to be a copy of either XO input or a divided version of the applied REFCLK input (includes divide by 1). The frequency source of OUT1 and OUT2 is PLL1 and the source of OUT3 and OUT4 is PLL2. The logic level of each output is selectable between CMOS, HCSL, LVDS and LVPECL. |
===SPI Bus=== | ===SPI Bus=== | ||
- | The AD9574/PCBZ default configuration allows a PC running the AD9578 evaluation software to read and write the various registers of the AD9578 via a USB connection. | + | The AD9574/PCBZ default configuration allows a PC running the AD9578 evaluation software to read and write the various registers of the AD9578 via a USB connection. |
==== Default Evaluation Boards Setup Summary ==== | ==== Default Evaluation Boards Setup Summary ==== | ||
- | * Jumper P508 set to SW_OUT to provide the switcher output voltage to on board LDO regulators. | + | * Jumper P508 set to SW_OUT |
* Jumpers P507 and P509 are populated to set LDO regulator outputs to 3.3V. | * Jumpers P507 and P509 are populated to set LDO regulator outputs to 3.3V. | ||
- | * Jumpers P502 and P510 are populated to connect LDO voltages to AD9578 and microcontroller. | + | * Jumpers P502 and P510 are populated to connect LDO voltages to the AD9578 and the microcontroller. |
* 49.152MHz crystal oscillator connected to the XO1 and XO2 inputs is populated. | * 49.152MHz crystal oscillator connected to the XO1 and XO2 inputs is populated. | ||
- | | + | * OUT1 (J209 and J210), OUT2 (J211 and J212), OUT3 (J213 and J214), OUT4 (J215 and J216), and REFOUT (J217 and J218) are terminated for 3.3V LVPECL and ac coupled. |
- | | + | |
=====Evaluation Board Software===== | =====Evaluation Board Software===== | ||
Line 80: | Line 77: | ||
Use the following instructions to set up the [[adi> | Use the following instructions to set up the [[adi> | ||
- | |||
- | |||
- | Use the following instructions to set up the AD9578 evaluation board software. | ||
====Software Installation==== | ====Software Installation==== | ||
- | Do not connect | + | Connect |
- The latest evaluation software and documentation can be downloaded from [[adi> | - The latest evaluation software and documentation can be downloaded from [[adi> | ||
- Once downloaded, double-click **AD9578 Evaluation Software Setup.msi**. (Note that the website may have a newer version.) Follow the installation instructions. | - Once downloaded, double-click **AD9578 Evaluation Software Setup.msi**. (Note that the website may have a newer version.) Follow the installation instructions. | ||
Line 94: | Line 88: | ||
<WRAP centeralign> | <WRAP centeralign> | ||
{{ : | {{ : | ||
- | **Figure 2. Evaluation Board Not Connected Message**\\ | + | //Figure 2. Evaluation Board Not Connected Message//\\ |
</ | </ | ||
Clicking **OK** allows the software to be used without a connected evaluation board. | Clicking **OK** allows the software to be used without a connected evaluation board. | ||
- | When and evaluation board is connected before starting program, the standard GUI appears as shown in Figure 6. It is possible to connect the evaluation board after the software is started by selecting **File/ | + | If the evaluation board is connected before starting |
===Setup Files=== | ===Setup Files=== | ||
Line 130: | Line 124: | ||
- Type the Crystal 1 reference frequency in the text box located in the upper left of the Main Window.< | - Type the Crystal 1 reference frequency in the text box located in the upper left of the Main Window.< | ||
{{ : | {{ : | ||
- | **Figure 3. Crystal 1 Frequency Text Box**\\ | + | //Figure 3. Crystal 1 Frequency Text Box//\\ |
</ | </ | ||
- Select **Crystal 1** as the **PLL1 Reference** and **PLL2 Reference** to using the drop down in the upper right of the Main Window.< | - Select **Crystal 1** as the **PLL1 Reference** and **PLL2 Reference** to using the drop down in the upper right of the Main Window.< | ||
{{ : | {{ : | ||
- | **Figure 4. Input Reference Selection**\\ | + | //Figure 4. Input Reference Selection//\\ |
</ | </ | ||
- Select the appropriate logic level for Output 1 through Output 4 and REFOUT by using each logic level drop down as shown in Figure 5 and type the desired frequency in each Output1 through Output 4 text box.< | - Select the appropriate logic level for Output 1 through Output 4 and REFOUT by using each logic level drop down as shown in Figure 5 and type the desired frequency in each Output1 through Output 4 text box.< | ||
{{ : | {{ : | ||
- | **Figure 5. Logic Level Selection and Frequency Input**\\ | + | //Figure 5. Logic Level Selection and Frequency Input//\\ |
</ | </ | ||
- Press the **Autocalculate** button at the bottom of the screen. | - Press the **Autocalculate** button at the bottom of the screen. | ||
Line 150: | Line 144: | ||
<WRAP centeralign> | <WRAP centeralign> | ||
{{ : | {{ : | ||
- | **Figure 6. AD9578 Evaluation Software Main Window**\\ | + | //Figure 6. AD9578 Evaluation Software Main Window//\\ |
</ | </ | ||
+ | |||
+ | ====Active and Inactive Controls==== | ||
+ | Upon startup, many controls in the AD9578 main window are inactive and grayed out. To manipulate all controls within the main window check the **Advanced** box in the lower right corner of the main window. | ||
+ | <WRAP centeralign> | ||
+ | {{ : | ||
+ | //Figure 7. Advanced Box// | ||
+ | </ | ||
+ | Checking the **Advanced** box expands the main window to include a full register map and many other features, which are explained in the following sections of the user guide. | ||
+ | |||
+ | ====Invalid Value Indication==== | ||
+ | Certain combinations of values can cause the AD9578 operating parameters to exceed the valid ranges specified in the datasheet. | ||
+ | \\ | ||
+ | The following conditions are checked within the software: | ||
+ | * Crystal 1, Crystal 2, and External Reference input frequency ranges | ||
+ | * Output 1 through Output 4 and Reference Output frequency ranges. | ||
+ | * All text box entries within the expanded Main Window when the **Advanced** box is checked. | ||
+ | |||
+ | ====Autocalculate, | ||
+ | The **Autocalculate** button takes the user defined reference input and output frequency parameters and automatically configures the proper PLL settings using the Frequency Wizard. | ||
+ | \\ \\ | ||
+ | The **Configure** button loads all of the parameters from the GUI into the AD9578 on the evaluation board. | ||
+ | \\ \\ | ||
+ | The **Read** button reads the current register values from inside the AD9578 and loads them into the Main Window. **“Read All Successful”** will appear in the comments box upon the completion of a successful read operation. | ||
+ | |||
+ | ====Input Frequency Section==== | ||
+ | The input frequency section of the Main Window is used to identify the reference input frequency of either crystal input. | ||
+ | |||
+ | ====PLL Input Reference Selection==== | ||
+ | The reference input to each PLL is specified by using the various drop down menus shown in Figure 8. | ||
+ | |||
+ | <WRAP centeralign> | ||
+ | {{ : | ||
+ | <wrap centeralign> | ||
+ | //Figure 8. PLL Input Reference Selection Drop Downs //</ | ||
+ | </ | ||
+ | |||
+ | Each PLL and REFOUT reference frequency can be supplied by Crystal 1, Crystal 2, or an external reference input Ref In. Crystal 2 and Ref In cannot be used simultaneously. | ||
+ | |||
+ | ====PLL1 and PLL2 Default Controls==== | ||
+ | The AD9578 evaluation software automatically configures the settings for each PLL based on user inputs for both the reference frequency and output frequency by using an internal frequency wizard and the **Autocalculate** button. | ||
+ | <WRAP centeralign> | ||
+ | {{ : | ||
+ | <wrap centeralign>// | ||
+ | </ | ||
+ | |||
+ | The **OEx** and **override** check boxes allow the user to manipulate the various output enable bits from the register 0x02 of the AD9578. | ||
+ | |||
+ | ====PLL1 and PLL2 Advanced Controls==== | ||
+ | Clicking the Advanced check box, as shown in Figure 7, expands the Main Window to allow the user to interact with individual PLL settings and the entire register map as the part is currently configured. | ||
+ | <WRAP centeralign> | ||
+ | {{ : | ||
+ | <wrap centeralign>// | ||
+ | </ | ||
+ | In **Advanced Controls** mode, all PLL feedback dividers, output dividers, charge pump and VCO settings are editable by typing in the various text boxes. It is recommended to allow the software to auto select the VCO band being used when in **Advanced Controls** mode. In this mode, all of the output frequencies are calculated based off the user’s settings for the reference frequencies and feedback/ | ||
+ | <WRAP centeralign> | ||
+ | {{ : | ||
+ | <wrap centeralign>// | ||
+ | </ | ||
+ | |||
+ | ====Reference Output Section==== | ||
+ | The Reference Output source is selected in the **Input Frequency Section**. | ||
+ | <WRAP centeralign> | ||
+ | {{ : | ||
+ | <wrap centeralign>// | ||
+ | </ | ||
+ | |||
+ | ====PLL Lock Indicators==== | ||
+ | When either PLL1 or PLL2 are in lock, the appropriate PLL lock indicator will turn blue. | ||
+ | <WRAP centeralign> | ||
+ | {{ : | ||
+ | <wrap centeralign>// | ||
+ | </ | ||
+ | |||
+ | ====Comments Box==== | ||
+ | The Comments box displays notifications to the user upon successful read/write operations as well as warnings when maximum limits of the part have been exceeded. Pressing the **Clear Comments** button erases all previous comments. | ||
+ | <WRAP centeralign> | ||
+ | {{ : | ||
+ | <wrap centeralign>// | ||
+ | </ | ||
+ | |||
+ | ====Frequency Wizard==== | ||
+ | The AD9578 **Frequency Wizard** is responsible for calculating the optimum PLL settings for the user’s desired input and output frequencies when the **Autocalculate** feature is used. For any given frequency plan there may be multiple configurations possible for each PLL. The Frequency Wizard will automatically pick the best option by default, but every configuration can be accessed by pressing the **Show Frequency Wizard** button after **Autocalculate** has been pressed. | ||
+ | <WRAP centeralign> | ||
+ | {{ : | ||
+ | <wrap centeralign>// | ||
+ | </ | ||
+ | Pressing the various **Index** buttons on the left of the window will load those particular settings into the **Main Window** and override the original settings chosen by the **Frequency Wizard**. | ||
+ | |||
+ | =====Evaluation Software Menu Items===== | ||
+ | ---- | ||
+ | <WRAP centeralign> | ||
+ | {{ : | ||
+ | <wrap centeralign>// | ||
+ | </ | ||
+ | |||
+ | ====Menu Bar==== | ||
+ | ===File Menu=== | ||
+ | The **File** menu has the following options: | ||
+ | ===Select Hardware=== | ||
+ | Select hardware is used to find and connect to an evaluation board that has been plugged in to the computer (or recently power cycled) after the evaluation software has already started. | ||
+ | |||
+ | ===Enable Polling=== | ||
+ | Polling allows the software to automatically update the software without having to press the **Read** button. | ||
+ | |||
+ | ===Load All Registers=== | ||
+ | Allows the user to load a previously created setup file into the software. | ||
+ | |||
+ | ===Save All Registers=== | ||
+ | Creates a register setup file of the current settings seen in the evaluation board software. | ||
+ | |||
+ | ===Exit=== | ||
+ | Exits the program. | ||
+ | |||
+ | ====View Menu (Advanced Controls Mode Only)==== | ||
+ | The **View** menu has the following options: | ||
+ | |||
+ | ===Debug Window=== | ||
+ | Allows the user to read write hex values to specific registers. | ||
+ | <WRAP centeralign> | ||
+ | {{ : | ||
+ | <wrap centeralign>// | ||
+ | </ | ||
+ | |||
+ | ===Crystal Settings=== | ||
+ | Allows the user to alter the various XO settings found in registers 4 and 10. This is useful when configuring the part to use a different crystal value than what is originally placed on the board. | ||
+ | <WRAP centeralign> | ||
+ | {{ : | ||
+ | <wrap centeralign>// | ||
+ | </ | ||
+ | |||
+ | ====Help Menu==== | ||
+ | The Help Menu only contains the **About** section which shows a short summary of the software being used. |