Evaluation Board User Guide
UG-268
One Technology Way • P.O. Box 9106 • Norwood, MA 02062-9106, U.S.A. • Tel: 781.329.4700 • Fax: 781.461.3113 • www.analog.com
Evaluating the AD9838 11 mW Power, 2.3 V to 5.5 V, 16 MHz Complete DDS
FEATURES
GENERAL DESCRIPTION
Full featured evaluation board for the AD9838
Graphical user interface software for board control and
data analysis
Connector to EVAL-SDP-CB1Z system demonstration
platform (SDP) board
Various power supply and reference link options
The AD9838 is a 16 MHz low power DDS device capable of
producing high performance sine and triangular outputs. It
also has an on-board comparator that allows a square wave to
be produced for clock generation. Consuming only 20 mW of
power at 3 V makes the AD9838 an ideal candidate for powersensitive applications.
APPLICATIONS
The EVAL-AD9838SDZ board is used in conjunction with an
EVAL-SDP-CB1Z SDP board, available from Analog Devices, Inc.
The USB-to-SPI communication to the AD9838 is completed
using this Blackfin®-based development board.
Biomedical sensors
Bioelectrical impedance analysis
Electrochemical analysis
Impedance spectroscopy
Complex impedance measurement
Nondestructive testing
A high performance, on-board 16 MHz trimmed general oscillator
is available to use as the master clock for the AD9838 system.
Various links and SMB connectors are also available on the
EVAL-AD9838SDZ board to maximize usability.
Complete specifications for the AD9838 are provided in the
AD9838 data sheet, available from Analog Devices, and should
be consulted in conjunction with this user guide when using the
evaluation board.
FUNCTIONAL BLOCK DIAGRAM
EVAL-SDP-CB1Z
MCLK XO
REF196
MCLK
PSELECT
GPIO
FSELECT
IOUT
AD9838
IOUTB
RESET
FSYNC SCLK SDATA
USB
09805-001
SPORT
Figure 1.
PLEASE SEE THE LAST PAGE FOR AN IMPORTANT
WARNING AND LEGAL TERMS AND CONDITIONS.
Rev. B | Page 1 of 12
UG-268
Evaluation Board User Guide
TABLE OF CONTENTS
Features .............................................................................................. 1
Programming Method: Hardware or Software .........................6
Applications ....................................................................................... 1
Loading Frequency and Phase Registers ....................................6
General Description ......................................................................... 1
FSK and PSK Functionality..........................................................6
Functional Block Diagram .............................................................. 1
Waveform Options ........................................................................6
Revision History ............................................................................... 2
Hardware Options .........................................................................7
Evaluation Board Software .............................................................. 3
Reset and Sweep ............................................................................7
Installing the Software ................................................................. 3
Example of Operation ...................................................................8
Running the Software .................................................................. 4
Evaluation Board Schematics and Layout ......................................9
Using the Evaluation Board Software ............................................ 5
Ordering Information .................................................................... 11
Setting Up the Digital Interface .................................................. 5
Bill of Materials ........................................................................... 11
Select External MCLK Frequency .............................................. 6
REVISION HISTORY
3/13—Rev. A to Rev. B
Changed 75 MHz to 16 MHz, Title ................................................ 1
Changes to Setting Up the Digital Interface Section ................... 5
Changes to Select External MCLK Frequency Section,
Programming Method: Hardware or Software Section,
and Loading Frequency and Phase Registers Section ............. 6
Changes to Example of Operation Section ................................... 8
Changes to Figure 16 ........................................................................ 9
8/12—Rev. 0 to Rev. A
Changed LK3 Position from In to Out, Table 1 ............................ 4
4/11—Revision 0: Initial Version
Rev. B | Page 2 of 12
Evaluation Board User Guide
UG-268
EVALUATION BOARD SOFTWARE
INSTALLING THE SOFTWARE
The EVAL-AD9838SDZ evaluation kit includes the software and
drivers on a CD. The software is compatible with Windows® XP,
Windows Vista, and Windows 7.
To install the software, follow these steps:
2.
3.
Install the software before connecting the SDP board to the
USB port of the PC.
Start the Windows operating system and insert the
EVAL-AD9838SDZ evaluation kit CD.
Download the AD9838SDZ LabVIEW® software. The
correct driver, SDPDriversNET, for the SDP board should
download automatically after LabVIEW is downloaded,
5.
09805-002
1.
4.
supporting both 32- and 64-bit systems. However, if the
drivers do not download automatically, the driver executable
file can also be found in the Program Files/Analog Devices
folder. Follow the on-screen prompts to install the
SDPDriverNet Version 1.3.6.0.
After installation of the software and drivers is complete, plug
the EVAL-AD9838SDZ into the SDP board and the SDP
board into the PC using the USB cable included in the box.
When the software detects the evaluation board, proceed
through any dialog boxes that appear to finalize the
installation (Found New Hardware Wizard/Install the
Software Automatically and so on).
Figure 2. Hardware Device Manager Window with SDP Board Plugged In
Rev. B | Page 3 of 12
UG-268
Evaluation Board User Guide
RUNNING THE SOFTWARE
Table 1. Default Setup for Link Positions
To run the evaluation board program, do the following:
Link No.
LK1
Position
A
LK2
B
LK3
Out
LK4
B
2.
3.
Click Start/All Programs/Analog Devices/AD9838/
AD9838 Eval Board.
If the SDP board is not connected to the USB port when
the software is launched, a connectivity error displays (see
Figure 3). Simply connect the evaluation board to the USB
port of the PC, wait a few seconds, click Rescan, and follow
the instructions.
Ensure that all links are in the correct positions (see Table 1).
The main window of the AD9838DBZ evaluation software
then opens, as shown in Figure 4.
09805-003
1.
Function
On-board linear regulator selected to
supply power to the general oscillator.
3.3 V digital supply for the AD9838
supplied from the EVAL-SDP-CB1Z board.
Decouple the CAP/2.5V pin to ground
because VDD is >2.7 V.
3.3 V analog supply for the AD9838
supplied from the EVAL-SDP-CB1Z board.
Figure 3. Pop-Up Window Error
Rev. B | Page 4 of 12
Evaluation Board User Guide
UG-268
09805-004
USING THE EVALUATION BOARD SOFTWARE
Figure 4. AD9838 DDS Evaluation Software
SETTING UP THE DIGITAL INTERFACE
To set up the AD9838 to perform measurements, first plug the
EVAL-SDP-CB1Z board into the EVAL-AD9838SDZ board and
connect the system to the USB port of a PC. Then launch the
evaluation software and set the DIGITAL INTERFACE. The
EVAL-SDP-CB1Z has two connector plugs: connectorA and
connectorB. Select which connector you want to use with the
AD9838 evaluation board from the Connector drop-down menu.
09805-005
The SPI Frame Frequency and SCLK Frequency boxes can also
be set in this window. If the SPI interface speed has not been
decided upon, leave the default values shown in Figure 5.
Figure 5. Digital Interface
Rev. B | Page 5 of 12
UG-268
Evaluation Board User Guide
SELECT EXTERNAL MCLK FREQUENCY
The analog output frequency from the AD9838 is defined by
Having selected the digital interface specifics, next use the
EXTERNAL MCLK box to choose which frequency to use. The
boards are supplied with a 16 MHz general oscillator. If a different
clock source is required, the CLK1 SMB connector can be used
to supply a different MCLK value.
where FREQREG is the value loaded into the selected frequency
register in decimals. This signal is phase shifted by
2π/4096 × PHASEREG
where PHASEREG is the value contained in the selected phase
register in decimals.
09805-006
Two options for the general oscillator include the AEL3013
oscillators from AEL Crystals and the SG-310SCN oscillators
from Epson Electronics.
fMCLK/228 × FREQREG
Figure 6. EXTERNAL MCLK Input
09805-008
PROGRAMMING METHOD: HARDWARE OR
SOFTWARE
Figure 8. Frequency and Phase Load
FSK AND PSK FUNCTIONALITY
In software mode, the AD9838 can be set up for FSK or PSK
functionality by simply entering the bit rate in milliseconds and
clicking FSK or PSK (see Figure 9).
09805-009
Functions that select frequency and phase registers, reset internal
registers, and power down the DAC can be implemented using
either software or hardware. Figure 7 shows how to select the
source of control for these functions. Alternatively, you can set
the PIN/SW bit to 1 to select that these functions be controlled
using the appropriate hardware control pins, or you can set the
PIN/SW bit to 0 to select that these functions be controlled using
the appropriate software control bits.
Figure 9. FSK and PSK Functionality
WAVEFORM OPTIONS
09805-007
The output waveform can be selected as a sinusoidal waveform
or a ramp waveform. The internal comparator in the AD9838
can be disabled or enabled (see Figure 10). The MSB or the
MSB/2 of the phase accumulator can be selected as the output
on the SIGN BIT OUT pin.
Figure 7. Programming Method
The desired output frequency and output phase can be loaded
using the inputs shown in Figure 8. Either the FREQ0 register or
the FREQ1 register can be loaded with frequency data. The
frequency data is loaded in megahertz, and the equivalent
hexadecimal code is shown to the right after data is entered;
press the ENTER key to load data. After data is loaded, the
output appears on the IOUT and IOUTB pins. Similarly, either
the PHASE0 register or PHASE1 register can be selected, and
the phase data is loaded in degrees.
Rev. B | Page 6 of 12
09805-010
LOADING FREQUENCY AND PHASE REGISTERS
Figure 10. Waveform Profile and SIGN BIT OUT Pin
Evaluation Board User Guide
UG-268
RESET AND SWEEP
The AD9838 has various power-down options selected through
the control register. The part can disable the MCLK or disable the
DAC if just the MSB output is used on the SIGN BIT OUT pin,
or it can power down both sections for a lower power sleep mode
(see Figure 11).
The reset software command is set using the buttons shown in
Figure 13. To set up a DDS sweep, click Sweep.
09805-013
Power-Down Options
Figure 13. Software Reset and Sweep Select
09805-011
The sweep function allows users to load a start frequency, stop
frequency, increment size, number of loops, and delay between
each frequency increment. These commands are then loaded to
the part automatically from the EVAL-SDP-CB1Z board.
Figure 11. Power-Down Options
HARDWARE OPTIONS
09805-014
If the hardware programming method is selected as shown in
Figure 7, the following pin functions can be toggled: FSELECT,
PSELECT, RESET, and SLEEP (by clicking FSEL, PSEL, Reset,
and SLEEP, respectively; see Figure 12). These functions are
controlled by the GPIO outputs on the EVAL-SDP-CB1Z board.
For example, frequency data can be loaded to the FREQ0 register
and the FREQ1 register, and the output can be toggled by the
FSELECT pin, that is, 2FSK functionality.
09805-012
Figure 14. Sweep Functionality
Figure 12. GPIO Hardware Pin Control
Rev. B | Page 7 of 12
UG-268
Evaluation Board User Guide
EXAMPLE OF OPERATION
An example of configuring the AD9838 to output 10 kHz follows:
2.
3.
4.
5.
6.
7.
Plug the EVAL-SDP-CB1Z board into the EVAL-AD9838SDZ
board and connect to the USB port.
Start up the software located at Start/All Programs/
Analog Devices/AD9838/AD9838 Eval Board. You should
see the SDP board communicating with the PC.
Select connectorA or connectorB; this must match what
the AD9838 test chip is connected to.
Define MCLK; the default is an on-board 16 MHz
oscillator.
Ensure that all links are in the correct positions (see Table 1).
Select the FREQ1 register.
Load a 10 kHz excitation frequency and press ENTER.
For the FREQ0 register, follow the steps in the example
operation, but with the following exceptions:
•
•
In Step 6, select the FREQ0 register.
In Step 7, load the FREQ0 register with 20 kHz and
press ENTER.
CH1 FREQ
10kHz
CH1 p-p
596mV
1
CH1 100mV
M20µs
T
0s
A CH1
182mV
Figure 15. 10 kHz Output Signals on an IOUT Test Point
Rev. B | Page 8 of 12
09805-015
1.
The output should appear on the IOUT and IOUTB outputs on
the evaluation board.
Evaluation Board User Guide
UG-268
09805-016
EVALUATION BOARD SCHEMATICS AND LAYOUT
09805-017
Figure 16. AD9838 Schematic Part A
Figure 17. AD9838 Schematic Part B
Rev. B | Page 9 of 12
Evaluation Board User Guide
09805-018
UG-268
Figure 18. Component Side View Layer 1
Rev. B | Page 10 of 12
Evaluation Board User Guide
UG-268
ORDERING INFORMATION
BILL OF MATERIALS
Table 2.
Reference Designator
C1, C2, C4 to C6, C8, C11,
C12, C14, C15
C3
C7, C9
C13, C16
C17, C19
C18
CLK1, 1 F SEL1,1 IOUT, IOUTB,
PSEL1,1 SBOUT, SLEEP
FSYNC, IOUT_, IOUT_B, REF,
RESET, SBOUT_, SCLK, SDATA
G1
J1
J2, J3
LK1, LK2, LK4
LK3
R1,1 R2,1 R81
R31
R4
R5, R6
R7
R9, R10,1 R11, R12,1 R13,1
R14, R15,1 R16, R17
U1
U2
U3
X1, X2
Y1
1
Description
0.1 µF ceramic capacitor, 50 V, X7R, ±10%, 0603
Manufacturer
Murata
Part Number
GRM188R71H104KA93D
0.01 µF capacitor, 0603, 10 V, X5R, 10%
10 µF tantalum capacitor, ±10%, 10 V, SMD, RTAJ_A
1 µF capacitor, 10 V, Y5V, 0603, +80%, −20%
0.1 µF capacitor, 0603, 16 V, X7R, ±10%
10 µF ceramic capacitor, 10 V, 10%, X5R, 0805
Straight PCB mount SMB jack, 50 Ω
Kemet
AVX
Yageo
Multicomp
Murata
Tyco
C0603C103K5RACTU
TAJA106K010R
CC0603ZRY5V6BB105
B0603R104KCT
GRM21BR61A106KE19L
1-1337482-0
Red test point
Vero
20-313137
Ground link, copper short
120-way connector, 0.6 mm pitch, receptacle
2-pin terminal block (5 mm pitch)
3-pin SIL header and shorting link
Not applicable
HRS (Hirose)
Campden
Harwin
2-pin SIL header and shorting link, SIP-2P
10 kΩ SMD resistor, 0603
50 Ω SMD resistor, 0603
6.8 kΩ SMD resistor, 0603
200 Ω SMD resistor, 0603
300 Ω SMD resistor, 0603
0 Ω, 0603, SMD resistor
Harwin
Multicomp
Multicomp
Multicomp
Multicomp
Multicomp
Multicomp
Not applicable
FX8-120S-SV(21)
CTB5000/2
M20-9990345 and
M7567-05
M20-9990246
MC 0.063W 0603 10K
MC 0.063W 0603 50r
MC 0.063W 0603 6K8
MC 0.063W 0603 200R
MC 0.063W 0603 300R
MC 0.063W 0603 0R
11 mW power, 2.3 V to 5.5 V, 16 MHz complete DDS,
20-lead LFCSP
64k I2C serial EEPROM, MSOP-8
Precision micropower, low dropout, low voltage references,
8-lead TSSOP
3 mm NPTH hole
16 MHz, 3 mm × 2 mm SMD clock oscillator
Analog Devices
AD9838BCPZ
Microchip
Analog Devices
24LC64-I/MS
REF196GRUZ
Not applicable
Epson
MTHOLE-3mm
SG-310 Series
Do not install.
Rev. B | Page 11 of 12
UG-268
Evaluation Board User Guide
NOTES
ESD Caution
ESD (electrostatic discharge) sensitive device. Charged devices and circuit boards can discharge without detection. Although this product features patented or proprietary protection
circuitry, damage may occur on devices subjected to high energy ESD. Therefore, proper ESD precautions should be taken to avoid performance degradation or loss of functionality.
Legal Terms and Conditions
By using the evaluation board discussed herein (together with any tools, components documentation or support materials, the “Evaluation Board”), you are agreeing to be bound by the terms and conditions
set forth below (“Agreement”) unless you have purchased the Evaluation Board, in which case the Analog Devices Standard Terms and Conditions of Sale shall govern. Do not use the Evaluation Board until you
have read and agreed to the Agreement. Your use of the Evaluation Board shall signify your acceptance of the Agreement. This Agreement is made by and between you (“Customer”) and Analog Devices, Inc.
(“ADI”), with its principal place of business at One Technology Way, Norwood, MA 02062, USA. Subject to the terms and conditions of the Agreement, ADI hereby grants to Customer a free, limited, personal,
temporary, non-exclusive, non-sublicensable, non-transferable license to use the Evaluation Board FOR EVALUATION PURPOSES ONLY. Customer understands and agrees that the Evaluation Board is provided
for the sole and exclusive purpose referenced above, and agrees not to use the Evaluation Board for any other purpose. Furthermore, the license granted is expressly made subject to the following additional
limitations: Customer shall not (i) rent, lease, display, sell, transfer, assign, sublicense, or distribute the Evaluation Board; and (ii) permit any Third Party to access the Evaluation Board. As used herein, the term
“Third Party” includes any entity other than ADI, Customer, their employees, affiliates and in-house consultants. The Evaluation Board is NOT sold to Customer; all rights not expressly granted herein, including
ownership of the Evaluation Board, are reserved by ADI. CONFIDENTIALITY. This Agreement and the Evaluation Board shall all be considered the confidential and proprietary information of ADI. Customer may
not disclose or transfer any portion of the Evaluation Board to any other party for any reason. Upon discontinuation of use of the Evaluation Board or termination of this Agreement, Customer agrees to
promptly return the Evaluation Board to ADI. ADDITIONAL RESTRICTIONS. Customer may not disassemble, decompile or reverse engineer chips on the Evaluation Board. Customer shall inform ADI of any
occurred damages or any modifications or alterations it makes to the Evaluation Board, including but not limited to soldering or any other activity that affects the material content of the Evaluation Board.
Modifications to the Evaluation Board must comply with applicable law, including but not limited to the RoHS Directive. TERMINATION. ADI may terminate this Agreement at any time upon giving written notice
to Customer. Customer agrees to return to ADI the Evaluation Board at that time. LIMITATION OF LIABILITY. THE EVALUATION BOARD PROVIDED HEREUNDER IS PROVIDED “AS IS” AND ADI MAKES NO
WARRANTIES OR REPRESENTATIONS OF ANY KIND WITH RESPECT TO IT. ADI SPECIFICALLY DISCLAIMS ANY REPRESENTATIONS, ENDORSEMENTS, GUARANTEES, OR WARRANTIES, EXPRESS OR IMPLIED, RELATED
TO THE EVALUATION BOARD INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, TITLE, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT OF INTELLECTUAL
PROPERTY RIGHTS. IN NO EVENT WILL ADI AND ITS LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES RESULTING FROM CUSTOMER’S POSSESSION OR USE OF
THE EVALUATION BOARD, INCLUDING BUT NOT LIMITED TO LOST PROFITS, DELAY COSTS, LABOR COSTS OR LOSS OF GOODWILL. ADI’S TOTAL LIABILITY FROM ANY AND ALL CAUSES SHALL BE LIMITED TO THE
AMOUNT OF ONE HUNDRED US DOLLARS ($100.00). EXPORT. Customer agrees that it will not directly or indirectly export the Evaluation Board to another country, and that it will comply with all applicable
United States federal laws and regulations relating to exports. GOVERNING LAW. This Agreement shall be governed by and construed in accordance with the substantive laws of the Commonwealth of
Massachusetts (excluding conflict of law rules). Any legal action regarding this Agreement will be heard in the state or federal courts having jurisdiction in Suffolk County, Massachusetts, and Customer hereby
submits to the personal jurisdiction and venue of such courts. The United Nations Convention on Contracts for the International Sale of Goods shall not apply to this Agreement and is expressly disclaimed.
©2011–2013 Analog Devices, Inc. All rights reserved. Trademarks and
registered trademarks are the property of their respective owners.
UG09805-0-3/13(B)
Rev. B | Page 12 of 12