28
50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet AD9835 FEATURES 5 V power supply 50 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 GENERAL DESCRIPTION The AD9835 is a numerically-controlled oscillator employing a phase accumulator, a COS lookup table, and a 10-bit digital- to-analog converter integrated on a single CMOS chip. Modu- lation capabilities are provided for phase modulation and frequency modulation. Clock rates of up to 50 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 AD9835 when it is not in use; the power consumption reduces to 1.75 mW. This part is available in a 16-lead TSSOP package. Similar DDS products can be found at http://www.analog.com/DDS. FUNCTIONAL BLOCK DIAGRAM IOUT COMP REFIN FS ADJUST REFOUT AGND AVDD DGND DVDD MCLK PSEL0 PSEL1 12 AD9835 ON-BOARD REFERENCE 10-BIT DAC PHASE0 REG PHASE1 REG PHASE2 REG PHASE3 REG FULL-SCALE CONTROL COS ROM PHASE ACCUMULATOR (32 BIT) FREQ0 REG FREQ1 REG 16-BIT DATA REGISTER SYNC FSELECT FSELECT BIT SELSRC SYNC 8 LSBs 8 MSBs DECODE LOGIC FSYNC SCLK SDATA SERIAL REGISTER CONTROL REGISTER FSELECT/PSEL REGISTER DEFER REGISTER SYNC SYNC SELSRC PSEL0 BIT PSEL1 BIT MUX MUX MUX MUX MUX 09630-001 Figure 1. Rev. A 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 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. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 ©1998–2011 Analog Devices, Inc. All rights reserved.

50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

  • Upload
    vankhue

  • View
    224

  • Download
    4

Embed Size (px)

Citation preview

Page 1: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

50 MHz Direct Digital Synthesizer, Waveform Generator

Data Sheet AD9835

FEATURES 5 V power supply 50 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

GENERAL DESCRIPTION The AD9835 is a numerically-controlled oscillator employing a phase accumulator, a COS lookup table, and a 10-bit digital-to-analog converter integrated on a single CMOS chip. Modu-lation capabilities are provided for phase modulation and frequency modulation.

Clock rates of up to 50 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 AD9835 when it is not in use; the power consumption reduces to 1.75 mW.

This part is available in a 16-lead TSSOP package.

Similar DDS products can be found at http://www.analog.com/DDS.

FUNCTIONAL BLOCK DIAGRAM

IOUT

COMP

REFINFS ADJUSTREFOUTAGNDAVDDDGNDDVDD

MCLK

PSEL0 PSEL1

12

AD9835

ON-BOARDREFERENCE

10-BIT DAC

PHASE0 REGPHASE1 REGPHASE2 REGPHASE3 REG

FULL-SCALECONTROL

COSROM

PHASEACCUMULATOR

(32 BIT)

FREQ0 REG

FREQ1 REG

16-BIT DATA REGISTER

SYNCFSELECT

FSELECTBIT SELSRC

SYNC

8 LSBs8 MSBs

DECODE LOGIC

FSYNC SCLK SDATA

SERIAL REGISTER

CONTROL REGISTER

FSELECT/PSEL REGISTER

DEFER REGISTERSYNC

SYNC

SELSRC

PSEL0BIT

PSEL1BIT

MUX MUX

MU

X

MU

X

MUX

0963

0-00

1

Figure 1.

Rev. A 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 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.

One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 ©1998–2011 Analog Devices, Inc. All rights reserved.

Page 2: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

AD9835 Data Sheet

Rev. A | Page 2 of 28

TABLE OF CONTENTS Features .............................................................................................. 1

Applications....................................................................................... 1

General Description ......................................................................... 1

Functional Block Diagram .............................................................. 1

Revision History ............................................................................... 2

Specifications..................................................................................... 3

Timing Characteristics ................................................................ 5

Absolute Maximum Ratings............................................................ 6

ESD Caution.................................................................................. 6

Pin Configuration and Function Descriptions............................. 7

Typical Performance Characteristics ............................................. 9

Terminology .................................................................................... 12

Theory Of Operation ..................................................................... 13

Circuit Description......................................................................... 14

Numerical Controlled Oscillator and Phase Modulator ....... 14

COS LookUp Table (LUT) ........................................................ 14

Digital-to-Analog Converter .................................................... 14

Functional Description .................................................................. 15

Serial Interface ............................................................................ 15

Direct Data Transfer and Deferred Data Transfer ................. 16

Latency......................................................................................... 17

Flowcharts ................................................................................... 17

Applications Information .............................................................. 20

Grounding and Layout .............................................................. 20

Interfacing the AD9835 to Microprocessors .......................... 20

AD9835-to-ADSP-21xx Interface ............................................ 20

AD9835-to-68HC11/68L11 Interface...................................... 21

AD9835-to-80C51/80L51 Interface......................................... 21

AD9835-to-DSP56002 Interface .............................................. 21

Evaluation Board ............................................................................ 22

System Demonstration Platform.............................................. 22

AD9835 to SPORT Interface..................................................... 22

XO vs. External Clock................................................................ 22

Power Supply............................................................................... 22

Evaluation Board Schematics and Layout............................... 23

Ordering Information.................................................................... 26

Bill of Materials........................................................................... 26

Outline Dimensions ....................................................................... 27

Ordering Guide .......................................................................... 27

REVISION HISTORY 9/11—Rev. 0 to Rev. A

Updated Format..................................................................Universal Changes to Features and Applications........................................... 1 Changes to Specification Statement ............................................... 3 Changes to Figure 2.......................................................................... 4 Changes to Timing Characteristics Statement ............................. 5 Replaced Evaluation Board Section; Renumbered Sequentially ..................................................................................... 22 Changes to Bill of Materials .......................................................... 27 Changes to Ordering Guide .......................................................... 28

7/98—Revision 0: Initial Version

Page 3: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

Data Sheet AD9835

Rev. A | Page 3 of 28

SPECIFICATIONS VDD = +5 V ± 5%; AGND = DGND = 0 V; TA = TMIN to TMAX; REFIN = REFOUT; RSET = 3.9 kΩ; RLOAD = 300 Ω for IOUT, unless otherwise noted. Also, see Figure 2.

Table 1. Parameter1 Min Typ Max Units Test Conditions/Comments SIGNAL DAC SPECIFICATIONS

Resolution 10 Bits Update Rate (fMAX) 50 MSPS IOUT Full Scale 4 mA 4.75 mA Output Compliance 1.35 V DC Accuracy

Integral Nonlinearity ±1 LSB Differential Nonlinearity ±0.5 LSB

DDS SPECIFICATIONS2 Dynamic Specifications

Signal-to-Noise Ratio 50 dB fMCLK = 50 MHz, fOUT = 1 MHz Total Harmonic Distortion −52 dBc fMCLK = 50 MHz, fOUT = 1 MHz Spurious Free Dynamic Range (SFDR)3 fMCLK = 6.25 MHz, fOUT = 2.11 MHz

Narrow Band (±50 kHz) −72 dBc Wide Band (±2 MHz) −50 dBc

Clock Feedthrough −60 dBc Wake-Up Time 1 ms Power-Down Option Yes

VOLTAGE REFERENCE Internal Reference @ +25° C 1.21 V

TMIN to TMAX 1.131 1.29 V REFIN Input Impedance 10 MΩ Reference TC 100 ppm/°C REFOUT Output Impedance 300 Ω

LOGIC INPUTS VINH, Input High Voltage DVDD − 0.9 V VINL, Input Low Voltage 0.9 V IINH, Input Current 10 μA CIN, Input Capacitance 10 pF

POWER SUPPLIES fMCLK = 50 MHz AVDD 4.75 5.25 V min/V max DVDD 4.75 5.25 V min/V max IAA 5 mA max IDD 2.5 +

0.33/MHz mA typ

IAA + IDD4 40 mA max

Low Power Sleep Mode 0.35 mA max 1 Operating temperature range is as follows: B Version: −40°C to +85°C. 2 100% production tested. 3 fMCLK = 6.25 MHz, Frequency Word = 5671C71C HEX, fOUT = 2.11 MHz. 4 Measured with the digital inputs static and equal to 0 V or DVDD. The AD9835 is tested with a capacitive load of 50 pF. The part can be operated with higher capacitive

loads, but the magnitude of the analog output will be attenuated. See Figure 7.

Page 4: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

AD9835 Data Sheet

Rev. A | Page 4 of 28

IOUT

COMP

REFIN FSADJUST

REFOUT

12

AD9835

ON-BOARDREFERENCE

10-BIT DACSINROM

FULL-SCALECONTROL

300Ω 50pF

RSET3.9kΩ

10nF

10nF

AVDD

0963

0-00

2

Figure 2. Test Circuit

Page 5: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

Data Sheet AD9835

Rev. A | Page 5 of 28

TIMING CHARACTERISTICS VDD = +5 V ± 5%; AGND = DGND = 0 V, unless otherwise noted.

Table 2. Parameter Limit at TMIN to TMAX (B Version) Units Test Conditions/Comments t1 20 ns min MCLK period t2 8 ns min MCLK high duration t3 8 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 t11A

1 8 ns min FSELECT, PSEL0, PSEL1 setup time after mclk rising edge 1 See the section. Pin Configuration and Function Descriptions

Timing Diagrams

MCLK

t2

t1

t3 0963

0-00

3

Figure 3. Master Clock

SCLK

FSYNC

SDATA

t5 t4

t6t7 t8

t10t9

D14D15D0D1D2D15 D1409

630-

004

Figure 4. Serial Timing

t11At11

VALID DATA VALID DATA VALID DATA

MCLK

FSELECTPSEL0, PSEL1 09

630-

005

Figure 5. Control Timing

Page 6: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

AD9835 Data Sheet

Rev. A | Page 6 of 28

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

Page 7: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

Data Sheet AD9835

Rev. A | Page 7 of 28

PIN CONFIGURATION AND FUNCTION DESCRIPTIONS

FS ADJUST

AGND

IOUT

AVDD

COMP

REFIN

REFOUT

DVDD

FSELECT

PSEL1

PSEL0DGND

MCLK

SCLK

SDATA FSYNC

1

2

3

4

5

6

7

8

16

15

14

13

12

11

10

9

AD9835TOP VIEW

(Not to Scale)

0963

0-00

6

Figure 6. Pin Configuration

Table 4. Pin Function Descriptions Pin No. Mnemonic Description ANALOG SIGNAL AND REFERENCE 1 FS ADJUST Full-Scale Adjust Control. A resistor (RSET) is connected between this pin and AGND. This determines the

magnitude of the full-scale DAC current. The relationship between RSET and the full-scale current is IOUTFULL-SCALE = 12.5 × VREFIN/RSET, where VREFIN = 1.21 V nominal, RSET = 3.9 kΩ typical.

2 REFIN Voltage Reference Input. The AD9835 can be used with either the on-board reference, which is available from Pin REFOUT, or an external reference. The reference to be used is connected to the REFIN pin. The AD9835 accepts a reference of 1.21 V nominal.

3 REFOUT Voltage Reference Output. The AD9835 has an on-board reference of value 1.21 V nominal. The reference is made 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.

14 IOUT Current Output. This is a high impedance current source. A load resistor should be connected between IOUT and AGND.

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.

POWER SUPPLY 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 ± 5%. 5 DGND Digital Ground. 13 AGND Analog Ground. 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 ± 5%.

DIGITAL INTERFACE AND CONTROL 6 MCLK Digital Clock Input. DDS output frequencies are expressed as a binary fraction of the frequency of MCLK. The

output frequency accuracy and phase noise are determined by this clock. 7 SCLK Serial Clock, Logic Input. Data is clocked into the AD9835 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 is taken 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 can be selected using the Pin FSELECT or the Bit FSELECT. FSELECT is sampled on the rising MCLK edge. FSLECT 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 Pin FSELECT should be tied to DGND.

Page 8: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

AD9835 Data Sheet

Rev. A | Page 8 of 28

Pin No. Mnemonic Description 11, 12 PSEL0,

PSEL1 Phase Select Input. The AD9835 has four phase registers. These registers can be used to alter the value being input to the COS ROM. The contents of the phase register are added to the phase accumulator output, the PSEL0 and PSEL1 inputs 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.

Page 9: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

Data Sheet AD9835

Rev. A | Page 9 of 28

TYPICAL PERFORMANCE CHARACTERISTICS

OUTPUT FREQUENCY (MHz)

0

–12160 2

SIG

NA

LAT

TEN

UAT

ION

(dB

)

4 6 8 10 12 14

–2

–4

–6

–8

–10

CL = 82pF

CL = 100pF

CL = 150pF

AVDD = DVDD = +5V

0963

0-00

7

Figure 7. Signal Attenuation vs. Output Frequency for Various Capacitive

Loads (RL = 300 Ω)

MCLK FREQUENCY (MHz)

30

25

20

15

10

05010 20

TOTA

L C

UR

REN

T (m

A)

4030

5

TA = +25°CAVDD = DVDD = +5V

0963

0-00

8

Figure 8. Typical Current Consumption vs. MCLK Frequency

MCLK FREQUENCY (MHz)

–64

–66

–68

–70

–72

–76

–74

5010 20

SFD

R [±

50kH

z] (d

B)

30 40

fOUT/fMCLK = 1/3AVDD = DVDD = +5V

0963

0-00

9

Figure 9. Narrow-Band SFDR vs. MCLK Frequency

MCLK FREQUENCY (MHz)

0

–10

–20

–30

–40

–60

–50

5010 20

SFD

R [±

2MH

z] (d

B)

30 40

fOUT/fMCLK = 1/3AVDD = DVDD = +5V

0963

0-01

0

Figure 10. Wideband SFDR vs. MCLK Frequency

–20

–30

–40

–50

–60

–80

–70

0.4630.1240.044 0.204 0.284

SFD

R [±

2MH

z] (d

B)

0.084 0.244 0.324

AVDD = DVDD = +5V

50MHz

30MHz

10MHz

0.164fOUT/fMCLK 09

630-

011

Figure 11. Wideband SFDR vs. fOUT/fMCLK for Various MCLK Frequencies

MCLK FREQUENCY (MHz)

56

55

54

53

52

505010 20

SNR

(dB

)

30 40

51

fOUT/fMCLK = 1/3AVDD = DVDD = +5V

0963

0-01

2

Figure 12. SNR vs. MCLK Frequency

Page 10: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

AD9835 Data Sheet

Rev. A | Page 10 of 28

70

60

50

40

30

10

20

0.124 0.204

SNR

(dB

)

0.084 0.164 0.244 0.284 0.324

AVDD = DVDD = +5V

50MHz

30MHz

10MHz

fOUT/fMCLK

0.3640.044

0963

0-01

3

Figure 13. SNR vs. fOUT/fMCLK for Various MCLK Frequencies

RBW 1kHz VBW 3kHz ST 50 SEC

10dB

/DIV

0HzSTART

25MHzSTOP

0963

0-01

4

Figure 14. fMCLK = 50 MHz, fOUT = 2.1 MHz. Frequency Word = ACO8312

RBW 1kHz VBW 3kHz ST 50 SEC

0HzSTART

25MHzSTOP

10dB

/DIV

0963

0-01

5

Figure 15. fMCLK = 50 MHz, fOUT = 3.1 MHz. Frequency Word = FDF3B64

RBW 1kHz VBW 3kHz ST 50 SEC

0HzSTART

25MHzSTOP

10dB

/DIV

0963

0-01

6

Figure 16. fMCLK = 50 MHz, fOUT = 7.1 MHz. Frequency Word = 245AICAC

RBW 1kHz VBW 3kHz ST 50 SEC

10dB

/DIV

0HzSTART

25MHzSTOP

0963

0-01

7

Figure 17. fMCLK = 50 MHz, fOUT = 9.1 MHz. Frequency Word = 2E978D50

10dB

/DIV

RBW 1kHz VBW 3kHz ST 50 SEC

0HzSTART

25MHzSTOP

0963

0-01

8

Figure 18. fMCLK = 50 MHz, fOUT = 11.1 MHz. Frequency Word = 38D4FDF4

Page 11: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

Data Sheet AD9835

Rev. A | Page 11 of 28

10dB

/DIV

RBW 1kHz VBW 3kHz ST 50 SEC

0HzSTART

25MHzSTOP

0963

0-01

9

Figure 19. fMCLK = 50 MHz, fOUT = 13.1 MHz. Frequency Word = 43126E98

RBW 1kHz VBW 3kHz ST 50 SEC

10dB

/DIV

0HzSTART

25MHzSTOP

0963

0-02

0

Figure 20. fMCLK = 50 MHz, fOUT = 16.5 MHz. Frequency Word = 547AE148

Page 12: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

AD9835 Data Sheet

Rev. A | Page 12 of 28

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 + Distortion) Signal to (Noise + Distortion) 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 non-fundamental signals up to half the sampling frequency (fMCLK/2) but excluding the dc component. Signal to (Noise + Distortion) 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 + Distortion) ratio for a sine wave input is given by

Signal to (Noise + Distortion) = (6.02N + 1.76) dB

where N is the number of bits. Thus, for an ideal 10-bit converter, Signal to (Noise + Distortion) = 61.96 dB.

Total Harmonic Distortion Total Harmonic Distortion (THD) is the ratio of the rms sum of harmonics to the rms value of the fundamental. For the AD9835, THD is defined as

( )1

26

25

24

23

22

log20V

VVVVVTHD

++++=

where V1 is the rms amplitude of the fundamental and V2, V3, V4, V5, and V6 are the rms amplitudes of the second through the sixth harmonic.

Output Compliance The output compliance refers to the maximum voltage that can be generated at the output of the DAC to meet the specifica-tions. When voltages greater than that specified for the output compliance are generated, the AD9835 may not meet the specifications listed in the data sheet.

Spurious Free Dynamic Range Along with the frequency of interest, harmonics of the funda-mental frequency and images of the MCLK frequency are present at the output of a DDS device. The spurious free dynamic range (SFDR) refers to the largest spur or harmonic present in the band of interest. The wideband 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 narrow band SFDR gives the attenuation of the largest spur or harmonic in a bandwidth of ±50 kHz about the fundamental frequency.

Clock Feedthrough There will be 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 AD9835’s output spectrum.

Page 13: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

Data Sheet AD9835

Rev. A | Page 13 of 28

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

PHASE

+1

0

–1

2

0 0963

0-02

3

Figure 21. Sine Wave

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/fMCLK = δt),

f = ΔPhase × fMCLK/2 π

The AD9835 builds the output based on this simple equation. A simple DDS chip can implement this equation with three major subcircuits.

Page 14: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

AD9835 Data Sheet

Rev. A | Page 14 of 28

CIRCUIT DESCRIPTION The AD9835 provides an exciting level of integration for the RF communications system designer. The AD9835 combines the numerical controlled oscillator (NCO), COS lookup table, frequency and phase modulators, and a digital-to- analog converter on a single integrated circuit.

The internal circuitry of the AD9835 consists of three main sections. These are

• numerical controlled oscillator (NCO) and phase modulator

• COS lookup table • digital-to-analog converter

The AD9835 is a fully integrated direct digital synthesis (DDS) chip. The chip requires one reference clock, one low precision resistor, and eight 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.

NUMERICAL CONTROLLED OSCILLATOR AND PHASE MODULATOR This 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, which 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 AD9835 is implemented with 32 bits. Therefore, in the AD9835, 2 π = 232. Likewise, the ΔPhase term is scaled into this range of numbers 0 < ΔPhase < 232 − 1. Making these substitutions into the equation above

f = ΔPhase × fMCLK/232

where 0 < ΔPhase < 232

The input to the phase accumulator (that is, the phase step) can be selected either from the FREQ0 register or FREQ1 register and this is 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 PHASE registers. The contents of this register are added to the most significant bits of the NCO. The AD9835 has four PHASE registers, the resolution of these registers being 2 π/4096.

COS LOOKUP TABLE (LUT) 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 LUT converts the phase information into amplitude. To do this, the digital phase infor-mation is used to address a COS 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 accu-mulator is impractical and unnecessary as this would require a lookup table of 232 entries.

It is necessary only to have sufficient phase resolution in the LUTs such that the dc error of the output waveform is dominated by the quantization error in the DAC. This requires the lookup table to have two more bits of phase resolution than the 10-bit DAC.

DIGITAL-TO-ANALOG CONVERTER The AD9835 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 (RSET).

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. Since full-scale current is controlled by RSET, adjustments to RSET can balance changes made to the load resistor. However, if the DAC full-scale output current is significantly less than 4 mA, the DAC’s linearity may degrade.

Page 15: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

Data Sheet AD9835

Rev. A | Page 15 of 28

FUNCTIONAL DESCRIPTION SERIAL INTERFACE The AD9835 has a serial interface, with 16 bits loaded during each write cycle. SCLK, SDATA, and FSYNC are used to load the word into the AD9835.

When FSYNC is taken low, the AD9835 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. 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.

Table 5 shows the data structure for a 16-bit write to the AD9835.

For examples on programming the AD9835, see the AN-621 and AN-1108 application notes at www.analog.com.

Table 5. Writing to the AD9835 Data Registers D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 C3 C2 C1 C0 A3 A2 A1 A0 MSB X1 X1 X1 X1 X1 X1 LSB

1 X = don’t care.

Table 6. Commands C3 C2 C1 C0 Command 0 0 0 0 Write 16 phase bits (present 8 bits + 8 bits

in the defer register) to selected PHASEx REG. 0 0 0 1 Write 8 phase bits to the defer register. 0 0 1 0 Write 16 frequency bits (present 8 bits +

8 bits in the defer register) to selected the FREQx REG.

0 0 1 1 Write 8 frequency bits to the defer register. 0 1 0 0 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.

0 1 0 1 Bit D11 is used to select the FREQx REG when SELSRC = 1. When SELSRC = 0, the FREQx REG is selected using the FSELECT pin.

0 1 1 0 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.

0 1 1 1 Reserved. It configures the AD9835 for test purposes.

Table 7. Addressing the Registers A3 A2 A1 A0 Destination Register 0 0 0 0 FREQ0 REG 8 L LSBs 0 0 0 1 FREQ0 REG 8 H LSBs 0 0 1 0 FREQ0 REG 8 L MSBs 0 0 1 1 FREQ0 REG 8 H MSBs 0 1 0 0 FREQ1 REG 8 L LSBs 0 1 0 1 FREQ1 REG 8 H LSBs 0 1 1 0 FREQ1 REG 8 L MSBs 0 1 1 1 FREQ1 REG 8 H MSBs 1 0 0 0 PHASE0 REG 8 LSBs 1 0 0 1 PHASE0 REG 8 MSBs 1 0 1 0 PHASE1 REG 8 LSBs 1 0 1 1 PHASE1 REG 8 MSBs 1 1 0 0 PHASE2 REG 8 LSBs 1 1 0 1 PHASE2 REG 8 MSBs 1 1 1 0 PHASE3 REG 8 LSBs 1 1 1 1 PHASE3 REG 8 MSBs

Page 16: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

AD9835 Data Sheet

Rev. A | Page 16 of 28

Table 8. Control Registers Register Size Description FREQ0 REG 32 bits Frequency Register 0. This defines the

output frequency, when FSELECT = 0, as a fraction of the MCLK frequency.

FREQ1 REG 32 bits Frequency Register 1. This defines the output frequency, when FSELECT = 1, as a fraction of the MCLK frequency.

PHASE0 REG 12 bits Phase Offset Register 0. When PSEL0 = PSEL1 = 0, the contents of this register are added to the output of the phase accumulator.

PHASE1 REG 12 bits Phase Offset Register 1. When PSEL0 = 1 and PSEL1 = 0, the contents of this register are added to the output of the phase accumulator.

PHASE2 REG 12 bits Phase Offset Register 2. When PSEL0 = 0 and PSEL1 = 1, the contents of this register are added to the output of the phase accumulator.

PHASE3 REG 12 bits Phase Offset Register 3. When PSEL0 = PSEL1 = 1, the contents of this register are added to the output of the phase accumulator.

Table 9. 32-Bit Frequency Word 16 MSBs 16 LSBs

8 H MSBs 8 L MSBs 8 H LSBs 8 L LSBs

Table 10. 12-Bit Frequency Word 8 LSBs 4 MSBs (The 4 MSBs of the

8-Bit Word Loaded = 0)

DIRECT DATA TRANSFER AND DEFERRED DATA TRANSFER Within the AD9835, 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.

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.

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 11. Controlling the AD9835 D15 D14 Command 1 0 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.

1 1 SLEEP, RESET, and CLR (clear). D13 is the SLEEP bit. When this bit equals 1, the

AD9835 is powered down, internal clocks are disabled, and the current sources and REFOUT of the DAC are turned off. When SLEEP = 0, the AD9835 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.

Page 17: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

Data Sheet AD9835

Rev. A | Page 17 of 28

Table 12. Setting SYNC and SELSRC D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 1 0 SYNC SELSRC X1 X1 X1 X1 X1 X1 X1 X1 X1 X1 X1 X1

1 X = don’t care.

Table 13. Power-Down, Resetting and Clearing the AD9835 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 1 1 SLEEP RESET CLR X1 X1 X1 X1 X1 X1 X1 X1 X1 X1 X1

1 X = don’t care.

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 AD9835 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 t11 and t11A are met, then the inputs will be at steady state at the MCLK rising edge. However, if times t11 and t11A are 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).

LATENCY 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 t11 and t11A are met, PSEL0, PSEL1, and FSELECT have latencies of six MCLK cycles when SYNC = 0. When SYNC = 1, the latency is increased to 8 MCLK cycles. When times t11 and t11A are not met, the latency can increase by 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.

FLOWCHARTS The flowchart in Figure 22 shows the operating routine for the AD9835. When the AD9835 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 AD9835 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 fMCLK/232 × FREG, where FREG is the value 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.

Page 18: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

AD9835 Data Sheet

Rev. A | Page 18 of 28

SELECT DATA SOURCESSET FSELECT

SET PSEL0, PSEL1INITIALIZATION

WAIT 6 MCLK CYCLES (8 MCLK CYCLES IF SYNC = 1)

DAC OUTPUTVOUT = VREFIN × 6.25 × ROUT/RSET × (1 + SIN(2π(FREG × fMCLK × t/232 + PHASEREG/212)))

CHANGE PHASE?

NO

CHANGE fOUT?

CHANGE fOUT?

YES

NO

YES

NO

YES

CHANGE FSELECT CHANGE PHASEREG? NO

YES

CHANGE PSEL0, PSEL1

DATA WRITEFREG[0] = fOUT0/fMCLK × 232FREG[1] = fOUT1/fMCLK × 232

PHASEREG [3:0] = DELTA PHASE[0, 1, 2, 3]

0963

0-02

4

Figure 22. Flowchart for AD9835 Initialization and Operation

INITIALIZATION

CONTROL REGISTER WRITESET SLEEPRESET = 1

CLR = 1

SET SYNC AND/OR SELSRC TO 1 YES

NOCONTROL REGISTER WRITE

SYNC = 1AND/OR

SELSRC = 1

SET PINS OR FREQUENCY/PHASE REGISTER WRITESET FSELECT, PSEL0 AND PSEL1

CONTROL REGISTER WRITESLEEP = 0RESET = 0

CLR = 0

WRITE INITIAL DATAFREG[0] = fOUT0/fMCLK × 232FREG[1] = fOUT1/fMCLK × 232

PHASEREG[3:0] = DELTA PHASE[0, 1, 2, 3]

0963

0-02

5

Figure 23. Initialization

Page 19: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

Data Sheet AD9835

Rev. A | Page 19 of 28

DATA WRITE

DEFERRED TRANSFER WRITEWRITE 8 BITS TO DEFER REGISTER

DIRECT TRANSFER WRITEWRITE PRESENT 8 BITS AND 8 BITS INDEFER REGISTER TO DATA REGISTER

WRITE ANOTHER WORD TO THISREGISTER?

WRITE A WORD TO ANOTHER REGISTER

CHANGE8 BITS ONLY

YES

NO

CHANGE 16 BITS

NOYES

0963

0-02

6

Figure 24. Data Writes

SELECT DATA SOURCES

FSELECT/PSEL PINS BEING USED?

YESSELSRC = 0

SET PINSSET FSELECT

SET PSEL0SET PSEL1

FREQUENCY/PHASE REGISTER WRITESET FSELECT

SET PSEL0SET PSEL1

NO

SELSRC = 1

0963

0-02

7

Figure 25. Selecting Data Sources

Page 20: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

AD9835 Data Sheet

Rev. A | Page 20 of 28

APPLICATIONS INFORMATION The AD9835 contains functions that make it suitable for modulation applications. The part can be used to perform simple modulation such as FSK. More complex modulation schemes such as GMSK and QPSK can also be implemented using the AD9835. In an FSK application, the two frequency registers of the AD9835 are loaded with different values; one frequency will represent the space frequency while the other will represent the mark frequency. The digital data stream is fed to the FSELECT pin, which will cause the AD9835 to modulate the carrier frequency between the two values.

The AD9835 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 that 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 AD9835.

The AD9835 is also suitable for signal generator applications. With its low current consumption, the part is suitable for applications in which it can be used as a local oscillator.

GROUNDING AND LAYOUT The printed circuit board that houses the AD9835 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 which can be separated easily. A minimum etch technique is generally best for ground planes as it gives the best shielding. Digital and analog ground planes should only be joined in one place. If the AD9835 is the only device requiring an AGND to DGND connection, then the ground planes should be connected at the AGND and DGND pins of the AD9835. If the AD9835 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 AD9835.

Avoid running digital lines under the device as these will couple noise onto the die. The analog ground plane should be allowed to run under the AD9835 to avoid noise coupling. The power supply lines to the AD9835 should use as large a track as is 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. This will reduce the effects of feedthrough through the board. A microstrip technique is by far the best but 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 AD9835 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 mF ceramic capacitors in parallel with 10 mF 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 AD9835, it is recommended that the system’s AVDD supply be used. This supply should have the recommended analog supply decoupling between the AVDD pins of the AD9835 and AGND and the recommended digital supply decoupling capacitors between the DVDD pins and DGND.

INTERFACING THE AD9835 TO MICROPROCESSORS The AD9835 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 AD9835, FSYNC is taken low and held low while the 16 bits of data are being written into the AD9835. The FSYNC signal frames the 16 bits of information being loaded into the AD9835.

AD9835-TO-ADSP-21XX INTERFACE Figure 26 shows the serial interface between the AD9835 and the ADSP-21xx. The ADSP-21xx should be set up to operate in the SPORT Transmit Alternate Framing Mode (TFSW = 1). The ADSP-21xx 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), Generate a frame sync for each write operation (TFSR = 1). Transmission is initiated by writing a word to the Tx register after the SPORT has been enabled. The data is clocked out on each rising edge of the serial clock and clocked into the AD9835 on the SCLK falling edge.

AD9835*

FSYNC

SDATA

SCLK

ADSP-2101/ADSP-2103*

TFS

DT

SCLK

*ADDITIONAL PINS OMITTED FOR CLARITY. 0963

0-02

8

Figure 26. ADSP-2101/ADSP-2103 to AD9835 Interface

Page 21: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

Data Sheet AD9835

Rev. A | Page 21 of 28

AD9835-TO-68HC11/68L11 INTERFACE Figure 27 shows the serial interface between the AD9835 and the 68HC11/68L11 microcontroller. The microcontroller is configured as the master by setting bit MSTR in the SPCR to 1 and, this provides a serial clock on SCK while the MOSI output drives the serial data line SDATA. Since 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: the SCK idles high between write operations (CPOL = 0), data is valid on the SCK falling edge (CPHA = 1). When data is being transmitted to the AD9835, the FSYNC line is taken low (PC7). Serial data from the 68HC11/68L11 is transmitted in 8-bit bytes with only eight falling clock edges occurring in the transmit cycle. Data is transmitted MSB first. In order to load data into the AD9835, PC7 is held low after the first eight bits are transferred and a second serial write operation is performed to the AD9835. Only after the second eight bits have been transferred should FSYNC be taken high again.

AD9835*

FSYNC

SDATA

SCLK

68HC11/68L11*

PC7

MOSI

SCK

*ADDITIONAL PINS OMITTED FOR CLARITY. 0963

0-02

9

Figure 27. 68HC11/68L11-to-AD9835 Interface

AD9835-TO-80C51/80L51 INTERFACE Figure 26 shows the serial interface between the AD9835 and the 80C51/80L51 microcontroller. The microcontroller is operated in Mode 0 so that TXD of the 80C51/80L51 drives SCLK of the AD9835 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 to be transmitted to the AAD9835, P3.3 is taken low. The 80C51/80L51 transmits data in 8-bit bytes thus, only eight falling SCLK edges occur in each cycle.

To load the remaining eight bits to the AD9835, P3.3 is held low after the first eight 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 which has the LSB first. The AD9835 accepts the 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 take this into account and rearrange the bits so that the MSB is output first.

AD9835*

FSYNC

SDATA

SCLK

80C51/80L51*

P3.3

RxD

TxD

*ADDITIONAL PINS OMITTED FOR CLARITY. 0963

0-03

0

Figure 28. 80C51/80L51 to AD9835 Interface

AD9835-TO-DSP56002 INTERFACE Figure 29 shows the interface between the AD9835 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 will frame 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 AD9835. The interface to the DSP56000/DSP56001 is similar to that of the DSP56002.

AD9835*

FSYNC

SDATA

SCLK

DSP56002*

SC2

STD

SCK

*ADDITIONAL PINS OMITTED FOR CLARITY. 0963

0-03

1

Figure 29. AD9835-to-DSP56002 Interface

Page 22: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

AD9835 Data Sheet

Rev. A | Page 22 of 28

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 AD9835 evaluation board.

AD9835 TO SPORT INTERFACE The Analog Devices SDP board has a SPORT serial port that is used to control the serial inputs to the AD9835. The connections are shown in Figure 30.

AD9835

FSYNC

SDATA

SCLK

0963

0-03

9

SPORT_TFS

SPORT_TSCLK

SPORT_DTO

ADSP-BF527

Figure 30. SDP to AD9835 Interface

The AD9835 evaluation board allows designers to evaluate the high performance AD9835 DDS modulator with a minimum of effort. The GUI interface for the AD9835 evaluation board is shown in Figure 31.

0963

0-03

5

Figure 31. AD9835 Evaluation Software

The DDS evaluation kit includes a populated, tested AD9835 PCB. Software is available with the evaluation board that allows the user to easily program the AD9835. The schematics and layout of the AD9835 evaluation board are shown in Figure 32 through Figure 36. 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-AD9835SDZ data sheet (UG-319) that is available on the software CD and on the AD9835 product page.

XO vs. EXTERNAL CLOCK The AD9835 can operate with master clocks up to 50 MHz. A 50 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.) • SG-310SCN oscillators (Epson Toyocom Corporation)

POWER SUPPLY Power to the AD9835 evaluation board can be provided from a USB connector or externally through pin connections. The power leads should be twisted to reduce ground loops.

Page 23: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

Data Sheet AD9835

Rev. A | Page 23 of 28

EVALUATION BOARD SCHEMATICS AND LAYOUT

Figure 32. AD9835 Schematic, Part A

Page 24: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

AD9835 Data Sheet

Rev. A | Page 24 of 28

09630-034

Figure 33. AD9835 Schematic, Part B

Page 25: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

Data Sheet AD9835

Rev. A | Page 25 of 28

0963

0-03

6

Figure 34. Component Side View Layer 1

0963

0-03

7

Figure 35. Component Side View Silkscreen

0963

0-03

8

Figure 36. Component Side View Layer 2, Solder Side

Page 26: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

AD9835 Data Sheet

Rev. A | Page 26 of 28

ORDERING INFORMATION BILL OF MATERIALS

Table 14. Reference Designator Description Manufacturer Part Number C1, C3, C5, C6, C111, C12, C131

0.1 μF, ±10%, 50 V, X7R, ceramic capacitor Murata GRM188R71H104KA93D

C7 0.01 μF, ±10%, 10 V, 0603, X5R, capacitor Kemet C0603C103K5RACTU C2, C4 10 μF, ±10%,10 V, SMD tantalum capacitor AVX TAJA106K010R C8,C9 1 μF, ±10%,10 V,Y5V, 0603, ceramic capacitor Yageo CC0603ZRY5V6BB105 C10 0.1 μF, ±10%, 16 V, X7R, 0603, capacitor Multicomp B0603R104KCT CLK1, FSEL1, IOUT, PSEL11, REFIN, PSEL01

Straight PCB mount SMB jack, 50 Ω Tyco 1-1337482-0

FSYNC, IOUT_, MCLK , SCLK, SDATA

Red test point Vero 20-313137

G2 Copper short Not applicable Not applicable J1 120-way connector, 0.6 mm pitch receptacle HRS (Hirose) FX8-120S-SV(21) J2, J3 2-pin terminal block (5 mm pitch) Campden CTB5000/2 LK3, LK5, LK6 3-pin SIL header and shorting link Harwin M20-9990345 and M7567-05 LK1 2-pin SIL header and shorting link Harwin M20-9990246 R71, R81, R91 10 kΩ, ±1%, 0603, SMD resistor Multicomp MC 0.063W 0603 10K R121 50 Ω, ±1%, 0603, SMD resistor Multicomp MC 0.063W 0603 50r R14 3.9 kΩ, ±1%, SMD resistor Multicomp MC 0.063W 0603 6K8 R15 300 Ω, ±1%, SMD resistor Multicomp MC 0.063W 0603 200r R17,R18 100 KΩ, ±1%, SMD resistor Multicomp MC 0.063W 0603 1% 100K R1, R21, R3, R41, R61, R5, R111, R10,R162

0 Ω, ±1%, 0603, SMD resistor Multicomp MC 0.063W 0603 0r

R13 330 kΩ, ±5%, SMD resistor Multicomp MC 0.063W 0603 330KR U4 200 mW power 5 V, 50 MHz complete DDS Analog Devices AD9835BRUZ U1 32 K I2C serial EEPROM 8-lead MSOP Micro Chip 24LC32A-I/MS U5 3.3 V linear regulator Analog Devices ADP3301ARZ-3.3 Y2 50 MHz, 3 mm × 2 mm SMD clock oscillator AEL Crystals AEL301 series 1 Do not install. 2DNP

Page 27: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

Data Sheet AD9835

Rev. A | Page 27 of 28

OUTLINE DIMENSIONS

16 9

81

PIN 1

SEATINGPLANE

8°0°

4.504.404.30

6.40BSC

5.105.004.90

0.65BSC

0.150.05

1.20MAX

0.200.09 0.75

0.600.45

0.300.19

COPLANARITY0.10

COMPLIANT TO JEDEC STANDARDS MO-153-AB Figure 37. 16-Lead Thin Shrink Small Outline Package (TSSOP)

(RU-16) Dimensions shown in millimeters

ORDERING GUIDE Model1, 2 Temperature Range Package Description Package Option AD9835BRU −40°C to +85°C 16-Lead Thin Shrink Small Outline Package [TSSOP] RU-16 AD9835BRU-REEL −40°C to +85°C 16-Lead Thin Shrink Small Outline Package [TSSOP] RU-16 AD9835BRU-REEL7 −40°C to +85°C 16-Lead Thin Shrink Small Outline Package [TSSOP] RU-16 AD9835BRUZ −40°C to +85°C 16-Lead Thin Shrink Small Outline Package [TSSOP] RU-16 AD9835BRUZ-REEL −40°C to +85°C 16-Lead Thin Shrink Small Outline Package [TSSOP] RU-16 AD9835BRUZ-REEL7 −40°C to +85°C 16-Lead Thin Shrink Small Outline Package [TSSOP] RU-16 EVAL-AD9835SDZ Evaluation Board (To Be Used in Conjunction with an SDP

Board)

1 Z = RoHS Compliant Part. 2 For the EVAL-AD9835SDZ, an SDP board is required.

Page 28: 50 MHz Direct Digital Synthesizer, Waveform Generator Data ...docs-europe.electrocomponents.com/webdocs/0aa5/... · 50 MHz Direct Digital Synthesizer, Waveform Generator Data Sheet

AD9835 Data Sheet

Rev. A | Page 28 of 28

NOTES

©1998–2011 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D09630-0-9/11(A)