Main Content

configureDACChannel

Configure interpolation factor in channel of DAC tile

Since R2020b

Description

configureDACChannel(rfDataConverter,tileId,channelId,interpolationFactor) configures the interpolation mode of a given channel in a given DAC tile. The interpolation factor determines the number of interpolation filters applied to the input data, with each filter contributing an upsampling of the input signal and additional nonideal filter effects. For more information on the interpolation filters, see the "RF-DAC Interpolation Filters" section in Zynq UltraScale+ RFSoC RF Data Converter v2.3 from the Xilinx® website.

configureDACChannel(rfDataConverter,tileId,channelId,interpolationFactor,Name,Value) specifies options using one or more name-value arguments.

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

Interpolation factor used in the DAC, specified as 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, or 40.

Note

Gen 1 and Gen 2 devices support interpolation factors of 1, 2, 4, and 8. Gen 3 devices support interpolation factors of 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, and 40.

Data Types: double

Name-Value Arguments

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Before R2021a, use commas to separate each name and value, and enclose Name in quotes.

Example: 'NyquistZone','2' specifies an even channel Nyquist zone.

Channel Nyquist zone, specified as one of these values:

  • '1' — Channel Nyquist zone is odd

  • '2' — Channel Nyquist zone is even

Data Types: char | string

DAC inverse sinc filter, specified as one of these values:

  • '0' — Disable the inverse sinc filter.

  • '1' — Enable the inverse sinc filter.

Data Types: char | string

Digital up converter (DUC) mode, specified as 'FullNyquistDUC', 'IMRLowPass', 'IMRHighPass', or 'DUCBypass'.

Note

Only Gen 3 devices support DUC mode. If you specify this name-value argument for Gen 1 or Gen 2 devices, the DAC channel ignores this argument.

Data Types: char | string

Version History

Introduced in R2020b