25 MHz speed
On-chip COS lookup table
On-chip, 10-bit DAC
Serial loading
Power-down option
Temperature range: −40°C to +85°C
200 mW power consumption
16-Lead TSSOP
APPLICATIONS
Frequency stimulus/waveform generation
Frequency phase tuning and modulation
Low power RF/communications systems
Liquid and gas flow measurement
Sensory applications: proximity, motion, and defect
detection
Test and medical equipment
Waveform Generator
AD9832
GENERAL DESCRIPTION
The AD9832 is a numerically controlled oscillator employing
a phase accumulator, a sine look-up table, and a 10-bit digitalto-analog converter (DAC) integrated on a single CMOS chip.
Modulation capabilities are provided for phase modulation and
frequency modulation.
Clock rates up to 25 MHz are supported. Frequency accuracy can
be controlled to one part in 4 billion. Modulation is effected by
loading registers through the serial interface.
A power-down bit allows the user to power down the AD9832
when it is not in use, the power consumption being reduced to
5 mW (5 V) or 3 mW (3 V). The part is available in a 16-lead
TSSOP package.
Similar DDS products can be found at
http://www.analog.com/DDS.
FUNCTIONAL BLOCK DIAGRAM
GND
VDDDGNDDVDD
MCLK
FSELECT
FSELECT
BIT
FREQ0 REG
FREQ1 REG
16-BIT DATA REGISTER
FSYNCSCLKSDATA
SELSRC
MUX
MUX
SYNC
8 LSBs8 MSBs
DECODE LOG IC
SERIAL REGI STER
SYNC
ACCUMULATOR
PHASE0 REG
PHASE1 REG
PHASE2 REG
PHASE3 REG
DEFER REGIS TER
PHASE
(32 BIT)
MUX
CONTROL REG ISTER
FSELECT/PSEL REGISTER
ON-BOARD
REFERENCE
12
SELSRC
SIN
ROM
SYNC
AD9832
SYNC
MUXMUX
PSEL0
BIT
PSEL0 PSEL1
Figure 1.
REFINFS ADJUSTREFOUT
FULL-SCALE
CONTROL
10-BIT DAC
PSEL1
BIT
COMP
IOUT
09090-001
Rev. C
Information furnished by Analog Devices is believed to be accurate and reliable. However, no
responsibility is assumed by Anal og Devices for its use, nor for any infringements of patents or ot her
rights of third parties that may result from its use. Specifications subject to change without notice. No
license is granted by implication or otherwise under any patent or patent rights of Analog Devices.
Trademarks and registered trademarks are the property of their respective owners.
Changes to Ordering Guide.......................................................... 23
7/99—Rev 0 to Rev. A
Rev. C | Page 2 of 28
Data Sheet AD9832
SPECIFICATIONS
VDD = +5 V ± 5%; AGND = DGND = 0 V; TA = T
noted. Also, see Figure 2.
Table 1.
Parameter1 AD9832B Unit Test Conditions/Comments
SIGNAL DAC SPECIFICATIONS
Resolution 10 Bits
Update Rate (f
) 25 MSPS nom
MAX
IOUT Full Scale 4 mA nom
4.5 mA max
Output Compliance 1.35 V max 3 V power supply
DC Accuracy
Integral Nonlinearity ±1 LSB typ
Differential Nonlinearity ±0.5 LSB typ
DDS SPECIFICATIONS2
Dynamic Specifications
Signal-to-Noise Ratio 50 dB min f
Total Harmonic Distortion −53 dBc max f
Spurious-Free Dynamic Range (SFDR)3 f
Narrow Band (±50 kHz) −72 dBc min 5 V power supply
−70 dBc min 3 V power supply
Wideband (±2 MHz) −50 dBc min
Clock Feedthrough −60 dBc typ
Wake-Up Time4 1 ms typ
Power-Down Option Yes
VOLTAGE REFERENCE
Internal Reference @ 25°C 1.21 V typ
T
to T
MIN
1.21 ± 7% V min/V max
MAX
REFIN Input Impedance 10 MΩ typ
Reference Temperature Coefficient (TC) 100 ppm/°C typ
REFOUT Output Impedance 300 Ω typ
LOGIC INPUTS
Input High Voltage, V
Input Low Voltage, V
Input Current, I
INH
V
INH
0.9 V max
INL
10 μA max
Input Capacitance, CIN 10 pF max
POWER SUPPLIES
AVDD 2.97/5.5 V min/V max
DVDD 2.97/5.5 V min/V max
IAA 5 mA max 5 V power supply
IDD 2.5 + 0.4/MHz mA typ 5 V power supply
5
IAA + I
15 mA max 3 V power supply
DD
24 mA max 5 V power supply
Low Power Sleep Mode 350 μA max
1
Operating temperature range is −40°C to +85°C.
2
100% production tested.
3
f
= 6.25 MHz, frequency word = 0x5671C71C, and f
MCLK
4
See . To reduce the wake-up time at low power supplies and low temperature, the use of an external reference is suggested. Figure 13
5
Measured with the digital inputs static and equal to 0 V or DVDD. The AD9832 is tested with a capacitive load of 50 pF. The part can operate with higher capacitive
loads, but the magnitude of the analog output will be attenuated. For example, a 5 MHz output signal is attenuated by 3 dB when the load capacitance equals 85 pF.
MIN
= 2.11 MHz.
OUT
to T
; REFIN = REFOUT; R
MAX
− 0.9 V min
DD
= 3.9 kΩ; R
SET
= 300 Ω for IOUT, unless otherwise
LOAD
= 25 MHz, f
MCLK
= 25 MHz, f
MCLK
= 6.25 MHz, f
MCLK
= 1 MHz
OUT
= 1 MHz
OUT
= 2.11 MHz
OUT
Rev. C | Page 3 of 28
AD9832 Data Sheet
10nF
REFOUT
ON-BOARD
REFERENCE
12
SIN
ROM
REFIN
FULL-SCALE
CONTROL
10-BIT DAC
R
SET
3.9kΩ
FS
ADJUST
AD9832
COMP
IOUT
AVDD
10nF
300Ω50pF
9090-002
Figure 2. Test Circuit by Which Specifications Were Tested
t1 40 ns min MCLK period
t2 16 ns min MCLK high duration
t3 16 ns min MCLK low duration
t4 50 ns min SCLK period
t5 20 ns min SCLK high duration
t6 20 ns min SCLK low duration
t7 15 ns min FSYNC to SCLK falling edge setup time
t8 20 ns min FSYNC to SCLK hold time
SCLK − 5 ns max
t9 15 ns min Data setup time
t10 5 ns min Data hold time
t11 8 ns min FSELECT, PSEL0, PSEL1 setup time before MCLK rising edge
1
t
8 ns min FSELECT, PSEL0, PSEL1 setup time after MCLK rising edge
11A
1
See the section. Pin Configuration and Function Descriptions
Timing Diagrams
SCLK
FSYNC
SDATA
MIN
to T
(B Version) Unit Test Conditions/Comments
MAX
t
1
MCLK
t
2
t
3
09090-003
Figure 3. Master Clock
t
t
5
4
t
7
t
6
t
10
t
9
t
8
Figure 4. Serial Timing
D14D15D0D1D2D15D14
09090-004
MCLK
t
11A
09090-005
FSELECT
PSEL0, PSEL1
t
11
VALID DATAVALID DATAVALID DATA
Figure 5. Control Timing
Rev. C | Page 5 of 28
AD9832 Data Sheet
ABSOLUTE MAXIMUM RATINGS
TA = 25°C, unless otherwise noted.
Table 3.
Parameter Rating
AVDD to AGND −0.3 V to +7 V
DVDD to DGND −0.3 V to +7 V
AVDD to DVDD −0.3 V to +0.3 V
AGND to DGND −0.3 V to +0.3 V
Digital I/O Voltage to DGND −0.3 V to DVDD + 0.3 V
Analog I/O Voltage to AGND −0.3 V to AVDD + 0.3 V
Operating Temperature Range
Industrial (B Version) −40°C to +85°C
Storage Temperature Range −65°C to +150°C
Maximum Junction Temperature 150°C
TSSOP θJA Thermal Impedance 158°C/W
Lead Temperature, Soldering
Vapor Phase (60 sec) 215°C
Infrared (15 sec) 220°C
ESD Rating >4500 V
Stresses above those listed under Absolute Maximum Ratings
may cause permanent damage to the device. This is a stress
rating only; functional operation of the device at these or any
other conditions above those indicated in the operational
section of this specification is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect
device reliability.
ESD CAUTION
Rev. C | Page 6 of 28
Data Sheet AD9832
PIN CONFIGURATION AND FUNCTION DESCRIPTIONS
FS ADJUST
REFIN
REFOUT
DVDD
DGND
MCLK
SCLK
SDATA
1
2
3
AD9832
4
TOP VIEW
5
(Not to Scale)
6
7
8
16
15
14
13
12
11
10
9
COMP
AVDD
IOUT
AGND
PSEL0
PSEL1
FSELECT
FSYNC
09090-006
Figure 6. Pin Configuration
Table 4. Pin Function Descriptions
Pin No. Mnemonic Description
1 FS ADJUST
Full-Scale Adjust Control. A resistor (R
magnitude of the full-scale DAC current. The relationship between R
IOUT
2 REFIN
Voltage Reference Input. The AD9832 can be used with either the on-board reference, which is available from
FULL-SCALE
= 12.5 × V
REFIN/RSET
, where V
) is connected between this pin and AGND. This determines the
SET
= 1.21 V nominal and R
REFIN
and the full-scale current is
SET
= 3.9 kΩ typical.
SET
the REFOUT pin, or an external reference. The reference to be used is connected to the REFIN pin. The AD9832
accepts a reference of 1.21 V nominal.
3 REFOUT
Voltage Reference Output. The AD9832 has an on-board reference of value 1.21 V nominal. The reference is
available on the REFOUT pin. This reference is used as the reference to the DAC by connecting REFOUT to REFIN.
REFOUT should be decoupled with a 10 nF capacitor to AGND.
4 DVDD
Positive Power Supply for the Digital Section. A 0.1 μF decoupling capacitor should be connected between
DVDD and DGND. DVDD can have a value of 5 V ± 10% or 3.3 V ± 0%.
5 DGND Digital Ground.
6 MCLK
Digital Clock Input. DDS output frequencies are expressed as a binary fraction of the frequency of MCLK. This
clock determines the output frequency accuracy and phase noise.
7 SCLK Serial Clock, Logic Input. Data is clocked into the AD9832 on each falling SCLK edge.
8 SDATA Serial Data In, Logic Input. The 16-bit serial data-word is applied to this input.
9 FSYNC
Data Synchronization Signal, Logic Input. When this input goes low, the internal logic is informed that
a new word is being loaded into the device.
10 FSELECT
Frequency Select Input. FSELECT controls which frequency register, FREQ0 or FREQ1, is used in the phase
accumulator. The frequency register to be used can be selected using the FSELECT pin or the FSELECT bit. FSELECT
is sampled on the rising MCLK edge. FSELECT needs to be in steady state when an MCLK rising edge occurs. If
FSELECT changes value when a rising edge occurs, there is an uncertainty of one MCLK cycle as to when control is
transferred to the other frequency register. To avoid any uncertainty, a change on FSELECT should not coincide with an
MCLK rising edge. When the bit is being used to select the frequency register, the FSELECT pin should be tied to DGND.
11, 12
PSEL1,
PSEL0
Phase Select Input. The AD9832 has four phase registers. These registers can be used to alter the value being
input to the SIN ROM. The contents of the phase register are added to the phase accumulator output, the inputs
PSEL0 and PSEL1 selecting the phase register to be used. Alternatively, the phase register to be used can be
selected using the PSEL0 and PSEL1 bits. Like the FSELECT input, PSEL0 and PSEL1 are sampled on the rising
MCLK edge. Therefore, these inputs need to be in steady state when an MCLK rising edge occurs or there is an
uncertainty of one MCLK cycle as to when control is transferred to the selected phase register. When the phase
registers are being controlled by the PSEL0 and PSEL1 bits, the pins should be tied to DGND.
13 AGND Analog Ground.
14 IOUT Current Output. This is a high impedance current source. A load resistor should be connected between IOUT and AGND.
15 AVDD
Positive Power Supply for the Analog Section. A 0.1 μF decoupling capacitor should be connected between
AVDD and AGND. AVDD can have a value of 5 V ± 10% or 3.3 V ± 10%.
16 COMP
Compensation Pin. This is a compensation pin for the internal reference amplifier. A 10 nF decoupling ceramic
capacitor should be connected between COMP and AVDD.
Rev. C | Page 7 of 28
AD9832 Data Sheet
–
–
–
TYPICAL PERFORMANCE CHARACTERISTICS
25
T
= 25°C
A
20
15
5V
10
TOTAL CURRENT (mA)
3.3V
5
40
AVDD = DVDD = 3.3V
–45
–50
–55
–60
–65
SFDR (±2MHz) (d B)
–70
–75
25MHz
10MHz
0
MCLK FR EQUENC Y (MHz)
1520
Figure 7. Typical Current Consumption vs. MCLK Frequency
50
f
AVDD = DVDD = 3.3V
–55
–60
–65
–70
SFDR (±50kHz) (dB)
–75
–80
OUT/fMCLK
= 1/3
MCLK FREQUENCY (MHz)
Figure 8. Narrow-Band SFDR vs. MCLK Frequency
40
f
AVDD = DVDD = 3.3V
–45
–50
–55
SFDR (±2MHz) (d B)
–60
OUT/fMCLK
= 1/3
25105
09090-007
25101520
09090-008
–80
Figure 10. Wideband SFDR vs. f
60
AVDD = DVDD = 3.3V
f
= f
OUT
55
50
SNR (dB)
45
40
/3
MCLK
MCLK FREQUENCY (MHz)
0.20.3
f
OUT/fMCLK
for Various MCLK Frequencies
OUT/fMCLK
20
0.40.10
09090-010
251510
09090-011
Figure 11. SNR vs. MCLK Frequency
60
AVDD = DVDD = 3.3V
55
50
SNR (dB)
45
10MHz
25MHz
–65
MCLK FREQUENCY (MHz)
Figure 9. Wideband SFDR vs. MCLK Frequency
25101520
09090-009
40
Figure 12. SNR vs. f
f
/
f
OUT
MCLK
for Various MCLK Frequencies
OUT/fMCLK
0.40.30. 20.10
09090-012
Rev. C | Page 8 of 28
Data Sheet AD9832
V
V
V
V
V
WAKE-UP TIME (ms)
Figure 14. f
Figure 15. f
10.0
AVDD = DVDD = 2.97V
7.5
5.0
2.5
0
0
–10
–20
–30
–40
–50
10dB/DI
–60
–70
–80
–90
–100
START 0Hz
RBW 300Hz
MCLK
0
–10
–20
–30
–40
–50
10dB/DI
–60
–70
–80
–90
–100
START 0Hz
RBW 300Hz
= 25 MHz, f
MCLK
–20–10
TEMPERATURE (°C)
Figure 13. Wake-Up Time vs. Temperature
STOP 12. 5MHz
STOP 12.5MHz
= 25 MHz, f
VBW 1kHz
= 1.1 MHz, Frequency Word = 0xB439581
OUT
VBW 1kHz
= 2.1 MHz, Frequency Word = 0x15810625
OUT
ST 277 SEC
ST 277 SEC
0
–10
–20
–30
–40
–50
10dB/DI
–60
–70
–80
–90
–100
10dB/DI
–100
10dB/DI
–100
–10
–20
–30
–40
–50
–60
–70
–80
–90
–10
–20
–30
–40
–50
–60
–70
–80
–90
START 0Hz
RBW 300Hz
MCLK
0
START 0Hz
RBW 300Hz
MCLK
0
START 0Hz
RBW 300Hz
MCLK
= 25 MHz, f
= 25 MHz, f
= 25 MHz, f
VBW 1kHz
= 3.1 MHz, Frequency Word = 0x1FBE76C9
OUT
VBW 1kHz
= 4.1 MHz, Frequency Word = 0x29FBE76D
OUT
VBW 1kHz
= 5.1 MHz, Frequency Word = 0x34395810
OUT
0–30–40
09090-013
Figure 16. f
09090-014
Figure 17. f
09090-015
Figure 18. f
STOP 12.5MHz
ST 277 SEC
STOP 12.5MHz
ST 277 SEC
STOP 12.5MHz
ST 277 SEC
09090-016
09090-017
09090-018
Rev. C | Page 9 of 28
AD9832 Data Sheet
V
V
V
V
Figure 19. f
Figure 20. f
10dB/DI
10dB/DI
–100
–10
–20
–30
–40
–50
–60
–70
–80
–90
–100
0
–10
–20
–30
–40
–50
–60
–70
–80
–90
START 0Hz
RBW 300Hz
0
START 0Hz
RBW 300Hz
= 25 MHz, f
MCLK
= 25 MHz, f
MCLK
STOP 12.5MHz
VBW 1kHz
= 6.1 MHz, Frequency Word = 0x3E76C8B4
OUT
VBW 1kHz
= 7.1 MHz, Frequency Word = 0x48B43958
OUT
ST 277 SEC
STOP 12.5MHz
ST 277 SEC
0
–10
–20
–30
–40
–50
10dB/DI
–60
–70
–80
–90
–100
START 0Hz
Figure 21. f
0
–10
–20
–30
–40
–50
10dB/DI
–60
–70
–80
–90
–100
RBW 300Hz
= 25 MHz, f
MCLK
START 0Hz
RBW 300Hz
= 25 MHz, f
MCLK
09090-019
09090-020
Figure 22. f
VBW 1kHz
= 8.1 MHz, Frequency Word = 0x52F1A9FC
OUT
VBW 1kHz
= 9.1 MHz, Frequency Word = 0x5D2F1AA0
OUT
STOP 12.5MHz
ST 277 SEC
STOP 12.5MHz
ST 277 SEC
09090-021
09090-022
Rev. C | Page 10 of 28
Data Sheet AD9832
TERMINOLOGY
Integral Nonlinearity
This is the maximum deviation of any code from a straight line
passing through the endpoints of the transfer function. The
endpoints of the transfer function are zero scale, a point 0.5 LSB
below the first code transition (000 . . . 00 to 000 . . . 01) and full
scale, a point 0.5 LSB above the last code transition (111 . . . 10
to 111 . . . 11). The error is expressed in LSBs.
Differential Nonlinearity
This is the difference between the measured and ideal 1 LSB
change between two adjacent codes in the DAC.
Signal-to-Noise-and-Distortion Ratio
It is measured signal to noise at the output of the DAC. The
signal is the rms magnitude of the fundamental. Noise is the
rms sum of all the nonfundamental signals up to half the
sampling frequency (f
/2) but excluding the dc component.
MCLK
The signal-to-noise-and-distortion ratio is dependent on the
number of quantization levels used in the digitization process;
the more levels, the smaller the quantization noise. The theoretical
signal-to-noise-and-distortion ratio for a sine wave input is
Signal-to-Noise-and-Distortion = (6.02N + 1.76) dB
where N is the number of bits. Thus, for an ideal 10-bit converter,
the signal-to-noise-and-distortion ratio = 61.96 dB.
Total Harmonic Distortion (THD)
THD is the ratio of the rms sum of harmonics to the rms value of
the fundamental. For the AD9832, THD is defined as
Output Compliance
The output compliance refers to the maximum voltage that can
be generated at the output of the DAC to meet the specifications.
When voltages greater than those specified for the output
compliance are generated, the AD9832 may not meet the
specifications listed in the data sheet.
Spurious-Free Dynamic Range (SFDR)
Along with the frequency of interest, harmonics of the fundamental
frequency and images of the MCLK frequency are present at the
output of a DDS device. SFDR refers to the largest spur or harmonic
present in the band of interest. The wide-band SFDR gives the
magnitude of the largest harmonic or spur relative to the magnitude
of the fundamental frequency in the bandwidth ±2 MHz about
the fundamental frequency. The narrowband SFDR gives the
attenuation of the largest spur or harmonic in a bandwidth of
±50 kHz about the fundamental frequency.
Clock Feedthrough
There is feedthrough from the MCLK input to the analog output.
Clock feedthrough refers to the magnitude of the MCLK signal
relative to the fundamental frequency in the output spectrum of
the AD9832.
2
2
2
2
THD
2
log20
=
2
4
3
V
1
VVVVV
++++
5
6
where:
V
is the rms amplitude of the fundamental.
1
V
, V3, V4, V5, and V6 are the rms amplitudes of the second
2
through the sixth harmonic.
Rev. C | Page 11 of 28
AD9832 Data Sheet
THEORY OF OPERATION
Sine waves are typically thought of in terms of their magnitude
form a(t) = sin (ωt). However, these are nonlinear and not easy
to generate except through piecewise construction. On the
other hand, the angular information is linear in nature. That is,
the phase angle rotates through a fixed angle for each unit of
time. The angular rate depends on the frequency of the signal
by the traditional rate of ω = 2 πf.
MAGNITUDE
+1
0
–1
PHASE
2
Knowing that the phase of a sine wave is linear and given a
reference interval (clock period), the phase rotation for that
period can be determined by
ΔPhase = ωδt
Solving for ω,
ω = ΔPhase/δt = 2 πf
Solving for f and substituting the reference clock frequency for
the reference period (1/f
f = ΔPhase × f
MCLK
MCLK
/2 π
= δt),
The AD9832 builds the output based on this simple equation. A
simple DDS chip can implement this equation with three major
subcircuits.
0
Figure 23. Sine Wave
09090-023
Rev. C | Page 12 of 28
Data Sheet AD9832
CIRCUIT DESCRIPTION
The AD9832 provides an exciting new level of integration
for the RF/communications system designer. The AD9832
combines the numerical controlled oscillator (NCO), a sine
look-up table, frequency and phase modulators, and a DAC
on a single integrated circuit.
The internal circuitry of the AD9832 consists of three main
sections. They are:
• Numerical controlled oscillator (NCO) and phase modulator
• Sine look-up table
• DAC
The AD9832 is a fully integrated direct digital synthesis (DDS)
chip. The chip requires a reference clock, a low precision resistor,
and eight decoupling capacitors to provide digitally created sine
waves up to 12.5 MHz. In addition to the generation of this RF
signal, the chip is fully capable of a broad range of simple and
complex modulation schemes. These modulation schemes are
fully implemented in the digital domain, allowing accurate and
simple realization of complex modulation algorithms using DSP
techniques.
NUMERICAL CONTROLLED OSCILLATOR AND
PHASE MODULATOR
The NCO and phase modulator consists of two frequency select
registers, a phase accumulator, and four phase offset registers.
The main component of the NCO is a 32-bit phase accumulator
that assembles the phase component of the output signal. Continuous
time signals have a phase range of 0 to 2 π. Outside this range of
numbers, the sinusoid functions repeat themselves in a periodic
manner. The digital implementation is no different. The accumulator
simply scales the range of phase numbers into a multibit digital
word. The phase accumulator in the AD9832 is implemented
with 32 bits. Therefore, in the AD9832, 2π = 2
ΔPhase term is scaled into this range of numbers 0 < ΔPhase <
32
2
− 1.
f = ΔPhase × f
where 0 < ΔPhase < 2
MCLK
32
/232
.
32
. Likewise, the
The input to the phase accumulator (that is, the phase step) can
be selected from either the FREQ0 register or the FREQ1 register
and can be controlled by the FSELECT pin or the FSELECT bit.
NCOs inherently generate continuous phase signals, thus
avoiding any output discontinuity when switching between
frequencies.
Following the NCO, a phase offset can be added to perform
phase modulation using the 12-bit PHASEx registers. The contents
of these registers are added to the most significant bits of the NCO.
The AD9832 has four PHASEx registers, the resolution of these
registers being 2 π/4096.
SINE LOOK-UP TABLE (LUT)
To make the output useful, the signal must be converted from
phase information into a sinusoidal value. Because phase information
maps directly into amplitude, a ROM LUT converts the phase
information into amplitude. To do this, the digital phase
information is used to address a sine ROM LUT. Although the
NCO contains a 32-bit phase accumulator, the output of the
NCO is truncated to 12 bits. Using the full resolution of the phase
accumulator is impractical and unnecessary because this would
require a look-up table of 2
32
entries.
It is only necessary to have sufficient phase resolution in the
LUTs so that the dc error of the output waveform is dominated
by the quantization error in the DAC. This requires the look-up
table to have two more bits of phase resolution than the 10-bit DAC.
DIGITAL-TO-ANALOG CONVERTER
The AD9832 includes a high impedance current source 10-bit
DAC, capable of driving a wide range of loads at different speeds.
Full-scale output current can be adjusted for optimum power
and external load requirements by using a single external
resistor (R
The DAC is configured for single-ended operation. The load
resistor can be any value required, as long as the full-scale
voltage developed across it does not exceed the voltage compliance
range. Because full-scale current is controlled by R
to R
SET
if the DAC full-scale output current is significantly less than 4 mA,
the linearity of the DAC may degrade.
).
SET
, adjustments
SET
can balance changes made to the load resistor. However,
Rev. C | Page 13 of 28
AD9832 Data Sheet
FUNCTIONAL DESCRIPTION
SERIAL INTERFACE
The AD9832 has a serial interface, with 16 bits being loaded
during each write cycle. SCLK, SDATA, and FSYNC are used to
load the word into the AD9832.
When FSYNC is taken low, the AD9832 is informed that a word
is being written to the device. The first bit is read into the device
on the next SCLK falling edge with the remaining bits being read
into the device on the subsequent SCLK falling edges. FSYNC
frames the 16 bits; therefore, when 16 SCLK falling edges have
occurred, FSYNC should be taken high again. The SCLK can be
continuous, or alternatively, the SCLK can idle high or low between
write operations.
Table 5. Control Registers
Register Size Description
FREQ0 REG 32 bits
FREQ1 REG 32 bits
PHASE0 REG 12 bits
PHASE1 REG 12 bits
PHASE2 REG 12 bits
PHASE3 REG 12 bits
When writing to a frequency/phase register, the first four bits
identify whether a frequency or phase register is being written to,
the next four bits contain the address of the destination register,
while the 8 LSBs contain the data. Tab le 6 lists the addresses for
the phase/frequency registers, and Tabl e 7 and Ta bl e 8 list the
data structure for each.
For an example on programming the AD9832, see the AN-621
application note, Programming the AD9832/AD9835, at
www.analog.com.
Frequency Register 0. This defines the
output frequency, when FSELECT = 0,
as a fraction of the MCLK frequency.
Frequency Register 1. This defines the
output frequency, when FSELECT = 1,
as a fraction of the MCLK frequency.
Phase Offset Register 0. When PSEL0 =
PSEL1 = 0, the contents of this register
are added to the output of the phase
accumulator.
Phase Offset Register 1. When PSEL0 = 1
and PSEL1 = 0, the contents of this
register are added to the output of the
phase accumulator.
Phase Offset Register 2. When PSEL0 = 0
and PSEL1 = 1, the contents of this
register are added to the output of the
phase accumulator.
Phase Offset Register 3. When PSEL0 =
PSEL1 = 1, the contents of this register
are added to the output of the phase
accumulator.
Within the AD9832, 16-bit transfers are used when loading the
destination frequency/phase register. There are two modes for
loading a register, direct data transfer and a deferred data transfer.
With a deferred data transfer, the 8-bit word is loaded into the
defer register (8 LSBs or 8 MSBs). However, this data is not
loaded into the 16-bit data register; therefore, the destination
register is not updated. With a direct data transfer, the 8-bit word is
loaded into the appropriate defer register (8 LSBs or 8 MSBs).
Immediately following the loading of the defer register, the
contents of the complete defer register are loaded into the 16-bit
data register and the destination register is loaded on the next
MCLK rising edge. When a destination register is addressed, a
deferred transfer is needed first followed by a direct transfer.
When all 16 bits of the defer register contain relevant data, the
destination register can then be updated using 8-bit loading
rather than 16-bit loading, that is, direct data transfers can be
used. For example, after a new 16-bit word has been loaded to a
destination register, the defer register will also contain this
word. If the next write instruction is to the same destination
register, the user can use direct data transfers immediately.
Rev. C | Page 14 of 28
Data Sheet AD9832
When writing to a phase register, the 4 MSBs of the 16-bit word
loaded into the data register should be zero (the phase registers
are 12 bits wide).
To alter the entire contents of a frequency register, four write
operations are needed. However, the 16 MSBs of a frequency
word are contained in a separate register to the 16 LSBs.
Therefore, the 16 MSBs of the frequency word can be altered
independent of the 16 LSBs.
Table 9. Commands
C3 C2 C1 C0 Command
0 0 0 0
0 0 0 1 Write 8 phase bits to the defer register.
0 0 1 0
0 0 1 1 Write 8 frequency bits to the defer register.
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
Write 16 phase bits (present 8 bits + 8 bits
in the defer register) to selected PHASEx REG.
Write 16 frequency bits (present 8 bits +
8 bits in the defer register) to selected the
FREQx REG.
Bit D9 (PSEL0) and Bit D10 (PSEL1) are used
to select the PHASEx REG when SELSRC = 1.
When SELSRC = 0, the PHASEx REG is
selected using the PSEL0 and PSEL1 pins.
Bit D11 is used to select the FREQx REG
when SELSRC = 1. When SELSRC = 0, the
FREQx REG is selected using the FSELECT pin.
To control the PSEL0, PSEL1, and FSELECT
bits using only one write, this command is
used. Bit D9 and Bit D10 are used to select
the PHASEx REG, and Bit 11 is used to select
the FREQx REG when SELSRC = 1. When
SELSRC = 0, the PHASEx REG is selected
using the PSEL0 and PSEL1 pins and the
FREQx REG is selected using the FSELECT pin.
Reserved. It configures the AD9832 for
test purposes.
The phase and frequency registers to be used are selected using
the FSELECT, PSEL0, and PSEL1 pins, or the corresponding
bits can be used. Bit SELSRC determines whether the bits or the
pins are used. When SELSRC = 0, the pins are used, and when
SELSRC = 1, the bits are used. When CLR is taken high,
SELSRC is set to 0 so that the pins are the default source. Data
transfers from the serial (defer) register to the 16-bit data register,
and the FSELECT and PSEL registers, occur following the 16th
falling SCLK edge.
Table 10. Controlling the AD9832
D15 D14 Command
1 0
1 1 SLEEP, RESET, and CLR (clear).
Selects source of control for the PHASEx and
FREQx registers and enables synchronization.
Bit D13 is the SYNC bit. When this bit is high,
reading of the FSELECT, PSEL0, and PSEL1 bits/
pins and the loading of the destination register
with data is synchronized with the rising edge of
MCLK. The latency is increased by 2 MCLK cycles
when SYNC = 1. When SYNC = 0, the loading of the
data and the sampling of FSELECT/PSEL0/PSEL1
occurs asynchronously.
Bit D12 is the select source bit (SELSRC). When this
bit equals 1, the PHASEx/FREQx REG is selected
using the FSELECT, PSEL0, and PSEL1 bits. When
SELSRC = 0, the PHASEx/FREQx REG is selected
using the FSELECT, PSEL0, and PSEL1 pins.
D13 is the SLEEP bit. When this bit equals 1, the
AD9832 is powered down, internal clocks are
disabled, and the current sources and REFOUT of
the DAC are turned off. When SLEEP = 0, the
AD9832 is powered up. When RESET (D12) = 1, the
phase accumulator is set to zero phase that
corresponds to an analog output of midscale.
When CLR (D11) = 1, SYNC and SELSRC are set to
zero. CLR resets to 0 automatically.
Transfer of the data from the 16-bit data register to the
destination register or from the FSELECT/PSEL register to the
respective multiplexer occurs on the next MCLK rising edge.
Because SCLK and MCLK are asynchronous, an MCLK rising
edge may occur while the data bits are in a transitional state.
This can cause a brief spurious DAC output if the register being
written to is generating the DAC output. To avoid such spurious
outputs, the AD9832 contains synchronizing circuitry.
When the SYNC bit is set to 1, the synchronizer is enabled and
data transfers from the serial register (defer register) to the 16-bit
data register, and the FSELECT/PSEL registers occur following
a two-stage pipeline delay that is triggered on the MCLK falling
edge. The pipeline delay ensures that the data is valid when the
transfer occurs. Similarly, selection of the frequency/phase
registers using the FSELECT/PSELx pins is synchronized with
the MCLK rising edge when SYNC = 1. When SYNC = 0, the
synchronizer is bypassed.
Selecting the frequency/phase registers using the pins is
synchronized with MCLK internally also when SYNC = 1 to
ensure that these inputs are valid at the MCLK rising edge. If
times t
at the MCLK rising edge. However, if times t
and t
11
are met, then the inputs will be at steady state
11A
and t
11A
are
11
violated, the internal synchronizing circuitry will delay the
instant at which the pins are sampled, ensuring that the inputs
are valid at the sampling instant (see Figure 5).
Associated with each operation is a latency. When inputs
FSELECT/PSEL change value, there is a pipeline delay before
control is transferred to the selected register; there is a pipeline
delay before the analog output is controlled by the selected
register. When times t
FSELECT have latencies of six MCLK cycles when SYNC = 0.
When SYNC = 1, the latency is increased to 8 MCLK cycles.
When times t
and t
11
one MCLK cycle. Similarly, there is a latency associated with
each write operation. If a selected frequency/phase register is
loaded with a new word, there is a delay of 6 to 7 MCLK cycles
before the analog output will change (there is an uncertainty of
one MCLK cycle regarding the MCLK rising edge at which the
data is loaded into the destination register). When SYNC = 1,
the latency is 8 or 9 MCLK cycles.
and t
11
are not met, the latency can increase by
11A
are met, PSEL0, PSEL1, and
11A
FLOWCHARTS
The flowchart in Figure 24 shows the operating routine for the
AD9832. When the AD9832 is powered up, the part should be
reset, which resets the phase accumulator to zero so that the
analog output is at midscale. To avoid spurious DAC outputs
while the AD9832 is being initialized, the RESET bit should be
set to 1 until the part is ready to begin generating an output.
Taking CLR high sets SYNC and SELSRC to 0 so that the
FSELECT/PSELx pins are used to select the frequency/phase
registers, and the synchronization circuitry is bypassed. A write
operation is needed to the SYNC/SELSRC register to enable the
synchronization circuitry or to change control to the FSELECT/
PSEL bits. RESET does not reset the phase and frequency registers.
These registers will contain invalid data and, therefore, should
be set to a known value by the user. The RESET bit is then set to 0
to begin generating an output. A signal will appear at the DAC
output 6 MCLK cycles after RESET is set to 0.
The analog output is f
loaded into the selected frequency register. This signal is phase
shifted by the amount specified in the selected phase register
(2π/4096 × PHASEx REG, where PHASEx REG is the value
contained in the selected phase register).
Control of the frequency/phase registers can be interchanged
from the pins to the bits.
/232 × FREG, where FREG is the value
MCLK
Rev. C | Page 16 of 28
Data Sheet AD9832
V
= V
OUT
REFIN
CHANGE FSELECT
DATA WRITE
FREG[0] =
FREG[1] =
PHASEREG [3:0] = DELTA PHASE[0, 1, 2, 3]
WAIT 6 MCLK CYCLES (8 MCLK CYCLES IF SYNC = 1)
× 6.25 × R
OUT/RSET
NO
NO
f
OUT0
f
OUT1
SELECT DATA SOURCES
SET FSELECT
SET PSEL0, PSEL1
DAC OUTPUT
× (1 + SIN(2π(FREG × f
CHANGE PHASE?
NO
CHANGE
YES
CHANGE
YES
/
/
f
f
f
f
OUT
OUT
MCLK
MCLK
32
× 2
32
× 2
× t/232 + PHASEREG/212)))
MCLK
YES
?
CHANGE PHASEREG?
?
INITIALIZATION
YES
NO
CHANGE PSEL0, PSEL1
09090-024
Figure 24. Flowchart for the AD9832 Initialization and Operation
INITIALIZATION
CONTROL REGISTER W RITE
SET SLEEP
RESET = 1
CLR = 1
SET SYNC AND/OR SEL SRC TO 1
NO
WRITE INITIAL DATA
FREG[0] =
FREG[1] =
PHASEREG[3:0] = DELTA PHAS E[0, 1, 2, 3]
SET PINS O R FREQUENCY/P HASE REGIST ER WRITE
SET FSELECT, PSEL0 AND PSEL1
CONTROL REG ISTER W RITE
f
OUT0
f
OUT1
SLEEP = 0
RESET = 0
CLR = 0
YES
CONTROL REG ISTER WRI TE
SYNC = 1
AND/OR
SELSRC = 1
32
/
f
× 2
MCLK
32
/
f
× 2
MCLK
Figure 25. Initialization
09090-025
Rev. C | Page 17 of 28
AD9832 Data Sheet
DATA WRITE
DEFERRED TRANSFER WRITE
WRITE 8 BI TS TO DE FER REGI STER
DIRECT TRANSF ER WRITE
WRITE PRESENT 8 BIT S AND 8 BITS I N
DEFER REGISTER TO DAT A REGISTE R
YES
CHANGE
8 BITS ONL Y
WRITE ANOTHER WORD TO THIS
WRITE A WORD TO ANOT HER REGIST ER
REGISTER?
NO
YES
Figure 26. Data Writes
SELECT DATA SOURCES
CHANGE 16 BITS
NO
09090-026
FSELECT/PSEL PINS BEING USED?
YES
SELSRC = 0
SET PINS
SET FSELECT
SET PSEL0
SET PSEL1
NO
SELSRC = 1
FREQUENCY/PHASE REGISTER WRITE
SET FSELECT
SET PSEL0
SET PSEL1
09090-027
Figure 27. Selecting Data Sources
Rev. C | Page 18 of 28
Data Sheet AD9832
APPLICATIONS INFORMATION
The AD9832 contains functions that make it suitable for
modulation applications. The part can be used to perform
simple modulation, such as FSK, and more complex modulation
schemes, such as GMSK and QPSK, can also be implemented
using the AD9832. In an FSK application, the two frequency
registers of the AD9832 are loaded with different values; one
frequency represents the space frequency while the other represents
the mark frequency. The digital data stream is fed to the FSELECT
pin, which causes the AD9832 to modulate the carrier frequency
between the two values.
The AD9832 has four phase registers; this enables the part to
perform PSK. With phase shift keying, the carrier frequency is
phase shifted, the phase being altered by an amount which is
related to the bit stream being input to the modulator. The
presence of four shift registers eases the interaction needed
between the DSP and the AD9832.
The AD9832 is also suitable for signal generator applications.
With its low current consumption, the part is suitable for
applications where it can be used as a local oscillator. In addition,
the part is fully specified for operation with a 3.3 V ± 10%
power supply. Therefore, in portable applications where current
consumption is an important issue, the AD9832 is perfect.
GROUNDING AND LAYOUT
The printed circuit board (PCB) that houses the AD9832
should be designed so that the analog and digital sections are
separated and confined to certain areas of the board. This
facilitates the use of ground planes that can be easily separated.
A minimum etch technique is generally best for ground planes
because it gives the best shielding. Digital and analog ground
planes should only be joined in one place. If the AD9832 is the
only device requiring an AGND-to-DGND connection, the
ground planes should be connected at the AGND and DGND
pins of the AD9832. If the AD9832 is in a system where multiple
devices require AGND-to-DGND connections, the connection
should be made at one point only, a star ground point that
should be established as close as possible to the AD9832.
Avoid running digital lines under the device as these couple
noise onto the die. The analog ground plane should be allowed
to run under the AD9832 to avoid noise coupling. The power
supply lines to the AD9832 should use as large a track as possible
to provide low impedance paths and reduce the effects of glitches
on the power supply line. Fast switching signals, such as clocks,
should be shielded with digital ground to avoid radiating noise
to other sections of the board. Avoid crossover of digital and analog
signals. Traces on opposite sides of the board should run at right
angles to each other, which reduces the effects of feedthrough
through the board. A microstrip technique is by far the best,
but it is not always possible with a double-sided board. In this
technique, the component side of the board is dedicated to
ground planes, while signals are placed on the other side.
Good decoupling is important. The analog and digital supplies
to the AD9832 are independent and separately pinned out to
minimize coupling between analog and digital sections of the
device. All analog and digital supplies should be decoupled to
AGND and DGND, respectively, with 0.1 μF ceramic capacitors
in parallel with 10 μF tantalum capacitors. To achieve the best
from the decoupling capacitors, they should be placed as close
as possible to the device, ideally right up against the device. In
systems where a common supply is used to drive both the AVDD
and DVDD of the AD9832, it is recommended that the AVDD
supply of the system be used. This supply should have the
recommended analog supply decoupling between the AVDD
pins of the AD9832 and AGND and the recommended digital
supply decoupling capacitors between the DVDD pins and DGND.
INTERFACING THE AD9832 TO MICROPROCESSORS
The AD9832 has a standard serial interface that allows the part
to interface directly with several microprocessors. The device
uses an external serial clock to write the data/control information
into the device. The serial clock can have a frequency of 20 MHz
maximum. The serial clock can be continuous, or it can idle
high or low between write operations. When data/control
information is being written to the AD9832, FSYNC is taken
low and held low while the 16 bits of data are being written into
the AD9832. The FSYNC signal frames the 16 bits of information
being loaded into the AD9832.
AD9832 TO ADSP-21xx INTERFACE
Figure 28 shows the serial interface between the AD9832 and
the ADSP-2101/ADSP-2103. The ADSP-2101/ADSP-2103
should be set up to operate in SPORT transmit alternate framing
mode (TFSW = 1). The ADSP-2101/ADSP-2103 is programmed
through the SPORT control register and should be configured
as follows: internal clock operation (ISCLK = 1), active low
framing (INVTFS = 1), 16-bit word length (SLEN = 15),
internal frame sync signal (ITFS = 1), and a frame sync for each
write operation (TFSR = 1) must be generated. Transmission is
initiated by writing a word to the Tx register after SPORT is
enabled. The data is clocked out on each rising edge of the serial
clock and clocked into the AD9832 on the SCLK falling edge.
ADSP-2101/
ADSP-2103*
TFS
DT
SCLK
*ADDITIONAL PINS OMITTED FOR CLARITY.
Figure 28. ADSP-2101/ADSP-2103 to AD9832 Interface
AD9832*
FSYNC
SDATA
SCLK
09090-028
Rev. C | Page 19 of 28
AD9832 Data Sheet
AD9832 TO 68HC11/68L11 INTERFACE
Figure 29 shows the serial interface between the AD9832 and
the 68HC11/68L11 microcontroller. The microcontroller is
configured as the master by setting bit MSTR in the SPCR to 1,
which provides a serial clock on SCK while the MOSI output
drives the serial data line SDATA. Because the microcontroller does
not have a dedicated frame sync pin, the FSYNC signal is derived
from a port line (PC7). The setup conditions for correct operation
of the interface are as follows: SCK idles high between write
operations (CPOL = 0), and data is valid on SCK falling edge
(CPHA = 1). When data is transmitted to the AD9832, the FSYNC
line is taken low (PC7). Serial data from the 68HC11/68L11 is
transmitted in 8-bit bytes with only 8 falling clock edges occurring
in the transmit cycle. Data is transmitted MSB first. To load
data into the AD9832, PC7 is held low after the first 8 bits are
transferred and a second serial write operation is performed to
the AD9832. Only after the second 8 bits have been transferred
should FSYNC be taken high again.
68HC11/68L11*
PC7
MOSI
SCK
*ADDITIONAL PINS OMITTED FOR CLARITY.
Figure 29. 68HC11/68L11 to AD9832 Interface
AD9832*
FSYNC
SDATA
SCLK
09090-029
AD9832 TO 80C51/80L51 INTERFACE
Figure 30 shows the serial interface between the AD9832 and
the 80C51/80L51 microcontroller. The microcontroller operates
in Mode 0 so that TXD of the 80C51/80L51 drives SCLK of the
AD9832, while RXD drives the serial data line SDATA. The FSYNC
signal is again derived from a bit programmable pin on the port
(P3.3 being used in the diagram). When data is transmitted to
the AD9832, P3.3 is taken low. The 80C51/80L51 transmits data
in 8-bit bytes; therefore, only 8 falling SCLK edges occur in each
cycle. To load the remaining 8 bits to the AD9832, P3.3 is held
low after the first 8 bits have been transmitted and a second
write operation is initiated to transmit the second byte of data.
P3.3 is taken high following the completion of the second write
operation. SCLK should idle high between the two write operations.
The 80C51/80L51 outputs the serial data in a format that has
LSB first. The AD9832 accepts MSB first (the 4 MSBs being the
control information, the next 4 bits being the address, while the
8 LSBs contain the data when writing to a destination register).
Therefore, the transmit routine of the 80C51/80L51 must consider
this format and rearrange the bits so that the MSB is output first.
80C51/80L51*
P3.3
RxD
TxD
*ADDITIONAL PINS OMITTED FOR CLARITY.
Figure 30. 80C51/80L51 to AD9832 Interface
AD9832*
FSYNC
SDATA
SCLK
09090-030
AD9832 TO DSP56002 INTERFACE
Figure 31 shows the interface between the AD9832 and the
DSP56002. The DSP56002 is configured for normal mode
asynchronous operation with a gated internal clock (SYN = 0,
GCK = 1, SCKD = 1). The frame sync pin is generated internally
(SC2 = 1), the transfers are 16-bits wide (WL1 = 1, WL0 = 0),
and the frame sync signal frames the 16 bits (FSL = 0). The
frame sync signal is available on Pin SC2, but it needs to be
inverted before being applied to the AD9832. The interface to the
DSP56000/DSP56001 is similar to that of the DSP56002.
DSP56002*
SC2
STD
SCK
*ADDITIONAL PINS OMITTED FOR CLARITY.
Figure 31. AD9832 to DSP56002 Interface
AD9832*
FSYNC
SDATA
SCLK
09090-031
Rev. C | Page 20 of 28
Data Sheet AD9832
EVALUATION BOARD
SYSTEM DEMONSTRATION PLATFORM
The system demonstration platform (SDP) is a hardware and
software evaluation tool for use in conjunction with product
evaluation boards. The SDP board is based on the Blackfin® BF527
processor with USB connectivity to the PC through a USB 2.0 high
speed port.
Note that the SDP board is sold separately from the AD9832
evaluation board.
AD9832 TO SPORT INTERFACE
The Analog Devices SDP board has a SPORT serial port that is
used to control the serial inputs to the AD9832. The connections
are shown in Figure 32.
AD9832
SPORT_TFS
SPORT_TSCLK
SPORT_DTO
ADSP-BF527
Figure 32. SDP to AD9832 Interface
The AD9832 evaluation board allows designers to evaluate the
high performance AD9832 DDS modulator with a minimum of
effort. The GUI interface for the AD9832 evaluation board is
shown in Figure 33.
FSYNC
SCLK
SDATA
Figure 33. AD9832 Evaluation Software
02705-039
The DDS evaluation kit includes a populated, tested AD9832
PCB. Software is available with the evaluation board that allows
the user to easily program the AD9832. The schematics of the
AD9832 evaluation board are shown in Figure 34 and Figure 35.
The software runs on any IBM-compatible PC that has Microsoft®
Windows® 95, Windows 98, Windows ME, Windows 2000 NT®,
or Windows 7 installed.
Additional details can be found in the EVAL-AD9832SDZ data
sheet that is available on the software CD and on the AD9832
product page.
09090-040
XO vs. EXTERNAL CLOCK
The AD9832 can operate with master clocks up to 25 MHz. A
25 MHz general oscillator is included on the evaluation board.
However, this oscillator can be removed and, if required, an
external CMOS clock can be connected to the part.
Two options for the general oscillator are
• AEL 301 series crystals oscillators (AEL Crystals, Ltd.)
Power to the AD9832 evaluation board can be provided from
a USB connector or externally through pin connections. The
power leads should be twisted to reduce ground loops.
Rev. C | Page 21 of 28
AD9832 Data Sheet
EVALUATION BOARD SCHEMATICS
09090-034
Figure 34. AD9832 Evaluation Board Schematic, Part A
Rev. C | Page 22 of 28
Data Sheet AD9832
0
9090-035
Figure 35. AD9832 Evaluation Board Schematic, Part B—J1 Header Connector
Rev. C | Page 23 of 28
AD9832 Data Sheet
EVALUATION BOARD LAYOUT
09090-036
Figure 36. AD9832 Evaluation Board Component Side
09090-037
Figure 37. AD9832 Evaluation Board Silkscreen
09090-038
Figure 38. AD9832 Evaluation Board Solder Side
Rev. C | Page 24 of 28
Data Sheet AD9832
ORDERING INFORMATION
BILL OF MATERIALS
Table 14.
Reference Designator Description Manufacturer Part Number