The DUC channels can operate in DDS mode by
setting the DDS_EN register before setting DP_EN.
To use DDS mode, perform these steps:
- Program DDS_EN=1 (the DDS isn’t enabled until DP_EN is
set)
- Program JESD_M to 2, 4, 6, or 8
to enable 1, 2, 3, or 4 DDS channels respectively
- Program initial values for AMP,
FREQ, and PHASE
- There is no need to program
NCO_EN (it’s implied by DDS_EN=1)
- Program DUC_FORMAT=1 if complex
output is desired. If DUC_FORMAT=1, JESD_M must be set to 2 or 4 (1 or 2
channels).
- Program DAC_SRC to bind DUC (DDS)
channels to DACs
- Leave JESD_EN=0
- Program DP_EN=1
- Wait for the VDDDIG supply voltage to re-stablize as the
supply current transient can result in a dip in the supply voltage. 80
microseconds is be sufficent, but this can be optimized based on actual
measurements.
- If coherency between multiple NCO's is required, the NCO's
must be re-synchronized using one of the methods described in section NCO Synchronization for multi-device/deterministic synchronization,
or using SPI_SYNC with NCO_SYNC_SRC if only internal NCO phase is required.
- The DUC channels now run in DDS
mode and begin outputting tones. Use AMP, FREQ, and PHASE to update the waveform
parameters. You must re-synchronize the NCOs to apply new values to the NCOs.
Use AMP_R, FREQ_R, and PHASE_R to inspect the values that are currently in
effect.
- Other NCO settings also apply to
DDS mode such as NCO_AR, and NCO_CONT. The NCOs can be synchronized in the same
fashion as DUC mode.