struct XRFdc_Mixer_Settings - 2.6 English

Zynq UltraScale+ RFSoC RF Data Converter v2.6 Gen 1/2/3/DFE LogiCORE IP Product Guide (PG269)

Document ID
Release Date
2.6 English

This structure is used to set or get mixer settings.

double Freq;
double PhaseOffset;
u32 EventSource;
u32 CoarseMixFreq;
u32 MixerMode;
u8 FineMixerScale;
u8 MixerType;


double Freq
NCO frequency. Range: -Fs to Fs (MHz).
double PhaseOffset
NCO phase offset. Range: -180 to 180 (Exclusive).
u32 EventSource
Event source for mixer settings. XRFDC_EVNT_SRC_* represents valid values.
Note: See QMC_Settings structure for valid EventSource macros.
u32 CoarseMixFreq
Coarse mixer frequency. XRFDC_COARSE_MIX_* represents valid values.
Table 1. Valid Macros for CoarseMixFreq
Macro Description
XRFDC_COARSE_MIX_OFF Coarse Mixer frequency is OFF
XRFDC_COARSE_MIX_SAMPLE_FREQ_BY_TWO Coarse Mixer frequency is Fs/2
XRFDC_COARSE_MIX_SAMPLE_FREQ_BY_FOUR Coarse Mixer frequency is Fs/4
XRFDC_COARSE_MIX_MIN_SAMPLE_FREQ_BY_FOUR Coarse Mixer frequency is -Fs/4
XRFDC_COARSE_MIX_BYPASS Coarse Mixer frequency is BYPASS
u32 MixerMode
Mixer mode for fine or coarse mixer. XRFDC_MIXER_MODE_* represents valid values.
Table 2. Valid Macros for MixerMode
Macro Description
XRFDC_MIXER_MODE_OFF Mixer mode is OFF (only for Fine Mixer)
XRFDC_MIXER_MODE_C2C Mixer mode is Complex to Complex
XRFDC_MIXER_MODE_C2R Mixer mode is Complex to Real
XRFDC_MIXER_MODE_R2C Mixer mode is Real to Complex
u8 FineMixerScale
NCO output scale. XRFDC_MIXER_SCALE_* represents valid values.
Table 3. Valid Macros for FineMixerScale
Macro Description
XRFDC_MIXER_SCALE_AUTO Fine Mixer scale will be auto updated
XRFDC_MIXER_SCALE_1P0 Fine Mixer Scale is set to 1.0
XRFDC_MIXER_SCALE_0P7 Fine Mixer Scale is set to 0.7
u8 MixerType
Mixer Type indicates coarse or fine mixer. XRFDC_MIXER_TYPE_* represents valid values.
Table 4. Valid Macros for MixerType
Macro Description
XRFDC_MIXER_TYPE_COARSE Mixer Type is Coarse Mixer
XRFDC_MIXER_TYPE_FINE Mixer Type is Fine Mixer
XRFDC_MIXER_TYPE_DISABLED The Mixer is permanently off (from hardware design)