FEATURES
Single +5 V Supply
32-Bit Phase Accumulator
On-Chip COSINE and SINE Look-Up Tables
On-Chip 10-Bit DAC
Frequency, Phase and Amplitude Modulation
Parallel and Serial Loading
Software and Hardware Power Down Options
20 MHz and 50 MHz Speed Grades
44-Pin PLCC
APPLICATIONS
Frequency Synthesizers
Frequency, Phase or Amplitude Modulators
DDS Tuning
Digital Modulation
PRODUCT DESCRIPTION
The AD7008 direct digital synthesis chip is a numerically controlled oscillator employing a 32-bit phase accumulator, sine and
cosine look-up tables and a 10-bit D/A converter integrated on a
single CMOS chip. Modulation capabilities are provided for
DDS Modulator
AD7008
phase modulation, frequency modulation, and both in-phase and
quadrature amplitude modulation suitable for QAM and SSB
generation.
Clock rates up to 20 MHz and 50 MHz are supported. Frequency accuracy can be controlled to one part in 4 billion.
Modulation may be effected by loading registers either through
the parallel microprocessor interface or the serial interface. A
frequency-select pin permits selection between two frequencies
on a per cycle basis.
The serial and parallel interfaces may be operated independently
and asynchronously from the DDS clock; the transfer control
signals are internally synchronized to prevent metastability problems. The synchronizer can be bypassed to reduce the transfer
latency in the event that the microprocessor clock is synchronous with the DDS clock.
A power-down pin allows external control of a power-down
mode (also accessible through the microprocessor interface)
The AD7008 is available in 44-pin PLCC.
PRODUCT HIGHLIGHT
1. Low Power
2. DSP/µP Interface
3. Completely Integrated
FUNCTIONAL BLOCK DIAGRAM
CLOCK
FSELECT
SCLK
SDATA
V
AA
FREQ0
FREQ1
32
REG
32
REG
32-BIT SERIAL REGISTER
32-BIT PARALLEL REGISTER
MPU INTERFACE
D0
MUX
GND
32
ACCUMULATOR
D15
Σ
PHASE
WR CS
32
12
Σ
12
PHASE REG
COMMAND REG
REV. B
Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its
use, nor for any infringements of patents or other rights of third parties
which may result from its use. No license is granted by implication or
otherwise under any patent or patent rights of Analog Devices.
May be reduced to 1t1 if LOAD is synchronized to CLOCK and Setup (t4) and Hold (t5) Times for LOAD to CLOCK are observed.
5020nsCLOCK Period
208nsCLOCK High Duration
208nsCLOCK Low Duration
55nsCLOCK to Control Setup Time
33nsCLOCK to Control Hold Time
4t
2t
1
1
4t
2t
1
1
nsLOAD Period
nsLOAD High Duration
1
55nsLOAD High to TC0–TC3 Setup Time
55nsLOAD High to TC0–TC3 Hold Time
1010nsWR Falling to CS Low Setup Time
1010nsWR Falling to CS Low Hold Time
2020nsMinimum WR Low Duration
1010nsMinimum WR High Duration
33 nsWR to D0–D15 Setup Time
33 nsWR to D0–D15 Hold Time
2020nsSCLK Period
88nsSCLK High Duration
88nsSCLK Low Duration
1010nsSCLK Rising to SDATA Setup Time
1010nsSCLK Rising to SDATA Hold Time
t
1
t
2
CLOCK
t
t
4
FSEL, LOAD,
TC3–TC0
VALIDVALID
t
5
Figure 1. Clock Synchronization Timing
t
7
LOAD
t
8
TC0–TC3
VALID
Figure 2. Register Transfer Timing
REV. B
3
Figure 3. Parallel Port Timing
t
6
t
9
Figure 4. Serial Port Timing
–3–
AD7008
MSBLSB
A WORD
D15–D0 ← A WORD*
B WORD
D15–D0 ← B WORD
A WORD
32-BIT PARALLEL ASSEMBLY REGISTER
*MOST SIGNIFICANT WORD IS LOADED FIRST
ABSOLUTE MAXIMUM RATINGS*
(T
= +25°C unless otherwise noted)
A
VAA, VDD to GND . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V
AGND to DGND . . . . . . . . . . . . . . . . . . . . . –0.3 V to +0.3 V
Digital I/O Voltage to DGND . . . . . . . . –0.3 V to V
Analog I/O Voltage to AGND . . . . . . . . –0.3 V to V
*Stresses above those listed under “Absolute Maximum Ratings” may cause
permanent damage to the device. This is a stress rating only and functional
operation of the device at these or any other conditions above those listed in the
operational sections of this specification is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect device reliability.
AD7008AP20–40°C to +85°C44-Pin PLCC P-44A
AD7008JP500°C to +70°C44-Pin PLCC P-44A
AD7008/PCB*1–3.5" Disk
*AD7008/PCB DDS Evaluation Kit, assembled and tested. Kit includes an
AD7008JP50.
CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily
accumulate on the human body and test equipment and can discharge without detection.
Although the AD7008 features proprietary ESD protection circuitry, permanent damage may
occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD
precautions are recommended to avoid performance degradation or loss of functionality.
Positive power supply for the analog section. A 0.1 µF decoupling capacitor should be connected between V
AGND. This is +5 V ± 5%.
AGNDAnalog Ground.
V
DD
Positive power supply for the digital section. A 0.1 µF decoupling capacitor should be connected between V
and DGND. This is +5 V ± 5%. Both V
and VDD should be externally tied together.
AA
DGNDDigital Ground; both AGND and DGND should be externally tied together.
ANALOG SIGNAL AND REFERENCE
IOUT,
FS ADJUSTFull-Scale Adjust Control. A resistor (R
IOUTCurrent Output. This is a high impedance current source. A load resistor should be connected between IOUT
and AGND.
nitude of the full-scale DAC current. The relationship between R
IOUT should be either tied directly to AGND or through an external load resistor to AGND.
) is connected between this pin and AGND. This determines the mag-
SET
and the full-scale current is as follows:
SET
AD7008
AA
DD
and
IOUT
V
REF
Voltage Reference Input. A 0.1 µF decoupling ceramic capacitor should be connected between V
FULL-SCALE
(mA) =
6233 ×V
R
SET
REF
V
= 1.27 V nominal R
REF
= 390 Ω typical
SET
and VAA.
REF
There is an internal 1.27 volt reference which can be overdriven by an external reference if required. See
specifications for maximum range.
COMPCompensation pin. This is a compensation pin for the internal reference amplifier. A 0.1 µF decoupling ceramic
capacitor should be connected between COMP and V
AA
.
DIGITAL INTERFACE AND CONTROL
CLOCKDigital Clock Input for DAC and NCO. DDS output frequencies are expressed as a binary fraction of the fre-
quency of this clock. The output frequency accuracy and phase noise is determined by this clock.
FSELECTFrequency Select Input. FSELECT controls which frequency register, FREQ0 or FREQ1, is used in the phase
accumulator. Frequency selection can be done on a cycle-per-cycle basis. See Tables I, II and III.
LOADRegister load, active high digital Input. This pin, in conjunction with TC3–TC0, control loading of internal regis-
ters from either the parallel or serial assembly registers. The load pin must be high at least 1t
. See Table II.
1
TC3–TC0Transfer Control address bus, digital inputs. This address determines the source and destination registers that are
used during a transfer. The source register can either be the parallel assembly register or the serial assembly register. The destination register can be any of the following: COMMAND REG, FREQ0 REG, FREQ1 REG,
PHASE REG or IQMOD REG. TC3–TC0 should be valid prior to LOAD rising and should not change until
LOAD falls. The Command Register can only be loaded from the parallel assembly register. See Table II.
CSChip Select, active low digital input. This input in conjunction with WR is used when writing to the parallel
assembly register.
WRWrite, active low digital input. This input in conjunction with CS is used when writing to the parallel assembly
register.
D7–D0Data Bus, digital inputs. These represent the low byte of the 16-bit data input port used to write to the 32-bit
parallel assembly register. The databus can configured for either a 8-bit or 16-bit MPU/DSP ports.
D15–D8Data Bus, digital inputs. These represent the high byte of the 16-bit data input port used to write to the 32-bit
parallel assembly register. The databus can be configured for either a 8-bit or 16-bit MPU/DSP ports. When the
databus is configured for 8-bit operation, D8–D15 should be tied to DGND.
SCLKSerial Clock, digital input. SCLK is used, in conjunction with SDATA, to clock data into the 32-bit serial assem-
bly register.
SDATASerial Data, digital input. Serial data is clocked on the rising edge of SCLK, Most Significant Bit (MSB) first.
SLEEPLow power sleep control, active high digital input. SLEEP puts the AD7008 into a low power sleep mode. Inter-
nal clocks are disabled, while also turning off the DAC current sources. A SLEEP bit is also provided in the
COMMAND REG to put the AD7008 into a low power sleep mode.
RESETRegister Reset, active high digital input. RESET clears the COMMAND REG and all the modulation registers to
zero.
TESTTest Mode. This is used for factory test only and should be left as a No Connect.
REV. B
–5–
AD7008
SLEEP (37)
AD7008
REGISTER
AND
CONTROL
LOGIC
14 PIPELINE DELAYS
13 PIPELINE DELAYS
ACCUMULATOR
32
12
20
ACCUM RESET
SLEEP
AM ENABLE
PHASE
32
PHASE
SUMMATION
ROM
12
12
SIN
COS
10
10
Figure 7. AD7008 CMOS DDS Modulator (See Table I)
11 PIPELINE DELAYS
SIN/COS
SUMMATION
10
10
19:10
9:0
10
DAC
IOUT/IOUT
SCLK (41)
SDATA (42)
D0-D15
(19-26, 8-15)
WR (16)
CS (27)
LOAD (36)
FSEL (31)
TC0-TC3
(32-35)
RESET (38)
CLOCK (30)
DQ
x 32
23:0
15:0 23:8
15:8 7:0
7:0
D FLIP-FLOPS ARE MASTER SLAVE,
LATCHING DATA ON CLK RISING EDGE.
PASS FLIP-FLOPS ARE TRANSPARENT
WHEN THE CLOCK IS LOW.
TRANSFER CONTROL (TC) REGISTER
DQ
x 6
PASS
CLK
CLK
Q
D
x 6
RESET SYNCHRONIZATION
DQDQDQ
CLK
32-BIT SERIAL
ASSEMBLY REGISTER
32-BIT PARALLEL
ASSEMBLY REGISTER
0
31:8
x 24
1
D
Q
x 32
x 6
Q
D
x 6
DQ
DQ
x 6
31:0
31:0
CLK
REGISTER
MUX
5
6
0
x 6
1
LOAD
TC2
TC0
TC1
TC3
TC3
TC2
0
x 32
1
DQ
TRANSFER DECODE
0
1
S
2
3
E
3:0
CLK
FSELECT
0
1
2
3
x 5
4
CLK
CLK
COMMAND REGISTER
DQ
x 4
DQ
CLK
4
0
D
Q
1
x 5
2
3
D
Q
D2
D1
D0
BUS MODE
D3
SYNCHRO LOGIC
32
CLK
32
CLK
12
10
DQ
CLK
DQ
CLK
FREQUENCY
REGISTERS
FREQ 0
D
Q
x 32
E
D
x 32
D
x 20
E
D
x 12
0
x32
1
Q
Q
E
Q
E
FREQ 1
PHASE REGISTER
CLK
IQ MOD REGISTER
CLK
AM ENABLE
SLEEP
TO PHASE
ACCUMULATOR
TO PHASE
SUMMATION
TO SIN/COS
SUMMATION
ACCUMULATOR
RESET
Figure 8. AD7008 Register and Control Logic
–6–
REV. B
Table I. Latency Table
Latency
Function(Synchronizer Enabled CR3 = 01)
AD7008
FSelect14t
Phase13t
IQ Mod11t
NOTE
1
All latencies are reduced by 4t1 when CR3 = 1 (synchronizer disabled). 1t1 is
*The Command Register can only be loaded from the parallel assembly registers.
Table III. AD7008 Control Registers
RegisterSizeReset State Description
COMMAND REG* 4 Bits CR3–CR0All ZerosCommand Register. This is written to using the parallel assembly register.
FREQ0 REG32 Bits DB31–DB0 All ZerosFrequency Register 0. This defines the output frequency, when
FSELECT = 0, as a fraction of the CLOCK frequency.
FREQ1 REG32 Bits DB31–DB0 All ZerosFrequency Register 1. This defines the output frequency, when
FSELECT = 1, as a fraction of the CLOCK frequency.
PHASE REG12 Bits DB11–DB0All ZerosPhase Offset Register. The contents of this register is added to the
output of the phase accumulator.
IQMOD REG20 Bits DB19–DB0 All ZerosI and Q Amplitude Modulation Register. This defines the amplitude of
the I and Q signals as 10-bit twos complement binary fractions.
DB[19:10] is multiplied by the Quadrature (sine component and
multiplied by the In-Phase (cosine) component.
*On power up, the Command Register should be configured by the user for the desired mode before operation.
Table IV. Command Register Bits*
CR0= 0Eight-Bit Databus. Pins D15–D8 are ignored and the parallel assembly register shifts eight places left on each write.
Hence four successive writes are required to load the 32-bit parallel assembly register, Figure 6.
= 1Sixteen-Bit Databus. The parallel assembly register shifts 16 places left on each write. Hence two successive writes are
required to load the 32-bit parallel assembly register, Figure 5.
CR1= 0Normal Operation.
= 1Low Power Sleep Mode. Internal Clocks and the DAC current sources are turned off.
CR2= 0Amplitude Modulation Bypass. The output of the sine LUT is directly sent to the DAC.
= 1Amplitude Modulation Enable. IQ modulation is enabled allowing AM or QAM to be performed.
CR3= 0Synchronizer Logic Enabled. The FSELECT, LOAD and TC3–TC0 signals are passed through a 4-stage pipeline
to synchronize them with the CLOCK, avoiding metastability problems.
= 1Synchronizer Logic Disabled. The FSELECT, LOAD and TC3–TC0 signals bypass the synchronization logic. This
allows for faster response to the control signals.
*The Command Register can only be loaded from the parallel assembly register.
REV. B
–7–
AD7008
CIRCUIT DESCRIPTION
The AD7008 provides an exciting new level of integration for
the RF/Communications system designer. The AD7008 combines the numerically controlled oscillator (NCO), SINE/COSINE look-up tables, frequency, phase and IQ modulators, and
a digital-to-analog converter on a single integrated circuit.
The internal circuitry of the AD7008 consists of four main sections. These are:
Numerically Controlled Oscillator (NCO) + Phase Modulator
SINE and COSINE Look-Up Tables
In Phase and Quadrature Modulators
Digital-to-Analog Converter
The AD7008 is a fully integrated Direct Digital Synthesis
(DDS) chip. The chip requires one reference clock, two lowprecision resistors and six decoupling capacitors to provide
digitally created sine waves up to 25 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.
THEORY OF OPERATION
Sine waves are typically thought of in terms of their amplitude
ω
form: a(t) = sin (
t) or a(t) = cos (ωt). However, these are non-
linear and not easy to generate except through piece wise construction. On the other hand, the angular information is linear
in nature. That is, the phase angle rotates though a fixed angle
for each unit of time. The angular rate depends on the fre-
ω
quency of the signal by the traditional rate of:
+1
0
–1
2π
0
MAGNITUDE
PHASE
= 2 πf.
Figure 9.
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.
∆Phase =ωdt
Solving for w:
∆Phase
ω=
dt
= 2 πf
Solving for f and substituting the reference clock frequency for
the reference period:
f =
f
CLOCK
1
∆Phase × f
= dt
2 π
:
CLOCK
The AD7008 builds the output based on this simple equation.
A simple DDS chip will implement this equation with 3 major
subcircuits. The AD7008 has an extra section for I and Q
modulation.
This consists of two frequency select registers, a phase accumulator and a phase offset register. The main component of the
NCO is a 32-bit phase accumulator which assembles the phase
component of the output signal. Continuous time signals have a
phase range 0 to 2
π. Outside this range of numbers, the sinu-
soidal 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 AD7008 is implemented with 32
bits. Therefore in the AD7008, 2 π = 2
term is scaled into this range of numbers 0 ≤∆Phase≤ 2
32
Likewise, the ∆Phase
.
32
– 1.
Making these substitutions into the equation above:
f =
∆Phase × f
32
2
CLOCK
where 0 ≤∆Phase < 2
32
With a clock signal of 50 MHz and a phase word of 051EB852
hex:
51EB852 ×50 MHz
f =
32
2
=1.000000000931 MHz
The input to the phase accumulator (i.e., the phase step) can be
selected either from the FREQ0 Register or FREQ1 Register,
and this is controlled by the FSELECT pin. The phase accumulator in the AD7008 inherently generates a continuous 32bit phase signal, thus avoiding any output discontinuity when
switching between frequencies. This facilitates complex frequency modulation schemes, such as GMSK.
Following the NCO, a phase offset can be added to perform
phase modulation using the 12-bit PHASE Register. The contents of this register are added to the most significant bits of the
NCO.
Sine and Cosine Look-Up Tables
To make the output useful, the signal must be converted from
phase information into a sinusoidal value. Since phase information maps directly into amplitude, a ROM look up table converts the phase information into amplitude. To do this the
digital phase information is used to address a Sine/Cosine ROM
LUT. Only the most significant 12 bits are used for this purpose. The remaining 20 bits provide frequency resolution and
minimize the effects of quantization of the phase to amplitude
conversion.
In Phase and Quadrature Modulators
Two 10-bit amplitude multipliers are provided allowing the easy
implementation of either Quadrature Amplitude Modulation
(QAM) or Amplitude Modulation (AM). The 20-bit IQMOD
Register is used to control the amplitude of the I (cos) and Q
(sin) signals. IQMOD [9:0] controls the I amplitude and
IQMOD [19:10] controls the Q amplitude.
The user should ensure that when summing the I and Q signals
the sum should not exceed the value that a 10-bit accumulator
can hold. The AD7008 does not clip the digital output; the
output will roll over instead of clip.
When amplitude modulation is not required, the IQ multipliers
can be bypassed (CR = 2). The sine output is directly sent to
the 10-bit DAC.
Digital-to-Analog Converter
The AD7008 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, through the use of a
single external resistor (R
SET
).
The DAC can be configured for single or differential-ended
operation.
IOUT can be tied directly to AGND for single-ended
operation or through a load resistor to develop an output voltage. The load resistor can be any value required as long as the
full-scale voltage developed across it does not exceed 1 volt.
Since full-scale current is controlled by R
can balance changes made to the load resistor.
R
SET
, adjustments to
SET
DSP and MPU Interfacing
The AD7008 contains a 32-bit parallel assembly register and a
32-bit serial assembly register. Each of the modulation registers
can be loaded from either assembly register under control of the
LOAD pin and the Transfer-Control (TC) pins (See Table II).
The Command register can be loaded only from the parallel assembly register. In practical use, both serial and parallel interfaces can be used simultaneously if the application requires.
TC3–TC0 should be stable before the LOAD signal rises and
should not change until after LOAD falls (Figure 2).
The DSP/MPU asserts both
WR and CS to load the parallel assembly register (Figure 3). At the end of each write, the parallel
assembly register is shifted left by 8 or 16 bits (Depending on
CR0), and the new data is loaded into the low bits. Hence, two
16-bit writes or four 8-bit writes are used to load the parallel assembly register. When loading parallel data, it is only necessary
to write as much data as will be used by that register. For instance, the Command Register requires only one write to the
parallel assembly register.
Serial data is input to the chip on the rising edge of SCLK, most
significant bit first (Figure 4). The data in the assembly registers can be transferred to the modulation registers by means of
the transfer control pins.
Maximum Updating of the AD7008
Updating the AD7008 need not take place in a synchronous
fashion. However, in asynchronous systems, most of the external clock pulses (LOAD and SCLK) must be high for greater
than one system clock period. This insures that at least one
CLOCK rising edge will occur successfully completing the latch
function (Figure 1).
However, if the AD7008 is run in a synchronous mode with the
controlling DSP or microcontroller, the AD7008 may be loaded
very rapidly. Optimal speed is attained when operated in the
16-bit load mode; the following discussion will assume that
mode is used. Each of the modulation registers require two 16
bit loads. This data is latched into the parallel assembly register
on the falling edge of the
qualified by the CLOCK pulse but must be held low for a minimum of 20 ns and only need be high for 10 ns. The two 16-bit
words may be loaded in succession. While the second 16-bit
word is being latched into the parallel assembly register, the
Transfer and Control word may be presented to the TC3–TC0
pins. If the designation register is always the same, an external
register can be used to store the information on the inputs of
WR command. This strobe is not
REV. B
TC3–TC0. At some time after the second falling edge of
WR,
the LOAD signal may go high. As long as the load signal is high
5 ns (see setup time) before the rising edge of the CLOCK signal, data will be transferred to the destination register.
The limiting factor of this technique is the
WR period which is
30 ns. Thus the CLOCK may run up to 33 MSPS using this
technique and the effective update rate would be one half or
16.5 MHz. See timing Figure 10 for timing details.
DATA
WR
CLOCK
LOAD
HI WORD
TC
LOW WORD
Figure 10. Accelerated Data Load Sequence
APPLICATIONS
Serial Configuration
Data is written to the AD7008 in serial mode using the two signal lines SDATA and SCLK. Data is accumulated in the serial
assembly register with the most significant bit loaded first. The
data bits are loaded on the rising edge of the serial clock. Once
data is loaded in the serial assembly register, it must be transferred to the appropriate register on chip. This is accomplished
by setting the TC bits according to Tables II and III. If you
want to load the serial assembly register into FREQ1 register,
the TC bits should be 1101. When the LOAD pin is raised,
data is transferred directly to the FREQ1 register. When operating in serial mode, some functions must still operate in parallel
mode such as loading the TC bits and updating the Command
register which is accessed only through the parallel assembly
register. See Figure 11 for a typical serial mode configuration.
Figure 11. General Purpose Serial Interface
–9–
AD7008
Parallel Configuration
The AD7008 functions fully in the parallel mode. There are
two parallel modes of operation. Both are similar but are tailored for different bus widths, 8 and 16 bits. All modes of operation can be controlled by the parallel interface.
On power up and reset, the chip must be configured by instructing the command register how to operate. The command register may be used to set the device up for 8- or 16-bit mode,
Figure 12. Parallel Interface to a 16- or 32-Bit DSP or
Microprocessor
AD7008
10 BITS
R
SET
390Ω
sleep mode, amplitude control and synchronization logic. At
reset, the chip defaults to 8-bit bus, no amplitude control and
logic synchronized. The code fragment below indicates how
the initialization code for the AD7008 might look using the
ADSP-21020.
{dds_para is a port define to decode for
the parallel assembly register write pulse.
dds_cont is a port defined to decode for
the TC control Load pin. The Command register must first be loaded with configuration information. In this example, the chip
is set up for 16 bits data. See Table III
for details.}
r4 = 0x00010000; {16 bits, Normal Op., AM
disabled, Synchronizer
enabled}
dm(dds_para) = r4; {write data to parallel
assembly register}
r4 = 0x00000000;
dm(dds_cont) = r5; {No data written, data is
just transferred from
parallel assembly
register to the command
register}
r4 = 0x051E0000; {1 MHz=051EB852, load high
word first}
dm(dds_para) = r4;
r4 = 0xB8520000; {Now load low word}
dm(dds_para)=r4;
r4 = 0x80000000; {Transfer data from the
parallel assembly
register to Freq0}
dm(dds_cont)=r4;
Local Oscillator
The AD7008 is well suited for applications such as local oscillators used in super-heterodyne receivers. Although the AD7008
can be used in a variety of receiver designs, one simple local os-
cillator application is with the AD607 Monoceiver(tm). This
unique two chip combination provides a complete receiver subsystem with digital frequency control, RSSI and demodulated
outputs for AM, FM and complex I/Q (SSB or QAM). (See
Figure 13.)
Direct Digital Modulator
In addition to the basic DDS function provided by the AD7008,
the device also offers several modulation capabilities useful in a
wide variety of application. The simplest modulation scheme is
frequency shift keying or FSK. In this application, each of the
two frequency registers is loaded with a different value, one representing the space frequency and the other the mark frequency.
The digital data stream is fed to the FSELECT pin causing
the AD7008 to modulate the carrier frequency between the two
values.
1
1
0
0
F SELECT
0
FREQ 0
REG
FREQ 1
REG
32
32
MUX
CLOCK
32
PHASE
ACCUMULATOR
32
AD7008
Figure 14. FSK Modulator
The AD7008 has three registers that can be used for modulation. Besides the example of frequency modulation shown
above, the frequency registers can be updated dynamically as
can the phase register and the IQMOD register. These can be
modulated at rates up to 16.5 MHz. The example shown below
along with code fragment shows how to implement the AD7008
in an amplitude modulation scheme. Other modulation
schemes can be implemented in a similar fashion.
{This section converts the twos complement audio into offset binary scaled for modulating
the AD7008. If twos complement is used, the
modulation scheme will instead be double sideband, suppressed carrier.}
{Transfer parallel assembly register to IQMOD
register}
r4 = 0xb0000000;
dm(dds_cont) = r4;
rti;
Many applications require precise control of the output amplitude, such as in local oscillators, signal generators and modulators. There are several methods to control signal amplitude.
The most direct is to program the amplitude using the IQMOD
register on the AD7008. Other methods include selecting the
load resistor value or changing the value of R
tion is to place a voltage out DAC on the ground side of R
. Another op-
SET
SET
as
in Figure 16. This allows easy control of the output amplitude
without affecting other functions of the AD7008. Any combination of these techniques may be used as long as the full-scale
voltage developed across the load does not exceed 1 volt.
DSP:
SCALE
ANALOG
ADC
INPUT TO
FULL
SCALE
{__________IRQ3 Interrupt Vector__________}
{in_audio is a port used to sample the audio
signal. This signal is assumed to be twos
complement. This interrupt should be serviced
at an audio sample rate. This routine assumes
that the AD7008 has been set up with the Amplitude Modulation Enabled.}
irq3_asserted:
{Get audio sample}
r6=dm(in_audio);
REV. B
Figure 15. Amplitude Modulation
SIN/COS
ROM
0
SIN
COS
10
10
10
I MOD
10
10
Q MOD
10
10
10
IOUT
10-BIT DAC
IOUT
AD7008
Figure 16. External Gain Adjustment
–11–
AD7008–Typical Performance Characteristics
START 0 Hz
RBW 3 kHzVBW 10 kHz
STOP 10 000 000.0 Hz
ST 2.4 SEC
REF 5.0 dBm
10 dB/DIVRANGE 5.0 dBm
OFFSET 4 640 000.0 Hz
–54.8 dB
START 0 Hz
RBW 3 kHzVBW 10 kHz
STOP 10 000 000.0 Hz
ST 2.4 SEC
REF 5.0 dBm
10 dB/DIVRANGE 5.0 dBm
OFFSET –490 000.0 Hz
–63.4 dB
+5V
V
REF
6
COMP
5
115Ω
TYP
V
REF
TO DAC
AD7008
4
R
SET
Figure 17. Equivalent Reference Circuit
REF 4.3 dBm
10 dB/DIVRANGE 5.0 dBm
OFFSET 3 330 000.0 Hz
–63.6 dB
Figure 20. f
REF 4.3 dBm
10 dB/DIVRANGE 5.0 dBm
= 20 MHz, f
CLK
= 5.1 MHz
OUT
OFFSET 6 320 000.0 Hz
–61.3 dB
START 0 Hz
RBW 3 kHzVBW 10 kHz
Figure 18. f
REF 4.3 dBm
10 dB/DIVRANGE 5.0 dBm
START 0 Hz
RBW 3 kHzVBW 10 kHz
Figure 19. f
= 20 MHz, f
CLK
= 20 MHz, f
CLK
STOP 10 000 000.0 Hz
ST 2.4 SEC
= 1.1 MHz
OUT
OFFSET 4 500 000.0 Hz
–61.1 dB
STOP 10 000 000.0 Hz
ST 2.4 SEC
= 3.1 MHz
OUT
START 0 Hz
RBW 3 kHzVBW 10 kHz
Figure 21. f
Figure 22. f
= 20 MHz, f
CLK
= 20 MHz, f
CLK
STOP 10 000 000.0 Hz
ST 2.4 SEC
= 2.1 MHz
OUT
= 4.1 MHz
OUT
–12–
REV. B
CENTER 16 000 000.0 Hz
RBW 3 kHz
REF 4.3 dBm
10 dB/DIVRANGE 5.0 dBm
OFFSET 14 500 000.0 Hz
–52.4 dB
VBW 10 kHz
SPAN 25 000 000.0 Hz
ST 5.6 SEC
VBW 10 kHz
STOP 10 000 000.0 Hz
ST 2.4 SEC
REF 5.0 dBm
10 dB/DIVRANGE 5.0 dBm
OFFSET –1 280 000.0 Hz
–51.8 dB
START 0 Hz
RBW 3 kHz
VBW 10 kHz
STOP 25 000 000.0 Hz
ST 5.6 SEC
REF 4.3 dBm
10 dB/DIVRANGE 5.0 dBm
START 0 Hz
RBW 3 kHz
OFFSET 15 300 000.0 Hz
–51.8 dB
Typical Performance Characteristics–AD7008
REF 5.0 dBm
10 dB/DIVRANGE 5.0 dBm
START 0 Hz
RBW 3 kHzVBW 10 kHz
Figure 23. f
REF 4.3 dBm
10 dB/DIVRANGE 5.0 dBm
= 20 MHz, f
CLK
OFFSET 1 680 000.0 Hz
STOP 10 000 000.0 Hz
= 6.1 MHz
OUT
OFFSET 500 000.0 Hz
–51.7 dB
–52.8 dB
ST 2.4 SEC
Figure 26. f
= 50 MHz, f
CLK
= 7.1 MHz
OUT
CENTER 6 500 000.0 Hz
Figure 24. f
REF 4.3 dBm
10 dB/DIVRANGE 5.0 dBm
START 0 Hz
RBW 3 kHz
Figure 25. f
RBW 3 kHzVBW 10 kHz
= 20 MHz, f
CLK
VBW 10 kHz
= 50 MHz, f
CLK
SPAN 10 000 000.0 Hz
= 6.5 MHz
OUT
OFFSET 6 304 000.0
Hz–56.3 dB
STOP 16 000 000.0 Hz
= 2.1 MHz
OUT
ST 2.4 SEC
ST 3.6 SEC
Figure 27. f
Figure 28. f
= 20 MHz, f
CLK
= 50 MHz, f
CLK
= 7.1 MHz
OUT
= 5.1 MHz
OUT
REV. B
–13–
AD7008–Typical Performance Characteristics
REF 5.0 dBm
10 dB/DIVRANGE 5.0 dBm
START 0 Hz
RBW 3 kHzVBW 10 kHz
Figure 29. f
REF 5.0 dBm
10 dB/DIVRANGE 5.0 dBm
= 50 MHz, f
CLK
OFFSET 4 500 000.0 Hz
–54.7 dB
STOP 25 000 000.0 Hz
ST 5.6 SEC
= 9.1 MHz
OUT
OFFSET 11 100 000.0 Hz
–54.1 dB
REF 5.0 dBm
10 dB/DIVRANGE 5.0 dBm
CENTER 16 500 000.0 Hz
RBW 3 kHzVBW 10 kHz
Figure 32. f
130
120
110
– mA
DD
100
+ I
AA
90
CLK
= 50 MHz, f
OFFSET 500 000.0 Hz
SPAN 25 000 000.0 Hz
= 16.5 MHz
OUT
–44.8 dB
ST 5.6 SEC
START 0 Hz
RBW 3 kHzVBW 10 kHz
Figure 30. f
REF 5.0 dBm
10 dB/DIVRANGE 5.0 dBm
CENTER 13 100 000.0 Hz
RBW 3 kHzVBW 10 kHz
= 50 MHz, f
CLK
STOP 25 000 000.0 Hz
ST 5.6 SEC
= 11.1 MHz
OUT
OFFSET 10 675 000.0 Hz
–47.0 dB
SPAN 25 000 000.0 Hz
ST 5.6 SEC
80
70
TOTAL CURRENT I
60
50
100
MASTER CLOCK – MHz
403020
50
Figure 33. Typical Current Consumption vs. Frequency
–40
–45
–50
–55
–60
WIDEBAND SFDR – dB
–65
–70
–75
0
10
MASTER CLOCK – MHz
403020
50
Figure 31. f
= 50 MHz, f
CLK
= 13.1 MHz
OUT
Figure 34. Typical Plot of SFDR vs. Master Clock Frequency
When f
OUT
= 1/3f
, Frequency Word = 5671C71C Hex
CLK
–14–
REV. B
AD7008
AD7008/PCB DDS EVALUATION BOARD
The AD7008/PCB DDS Evaluation Board allows designers to
evaluate the high performance AD7008 DDS Modulator with a
minimum amount of effort.
To prove this DDS will meet the user’s waveform synthesis requirements, the only things needed are the AD7008/PCB DDS
Evaluation Board, +5 V power supply, an IBM-compatible PC,
and a spectrum analyzer. The evaluation setup is shown below.
The DDS evaluation kit includes a populated, tested AD7008/
PCB board; software which controls the AD7008 through the
parallel printer port in a DOS or Windows environment and an
AD7008P.
The AD7008 direct digital synthesis chip is a numerically
controlled oscillator employing a 32-bit phase accumulator, sine
and cosine look-up tables, and a l0-bit D/A converter integrated
on a single CMOS chip. Modulation capabilities are provided
for phase modulation, frequency modulation, and both in-phase
and quadrature amplitude modulation suitable for SSB
generation.
Clock rates up to 20 MHz and 50 MHz are supported. Frequency accuracy can be controlled to one part in four billion.
EXTERNAL
POWER
SUPPLY
OPTIONAL
TTL CLOCK
REFERENCE
GENERATOR
STANDARD
PRINTER
CABLE
SOFTWARE
PROVIDED
CLOCK
OSCILLATOR
INTERFACE
LOGIC
AD7008 DDS EVALUATION BOARD
IBM-COMPATIBLE PC
CMOS DDS
POWER
SUPPLY
INTERFACE
AD7008
50MHz
50Ω CABLE
SPECTRUM ANALYZER
+5V
Figure 35. AD7008 DDS Evaluation Board Setup
Table IV. AD7008/PCB Typical Electrical Characteristics
(Nominal power supplies, CLK = 50 MHz)
Typical
CharacteristicsValueUnits
+5.0 V Supply Current125mA
AD7008 Output Voltage0 to +1.0V
(Terminated into 50 Ω Externally)
CMOS clock input HIGH4.1 to 5V
CMOS clock input LOW0.0 to 0.5V
USING THE AD7008/PCB DDS EVALUATION BOARD
The AD7008/PCB evaluation kit is a test system designed to
simplify the evaluation of the AD7008 50 MHz Direct Digital
Synthesizer. Provisions to control the AD7008 from the printer
port of an IBM-compatible PC are included, along with the
necessary software. This data sheet provides information on
operating the evaluation board; additional details are available
from the ADI technical assistance line 1-800-ANALOGD.
Prototyping Area
An area near one edge of the board is intentionally left void of
components to allow the user to add additional circuits to the
evaluation test set. Users may want to build custom analog filters for the outputs, or add buffers and operational amplifiers
used in the final applications.
XO vs. External Clock
The reference clock of the AD7008/PCB is normally provided
by a 50 MHz CMOS oscillator. This oscillator can be removed
and an external CMOS clock connected to CLOCK. If an external clock is used, a 50 Ω resistor R6 should be installed.
Power Supply
Power for the AD7008/PCB must be provided externally
through the pin connections, as described in the Inputs/Outputs.
The power leads should be twisted to reduce ground loops.
The AD7008/PCB is designed to allow control (frequency
specification, reset, etc.) through the parallel printer port of a
standard IBM-compatible PC. The user simply disconnects the
printer cable from the printer and inserts it into edge connector
P1 of the evaluation board.
The printer port provides information to the AD7008/PCB
through eight data lines and four control lines. Control signals
are latched on the AD7008/PCB to prevent problems with long
printer cables.
A 3.5" floppy disk containing software to control the AD7008 is
provided with the AD7008/PCB. This software was developed
using C. The C source code is provided in a file named
A:\AD7008.C, which the user may view, run, or modify.
An executable version of this software is also provided, and can
be executed from DOS by typing “A:\AD7008.” The software
prompts the user to provide the necessary information needed
by the program. Additional information is included in a test file
named A:\readme.txt.
A windows 3.1 executable called WIN7008 is also included.
U1
DUT7008P
FSADJUST
V
REF
COMP
I
OUT
I
OUT
V
V
V
V
AGND
DGND
DGND
DGND
DGND
TEST
6
5
2
1
FSADJ
4
3
AA
17
DD
28
DD
39
DD
44
7
18
29
43
40
390
+5V
+5V
+5V
+5V
C6
0.1µF
LATCH
V
C7
0.1µF
+5V
REF
LOAD
WR
SMB
I
OUT
R4
50
SMB
I
OUT
R5
50
+5VD
C2
0.1µFC30.1µFC40.1µFC50.1µF
P2
PCTB2
1
2
+5V
2
3
+5V
+5V
12
11
+5V
U2
4
74HC74
PR
5
Q
D
>
>
LLOAD
C
Q
CL
6
1
U2
10
74HC74
PR
9
Q
D
L
C
WR
Q
CL
8
13
C1
10µFC80.1µF
+5V
C1791a–10–2/95
Figure 36.
INPUTS/OUTPUTS
NameDescription
P136-pin edge connector to connect to parallel
port of PC.
CLOCKCMOS input for clock R6 provides termination.
FSELCMOS input to select between Freq 0 and Freq 1.
Low selects Freq 0.
SDATACMOS input for serial input pin.
SCLKCMOS input for clocking in SDATA.
I
OUT
NComplementary analog output.
I
OUT
V
REF
Analog output.
Test point for V
P2+5 V and ground power connection.
LK1External sleep command input.
REF
pin.
–16–
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
44-Pin PLCC (P-44A)
PRINTED IN U.S.A.
REV. B
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.