Main Content

configureDACMixer

Configure properties of mixer for channel in DAC tile

Since R2020b

Description

configureDACMixer(rfDataConverter,tileId,channelId,mixerType,mixerFrequency,eventSource,NCOPhase,fineMixerScale) configures the type, frequency, and source of the mixer for a given channel in a given DAC tile.

Input Arguments

collapse all

RF data converter, specified as an soc.RFDataConverter object. Via Ethernet, this object connects the host computer to the RF data converter on the connected SoC device. Use the object functions and properties of this object to configure the RF data converter.

Identifier of the RF-DAC tile connected to the programmable logic, specified as 0, 1, 2, or 3. Available options for the RF-DAC tile ID vary according to the specified RFSoC device. A tile contains several DACs, accessible as channels, and several shared timing units, including a clock and PLL.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

Channel identifier for the selected DAC tile, specified as 0, 1, 2, or 3. Available options for the channel ID vary according to the specified RFSoC device.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

Type of mixer used in the RF-DAC digital path, specified as "Bypassed", "Coarse", or "Fine". When you specify "Bypassed", no mixer is included in the DAC digital path. "Coarse" specifies the coarse mixer, which enables mixing the data with a carrier at frequency ratios set by input mixerFrequency. "Fine" specifies the fine mixer, which enables the data to be shifted up or down in frequency by the fineMixerScale input value.

Data Types: char | string

When you specify "Coarse" as the mixerType, the mixer frequency must be specified as one of these values:

  • "Fs/2" - Half of the sampling frequency

  • "Fs/4" - Quarter of the sampling frequency

When you specify "Fine" as the mixerType, the mixer frequency must be a scalar. Units of the mixer frequency are in MHz.

Data Types: char | string | double

Source of the update event for the RF-DAC mixer, specified as "Immediate", "Slice", "Tile", "SysRef", "Marker", or "PL". An event update can be made intermediately or can wait for another event within the system. For detailed information on the event sources, see "Dynamic Update Events" section in Zynq UltraScale+ RFSoC RF Data Converter v2.3.

Data Types: char | string

Phase value for the output of the numerically-controlled oscillator (NCO) mixer, specified as a positive scalar. The NCO phase applies only when you specify a fine mixer by setting input mixerType to "Fine".

Data Types: double

Scale for fine mixer, specified as "Auto", "1", or "0.7". To specify a fine mixer, set input mixerType to "Fine".

Data Types: char | string

Version History

Introduced in R2020b