<%--Added BazzarVoice(bzVoiceCommerce.html) for Tag Management of 13.2.2 on 15/03/13--%>
Interactive Design Tools: Direct Digital Synthesizers : AD9835 Device Configuration Assistant
A tool for calculating codewords and harmonics images in the AD9835.
Instructions | Troubleshooting | Related Information
 
AD9835 Output Diagram
Supply voltage V  
VREFIN V  
RSET   kOhms   
IOUT   mA   
RLOAD   Ohms   
 
 
MCLK  MHz
Desired FREQ0   MHz   Actual FREQ0     MHz  
Desired FREQ1   MHz   Actual FREQ1     MHz  
Desired PHASE0   deg.   Actual PHASE0     deg.  
Desired PHASE1   deg.   Actual PHASE1     deg.  
Desired PHASE2   deg.   Actual PHASE2     deg.  
Desired PHASE3   deg.   Actual PHASE3     deg.  
 
Control
register
SLEEP     RESET     CLR    
SYNC / SELSRC
register
SYNC     SELSRC    
Select
bits
FSEL     PSEL    
 
Codeword      
=  0x

Initialization
sequence
  Image Chart Legend   Display FREQ0 harmonics vs. MCLK
Display FREQ1 harmonics vs. MCLK

Instructions

This calculator has several distinct functions. First, it's a tool for selecting a value for RSET and checking the output level remains within limits for a given load. Second, it's an assistant for selecting tuning words given a reference clock and desired output frequencies and/or phases. Third, it shows the tuning word and other configuring bits encoded as a sequence of hex codes for use in programming the AD9835 via its serial interface. Lastly, idealized output harmonics are shown for the selected reference clock and output frequency after an external reconstruction filter has been applied. Addressing each of these individually:

The AD9835 has limits on the current and voltage that can be supplied and still meet other datasheet specifications. The output current level, IOUT, is set by a single external resistor, RSET, and the two are related by an equation. Changing one of these fields in the calculator updates the other automatically. If too high a current is selected, an error is noted. The IOUT current develops a voltage into the selected RLOAD, shown on the schematic, and is checked against the AD9835's compliance voltage.

Tuning words are calculated by simply entering the desired MCLK and output frequency. Because a tuning word is limited to 32 bits, there is typically a minute deviation between the desired and actual output frequencies. The actual output frequency (shown to the right of the desired frequency, surrounded by a gray field) is what is encoded in the bottom 14 bits of each codeword. Tuning words greater than 80000000 H (0(LSB) 8000) exceed the Nyquist frequency and will cause error messages to appear. Phase is quantized to 12 bits and selected in a manner similar to output frequency. The closest available phase setting appears in a field at right and in the 12 bits of the corresponding hex code.

Individual register programming codes can be selected using two pulldown menus within the "Codeword" section. The first menu selects the register addressing mode and the second pulldown the register. The computed hex code is displayed in a field immediately below the pulldowns. The hex codeword field is not bidirectional (yet). To update the codeword field, click the Update button at the right of this section, or click carriage-return or tab within any of the frequency or phase fields after a making a change.

A complete codeword sequence to initialize all registers appears immediately below this, in a field labeled "Initialization sequence". It only updates when the corresponding "Update" button is clicked and is not bidirectional.

If this browser is Java-enabled, a harmonic images calculator appears at bottom which graphs the first four harmonics of the output frequency (in red, sin(x)/x envelope in light red) and lists the first 16 in a table which can be cut and pasted into a spreadsheet. Changing the sampling (reference clock) or output frequencies at top automatically updates the images calculator, but the reverse is not true. Spurs (blue) are are also shown as folded 2nd or 3rd-order harmonics of each image with a uniform SFDR dependent on MCLK and programmed frequency.

Suppression of images and spurs (waveform reconstruction) can be simulated by selecting corner frequency, filter order and type of a simple analog filter (last line of images calculator; magnitude rolloff shown in green). A region corresponding to 10 bits of quantization noise is shaded at the bottom of the graph for reference. This calculator is based on a highly simplified model of the AD9835: check datasheet for parameters appropriate to your application. For more information, see our DAC Images calculator.

Note: Some parametric limits have been omitted/simplified in the implementation of this calculator. Refer to datasheet for actual limits and specifications.


back to top

Troubleshooting

The SFDR numbers are temporary and subject to change. In particular they may not be accurate at low frequencies.

This tool is BETA-quality, and as such We would like your feedback, in particular any bugs that you come across. To send feedback email, please click on the "In teractive Tools Feedback" link below...

For further troubleshooting information, please visit our Interactive Tools troubleshooting page.


back to top

Related Information

AD9835 Product Page

Programming the AD9832/AD9835 (pdf, 207,457 bytes)


back to top
沪ICP备09046653号
Send Feedback X
content here.
content here.

Send Feedback

Close
Email Facebook Linkedin Twitter Google +1