Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

DDS Tuning Word and Error

Quantize a target frequency to a DDS phase-accumulator tuning word.

Communications workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
Formulaword=round(fout 2ᴺ/fclock)
Sources and model references

Worked example

Inputs

DDS clock
100000000 Hz
Accumulator width
32 bits
Requested output
1000000 Hz

Expected results

Nearest tuning word
42949673 integer
Actual output frequency
1000000.001 Hz
Frequency step
0.02328306437 Hz

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter the labeled inputs in the indicated units.
  2. Calculate and compare every output against the stated model assumptions.

Try this example

{
  "clock": 100000000,
  "bits": 32,
  "target": 1000000
}

Accuracy and scope

Ideal DDS accumulator; ignores DAC images, phase truncation and spurs. Simplified analytical model; not a design recommendation or safety certification.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.