ADRV9002 MATLAB Profile Generator - ArrowElectronics/arrow-adi-intel-psg GitHub Wiki

Introduction

The ADRV9002 has many filters in its transmit and receive paths (seen in the ADRV9002 block diagram below).

The ADRV9002 Profile Configuration Tool is used to design the receiver, transmitter, and observation receiver FIR filters for the ADRV9008-x and ADRV9002 wideband integrated transceivers. This tool creates filters which equalize the desired passband while compensating for the signal transfer functions through the entire analog and digital signal paths in the transceiver. The tool also generates ADC profiles and clock rates that can be used with the Transceiver Evaluation Software to evaluate system performance. Any custom configuration of sampling rates and bandwidths must use this tool to create a profile that can be used by in a customer system or with the evaluation kit. The profile tool is available as MATLAB® source code, a MATLAB app, and as a stand-alone executable. The tool can be used without hardware connected until the time in which the new profile is transferred to the TES GUI and then loaded into the evaluation system or into the customer code and system.

With this tool, users can perform the following tasks:

  • Design new profiles which are a combination of sampling rates and bandwidths which adhere to the transceiver minimum and maximum operating limits while also meeting the requirements the on-chip ARM algorithm processor
  • Design programmable FIR filters for these new custom profiles, save the filter coefficients to a file and load them into a customer system or the Transceiver Evaluation System (TES) GUI which then loads them into the transceiver itself
  • Use or bypass the AD9528 JESD204B Clock Generator which is included on board the ADRV9002 evaluation boards
  • Examine the responses of the filters in each signal path, which consists of the composite analog, composite digital, and aggregate responses -Perform “what if” experiments by adjusting filter weighting parameters to trade off pass band ripple with stop band rejection

Filter response can be viewed at the time of generation.

It is available as source code to be compiled into MATLAB, a MATLAB App, or stand-alone executable which needs the MATLAB Runtime Engine to be installed.

Installing the MATLAB Runtime Engine

  • Copy the MATLAB Runtime Engine executable. It must be version R2015b (9.0).
  • Run the downloaded .exe file and follow installation procedure

ADRV9002 Filter Wizard

There are a few steps to acquiring the Filter Wizard and installing it.

  1. Download the ADRV9002 Filter Wizard ZIP file
  2. Unzip it in a folder of your choice
  3. Execute the .exe file

Using the Filter Wizard

Please read through the short text on the Instruction tab of the Wizard before using the it. Note also the links at the bottom of the Instructions tab, one of which takes you back to the ADI Wiki page and the other takes you to the ADI Engineer Zone forum. Any questions about the Wizard will be addressed in this forum.

The Instructions page is one of several tabs in the GUI. The other tabs are used to display filter responses for each channel type after clicking on “Generate Profiles” as described below.

While the transceiver has separate transmitter, receiver, and observation receiver signal paths, all of the digital filters and data converters in those paths receive their clocks from a common clocking system. Even though the input fields show user configurable sampling rates for each of the different sections, there are rules that must be followed to generate a configuration that the transceiver can use. While some limitations may be obvious such as the maximum sampling rate supported by the transceiver, others are can dependent on additional parameters and are not as intuitive. Some examples of invalid configurations that illustrate the following rules are shown later in this document.

Some less intuitive rules that can come up frequently are listed below. The complete set of rules used by the GUI is also listed further down this Wiki page.

  1. The Tx Input Sample Rate must be the same as the ORx Output Sample Rate since internal and external transceiver calibrations require these rates to be the same
  2. The ORx Output Sample Rate must be a power of two multiple of the Rx Output Rate to satisfy JESD204B requirements
  3. The Tx Total RF BW must be less than 92% or 81% of the Tx sample rate depending on the configuration of the signal paths
  4. The ORx RF BW must be less than 92% or 82% of the ORx sample rate depending on the configuration of the signal paths
  5. The Rx RF BW must be greater than 40% and less than 82% of the Rx sample rate

AD9009 Filter Wizard Rules

The wizard does limit/error checking when data is entered. It indicates this with red text at the bottom of the Wizard as well as a pop up window. The rules are listed below:

  • Tx Rules

    • 30.625 MHz <= Tx Input Sample Rate <= 500 MHz, Must equal ORx Output Sample Rate
    • 10 MHz <= Tx Total RF BW (Absolute Limits) <= 450MHz
    • Tx Total RF BW [INT1,2,4 and 8 modes]* <= 0.92*Tx input Sample Rate (MHz)
    • Tx Total RF BW [INT5 modes] <= 0.81*Tx input Sample Rate (MHz)
    • 5 MHz < = Tx Primary Signal BW (Absolute Limits) < = 200 MHz
    • Tx Primary Signal BW [INT1,2,4 and 8 modes]* <= 0.41*Tx input Sample Rate (MHz)
    • Tx Primary Signal BW [DEC5 modes] <= 0.55*Tx input Sample Rate (MHz)
    • 980 MHz <= DAC Clock Rate <= 2000 MHz
    • 2 <= Total Signal Path Interpolation <= 32
    • Maximum Programmable FIR Input Rate = 500 MSPS
    • Maximum Programmable FIR Output Rate = 500 MSPS
    • Tx Programmable FIR Sample Processing Clock (DP_CLK) = (N*Tx Input Sample Rate) where N=1,2,4 or 8 AND (N*Tx Input Sample Rate) <= 500 MHz
    • Tx Programmable FIR Taps = ((20*DP_CLK)/Tx Input Sample Rate (MHz)) with possible value of 20, 40, 60 or 80

    *The transmit signal path final (closest to DAC) half-band filter stages can be set up to interpolate by x1, x2, x4, x8, and x5. The Rx or ORx signal paths have decimate by 4 or 5 options for the first (closest to ADC) filter stages. When the Rx or ORx signal paths use the x5 decimation option, the Tx (if used) must use the interpolate-by-5 (INT5) stage. This filter stage introduces a tighter restriction on the bandwidth-to-sampling rate ratio.

  • Rx Rules

    • 25 MSPS <= Rx Output Sample Rate <= 370 MSPS, ORx Output Sample Rate (MHz) must be a power-of-two multiple of the Rx Output Sample Rate (MHz)
    • 5 MHz <= Rx RF BW (Absolute Limits) <= 200 MHz
    • 0.4*ORx Output Sample Rate (MHz) <= Rx RF BW (Complex Mode) <= 0.82*ORx Output Sample Rate (MHz)
    • 0.41*ORx Output Sample Rate (MHz) <= Rx RF BW (Real IF Mode), Final output spectrum must have entire BW on one side of the LO (DC)
    • 40 MHz <= ORx TIA BW (Advanced Settings) <= 225 MHz
    • 980 MHz <= ADC Clock Rate <= 2000 MHz, must equal ORx ADC Clock Rate for ADRV9002
  • ORx Rules

    • 30.625 MHz <= ORx Output Sample Rate <= 500 MHz, Must be a power-of-two multiple of the Rx Output Sample Rate (MHz), Must equal the Tx Input Sample Rate (MHz)
    • 5 MHz <= ORx RF BW (Absolute Limits) <= 450 MHz
    • 0.4*ORx Output Sample Rate (MHz) <= Rx RF BW [DEC4 mode]** <= 0.92*ORx Output Sample Rate (MHz)
    • 0.4*ORx Output Sample Rate (MHz) <= Rx RF BW [DEC5]** <= 0.82*ORx Output Sample Rate (MHz)
    • 100 MHz <= ORx TIA BW (Advanced Settings) <= 225 MHz
    • 980 MHz <= ADC Clock Rate <= 2000 MHz, must equal Rx ADC Clock Rate for ADRV9002
    • Maximum Programmable FIR Input Rate (From HB1) = 500 MSPS
    • Maximum Half-Band 1 (HB1) Input Rate = 500 MSPS
    • 4 <= Total Signal Path Interpolation <= 32 (DEC4 Mode)**, 20 (DEC5 Mode)**
    • ORx Programmable FIR Decimation = 1,2,4
    • ORx Programmable FIR Dample Processing Clock (DP_CLK) = (N*ORx Outout Sample Rate) where N=1,2,4 or 8 AND (N*ORx Output Sample Rate <= 500MHz
    • ORx Programmable FIR Taps = ((24*DP_CLK)/ORx Output Sample Rate (MHz)) with possible values of 24, 48 and 72

    ** The first (closest to ADC) half-band stages in the ORx signal path can be configured to decimate by 4 or by 5 as shown in the hardware user guide. The two options have different RF BW and total decimation limits.

For instructions and Examples, refer to the ADRV9008-x and ADRV9002 Profile Configuration Tool (Filter Wizard) User Guide.pdf found in the .zip file downloaded earlier.


Return to ADRV9002 Platform User Guide