Datasheet

Quick Start Guide AD9122-EBZ
©2009 Analog Devices, Inc. All rights reserved. Trademarks and
registered trademarks are the property of their respective owners.
D00000-0-1/0
7
AD9122 SPI CONTROLLER
The SPI Controller application is split into several tabs. These tabs group related functions. Several of the functions provided by the SPI
Controller are described here, as they relate to the evaluation board. For complete descriptions of each register, refer to the AD9122
datasheet. In the interest of continuous quality improvements, the images below may not exactly match your version of the software.
Data Clock Control
This section, shown in Figure 2, provides control over the Interpolation Rate and Course Modulation. Once the controller is executed, the
Modulation Description field will return a summary of control. If an improper selection is made, the field will returnInvalid. The
DATAFMT field selects the number format of the incoming data, between unsigned (Binary) and signed (2s compliment). The QFirst
control selects which DAC receives data first from the interleaved bus. For use with the DPG2, this should always be set to IQ Pairs. The
Interface Mode selects how wide the data bus will be. This setting will need to match the setting in the DPG AD9122 panel for proper
operation with the DPG2.
NCO Control
This tab controls the Fine Modulation within the AD9122. The top portion of this tab helps the user easily control the frequency shift. It
will calculate the NCO Frequency using Data Frequency entered by the user. The NCO can shift the signal by at most +/- fnco/2. An
indicator also displays the frequency shift from the course modulation on the previous tab. The total shift will be the sum of the course
and fine modulations. To manually enter the Frequency Tuning Word (FTW), the Enable Advanced Control will bypass the calculations
on the top of the page.
PLL Control
The AD9122 has an on-chip PLL. When PLL_ENABLE is turned on, the chip will automatically select the appropriate band using the
Divder1 and Divider0 values. This tab provides the calculation for the DAC Freq and VCO Freq based on the Reference Clock and the
value of the dividers. The VCO Frequency must be between 1 and 2 GHz for proper operation. The auto-band select can be bypassed by
enabling PLL MANUAL and entering a band in PLL Band Select. Divider1 and Divider0 must still be chosen appropriately in this mode of
operation.
Interrupts
This tab provides a visual indication of the state of each interrupt. Enabling the button to the left of each interrupt with enable the
interrupt. A green indicator to the right of the button will light when the interrupt is asserted. Once asserted, the interrupt can be
acknowledged by pressing the Clear button.
Main DAC Control
This tab controls the two main DACs in the AD9122. The Full-Scale Current of each DAC can be set with the I DAC Gain and Q DAC
Gain controls. The I Sleep and Q Sleep controls put their respective DAC into a low-power sleep state. When the AD9122 is used with a
modulator, the Phase Compensation/DC Offset controls can be used to correct any mismatches between the two DACs.