Post Go back to editing

AD9576 Eval board SPI configuration support and frequency conversion with dual PLL

Thread Summary

The user requested support for configuring the AD9576 eval board to generate a 16.369 MHz output frequency from a 25 MHz on-board crystal and a 10 MHz external reference input, both with dual PLL lock. The support engineer provided a session file for the 25 MHz configuration and verified it generates the desired output. For the 10 MHz configuration, the engineer referred to a previous response and requested the user to provide the session file and PPRs for that setup.
AI Generated Content
Category: Hardware
Product Number: AD9576

Hi Team,

   Here we are trying to configure AD9576 eval board. We need your support in configuring the SPI communication ( Pins in Eval board hardware and the setting to be used in ACE installer).

   Also can you please assist in,

   1. To convert the on-board crystal Ref input 25MHz (fractional-N translations Input) to 16.369MHz output frequency with Dual PLL lock, and the required registers values to be configured for 

       the same using Eval board ACE installer.

   2. To convert external Ref input 10MHz (fractional-N translations Input) to 16.369MHz output frequency with Dual PLL lock, and the required registers values to be configured for the 

       same using Eval board ACE installer.

       

 

  • HI,

    "We need your support in configuring the SPI communication ( Pins in Eval board hardware and the setting to be used in ACE installer)."

    When you procured the eval board, it should have come already set to communicate with the PC and for the USB IC on board to communicate with the AD9576. Anyway, for more in depth information, see this link:

    https://wiki.analog.com/resources/eval/ad9576-user-guide#serial_port_configuration_pins

    " To convert the on-board crystal Ref input 25MHz (fractional-N translations Input) to 16.369MHz output frequency with Dual PLL lock, and the required registers values to be configured for the same using Eval board ACE installer."

    " To convert external Ref input 10MHz (fractional-N translations Input) to 16.369MHz output frequency with Dual PLL lock, and the required registers values to be configured for the  same using Eval board ACE installer"

    Someone from your company already requested this 10MHz to 16.369MHz change. I already responded here:  Technical Support for AD9576 

    For the 25MHz, I created the attached configuration. I verified it generates the 16.369MHz clock:

    <?xml version="1.0" encoding="utf-8"?>
    <Session Name="Session" AppVersion="" FileVersion="" xmlns="AnalogDevices/Csa/Configuration/Schemas/Session.xsd">
      <Elements>
        <Element Id="EvalSystem">
          <System xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="System" xmlns="AnalogDevices/Csa/Evaluation/Sessions/EvalSystemSessionElement.Schema.xsd">
            <Subsystems>
              <Subsystem Name="Subsystem_1">
                <Components>
                  <Component ComponentId="AD9576Board" Name="AD9576 Board">
                    <Info Name="AD9576 Board" Description="AD9576 Evaluation Board" />
                    <SavedState>
                      <Board Id="AD9576Board" xmlns="">
                        <Parameter Id="fx2-port-a-pins" Value="7" />
                        <Parameter Id="pa_usb_status-direction-fx2-port-a-pins" Value="true" />
                        <Parameter Id="pa_usb_status-data-fx2-port-a-pins" Value="true" />
                        <Parameter Id="pa_csb-direction-fx2-port-a-pins" Value="true" />
                        <Parameter Id="pa_csb-data-fx2-port-a-pins" Value="true" />
                        <Parameter Id="pa_resetb-direction-fx2-port-a-pins" Value="true" />
                        <Parameter Id="pa_resetb-data-fx2-port-a-pins" Value="true" />
                        <Parameter Id="pa_gpio_3-direction-fx2-port-a-pins" Value="false" />
                        <Parameter Id="pa_gpio_3-data-fx2-port-a-pins" Value="false" />
                        <Parameter Id="pa_gpio_4-direction-fx2-port-a-pins" Value="false" />
                        <Parameter Id="pa_gpio_4-data-fx2-port-a-pins" Value="false" />
                        <Parameter Id="pa_gpio_5-direction-fx2-port-a-pins" Value="false" />
                        <Parameter Id="pa_gpio_5-data-fx2-port-a-pins" Value="false" />
                        <Parameter Id="pa_gpio_6-direction-fx2-port-a-pins" Value="false" />
                        <Parameter Id="pa_gpio_6-data-fx2-port-a-pins" Value="false" />
                        <Parameter Id="pa_gpio_7-direction-fx2-port-a-pins" Value="false" />
                        <Parameter Id="pa_gpio_7-data-fx2-port-a-pins" Value="false" />
                        <Parameter Id="fx2-port-b-pins" Value="0" />
                        <Parameter Id="pb_sdio-direction-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_sdio-data-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_sp_sel0-direction-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_sp_sel0-data-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_sp_sel1-direction-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_sp_sel1-data-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_ld_pll0-direction-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_ld_pll0-data-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_ld_pll1-direction-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_ld_pll1-data-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_gpio_5-direction-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_gpio_5-data-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_gpio_6-direction-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_gpio_6-data-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_ref_sw-direction-fx2-port-b-pins" Value="false" />
                        <Parameter Id="pb_ref_sw-data-fx2-port-b-pins" Value="false" />
                        <Parameter Id="fx2-port-c-pins" Value="0" />
                        <Parameter Id="pc_gpio_0-direction-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_0-data-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_1-direction-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_1-data-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_2-direction-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_2-data-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_3-direction-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_3-data-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_4-direction-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_4-data-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_5-direction-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_5-data-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_6-direction-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_6-data-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_7-direction-fx2-port-c-pins" Value="false" />
                        <Parameter Id="pc_gpio_7-data-fx2-port-c-pins" Value="false" />
                        <Parameter Id="fx2-port-d-pins" Value="0" />
                        <Parameter Id="pd_ref_status-direction-fx2-port-d-pins" Value="false" />
                        <Parameter Id="pd_ref_status-data-fx2-port-d-pins" Value="false" />
                        <Parameter Id="pd_ref_act-direction-fx2-port-d-pins" Value="false" />
                        <Parameter Id="pd_ref_act-data-fx2-port-d-pins" Value="false" />
                        <Parameter Id="pd_gpio_2-direction-fx2-port-d-pins" Value="false" />
                        <Parameter Id="pd_gpio_2-data-fx2-port-d-pins" Value="false" />
                        <Parameter Id="pd_ref_sel-direction-fx2-port-d-pins" Value="true" />
                        <Parameter Id="pd_ref_sel-data-fx2-port-d-pins" Value="false" />
                        <Parameter Id="pd_xo2_en-direction-fx2-port-d-pins" Value="false" />
                        <Parameter Id="pd_xo2_en-data-fx2-port-d-pins" Value="false" />
                        <Parameter Id="pd_xo0_en-direction-fx2-port-d-pins" Value="false" />
                        <Parameter Id="pd_xo0_en-data-fx2-port-d-pins" Value="false" />
                        <Parameter Id="pd_xo1_en-direction-fx2-port-d-pins" Value="false" />
                        <Parameter Id="pd_xo1_en-data-fx2-port-d-pins" Value="false" />
                        <Parameter Id="pd_gpio_7-direction-fx2-port-d-pins" Value="false" />
                        <Parameter Id="pd_gpio_7-data-fx2-port-d-pins" Value="false" />
                        <Parameter Id="fx2-port-e-pins" Value="0" />
                        <Parameter Id="pe_gpio_0-direction-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_0-data-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_1-direction-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_1-data-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_2-direction-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_2-data-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_3-direction-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_3-data-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_4-direction-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_4-data-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_5-direction-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_5-data-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_6-direction-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_6-data-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_7-direction-fx2-port-e-pins" Value="false" />
                        <Parameter Id="pe_gpio_7-data-fx2-port-e-pins" Value="false" />
                        <Chips>
                          <Chip Id="Chip.AD9576.AD9576" InstanceName="AD9576">
                            <Parameter Id="ad9576-pins" Value="1" />
                            <Parameter Id="resetb-direction-ad9576-pins" Value="false" />
                            <Parameter Id="resetb-data-ad9576-pins" Value="true" />
                            <Parameter Id="ref_sel-direction-ad9576-pins" Value="false" />
                            <Parameter Id="ref_sel-data-ad9576-pins" Value="false" />
                            <Parameter Id="ref_act-direction-ad9576-pins" Value="true" />
                            <Parameter Id="ref_act-data-ad9576-pins" Value="false" />
                            <Parameter Id="ref_sw-direction-ad9576-pins" Value="true" />
                            <Parameter Id="ref_sw-data-ad9576-pins" Value="false" />
                            <Parameter Id="ref_status-direction-ad9576-pins" Value="true" />
                            <Parameter Id="ref_status-data-ad9576-pins" Value="false" />
                            <Parameter Id="sp_sel0-direction-ad9576-pins" Value="true" />
                            <Parameter Id="sp_sel0-data-ad9576-pins" Value="false" />
                            <Parameter Id="sp_sel1-direction-ad9576-pins" Value="true" />
                            <Parameter Id="sp_sel1-data-ad9576-pins" Value="false" />
                            <Parameter Id="ld_pll0-direction-ad9576-pins" Value="true" />
                            <Parameter Id="ld_pll0-data-ad9576-pins" Value="false" />
                            <Parameter Id="ld_pll1-direction-ad9576-pins" Value="true" />
                            <Parameter Id="ld_pll1-data-ad9576-pins" Value="false" />
                            <Parameter Id="virtual-parameter-Fvco" Value="2619040000.0000" />
                            <Parameter Id="virtual-parameter-Fin_pfd" Value="50000000" />
                            <Parameter Id="virtual-parameter-Fout_VCO1" Value="800000000" />
                            <Parameter Id="virtual-parameter-PFD1_Fin" Value="50000000" />
                            <Parameter Id="virtual-parameter-Fref_sel" Value="25000000" />
                            <Parameter Id="virtual-parameter-FracNValue" Value="52.3808" />
                            <Parameter Id="virtual-parameter-N0 SDM Active" Value="true" />
                            <Parameter Id="virtual-parameter-SDM_Mod" Value="10000" />
                            <Parameter Id="virtual-parameter-SDM_Frac" Value="3808" />
                            <Parameter Id="virtual-parameter-N0_SDM_PowerDown" Value="0" />
                            <Parameter Id="virtual-parameter-N0LoopMode" Value="0" />
                            <Parameter Id="virtual-parameter-Out10_Clk_Sel" Value="1" />
                            <Parameter Id="virtual-parameter-PLL1_PD" Value="false" />
                            <Parameter Id="virtual-parameter-ActiveRef" Value="0" />
                            <Parameter Id="virtual-parameter-REF_SEL_Pin" Value="0" />
                            <Parameter Id="virtual-parameter-PLL0_FBDiv_Value" Value="52.3808" />
                            <Parameter Id="virtual-parameter-R0Div" Value="1" />
                            <Parameter Id="virtual-parameter-FRef0" Value="25000000" />
                            <Parameter Id="virtual-parameter-FRef1" Value="25000000" />
                            <Parameter Id="virtual-parameter-FRef2" Value="25000000" />
                            <Parameter Id="virtual-parameter-R1_Div" Value="0" />
                            <Parameter Id="virtual-parameter-R1Div_Enable" Value="false" />
                            <Parameter Id="virtual-parameter-Q3_Clock_Select" Value="0" />
                            <Parameter Id="virtual-parameter-Out89_Clock_Select" Value="0" />
                            <Parameter Id="virtual-parameter-N0a_Div_Ratio" Value="0" />
                            <Parameter Id="virtual-parameter-PLL0_REF_STAT_MNA" Value="0" />
                            <Parameter Id="virtual-parameter-REF0_Present" Value="false" />
                            <Parameter Id="virtual-parameter-REF1_Present" Value="true" />
                            <Parameter Id="virtual-parameter-REF2_Present" Value="false" />
                            <Parameter Id="virtual-parameter-OUT0_DIFF_MODE" Value="true" />
                            <Parameter Id="virtual-parameter-OUT1_DIFF_MODE" Value="true" />
                            <Parameter Id="virtual-parameter-OUT2_DIFF_MODE" Value="true" />
                            <Parameter Id="virtual-parameter-OUT3_DIFF_MODE" Value="true" />
                            <Parameter Id="virtual-parameter-OUT4_DIFF_MODE" Value="true" />
                            <Parameter Id="virtual-parameter-OUT5_DIFF_MODE" Value="true" />
                            <Parameter Id="virtual-parameter-OUT6_DIFF_MODE" Value="true" />
                            <Parameter Id="virtual-parameter-OUT7_DIFF_MODE" Value="true" />
                            <Parameter Id="virtual-parameter-OUT8_DIFF_MODE" Value="true" />
                            <Parameter Id="virtual-parameter-OUT9_DIFF_MODE" Value="true" />
                            <Parameter Id="virtual-parameter-OUT10_DIFF_MODE" Value="true" />
                            <Parameter Id="virtual-parameter-Chip_Power_Down" Value="false" />
                            <Parameter Id="virtual-parameter-RefSelMode" Value="0" />
                            <Parameter Id="virtual-parameter-PLL1_Enable2X" Value="1" />
                            <RegisterMap UniqueId="0.Serial_Port_Configuration" Address="0" Count="16">
                              <Register Address="0" Value="24" />
                              <Register Address="1" Value="0" />
                              <Register Address="2" Value="0" />
                              <Register Address="3" Value="5" />
                              <Register Address="4" Value="4F" />
                              <Register Address="5" Value="1" />
                              <Register Address="6" Value="11" />
                              <Register Address="7" Value="0" />
                              <Register Address="8" Value="0" />
                              <Register Address="9" Value="0" />
                              <Register Address="A" Value="0" />
                              <Register Address="B" Value="0" />
                              <Register Address="C" Value="56" />
                              <Register Address="D" Value="4" />
                              <Register Address="E" Value="0" />
                              <Register Address="F" Value="0" />
                            </RegisterMap>
                            <RegisterMap UniqueId="20.Status" Address="20" Count="2">
                              <Register Address="20" Value="3" />
                              <Register Address="21" Value="0D" />
                            </RegisterMap>
                            <RegisterMap UniqueId="40.Chip_Mode" Address="40" Count="1">
                              <Register Address="40" Value="0" />
                            </RegisterMap>
                            <RegisterMap UniqueId="80.Receiver_Monitor" Address="80" Count="4">
                              <Register Address="80" Value="20" />
                              <Register Address="81" Value="0" />
                              <Register Address="82" Value="0" />
                              <Register Address="83" Value="0" />
                            </RegisterMap>
                            <RegisterMap UniqueId="100.PLL0" Address="100" Count="17">
                              <Register Address="100" Value="0" />
                              <Register Address="101" Value="08" />
                              <Register Address="102" Value="08D" />
                              <Register Address="103" Value="0E0" />
                              <Register Address="104" Value="0" />
                              <Register Address="105" Value="1" />
                              <Register Address="107" Value="34" />
                              <Register Address="108" Value="0E0" />
                              <Register Address="109" Value="0E" />
                              <Register Address="10A" Value="0" />
                              <Register Address="10B" Value="10" />
                              <Register Address="10C" Value="27" />
                              <Register Address="10D" Value="0" />
                              <Register Address="10E" Value="0" />
                              <Register Address="10F" Value="0" />
                              <Register Address="110" Value="0" />
                              <Register Address="111" Value="0" />
                            </RegisterMap>
                            <RegisterMap UniqueId="120.VCO_Dividers" Address="120" Count="3">
                              <Register Address="120" Value="20" />
                              <Register Address="121" Value="44" />
                              <Register Address="122" Value="0" />
                            </RegisterMap>
                            <RegisterMap UniqueId="140.PLL0_Distribution" Address="140" Count="14">
                              <Register Address="140" Value="3" />
                              <Register Address="141" Value="0" />
                              <Register Address="142" Value="0" />
                              <Register Address="143" Value="0" />
                              <Register Address="144" Value="0" />
                              <Register Address="145" Value="0" />
                              <Register Address="146" Value="3" />
                              <Register Address="147" Value="0" />
                              <Register Address="148" Value="0" />
                              <Register Address="149" Value="0" />
                              <Register Address="14A" Value="3" />
                              <Register Address="14B" Value="0" />
                              <Register Address="14C" Value="0" />
                              <Register Address="14D" Value="0" />
                            </RegisterMap>
                            <RegisterMap UniqueId="200.PLL1" Address="200" Count="3">
                              <Register Address="200" Value="0" />
                              <Register Address="201" Value="10" />
                              <Register Address="202" Value="1" />
                            </RegisterMap>
                            <RegisterMap UniqueId="240.PLL1_Distribution" Address="240" Count="7">
                              <Register Address="240" Value="083" />
                              <Register Address="241" Value="0" />
                              <Register Address="242" Value="0C1" />
                              <Register Address="243" Value="0C1" />
                              <Register Address="244" Value="083" />
                              <Register Address="245" Value="080" />
                              <Register Address="246" Value="0C1" />
                            </RegisterMap>
                          </Chip>
                        </Chips>
                        <StateControls AllowStatePolling="true" />
                      </Board>
                    </SavedState>
                  </Component>
                </Components>
                <Connections />
              </Subsystem>
            </Subsystems>
          </System>
        </Element>
        <Element Id="Controllers">
          <Controller Name="AD9576 Board" HardwareID="\\?\USB#VID_0456&amp;PID_EE25#5&amp;2847CD3E&amp;0&amp;3#{D2958CFD-F0E1-4752-8AFF-06D5B4411024}" Path="Root::System.Subsystem_1.AD9576 Board" xmlns="" />
        </Element>
        <Element Id="Macros">
          <MacroManager xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnalogDevices/Csa/Evaluation/UI/Models/Sessions/MacroManagerSessionElement.Schema.xsd">
            <Macros />
          </MacroManager>
        </Element>
        <Element Id="Views" ActiveWorkspaceElement="Root::System.Subsystem_1.AD9576 Board.AD9576" WorkspaceElements="Root::,Root::System,Root::System.Subsystem_1.AD9576 Board,Root::System.Subsystem_1.AD9576 Board.AD9576" />
      </Elements>
    </Session>

    Petre

  • Dear Petre,

    Thanks for your reply.

    "For the 25MHz, I created the attached configuration. I verified it generates the 16.369MHz clock:"

    We tried this configuration with the session file you have provided ,but we are not able to get the PLL lock and clock outputs, can you please tell what are the PPRs and other pins settings we have to use. 

    "To convert external Ref input 10MHz (fractional-N translations Input) to 16.369MHz output frequency with Dual PLL lock, and the required registers values to be configured for the  same using Eval board ACE installer"

    Someone from your company already requested this 10MHz to 16.369MHz change. I already responded here:  Technical Support for AD9576 "

    Thanks for your reply, he is one of our design engineers.

    I request to you to please provide the session file(.cso file) and what are the PPRs and other pins settings we have to use for the same(10MHz (fractional-N translations Input) to 16.369MHz output frequency with Dual PLL lock)

    Thankyou

    Kiran

     

  • HI,

    So you want to use REF=10MHz and then create 16.369MHz.

    I created this cso. Take out the txt extension before loading it into ACE. Apply 10MHz at J204, with jumpers P209 and P210 towards DIFF label.

    <?xml version="1.0" encoding="utf-8"?>
    <Session Name="Session" AppVersion="" FileVersion="" xmlns="AnalogDevices/Csa/Configuration/Schemas/Session.xsd">
      <Elements>
        <Element Id="Scripts">
          <ScriptManager xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnalogDevices/Csa/Scripting/Sessions/ScriptManagerSessionElement.Schema.xsd">
            <Scripts>
              <Script Name="2_ADF4030_DEMO_cascaded.py" FilePath="file:///C:/Users/pminciu/AppData/Local/Analog Devices/ACE/Scripts/2_ADF4030_DEMO_cascaded.py" ScriptTypeId="Python3" ScriptLanguage="Python" Lines="# Generated code compatible with Python 2.7+&#xD;&#xA;&#xD;&#xA;## Copyright (c) 2024 by Analog Devices, Inc.  All rights reserved.  This software is proprietary to Analog Devices, Inc. and its licensors.&#xD;&#xA;## This software is provided on an 'as is' basis without any representations, warranties, guarantees or liability of any kind.&#xD;&#xA;## Use of the software is subject to the terms and conditions of the Clear BSD License ( https://spdx.org/licenses/BSD-3-Clause-Clear.html ).&#xD;&#xA;&#xD;&#xA;# Requirements:&#xD;&#xA;#  - pythonnet&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;import sys&#xD;&#xA;sys.path.append(r'C:\Program Files\Analog Devices\ACE\Client')&#xD;&#xA;import time&#xD;&#xA;# noinspection SpellCheckingInspection&#xD;&#xA;import clr  # noqa&#xD;&#xA;# noinspection SpellCheckingInspection&#xD;&#xA;clr.AddReference('AnalogDevices.Csa.Remoting.Clients')&#xD;&#xA;clr.AddReference('AnalogDevices.Csa.Remoting.Contracts')&#xD;&#xA;&#xD;&#xA;# noinspection PyUnresolvedReferences,SpellCheckingInspection&#xD;&#xA;from AnalogDevices.Csa.Remoting.Clients import ClientManager  #noqa&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;def main():&#xD;&#xA;    manager = ClientManager.Create()&#xD;&#xA;    client = manager.CreateRequestClient(&quot;localhost:2357&quot;)&#xD;&#xA;    ADF4030Demo(client)&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;def set_frequency(client,board_id,ref_in,bsync_out):&#xD;&#xA;    &quot;&quot;&quot; Set BSYNC frequency for give ref_in and bsync_out values. Calculates PLL and output divider settings. &quot;&quot;&quot;&#xD;&#xA;&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-device_id&quot;, f&quot;{int(board_id)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ReadSettings&quot;)&#xD;&#xA;&#xD;&#xA;    if(ref_in &lt; 10e6 or ref_in &gt; 250e6):&#xD;&#xA;        raise ValueError(&quot;ref_in Out of Range&quot;)&#xD;&#xA;&#xD;&#xA;    if(bsync_out &lt; 650e3 or bsync_out &gt; 200e6):&#xD;&#xA;        raise ValueError(&quot;bsync_out Out of Range&quot;)&#xD;&#xA;&#xD;&#xA;    o_div = 1&#xD;&#xA;    &#xD;&#xA;    if(2.5e9 % bsync_out == 0):&#xD;&#xA;        vco_freq = 2.5e9&#xD;&#xA;        o_div = vco_freq/bsync_out &#xD;&#xA;    else:&#xD;&#xA;        vco_min = 2.375e9&#xD;&#xA;        vco_max = 2.625e9&#xD;&#xA;        vco_freq = 0&#xD;&#xA;        for o_div in range(1,4095):&#xD;&#xA;            vco_freq = bsync_out * o_div&#xD;&#xA;            if(vco_freq &gt;= vco_min and vco_freq &lt;= vco_max):&#xD;&#xA;                break&#xD;&#xA;    &#xD;&#xA;    pfd_min = 10e6&#xD;&#xA;    pfd_max = 20e6&#xD;&#xA;    pfd_freq = 0&#xD;&#xA;    r_div = 1&#xD;&#xA;    for r_div in range(1,32):&#xD;&#xA;        pfd_freq = ref_in / r_div&#xD;&#xA;&#xD;&#xA;        if(pfd_freq &gt;= pfd_min and pfd_freq &lt;= pfd_max):&#xD;&#xA;            break&#xD;&#xA;&#xD;&#xA;    n_div = (vco_freq/pfd_freq)&#xD;&#xA;    n_div_min = 0&#xD;&#xA;    n_div_max = 256&#xD;&#xA;    if(n_div &lt; n_div_min or n_div &gt; n_div_max):&#xD;&#xA;        raise ValueError(&quot;n_div Out of Range&quot;)&#xD;&#xA;&#xD;&#xA;    n_div = round(n_div)&#xD;&#xA;&#xD;&#xA;    out_pfd = ref_in / int(r_div)&#xD;&#xA;    out_vco = out_pfd * int(n_div)&#xD;&#xA;    out_bsync = out_vco / int(o_div)&#xD;&#xA;&#xD;&#xA;    print(&quot;out_bsync&quot;,out_bsync)&#xD;&#xA;    client.SetBoolParameter(&quot;PLL_CAL_EN&quot;, &quot;True&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;    client.SetDecimalParameter(&quot;virtual-parameter-reference-frequency&quot;, f&quot;{int(ref_in)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetByteParameter(&quot;RDIV&quot;, f&quot;{int(r_div)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetBigIntParameter(&quot;ODIV1&quot;, f&quot;{int(o_div)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetBigIntParameter(&quot;ODIV2&quot;, f&quot;{int(o_div)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetByteParameter(&quot;NDIV&quot;, f&quot;{int(n_div)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;    client.SetBoolParameter(&quot;PLL_CAL_EN&quot;, &quot;False&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;def adf4030_init(client,board_id,tx_channel,ref_in,bsync_out):&#xD;&#xA;    &quot;&quot;&quot;Loads Default Registers, Sets the Bsync freqeuncy and Enable initial BSYNC Channel&quot;&quot;&quot;&#xD;&#xA;&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-device_id&quot;, f&quot;{int(board_id)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ReadSettings&quot;)&#xD;&#xA;    client.Run(&quot;@LoadDefault&quot;)&#xD;&#xA;    client.SetIntParameter(&quot;PD_TX_PATH1&quot;, &quot;1&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;    set_frequency(client,board_id=board_id,ref_in=ref_in,bsync_out=bsync_out)&#xD;&#xA;&#xD;&#xA;    if tx_channel != None:&#xD;&#xA;        client.SetIntParameter(f&quot;PD_TX_PATH{tx_channel}&quot;, &quot;0&quot;, &quot;-1&quot;)&#xD;&#xA;        client.SetIntParameter(f&quot;EN_DRV{tx_channel}&quot;, &quot;1&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;def tdc_meas(client,board_id,tdc_source,tdc_target):&#xD;&#xA;    &quot;&quot;&quot; Measure TDC between 2 BSYNC channels &quot;&quot;&quot;&#xD;&#xA;&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-device_id&quot;, f&quot;{int(board_id)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ReadSettings&quot;)&#xD;&#xA;    client.SetIntParameter(&quot;TDC_SOURCE&quot;, f&quot;{tdc_source}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetIntParameter(&quot;TDC_TARGET&quot;, f&quot;{tdc_target}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;    client.Run(&quot;@TDCMeasurementSequence&quot;)&#xD;&#xA;    result = float(client.GetDecimalParameter(&quot;virtual-parameter-tdc-result-value&quot;))&#xD;&#xA;    result_s = &quot;{:.3f}&quot;.format(result) &#xD;&#xA;&#xD;&#xA;    print(f&quot;TDC Meas Board{board_id}: BSYNC{tdc_source}-&gt;BSYNC{tdc_target}= {result_s} ps&quot;)&#xD;&#xA;    return result&#xD;&#xA;&#xD;&#xA;def set_direction(client, source_board, chan1, target_board, chan2):&#xD;&#xA;    &quot;&quot;&quot; Sets the direction of a connected pair of bidirectional channels (BSYNCs). &quot;&quot;&quot;&#xD;&#xA;&#xD;&#xA;    cmmnt = f&quot;Board{source_board}.BSYNC{chan1} --&gt; Board{target_board}.BSYNC{chan2}&quot;&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-device_id&quot;, f&quot;{int(target_board)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ReadSettings&quot;)&#xD;&#xA;    client.SetIntParameter(f&quot;EN_DRV{chan2}&quot;, &quot;0&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-device_id&quot;, f&quot;{int(source_board)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ReadSettings&quot;)&#xD;&#xA;    client.SetIntParameter(f&quot;EN_DRV{chan1}&quot;, &quot;1&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;    print(f&quot;Set Direction: {cmmnt}&quot;)&#xD;&#xA;&#xD;&#xA;def align_with_delay(client,board_id,chan1,chan2,delay=0):&#xD;&#xA;    &quot;&quot;&quot; Align 2 BSYNC with certain delay &quot;&quot;&quot;&#xD;&#xA;&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-device_id&quot;, f&quot;{int(board_id)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ReadSettings&quot;)&#xD;&#xA;    client.SetIntParameter(&quot;TDC_SOURCE&quot;, f&quot;{chan1}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetIntParameter(&quot;TDC_TARGET&quot;, f&quot;{chan2}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-delay-adjust-value&quot;, f&quot;{int(delay)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@AutoAlignDelayAdjust&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;&#xD;&#xA;    client.Run(&quot;@TDCMeasurementSequence&quot;)&#xD;&#xA;    result = float(client.GetDecimalParameter(&quot;virtual-parameter-tdc-result-value&quot;))&#xD;&#xA;    result_str = f&quot;Board{board_id}.BSYNC{chan1}-BSYNC{chan2}&quot;&#xD;&#xA;    print(&quot;Pin Alignment: {} = {:0.3f} ps&quot;.format(result_str, result))&#xD;&#xA;    print(&quot;Alignment Result: {} = {:0.3f} ps&quot;.format(result_str,(delay+result)))&#xD;&#xA;&#xD;&#xA;def set_channel(client,board_id,channel,tx_drive):&#xD;&#xA;    &quot;&quot;&quot; Power up and Set Drive of Channel &quot;&quot;&quot;&#xD;&#xA;&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-device_id&quot;, f&quot;{int(board_id)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ReadSettings&quot;)&#xD;&#xA;    client.SetIntParameter(f&quot;PD_TX_PATH{channel}&quot;, &quot;0&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetIntParameter(f&quot;EN_DRV{channel}&quot;, f&quot;{tx_drive}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;&#xD;&#xA;def align_2_ADF4030(client,board_id_1,channel_1_to_2,board_id_2,channel_osc):&#xD;&#xA;    &quot;&quot;&quot;2 ADF4030 PIN Alignment&quot;&quot;&quot;&#xD;&#xA;&#xD;&#xA;    set_channel(client,board_id=board_id_1,channel=channel_1_to_2,tx_drive=1)&#xD;&#xA;    set_channel(client,board_id=board_id_2,channel=channel_1_to_2,tx_drive=0)&#xD;&#xA;&#xD;&#xA;    set_direction(client, source_board=board_id_1, chan1=channel_1_to_2, target_board=board_id_2, chan2=channel_1_to_2)&#xD;&#xA;&#xD;&#xA;    tdc_1_1 = tdc_meas(client,board_id=board_id_1,tdc_source=channel_osc,tdc_target=channel_1_to_2)&#xD;&#xA;    tdc_1_2 = tdc_meas(client,board_id=board_id_2,tdc_source=channel_1_to_2,tdc_target=channel_osc)&#xD;&#xA;&#xD;&#xA;    set_direction(client, source_board=board_id_2, chan1=channel_1_to_2, target_board=board_id_1, chan2=channel_1_to_2)&#xD;&#xA;&#xD;&#xA;    tdc_2_2 = tdc_meas(client,board_id=board_id_2,tdc_source=channel_1_to_2,tdc_target=channel_osc)&#xD;&#xA;    tdc_2_1 = tdc_meas(client,board_id=board_id_1,tdc_source=channel_osc,tdc_target=channel_1_to_2)&#xD;&#xA;&#xD;&#xA;    set_direction(client, source_board=board_id_1, chan1=channel_1_to_2, target_board=board_id_2, chan2=channel_1_to_2)&#xD;&#xA;&#xD;&#xA;    bsync_freq = float(client.GetDecimalParameter(fr&quot;virtual-parameter-bsync-frequency-{channel_osc}&quot;))&#xD;&#xA;    bsync_t = 10 ** 12 / bsync_freq   # BSYNC period in picoseconds&#xD;&#xA;    path_delay_ps = (((tdc_1_1 + tdc_1_2 - tdc_2_1 - tdc_2_2)+bsync_t) % bsync_t)/2&#xD;&#xA;    path_delay_ps_t = &quot;{:.3f}&quot;.format(path_delay_ps) &#xD;&#xA;    print(f&quot;Cable Delay = {path_delay_ps_t} ps&quot;,)&#xD;&#xA;&#xD;&#xA;    align_with_delay(client,board_id=board_id_1,chan1=channel_osc,chan2=channel_1_to_2,delay=-path_delay_ps)&#xD;&#xA;    align_with_delay(client,board_id=board_id_2,chan1=channel_1_to_2,chan2=channel_osc,delay=0)&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;def ADF4030Demo(client):&#xD;&#xA;&#xD;&#xA;    client.ContextPath = &quot;\System\Subsystem_1\ADF4030 Board\ADF4030&quot;&#xD;&#xA;&#xD;&#xA;    ref_in = 100e6&#xD;&#xA;    bsync_out = 100e6&#xD;&#xA;&#xD;&#xA;    channel_ADF4030_1_to_2 = 6&#xD;&#xA;&#xD;&#xA;    channel_ADF4030_to_Osc = 2&#xD;&#xA;&#xD;&#xA;    EVB1_ADDR = 0&#xD;&#xA;    EVB2_ADDR = 1&#xD;&#xA;&#xD;&#xA;    adf4030_init(client,board_id=EVB1_ADDR,tx_channel=channel_ADF4030_to_Osc,ref_in=ref_in,bsync_out=bsync_out)&#xD;&#xA;    adf4030_init(client,board_id=EVB2_ADDR,tx_channel=channel_ADF4030_to_Osc,ref_in=ref_in,bsync_out=bsync_out)&#xD;&#xA;&#xD;&#xA;    align_2_ADF4030(client=client,board_id_1=EVB1_ADDR,channel_1_to_2=channel_ADF4030_1_to_2,board_id_2=EVB2_ADDR,channel_osc=channel_ADF4030_to_Osc)&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;if __name__ == &quot;__main__&quot;:&#xD;&#xA;    main()" />
              <Script Name="3_ADF4030_DEMO_cascaded.py" FilePath="file:///C:/Users/pminciu/AppData/Local/Analog Devices/ACE/Scripts/3_ADF4030_DEMO_cascaded.py" ScriptTypeId="Python3" ScriptLanguage="Python" Lines="# Generated code compatible with Python 2.7+&#xD;&#xA;&#xD;&#xA;## Copyright (c) 2024 by Analog Devices, Inc.  All rights reserved.  This software is proprietary to Analog Devices, Inc. and its licensors.&#xD;&#xA;## This software is provided on an 'as is' basis without any representations, warranties, guarantees or liability of any kind.&#xD;&#xA;## Use of the software is subject to the terms and conditions of the Clear BSD License ( https://spdx.org/licenses/BSD-3-Clause-Clear.html ).&#xD;&#xA;&#xD;&#xA;# Requirements:&#xD;&#xA;#  - pythonnet&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;import sys&#xD;&#xA;sys.path.append(r'C:\Program Files\Analog Devices\ACE\Client')&#xD;&#xA;import time&#xD;&#xA;# noinspection SpellCheckingInspection&#xD;&#xA;import clr  # noqa&#xD;&#xA;# noinspection SpellCheckingInspection&#xD;&#xA;clr.AddReference('AnalogDevices.Csa.Remoting.Clients')&#xD;&#xA;clr.AddReference('AnalogDevices.Csa.Remoting.Contracts')&#xD;&#xA;&#xD;&#xA;# noinspection PyUnresolvedReferences,SpellCheckingInspection&#xD;&#xA;from AnalogDevices.Csa.Remoting.Clients import ClientManager  #noqa&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;def main():&#xD;&#xA;    manager = ClientManager.Create()&#xD;&#xA;    client = manager.CreateRequestClient(&quot;localhost:2357&quot;)&#xD;&#xA;    ADF4030Demo(client)&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;def set_frequency(client,board_id,ref_in,bsync_out):&#xD;&#xA;    &quot;&quot;&quot; Set BSYNC frequency for give ref_in and bsync_out values. Calculates PLL and output divider settings. &quot;&quot;&quot;&#xD;&#xA;&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-device_id&quot;, f&quot;{int(board_id)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ReadSettings&quot;)&#xD;&#xA;&#xD;&#xA;    if(ref_in &lt; 10e6 or ref_in &gt; 250e6):&#xD;&#xA;        raise ValueError(&quot;ref_in Out of Range&quot;)&#xD;&#xA;&#xD;&#xA;    if(bsync_out &lt; 650e3 or bsync_out &gt; 200e6):&#xD;&#xA;        raise ValueError(&quot;bsync_out Out of Range&quot;)&#xD;&#xA;&#xD;&#xA;    o_div = 1&#xD;&#xA;    &#xD;&#xA;    if(2.5e9 % bsync_out == 0):&#xD;&#xA;        vco_freq = 2.5e9&#xD;&#xA;        o_div = vco_freq/bsync_out &#xD;&#xA;    else:&#xD;&#xA;        vco_min = 2.375e9&#xD;&#xA;        vco_max = 2.625e9&#xD;&#xA;        vco_freq = 0&#xD;&#xA;        for o_div in range(1,4095):&#xD;&#xA;            vco_freq = bsync_out * o_div&#xD;&#xA;            if(vco_freq &gt;= vco_min and vco_freq &lt;= vco_max):&#xD;&#xA;                break&#xD;&#xA;    &#xD;&#xA;    pfd_min = 10e6&#xD;&#xA;    pfd_max = 20e6&#xD;&#xA;    pfd_freq = 0&#xD;&#xA;    r_div = 1&#xD;&#xA;    for r_div in range(1,32):&#xD;&#xA;        pfd_freq = ref_in / r_div&#xD;&#xA;&#xD;&#xA;        if(pfd_freq &gt;= pfd_min and pfd_freq &lt;= pfd_max):&#xD;&#xA;            break&#xD;&#xA;&#xD;&#xA;    n_div = (vco_freq/pfd_freq)&#xD;&#xA;    n_div_min = 0&#xD;&#xA;    n_div_max = 256&#xD;&#xA;    if(n_div &lt; n_div_min or n_div &gt; n_div_max):&#xD;&#xA;        raise ValueError(&quot;n_div Out of Range&quot;)&#xD;&#xA;&#xD;&#xA;    n_div = round(n_div)&#xD;&#xA;&#xD;&#xA;    out_pfd = ref_in / int(r_div)&#xD;&#xA;    out_vco = out_pfd * int(n_div)&#xD;&#xA;    out_bsync = out_vco / int(o_div)&#xD;&#xA;&#xD;&#xA;    print(&quot;out_bsync&quot;,out_bsync)&#xD;&#xA;    client.SetBoolParameter(&quot;PLL_CAL_EN&quot;, &quot;True&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;    client.SetDecimalParameter(&quot;virtual-parameter-reference-frequency&quot;, f&quot;{int(ref_in)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetByteParameter(&quot;RDIV&quot;, f&quot;{int(r_div)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetBigIntParameter(&quot;ODIV1&quot;, f&quot;{int(o_div)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetBigIntParameter(&quot;ODIV2&quot;, f&quot;{int(o_div)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetByteParameter(&quot;NDIV&quot;, f&quot;{int(n_div)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;    client.SetBoolParameter(&quot;PLL_CAL_EN&quot;, &quot;False&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;def adf4030_init(client,board_id,tx_channel,ref_in,bsync_out):&#xD;&#xA;    &quot;&quot;&quot;Loads Default Registers, Sets the Bsync freqeuncy and Enable initial BSYNC Channel&quot;&quot;&quot;&#xD;&#xA;&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-device_id&quot;, f&quot;{int(board_id)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ReadSettings&quot;)&#xD;&#xA;    client.Run(&quot;@LoadDefault&quot;)&#xD;&#xA;    client.SetIntParameter(&quot;PD_TX_PATH1&quot;, &quot;1&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;    set_frequency(client,board_id=board_id,ref_in=ref_in,bsync_out=bsync_out)&#xD;&#xA;&#xD;&#xA;    if tx_channel != None:&#xD;&#xA;        client.SetIntParameter(f&quot;PD_TX_PATH{tx_channel}&quot;, &quot;0&quot;, &quot;-1&quot;)&#xD;&#xA;        client.SetIntParameter(f&quot;EN_DRV{tx_channel}&quot;, &quot;1&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;def tdc_meas(client,board_id,tdc_source,tdc_target):&#xD;&#xA;    &quot;&quot;&quot; Measure TDC between 2 BSYNC channels &quot;&quot;&quot;&#xD;&#xA;&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-device_id&quot;, f&quot;{int(board_id)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ReadSettings&quot;)&#xD;&#xA;    client.SetIntParameter(&quot;TDC_SOURCE&quot;, f&quot;{tdc_source}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetIntParameter(&quot;TDC_TARGET&quot;, f&quot;{tdc_target}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;    client.Run(&quot;@TDCMeasurementSequence&quot;)&#xD;&#xA;    result = float(client.GetDecimalParameter(&quot;virtual-parameter-tdc-result-value&quot;))&#xD;&#xA;    result_s = &quot;{:.3f}&quot;.format(result) &#xD;&#xA;&#xD;&#xA;    print(f&quot;TDC Meas Board{board_id}: BSYNC{tdc_source}-&gt;BSYNC{tdc_target}= {result_s} ps&quot;)&#xD;&#xA;    return result&#xD;&#xA;&#xD;&#xA;def set_direction(client, source_board, chan1, target_board, chan2):&#xD;&#xA;    &quot;&quot;&quot; Sets the direction of a connected pair of bidirectional channels (BSYNCs). &quot;&quot;&quot;&#xD;&#xA;&#xD;&#xA;    cmmnt = f&quot;Board{source_board}.BSYNC{chan1} --&gt; Board{target_board}.BSYNC{chan2}&quot;&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-device_id&quot;, f&quot;{int(target_board)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ReadSettings&quot;)&#xD;&#xA;    client.SetIntParameter(f&quot;EN_DRV{chan2}&quot;, &quot;0&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-device_id&quot;, f&quot;{int(source_board)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ReadSettings&quot;)&#xD;&#xA;    client.SetIntParameter(f&quot;EN_DRV{chan1}&quot;, &quot;1&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;    print(f&quot;Set Direction: {cmmnt}&quot;)&#xD;&#xA;&#xD;&#xA;def align_with_delay(client,board_id,chan1,chan2,delay=0):&#xD;&#xA;    &quot;&quot;&quot; Align 2 BSYNC with certain delay &quot;&quot;&quot;&#xD;&#xA;&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-device_id&quot;, f&quot;{int(board_id)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ReadSettings&quot;)&#xD;&#xA;    client.SetIntParameter(&quot;TDC_SOURCE&quot;, f&quot;{chan1}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetIntParameter(&quot;TDC_TARGET&quot;, f&quot;{chan2}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-delay-adjust-value&quot;, f&quot;{int(delay)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@AutoAlignDelayAdjust&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;&#xD;&#xA;    client.Run(&quot;@TDCMeasurementSequence&quot;)&#xD;&#xA;    result = float(client.GetDecimalParameter(&quot;virtual-parameter-tdc-result-value&quot;))&#xD;&#xA;    result_str = f&quot;Board{board_id}.BSYNC{chan1}-BSYNC{chan2}&quot;&#xD;&#xA;    print(&quot;Pin Alignment: {} = {:0.3f} ps&quot;.format(result_str, result))&#xD;&#xA;    print(&quot;Alignment Result: {} = {:0.3f} ps&quot;.format(result_str,(delay+result)))&#xD;&#xA;&#xD;&#xA;def set_channel(client,board_id,channel,tx_drive):&#xD;&#xA;    &quot;&quot;&quot; Power up and Set Drive of Channel &quot;&quot;&quot;&#xD;&#xA;&#xD;&#xA;    client.SetIntParameter(&quot;virtual-parameter-device_id&quot;, f&quot;{int(board_id)}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ReadSettings&quot;)&#xD;&#xA;    client.SetIntParameter(f&quot;PD_TX_PATH{channel}&quot;, &quot;0&quot;, &quot;-1&quot;)&#xD;&#xA;    client.SetIntParameter(f&quot;EN_DRV{channel}&quot;, f&quot;{tx_drive}&quot;, &quot;-1&quot;)&#xD;&#xA;    client.Run(&quot;@ApplySettings&quot;)&#xD;&#xA;    time.sleep(0.5)&#xD;&#xA;&#xD;&#xA;def align_2_ADF4030(client,board_id_1,channel_1_to_2,board_id_2,channel_osc):&#xD;&#xA;    &quot;&quot;&quot;2 ADF4030 PIN Alignment&quot;&quot;&quot;&#xD;&#xA;&#xD;&#xA;    set_channel(client,board_id=board_id_1,channel=channel_1_to_2,tx_drive=1)&#xD;&#xA;    set_channel(client,board_id=board_id_2,channel=channel_1_to_2,tx_drive=0)&#xD;&#xA;&#xD;&#xA;    set_direction(client, source_board=board_id_1, chan1=channel_1_to_2, target_board=board_id_2, chan2=channel_1_to_2)&#xD;&#xA;&#xD;&#xA;    tdc_1_1 = tdc_meas(client,board_id=board_id_1,tdc_source=channel_osc,tdc_target=channel_1_to_2)&#xD;&#xA;    tdc_1_2 = tdc_meas(client,board_id=board_id_2,tdc_source=channel_1_to_2,tdc_target=channel_osc)&#xD;&#xA;&#xD;&#xA;    set_direction(client, source_board=board_id_2, chan1=channel_1_to_2, target_board=board_id_1, chan2=channel_1_to_2)&#xD;&#xA;&#xD;&#xA;    tdc_2_2 = tdc_meas(client,board_id=board_id_2,tdc_source=channel_1_to_2,tdc_target=channel_osc)&#xD;&#xA;    tdc_2_1 = tdc_meas(client,board_id=board_id_1,tdc_source=channel_osc,tdc_target=channel_1_to_2)&#xD;&#xA;&#xD;&#xA;    set_direction(client, source_board=board_id_1, chan1=channel_1_to_2, target_board=board_id_2, chan2=channel_1_to_2)&#xD;&#xA;&#xD;&#xA;    bsync_freq = float(client.GetDecimalParameter(fr&quot;virtual-parameter-bsync-frequency-{channel_osc}&quot;))&#xD;&#xA;    bsync_t = 10 ** 12 / bsync_freq   # BSYNC period in picoseconds&#xD;&#xA;    path_delay_ps = (((tdc_1_1 + tdc_1_2 - tdc_2_1 - tdc_2_2)+bsync_t) % bsync_t)/2&#xD;&#xA;    path_delay_ps_t = &quot;{:.3f}&quot;.format(path_delay_ps) &#xD;&#xA;    print(f&quot;Cable Delay = {path_delay_ps_t} ps&quot;,)&#xD;&#xA;&#xD;&#xA;    align_with_delay(client,board_id=board_id_1,chan1=channel_osc,chan2=channel_1_to_2,delay=-path_delay_ps)&#xD;&#xA;    align_with_delay(client,board_id=board_id_2,chan1=channel_1_to_2,chan2=channel_osc,delay=0)&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;def ADF4030Demo(client):&#xD;&#xA;&#xD;&#xA;    client.ContextPath = &quot;\System\Subsystem_1\ADF4030 Board\ADF4030&quot;&#xD;&#xA;&#xD;&#xA;    ref_in = 100e6&#xD;&#xA;    bsync_out = 100e6&#xD;&#xA;&#xD;&#xA;    channel_ADF4030_1_to_2 = 4&#xD;&#xA;    channel_ADF4030_1_to_3 = 6&#xD;&#xA;&#xD;&#xA;    channel_ADF4030_to_Osc = 2&#xD;&#xA;&#xD;&#xA;    EVB1_ADDR = 0&#xD;&#xA;    EVB2_ADDR = 1&#xD;&#xA;    EVB3_ADDR = 2&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;    adf4030_init(client,board_id=EVB1_ADDR,tx_channel=channel_ADF4030_to_Osc,ref_in=ref_in,bsync_out=bsync_out)&#xD;&#xA;    adf4030_init(client,board_id=EVB2_ADDR,tx_channel=channel_ADF4030_to_Osc,ref_in=ref_in,bsync_out=bsync_out)&#xD;&#xA;    adf4030_init(client,board_id=EVB3_ADDR,tx_channel=channel_ADF4030_to_Osc,ref_in=ref_in,bsync_out=bsync_out)&#xD;&#xA;&#xD;&#xA;    align_2_ADF4030(client=client,board_id_1=EVB1_ADDR,channel_1_to_2=channel_ADF4030_1_to_2,board_id_2=EVB2_ADDR,channel_osc=channel_ADF4030_to_Osc)&#xD;&#xA;    align_2_ADF4030(client=client,board_id_1=EVB1_ADDR,channel_1_to_2=channel_ADF4030_1_to_3,board_id_2=EVB3_ADDR,channel_osc=channel_ADF4030_to_Osc)&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;if __name__ == &quot;__main__&quot;:&#xD;&#xA;    main()" />
            </Scripts>
          </ScriptManager>
        </Element>
        <Element Id="EvalSystem">
          <System xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="System" xmlns="AnalogDevices/Csa/Evaluation/Sessions/EvalSystemSessionElement.Schema.xsd">
            <Subsystems>
              <Subsystem Name="Subsystem_1">
                <Components>
                  <Component ComponentId="AD9576Board" Name="AD9576 Board">
                    <Info Name="AD9576 Board" Description="AD9576 Evaluation Board" />
                    <SavedState>
                      <Board Id="AD9576Board" Version="1.1.0" xmlns="">
                        <Parameter Id="fx2-port-a-pins" Value="7" Type="System.Numerics.BigInteger" />
                        <Parameter Id="pa_usb_status-direction-fx2-port-a-pins" Value="true" Type="System.Boolean" />
                        <Parameter Id="pa_usb_status-data-fx2-port-a-pins" Value="true" Type="System.Boolean" />
                        <Parameter Id="pa_csb-direction-fx2-port-a-pins" Value="true" Type="System.Boolean" />
                        <Parameter Id="pa_csb-data-fx2-port-a-pins" Value="true" Type="System.Boolean" />
                        <Parameter Id="pa_resetb-direction-fx2-port-a-pins" Value="true" Type="System.Boolean" />
                        <Parameter Id="pa_resetb-data-fx2-port-a-pins" Value="true" Type="System.Boolean" />
                        <Parameter Id="pa_gpio_3-direction-fx2-port-a-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pa_gpio_3-data-fx2-port-a-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pa_gpio_4-direction-fx2-port-a-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pa_gpio_4-data-fx2-port-a-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pa_gpio_5-direction-fx2-port-a-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pa_gpio_5-data-fx2-port-a-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pa_gpio_6-direction-fx2-port-a-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pa_gpio_6-data-fx2-port-a-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pa_gpio_7-direction-fx2-port-a-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pa_gpio_7-data-fx2-port-a-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="fx2-port-b-pins" Value="0" Type="System.Numerics.BigInteger" />
                        <Parameter Id="pb_sdio-direction-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_sdio-data-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_sp_sel0-direction-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_sp_sel0-data-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_sp_sel1-direction-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_sp_sel1-data-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_ld_pll0-direction-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_ld_pll0-data-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_ld_pll1-direction-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_ld_pll1-data-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_gpio_5-direction-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_gpio_5-data-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_gpio_6-direction-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_gpio_6-data-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_ref_sw-direction-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pb_ref_sw-data-fx2-port-b-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="fx2-port-c-pins" Value="0" Type="System.Numerics.BigInteger" />
                        <Parameter Id="pc_gpio_0-direction-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_0-data-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_1-direction-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_1-data-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_2-direction-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_2-data-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_3-direction-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_3-data-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_4-direction-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_4-data-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_5-direction-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_5-data-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_6-direction-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_6-data-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_7-direction-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pc_gpio_7-data-fx2-port-c-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="fx2-port-d-pins" Value="0" Type="System.Numerics.BigInteger" />
                        <Parameter Id="pd_ref_status-direction-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pd_ref_status-data-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pd_ref_act-direction-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pd_ref_act-data-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pd_gpio_2-direction-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pd_gpio_2-data-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pd_ref_sel-direction-fx2-port-d-pins" Value="true" Type="System.Boolean" />
                        <Parameter Id="pd_ref_sel-data-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pd_xo2_en-direction-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pd_xo2_en-data-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pd_xo0_en-direction-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pd_xo0_en-data-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pd_xo1_en-direction-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pd_xo1_en-data-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pd_gpio_7-direction-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pd_gpio_7-data-fx2-port-d-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="fx2-port-e-pins" Value="0" Type="System.Numerics.BigInteger" />
                        <Parameter Id="pe_gpio_0-direction-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_0-data-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_1-direction-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_1-data-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_2-direction-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_2-data-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_3-direction-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_3-data-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_4-direction-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_4-data-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_5-direction-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_5-data-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_6-direction-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_6-data-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_7-direction-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Parameter Id="pe_gpio_7-data-fx2-port-e-pins" Value="false" Type="System.Boolean" />
                        <Chips>
                          <Chip Id="Chip.AD9576.AD9576" InstanceName="AD9576" Version="1.1.0">
                            <Parameter Id="ad9576-pins" Value="1" Type="System.Numerics.BigInteger" />
                            <Parameter Id="resetb-direction-ad9576-pins" Value="false" Type="System.Boolean" />
                            <Parameter Id="resetb-data-ad9576-pins" Value="true" Type="System.Boolean" />
                            <Parameter Id="ref_sel-direction-ad9576-pins" Value="false" Type="System.Boolean" />
                            <Parameter Id="ref_sel-data-ad9576-pins" Value="false" Type="System.Boolean" />
                            <Parameter Id="ref_act-direction-ad9576-pins" Value="true" Type="System.Boolean" />
                            <Parameter Id="ref_act-data-ad9576-pins" Value="false" Type="System.Boolean" />
                            <Parameter Id="ref_sw-direction-ad9576-pins" Value="true" Type="System.Boolean" />
                            <Parameter Id="ref_sw-data-ad9576-pins" Value="false" Type="System.Boolean" />
                            <Parameter Id="ref_status-direction-ad9576-pins" Value="true" Type="System.Boolean" />
                            <Parameter Id="ref_status-data-ad9576-pins" Value="false" Type="System.Boolean" />
                            <Parameter Id="sp_sel0-direction-ad9576-pins" Value="true" Type="System.Boolean" />
                            <Parameter Id="sp_sel0-data-ad9576-pins" Value="false" Type="System.Boolean" />
                            <Parameter Id="sp_sel1-direction-ad9576-pins" Value="true" Type="System.Boolean" />
                            <Parameter Id="sp_sel1-data-ad9576-pins" Value="false" Type="System.Boolean" />
                            <Parameter Id="ld_pll0-direction-ad9576-pins" Value="true" Type="System.Boolean" />
                            <Parameter Id="ld_pll0-data-ad9576-pins" Value="false" Type="System.Boolean" />
                            <Parameter Id="ld_pll1-direction-ad9576-pins" Value="true" Type="System.Boolean" />
                            <Parameter Id="ld_pll1-data-ad9576-pins" Value="false" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-Fvco" Value="2619040000.000" Type="System.Decimal" />
                            <Parameter Id="virtual-parameter-Fin_pfd" Value="20000000" Type="System.Decimal" />
                            <Parameter Id="virtual-parameter-Fout_VCO1" Value="320000000" Type="System.Decimal" />
                            <Parameter Id="virtual-parameter-PFD1_Fin" Value="20000000" Type="System.Decimal" />
                            <Parameter Id="virtual-parameter-Fref_sel" Value="10000000" Type="System.Decimal" />
                            <Parameter Id="virtual-parameter-FracNValue" Value="130.952" Type="System.Decimal" />
                            <Parameter Id="virtual-parameter-N0 SDM Active" Value="true" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-SDM_Mod" Value="1000" Type="System.Numerics.BigInteger" />
                            <Parameter Id="virtual-parameter-SDM_Frac" Value="952" Type="System.Numerics.BigInteger" />
                            <Parameter Id="virtual-parameter-N0_SDM_PowerDown" Value="0" Type="System.Int32" />
                            <Parameter Id="virtual-parameter-N0LoopMode" Value="0" Type="System.Int32" />
                            <Parameter Id="virtual-parameter-Out10_Clk_Sel" Value="1" Type="System.Byte" />
                            <Parameter Id="virtual-parameter-PLL1_PD" Value="false" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-ActiveRef" Value="0" Type="System.Int32" />
                            <Parameter Id="virtual-parameter-REF_SEL_Pin" Value="0" Type="System.Int32" />
                            <Parameter Id="virtual-parameter-PLL0_FBDiv_Value" Value="130.952" Type="System.Decimal" />
                            <Parameter Id="virtual-parameter-R0Div" Value="1" Type="System.Byte" />
                            <Parameter Id="virtual-parameter-FRef0" Value="10000000" Type="System.Decimal" />
                            <Parameter Id="virtual-parameter-FRef1" Value="10000000" Type="System.Decimal" />
                            <Parameter Id="virtual-parameter-FRef2" Value="25000000" Type="System.Decimal" />
                            <Parameter Id="virtual-parameter-R1_Div" Value="0" Type="System.Int32" />
                            <Parameter Id="virtual-parameter-R1Div_Enable" Value="false" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-Q3_Clock_Select" Value="0" Type="System.Byte" />
                            <Parameter Id="virtual-parameter-Out89_Clock_Select" Value="0" Type="System.Byte" />
                            <Parameter Id="virtual-parameter-N0a_Div_Ratio" Value="0" Type="System.Numerics.BigInteger" />
                            <Parameter Id="virtual-parameter-PLL0_REF_STAT_MNA" Value="0" Type="System.Int32" />
                            <Parameter Id="virtual-parameter-REF0_Present" Value="false" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-REF1_Present" Value="true" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-REF2_Present" Value="false" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-OUT0_DIFF_MODE" Value="true" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-OUT1_DIFF_MODE" Value="true" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-OUT2_DIFF_MODE" Value="true" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-OUT3_DIFF_MODE" Value="true" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-OUT4_DIFF_MODE" Value="true" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-OUT5_DIFF_MODE" Value="true" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-OUT6_DIFF_MODE" Value="true" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-OUT7_DIFF_MODE" Value="true" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-OUT8_DIFF_MODE" Value="true" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-OUT9_DIFF_MODE" Value="true" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-OUT10_DIFF_MODE" Value="true" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-Chip_Power_Down" Value="false" Type="System.Boolean" />
                            <Parameter Id="virtual-parameter-RefSelMode" Value="0" Type="System.Int32" />
                            <Parameter Id="virtual-parameter-PLL1_Enable2X" Value="1" Type="System.Int32" />
                            <RegisterMap UniqueId="0.Serial_Port_Configuration" Address="0" Count="16">
                              <Register Address="0" Value="24" />
                              <Register Address="1" Value="0" />
                              <Register Address="2" Value="0" />
                              <Register Address="3" Value="5" />
                              <Register Address="4" Value="4F" />
                              <Register Address="5" Value="1" />
                              <Register Address="6" Value="11" />
                              <Register Address="7" Value="0" />
                              <Register Address="8" Value="0" />
                              <Register Address="9" Value="0" />
                              <Register Address="A" Value="0" />
                              <Register Address="B" Value="0" />
                              <Register Address="C" Value="56" />
                              <Register Address="D" Value="4" />
                              <Register Address="E" Value="0" />
                              <Register Address="F" Value="0" />
                            </RegisterMap>
                            <RegisterMap UniqueId="20.Status" Address="20" Count="2">
                              <Register Address="20" Value="1" />
                              <Register Address="21" Value="0D" />
                            </RegisterMap>
                            <RegisterMap UniqueId="40.Chip_Mode" Address="40" Count="1">
                              <Register Address="40" Value="0" />
                            </RegisterMap>
                            <RegisterMap UniqueId="80.Receiver_Monitor" Address="80" Count="4">
                              <Register Address="80" Value="11" />
                              <Register Address="81" Value="0" />
                              <Register Address="82" Value="0" />
                              <Register Address="83" Value="0" />
                            </RegisterMap>
                            <RegisterMap UniqueId="100.PLL0" Address="100" Count="17">
                              <Register Address="100" Value="0" />
                              <Register Address="101" Value="08" />
                              <Register Address="102" Value="08D" />
                              <Register Address="103" Value="0E0" />
                              <Register Address="104" Value="0" />
                              <Register Address="105" Value="1" />
                              <Register Address="107" Value="082" />
                              <Register Address="108" Value="0B8" />
                              <Register Address="109" Value="3" />
                              <Register Address="10A" Value="0" />
                              <Register Address="10B" Value="0E8" />
                              <Register Address="10C" Value="3" />
                              <Register Address="10D" Value="0" />
                              <Register Address="10E" Value="0" />
                              <Register Address="10F" Value="0" />
                              <Register Address="110" Value="0" />
                              <Register Address="111" Value="0" />
                            </RegisterMap>
                            <RegisterMap UniqueId="120.VCO_Dividers" Address="120" Count="3">
                              <Register Address="120" Value="20" />
                              <Register Address="121" Value="44" />
                              <Register Address="122" Value="0" />
                            </RegisterMap>
                            <RegisterMap UniqueId="140.PLL0_Distribution" Address="140" Count="14">
                              <Register Address="140" Value="27" />
                              <Register Address="141" Value="0" />
                              <Register Address="142" Value="0" />
                              <Register Address="143" Value="0" />
                              <Register Address="144" Value="0" />
                              <Register Address="145" Value="0" />
                              <Register Address="146" Value="27" />
                              <Register Address="147" Value="0" />
                              <Register Address="148" Value="0" />
                              <Register Address="149" Value="0" />
                              <Register Address="14A" Value="27" />
                              <Register Address="14B" Value="0" />
                              <Register Address="14C" Value="0" />
                              <Register Address="14D" Value="0" />
                            </RegisterMap>
                            <RegisterMap UniqueId="200.PLL1" Address="200" Count="3">
                              <Register Address="200" Value="0" />
                              <Register Address="201" Value="10" />
                              <Register Address="202" Value="1" />
                            </RegisterMap>
                            <RegisterMap UniqueId="240.PLL1_Distribution" Address="240" Count="7">
                              <Register Address="240" Value="083" />
                              <Register Address="241" Value="0" />
                              <Register Address="242" Value="0C1" />
                              <Register Address="243" Value="0C1" />
                              <Register Address="244" Value="083" />
                              <Register Address="245" Value="080" />
                              <Register Address="246" Value="0C1" />
                            </RegisterMap>
                            <Children />
                          </Chip>
                        </Chips>
                        <StateControls AllowStatePolling="true" />
                      </Board>
                    </SavedState>
                  </Component>
                </Components>
                <Connections />
              </Subsystem>
            </Subsystems>
          </System>
        </Element>
        <Element Id="Controllers">
          <Controller Name="AD9576 Board" HardwareID="\\?\USB#VID_0456&amp;PID_EE25#8&amp;1353B964&amp;0&amp;2#{D2958CFD-F0E1-4752-8AFF-06D5B4411024}" Path="Root::System.Subsystem_1.AD9576 Board" xmlns="" />
        </Element>
        <Element Id="Macros">
          <MacroManager xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnalogDevices/Csa/Evaluation/UI/Models/Sessions/MacroManagerSessionElement.Schema.xsd">
            <Macros />
          </MacroManager>
        </Element>
        <Element Id="Views" ActiveWorkspaceElement="Root::System.Subsystem_1.AD9576 Board.AD9576" WorkspaceElements="Root::,Root::System,Root::System.Subsystem_1.AD9576 Board,Root::System.Subsystem_1.AD9576 Board.AD9576" />
        <Element Id="VectorGenerator">
          <VectorGenerator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="VectorGenerator" xmlns="AnalogDevices/Csa/VectorGenerator/Sessions/VectorGeneratorSessionElement.Schema.xsd">
            <Vectors />
          </VectorGenerator>
        </Element>
      </Elements>
    </Session>

    I verified it on the board.

    This is the photo of the eval board I use, for you to look at the jumpers:

    As for setting the board to function with SPI, which means using ACE: set P102 and P103 jumpers between 1 and 2 (towards HIGH). This sets SP0 and SP1 to high:

    To use the PPR pins, you have to leave SP1 and SP0 floating.

    Petre

  • Dear Petre,

    Thanks for your reply.

    "I created this cso. Take out the txt extension before loading it into ACE. Apply 10MHz at J204, with jumpers P209 and P210 towards DIFF label."

    We tried this configuration, we are able to get PLL0 locked and also output clocks 16.369MHz, but we need any one of the output clocks at CMOS 3.3V level.

    Please find the snippet below of the current output level we are getting.

    Also we need dual PLL lock (both PLL0 and PLL1) with calibration, but currently only PLL0 is locked.

    Requesting you to please share the .cso file for the above mentioned requirements.

    Please find below the snippet of the output we are getting for "AD9576_setup_10MHz_Input.cso" you shared earlier, and the board pin configuration.

       

    Thankyou

    Kiran

  • posting on behalf of    

    HI, 
    "We tried this configuration, we are able to get PLL0 locked and also output clocks 16.369MHz, but we need any one of the output clocks at CMOS 3.3V level."
     Please feel free to click in the GUI on an output you need to change and set it to 1.8V CMOS. Then click on Apply Changes to download it into the AD9576 device. Make sure that on the board, you change the schematic of that particular output accordingly. All outputs are set as LVDS on the board.
     As for getting the integer PLL1 to lock. Please tell me what frequencies you need to obtain at OUT8 to OUT10, the outputs managed by the PLL1. Note the VCO may be between 750 MHz and 825MHz and the distribution dividers may be between 1 and 64, so not every frequency may be accommodated.
     Petre

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.