RF Toolbox

DDS Output Frequency & Tuning Word

A direct digital synthesizer builds a waveform by stepping an N-bit phase accumulator by a tuning word M every clock cycle. The output frequency is a precise fraction of the clock set by M, with a resolution equal to the clock divided by 2N. Enter a target frequency to get the nearest tuning word and the exact frequency it produces.

Equations & Parameters ▸
\(f_{\text{out}} = \dfrac{M}{2^{N}}\,f_{\text{clk}} \qquad \Delta f = \dfrac{f_{\text{clk}}}{2^{N}} \qquad M = \text{round}\!\left(\dfrac{f_{\text{target}}}{f_{\text{clk}}}\,2^{N}\right)\)
fclkReference clock frequency (MHz).
NPhase-accumulator width (bits), e.g. 24, 32, 48.
ftargetDesired output frequency (MHz).
MFrequency tuning word (integer, 0 … 2N−1).
ΔfFrequency resolution — the smallest output step.
References: Analog Devices, MT-085, Fundamentals of Direct Digital Synthesis. · J. Vankka & K. Halonen, Direct Digital Synthesizers, Kluwer, 2001.
Inputs
MHz
Reference clock
bits
e.g. 24/32/48
MHz
Desired freq
Results

Tuning

Tuning word M
Actual fout
Error vs target

Limits

Resolution Δf
Max usable (~40%)
Diagram