Datasheet

AD9777
Rev. C | Page 25 of 60
NOTES ON SERIAL PORT OPERATION
The AD9777 serial port configuration bits reside in Bit 6 and
Bit 7 of Register Address 00h. It is important to note that the
configuration changes immediately upon writing to the last bit
of the register. For multibyte transfers, writing to this register
may occur during the middle of the communication cycle. Care
must be taken to compensate for this new configuration for the
remaining bytes of the current communication cycle.
The same considerations apply to setting the reset bit in
Register Address 00h. All other registers are set to their default
values, but the software reset does not affect the bits in Register
Address 00h.
It is recommended to use only single byte transfers when
changing serial port configurations or initiating a software
reset.
A write to Bit 1, Bit 2, and Bit 3 of Address 00h with the same
logic levels as for Bit 7, Bit 6, and Bit 5 (bit pattern: XY1001YX
binary) allows the user to reprogram a lost serial port configu-
ration and to reset the registers to their default values. A second
write to Address 00h with reset bit low and serial port configu-
ration as specified above (XY) reprograms the OSC IN
multiplier setting. A changed f
SYSCLK
frequency is stable after a
maximum of 200 f
MCLK
cycles (equals wake-up time).
DAC OPERATION
The dual 16-bit DAC output of the AD9777, along with the
reference circuitry, gain, and offset registers, is shown in Figure
37 and Figure 38. Note that an external reference can be used by
simply overdriving the internal reference with the external
reference. Referring to the transfer functions in Equation 1, a
reference current is set by the internal 1.2 V reference, the
external R
SET
resistor, and the values in the coarse gain register.
The fine gain DAC subtracts a small amount from this and the
result is input to IDAC and QDAC, where it is scaled by an
amount equal to 1024/24. Figure 39 and Figure 40 show the
scaling effect of the coarse and fine adjust DACs. IDAC and
QDAC are PMOS current source arrays, segmented in a 5-4-7
configuration. The five MSB control an array of 31 current
sources. The next four bits consist of 15 current sources whose
values are all equal to 1/16 of an MSB current source. The 7
LSBs are binary weighted fractions of the middle bits’ current
sources. All current sources are switched to either I
OUTA
or I
OUTB
,
depending on the input code.
The fine adjustment of the gain of each channel allows for im-
proved balance of QAM modulated signals, resulting in improved
modulation accuracy and image rejection. In the Interfacing with
the AD8345 Quadrature Modulator section, the performance
data shows to what degree image rejection can be improved when
the AD9777 is used with an AD8345 quadrature modulator from
Analog Devices, Inc.
The offset control defines a small current that can be added to
I
OUTA
or I
OUTB
(not both) on the IDAC and QDAC. The selection
of which I
OUT
this offset current is directed toward is program-
mable via Register 08h, Bit 7 (IDAC) and Register 0Ch, Bit 7
(QDAC). Figure 42 shows the scale of the offset current that can
be added to one of the complementary outputs on the IDAC
and QDAC. Offset control can be used for suppression of LO
leakage resulting from modulation of dc signal components. If
the AD9777 is dc-coupled to an external modulator, this feature
can be used to cancel the output offset on the AD9777 as well as
the input offset on the modulator. Figure 42 shows a typical
example of the effect that the offset control has on LO
suppression.
FINE
GAIN
DAC
FINE
GAIN
DAC
COARSE
GAIN
DAC
COARSE
GAIN
DAC
OFFSET
DAC
OFFSET
DAC
GAIN
CONTROL
REGISTERS
OFFSET
CONTROL
REGISTERS
GAIN
CONTROL
REGISTERS
OFFSET
CONTROL
REGISTERS
1.2VREF
IDAC
QDAC
REFIO
0.1µF
FSADJ1
RSET1
I
OUTA1
I
OUTA2
I
OUTB1
I
OUTB2
RSET2
FSADJ2
02706-037
Figure 37. DAC Outputs, Reference Current Scaling, and Gain/Offset Adjust
8
4µA
7k
0.7V
REFIO
AVDD
02706-038
Figure 38. Internal Reference Equivalent Circuit
2R MODE
1R MODE
0
5
10
15
20
25
COARSE REFERENCE CURRENT (mA)
COARSE GAIN REGISTER CODE
(ASSUMING RSET1, RSET2 = 1.9k
)
501015
02706-039
20
Figure 39. Coarse Gain Effect on I
FULLSCALE