Main Content

RF Data Converter

Provide RF data path interface to hardware logic

Since R2020a

  • RF Data Converter block

Libraries:
SoC Blockset Support Package for Xilinx Devices / SDR / RFSoC

Description

The RF Data Converter block provides an RF data path interface to the hardware logic.

The block accepts 16-bit samples as a column vector with a length in the range [1, N] or as a scalar packed into 16N bits through the dacTxChyData ports. The block outputs a vector of N samples through the dacTxChy ports. The block accepts a vector of N samples through the adcTxChy ports. The block outputs 16-bit samples as a column vector with a length in the range [1, N] or as a scalar packed into 16N bits through the adcTxChyData ports based on the value of N.

N is the number of samples per clock cycle. x represents the analog-to-digital converter (ADC) or digital-to-analog converter (DAC) tile number. The values of x range from 0 to m–1, where m is the maximum number of ADC or DAC tiles available on the RFSoC device on the selected hardware board. y represents the ADC or DAC channel number in a tile. The values of y range from 0 to k–1, where k is the maximum number of ADC or DAC channels in each tile available on the RFSoC device on the selected hardware board. The block supports a maximum of 16 ADC and 16 DAC data paths connecting to the hardware logic.

In generation, the SoC Builder tool maps the block parameters to the RF Data Converter IP on the hardware.

The block supports Gen 1, Gen 2, and Gen 3 Zynq® UltraScale+™ RFSoC devices. For a full list of supported devices, see Supported Third-Party Tools and Hardware. For specific Zynq UltraScale+ RFSoC device information, see Zynq UltraScale+ RFSoC Product Information from the Xilinx® website.

Examples

Ports

Input

expand all

ADC input data, specified as a column vector.

x indicates the ADC tile number and y indicates the ADC channel number. The RF interface parameter sets the number of adc ports. For example, if RF interface is set to ADC & DAC 2x2 RF Interface, the block has ports adcT0Ch0 and adcT0Ch1, that is, one input port per ADC channel interface.

Valid values for this port depend on the simulation mode and the Digital interface parameter value.

  • In the Pass-through simulation mode:

    • If you set the Digital interface parameter to Real, specify this value as an N-element column vector, where N is the number of samples per clock cycle that you set in the Samples per clock cycle parameter.

      Use this option to specify real-valued data. For example, consider N equal to 2 and data containing two real values D0 and D1. In this case, specify this port value as a vector in the form [D0 D1].

    • If you set the Digital interface parameter to I/Q, specify this value as a 2N-element column vector, where N is the number of samples per clock cycle that you set in the Samples per clock cycle parameter.

      Use this option to specify complex-valued data. For example, consider N equal to 2 and data containing two complex values with real parts I0 and I1 and imaginary parts Q0 and Q1, respectively. In this case, specify this port value as a vector in the form [I0 Q0 I1 Q1].

  • In the Behavioral simulation mode, specify this value as an RN-element column vector, where R is the decimation factor that you set in the Decimation mode (xN) parameter and N is the number of samples per clock cycle that you set in the Samples per clock cycle parameter.

Data Types: int16 | uint16

DAC input data, specified as a scalar or column vector with a length in the range [1, N], where N is the number of samples per clock cycle that you specify in the Samples per clock cycle parameter.

x indicates the DAC tile number and y indicates the DAC channel number. The RF interface parameter sets the number of dacTxChyData ports.

For more information about the data format, see Data Format Between RF Data Converter Block and Hardware Logic.

Dependencies

To enable this port, set the Digital interface parameter to Real.

Data Types: int16 | int32 | int64 | uint16 | uint32 | uint64 | fixed point

Real part of the DAC input, specified as a scalar or column vector with a length in the range [1, N], where N is the number of samples per clock cycle that you specify in the Samples per clock cycle parameter.

x indicates the DAC tile number and y indicates the DAC channel number. The RF interface parameter sets the number of dacTxChyIData ports.

For more information about the data format, see Data Format Between RF Data Converter Block and Hardware Logic.

Dependencies

To enable this port, set the Digital interface parameter to I/Q.

Data Types: int16 | int32 | int64 | uint16 | uint32 | uint64 | fixed point

Imaginary part of the DAC input, specified as a scalar or column vector with a length in the range [1, N], where N is the number of samples per clock cycle that you specify in the Samples per clock cycle parameter.

x indicates the DAC tile number and y indicates the DAC channel number. The RF interface parameter sets the number of dacTxChyQData ports.

For more information about the data format, see Data Format Between RF Data Converter Block and Hardware Logic.

Dependencies

To enable this port, set the Digital interface parameter to I/Q.

Data Types: int16 | int32 | int64 | uint16 | uint32 | uint64 | fixed point

Indication of valid DAC input data, specified as a scalar.

A value of 1 indicates that the data on the dacTxChyData port is valid or that the data on the dacTxChyIData and dacTxChyQData ports is valid.

x indicates the DAC tile number and y indicates the DAC channel number. The RF interface parameter sets the number of dacTxChyValid ports.

Data Types: Boolean

ADC real-time control input, specified as a bus.

x indicates the ADC tile number and y indicates the ADC channel number. The RF interface parameter sets the number of adcTxChyRealTimeCtrlIn ports. For example, if you set the RF interface parameter to ADC & DAC 2x2 RF Interface, the block has two input ports, one per ADC channel interface.

Dependencies

To enable this port, select Real-time ports or Real-time NCO ports on the Advanced tab.

Data Types: DUT2RFDCRealTimeCtrlBusObj

ADC numerically controlled oscillator (NCO) update request, specified as a Boolean scalar. To request an update of the ADC NCO settings, set this input signal to High.

x indicates the ADC tile number. The RF interface parameter sets the number of adcTxNCOUpdateReq ports. For example, if you set the RF interface parameter to ADC & DAC 2x2 RF Interface, the block has one input port, one per ADC tile.

Dependencies

To enable this port, select Real-time NCO ports under the ADC section on the Advanced tab.

Data Types: Boolean

DAC real-time control input, specified as a bus.

x indicates the DAC tile number and y indicates the DAC channel number. The RF interface parameter sets the number of dacTxChyRealTimeCtrlIn ports. For example, if you set the RF interface parameter to ADC & DAC 2x2 RF Interface, the block has two input ports, one per DAC channel interface.

Dependencies

To enable this port, select Real-time NCO ports under the DAC section on the Advanced tab.

Data Types: DUT2RFDCRealTimeCtrlBusObj

DAC NCO update request, specified as a Boolean scalar. To request an update of the DAC NCO settings, set this input signal to High.

x indicates the DAC tile number. The RF interface parameter sets the number of dacTxNCOUpdateReq ports. For example, if you set the RF interface parameter to ADC & DAC 2x2 RF Interface, the block has one input port, one per DAC tile.

Dependencies

To enable this port, select Real-time NCO ports under the DAC section on the Advanced tab.

Data Types: Boolean

Synchronous clock gating for the multi-tile synchronization (MTS) mode, specified as a Boolean scalar. To disable the DAC tile from the Sysref clock signal, set this input signal to High.

Dependencies

To enable this port, select Multi tile sync under the Common Parameters section and select Real-time NCO ports under the DAC section on the Advanced tab.

Data Types: Boolean

Synchronous clock re-enabling for the MTS mode, specified as a Boolean scalar. To re-enable the Sysref clock signal, set this input signal to High.

Dependencies

To enable this port, select Multi tile sync under the Common Parameters section and select Real-time NCO ports under the DAC section on the Advanced tab.

Data Types: Boolean

Output

expand all

DAC output data, returned as a column vector.

  • In the Pass-through simulation mode:

    • If you set the Digital interface parameter to Real, the block returns outputs as a N-element column vector, where N is the number of samples per clock cycle that you set in the Samples per clock cycle parameter.

      For example, consider N equal to 2 and an input to the dacT0Ch1Data port with a size of 32 bits. In this case, this port returns a vector [S0 S1], where S0 is a16-bit value sliced from 0 to 15 bits of input data on the dacT0Ch1Data port and S1 is a 16-bit value sliced from 16 to 31 bits of input data on the dacT0Ch1Data port.

    • If you set the Digital interface parameter to I/Q, the block returns outputs as a 2N-element column vector, where N is the number of samples per clock cycle that you set in the Samples per clock cycle parameter.

      For example, consider N equal to 2 and inputs to the dacT0Ch1IData and dacT0Ch1QData ports with a size of 32 bits. In this case, this port returns a vector [I0 Q0 I1 Q1], where I0 is a16-bit value sliced from 0 to 15 bits of input data on the dacT0Ch1IData port, I1 is a 16-bit value sliced from 16 to 31 bits of input data on the dacT0Ch1IData port, Q0 is a16-bit value sliced from 0 to 15 bits of input data on the dacT0Ch1QData port, and Q1 is a 16-bit value sliced from 16 to 31 bits of input data on the dacT0Ch1QData port.

  • In the Behavioral simulation mode, the block returns outputs as an RN-element column vector, where R is the interpolation factor that you set in the Interpolation mode (xN) parameter and N is the number of samples per clock cycle that you set in the Samples per clock cycle parameter.

x indicates the DAC tile number and y indicates the DAC channel number. The RF interface parameter sets the number of dacTxChy ports.

Data Types: int16

ADC output data, returned as a scalar or column vector with a length in the range [1, N], where N is the number of samples per clock cycle that you specify in the Samples per clock cycle parameter.

x indicates the ADC tile number and y indicates the ADC channel number. The RF interface parameter sets the number of adcTxChyData ports.

For more information about the data format, see Data Format Between RF Data Converter Block and Hardware Logic.

Dependencies

To enable this port, set the Digital interface parameter to Real.

Data Types: uint16 | uint32 | uint64 | fixed point

Real part of the ADC output, returned as a scalar or column vector with a length in the range [1, N], where N is the number of samples per clock cycle that you specify in the Samples per clock cycle parameter.

x indicates the ADC tile number and y indicates the ADC channel number. The RF interface parameter sets the number of adcTxChyIData ports.

For more information about the data format, see Data Format Between RF Data Converter Block and Hardware Logic.

Dependencies

To enable this port, set the Digital interface parameter to I/Q.

Data Types: uint16 | uint32 | uint64 | fixed point

Imaginary part of the ADC output, returned as a scalar or column vector with a length in the range [1, N], where N is the number of samples per clock cycle that you specify in the Samples per clock cycle parameter.

x indicates the ADC tile number and y indicates the ADC channel number. The RF interface parameter sets the number of adcTxChyQdata ports.

For more information about the data format, see Data Format Between RF Data Converter Block and Hardware Logic.

Dependencies

To enable this port, set the Digital interface parameter to I/Q.

Data Types: uint16 | uint32 | uint64 | fixed point

Indication of valid ADC output data, returned as a Boolean scalar.

A value of 1 indicates that the data on the adcTxChyData port is valid or that the data on the adcTxChyIData and adcTxChyQData ports is valid.

x indicates the ADC tile number and y indicates the ADC channel number. The RF interface sets the number of adcTxChyValid ports.

Data Types: Boolean

ADC real-time control output, returned as a bus.

x indicates the ADC tile number and y indicates the ADC channel number. The RF interface parameter sets the number of adcTxChyRealTimeCtrlOut ports. For example, if you set the RF interface parameter to ADC & DAC 2x2 RF Interface, the block has two output ports, one per ADC channel interface.

Note

This port always has a value of Low because the RF Data Converter block does not support simulation of the real-time ports of the NCO mixer.

Dependencies

To enable this port, select Real-time ports on the Advanced tab.

Data Types: RFDC2DUTRealTimeCtrlBusObj

Indication that a DAC NCO update is in progress, returned as a Boolean scalar.

x indicates the DAC tile number. The RF interface parameter sets the number of dacTxNCOUpdateBusy ports. For example, if you set the RF interface parameter to ADC & DAC 2x2 RF Interface, the block has one output port, one per DAC tile.

Note

This port always has a value of Low because the RF Data Converter block does not support simulation of the real-time ports of the NCO mixer.

Dependencies

To enable this port, select Real-time NCO ports under the DAC section on the Advanced tab.

Data Types: Boolean

Indication that an ADC NCO update is in progress, returned as a Boolean scalar.

x indicates the ADC tile number. The RF interface parameter sets the number of adcTxNCOUpdateBusy ports. For example, if you set the RF interface parameter to ADC & DAC 2x2 RF Interface, the block has one output port, one per ADC tile.

Note

This port always has a value of Low because the RF Data Converter block does not support simulation of the real-time ports of the NCO mixer.

Dependencies

To enable this port, select Real-time NCO ports under the ADC section on the Advanced tab.

Data Types: Boolean

Parameters

expand all

Select the simulation mode.

  • Pass-through — In this simulation mode, the block outputs the same data as the input. The interpolation, decimation, and mixers settings do not impact the block output values.

  • Behavioral — In this simulation mode, the interpolation, decimation, and mixers settings impact the block output values.

This parameter is read-only.

For details about how to choose a hardware board and configure its parameters, see Hardware Implementation Pane.

Specify the RF channel interface type.

To select a predefined set of ADC and DAC combinations, set this parameter to ADC & DAC 1x1 RF Interface, ADC & DAC 2x2 RF Interface, ADC & DAC 4x4 RF Interface, ADC & DAC 8x8 RF Interface, or ADC & DAC 16x16 RF Interface. Available options for this parameter vary as per the selected hardware board. To select the required number of DAC or ADC combinations, set this parameter to Customize.

Example: ADC & DAC 2x2 RF Interface specifies two ADC and two DAC RF channel interfaces.

Specify the digital interface type.

  • Real – Supports real data

  • I/Q – Supports complex data by using real and imaginary ports

DAC

The number of panes and number of DACs in each pane in the DAC tab depend on the RFSoC device in the selected hardware board. The tiles and DACs shown on the block mask indicate the corresponding tiles and DACs on the selected hardware board. For example, if you select the Xilinx Zynq UltraScale+ RFSoC ZCU111 evaluation kit, the DAC tab contains two panes (Tile 0 and Tile 1), and each pane contains four DACs. For a ZCU111 board, DAC 0, DAC 1, DAC 2, and DAC 3 in Tile 0 correspond to DAC 0, DAC 1, DAC 2, and DAC 3 in DAC tile 228, respectively. DAC 0, DAC 1, DAC 2, and DAC 3 in Tile 1 correspond to DAC 0, DAC 1, DAC 2, and DAC 3 in DAC tile 229, respectively.

The selection of tiles and the respective DACs is predefined when you set the RF interface parameter to ADC & DAC 1x1 RF Interface, ADC & DAC 2x2 RF Interface, ADC & DAC 4x4 RF Interface, ADC & DAC 8x8 RF Interface, or ADC & DAC 16x16 RF Interface. You cannot modify the tile and DAC selection when you select these predefined options. To modify the tile and DAC selections, set the RF interface parameter to Customize.

Select this parameter to apply the same parameter values to all of the selected DACs.

Clear this parameter to specify different parameter values for each of the selected DACs.

Dependencies

To enable this parameter, set the RF interface parameter to Customize.

Specify the sampling rate as a scalar in a range that is based on the selected hardware board. Units are in mega samples per second.

For example, if you select the Xilinx Zynq UltraScale+ RFSoC ZCU111 evaluation kit, the sampling rate must be in the range [500, 6554].

Specify the interpolation factor.

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.

Specify the number of samples per clock cycle. Available options for the number of samples per clock cycle vary with the selected hardware board and digital interface type.

The block calculates the stream data width as 16 x Samples per clock cycle.

The block calculates the stream clock frequency as Sample rate (MSPS) / Interpolation mode (xN) x Samples per clock cycle.

Specify the mixer type.

To use Bypassed, set the Digital interface parameter to Real.

To select either Coarse or Fine, set the Digital interface parameter to I/Q.

This parameter is read-only.

To use Real->Real, set the Digital interface parameter to Real.

To use I/Q->Real, set the Digital interface parameter to I/Q.

Specify the mixer frequency.

Dependencies

To enable this parameter, set the Digital interface parameter to I/Q and Mixer type parameter to Coarse.

Specify the NCO frequency values as an m-element row vector, where m is the number of DACs.

When you set the RF interface parameter to Customize and clear the Match parameters of all DACs parameter, m must be 1.

Dependencies

To enable this parameter, set the Digital interface parameter to I/Q and the Mixer type parameter to Fine.

Specify the NCO phase as an m-element row vector, where m is the number of DACs.

When you set the RF interface parameter to Customize and clear the Match parameters of all DACs parameter, m must be 1.

Dependencies

To enable this parameter, set the Digital interface parameter to I/Q and the Mixer type parameter to Fine.

Select this parameter to convert the analog sinc output response from the DAC to a flat-output response.

ADC

The number of panes and number of ADCs in each pane in the ADC tab depend on the selected hardware board. The tiles and ADCs shown on the block mask indicate the corresponding tiles and ADCs on the selected hardware board. For example, if you select the Xilinx Zynq UltraScale+ RFSoC ZCU111 evaluation kit, the ADC tab contains four panes (Tile 0, Tile 1, Tile 2, and Tile 3), and each pane contains two ADCs. For a ZCU111 board, ADC 0 and ADC 1 in Tile 0 correspond to ADC 0 and ADC 1 in ADC tile 224, respectively. ADC 0 and ADC 1 in Tile 1 correspond to ADC 0 and ADC 1 in ADC tile 225, respectively. ADC 0 and ADC 1 in Tile 2 correspond to ADC 0 and ADC 1 in ADC tile 226, respectively. ADC 0 and ADC 1 in Tile 3 correspond to ADC 0 and ADC 1 in ADC tile 227, respectively.

The selection of tiles and the respective ADCs is predefined when you set the RF interface parameter to ADC & DAC 1x1 RF Interface, ADC & DAC 2x2 RF Interface, ADC & DAC 4x4 RF Interface, ADC & DAC 8x8 RF Interface, or ADC & DAC 16x16 RF Interface. You cannot modify the tile and ADC selection when you select these predefined options. To modify the tile and ADC selections, set the RF interface parameter to Customize.

Select this parameter to output data as a frame of samples. Clear this parameter to output data as a scalar.

Select this parameter to apply the same parameter values to all of the selected ADCs.

Clear this parameter to specify different parameter values for each of the selected ADCs.

Dependencies

To enable this parameter, set the RF interface parameter to Customize.

Specify the sampling rate as a scalar in a range that is based on the selected hardware board. Units are in mega samples per second.

For example, if you select the Xilinx Zynq UltraScale+ RFSoC ZCU111 evaluation kit, the sampling rate must be in the range [1000, 4096].

Specify the decimation factor.

Note

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

Specify the number of samples per clock cycle. Available options for the number of samples per clock cycle vary with the selected hardware board and digital interface type.

The block calculates the stream data width as: 16 x Samples per clock cycle.

The block calculates the stream clock frequency as: Sample rate (MSPS) / Decimation mode (xN) x Samples per clock cycle.

Specify the mixer type.

To use Bypassed, set the Digital interface parameter to Real.

To select either Coarse or Fine, set the Digital interface parameter to I/Q.

This parameter is read-only.

To use Real->Real, set the Digital interface parameter to Real.

To use Real->I/Q, set the Digital interface parameter to I/Q.

Specify the mixer frequency.

Dependencies

To enable this parameter, set the Digital interface parameter to I/Q and Mixer type parameter to Coarse.

Specify the numerically controlled oscillator (NCO) frequency values as an m-element row vector, where m is the number of ADCs.

When you set the RF interface parameter to Customize and clear the Match parameters of all ADCs parameter, m must be 1.

Dependencies

To enable this parameter, set the Digital interface parameter to I/Q and Mixer type parameter to Fine.

Specify the NCO phase as an m-element row vector, where m is the number of ADCs.

When you set the RF interface parameter to Customize and clear the Match parameters of all ADCs parameter, m must be 1.

Dependencies

To enable this parameter, set the Digital interface parameter to I/Q and Mixer type parameter to Fine.

Advanced

Common Parameters

Select this parameter to enable MTS.

In generation, the Xilinx RF Data Converter tool provides synchronization clocks and ADC and DAC clocks to the RF Data Converter hardware IP. In MTS mode, these synchronization clocks depend on the ADC and DAC sampling rates. Because, the Xilinx RF Data Converter tool provides a set of fixed default synchronization clocks in MTS mode and supports only these sample rates: 737.28, 1474.56, 1966.08, 2457.6, 2949.12, 3072, 3932.16, 4669.44, 4915.2, 5898.24, and 6144.

For more information on MTS mode, see Zynq UltraScale+ RFSoC RF Data Converter Gen 1/2/3/DFE LogiCORE IP Product Guide (PG269) in the Xilinx documentation.

Select this parameter to enable the external phase-locked loop (PLL).

Each ADC and DAC tile includes an internal PLL. This internal PLL together with a clocking instance provides ADC and DAC clocks for each tile as per the ADC or DAC sampling rates. When you select this parameter, the internal PLL disables, and the clocking circuit directly provides ADC and DAC clocks for each tile. The Xilinx RF Data Converter tool supports only these external PLL clock frequencies: 737.28, 1474.56, 1966.08, 2048, 2457.6, 2949.12, 3072, 3194.88, 3276.8, 3686.4, 3932.16, 4096, 4423.68, 4669.44, 4915.2, 5734.4, 5898.24, 6144, 6389.76, 6400, and 6553.6.

DAC

Select this parameter to add real-time NCO ports for the DAC. You can use these ports to modify the NCO frequency and phase during run time.

For more information on real-time NCO ports, see Zynq UltraScale+ RFSoC RF Data Converter Gen 1/2/3/DFE LogiCORE IP Product Guide (PG269) in the Xilinx documentation.

Dependencies

To enable this parameter, set the Digital interface parameter to I/Q and the Mixer type parameter on the DAC tab to Fine.

ADC

Select this parameter to add real-time NCO ports for the ADC. You can use these ports to modify the NCO frequency and phase during run time.

For more information on real-time NCO ports, see Zynq UltraScale+ RFSoC RF Data Converter Gen 1/2/3/DFE LogiCORE IP Product Guide (PG269) in the Xilinx documentation.

Dependencies

To enable this parameter, set the Digital interface parameter to I/Q and the Mixer type parameter on the ADC tab to Fine.

Select this parameter to add real-time ports for the ADC. Selecting this parameter enables the threshold monitoring circuit, which compares the ADC sampled data with the specified threshold values.

For more information on real-time ports and threshold settings, see Zynq UltraScale+ RFSoC RF Data Converter Gen 1/2/3/DFE LogiCORE IP Product Guide (PG269) in the Xilinx documentation.

Select threshold mode for the first threshold as one of these options.

  • Sticky over — Set the threshold status signal to High when the ADC sampled data exceeds the threshold value that you set in the Threshold1 parameter. The threshold status signal remains High until you set the PLEvent signal in the adcTxChyRealTimeCtrlIn input bus port to High.

  • Sticky under — Set the threshold status signal to High when the ADC sampled data remains below the threshold value, which you set in the Threshold1 parameter, for the number of samples that you set in the Number of sample(s) below threshold1 parameter. The threshold status signal remains High until you set the PLEvent signal in the adcTxChyRealTimeCtrlIn input bus port to High.

  • Hysteresis — Set the threshold status signal to High when the ADC sampled data exceeds the upper threshold value. Set the threshold status signal to Low when the ADC sampled data remains below the lower threshold value for the number of samples that you specify in the Number of sample(s) below threshold1 parameter.

Dependencies

To enable this parameter, select Real-time ports.

Specify the threshold value for the first threshold. For the sticky over threshold mode, this value serves as the upper threshold value. For the sticky under threshold mode, this value serves as the lower threshold value. For the hysteresis threshold mode, specify the threshold values in the format [Tlower Tupper], where Tlower is the lower threshold value and Tupper is the upper threshold value.

Dependencies

To enable this parameter, select Real-time ports.

Specify the number of samples below the threshold value for the first threshold.

Dependencies

To enable this parameter, set the Threshold1 mode parameter to Sticky under or Hysteresis.

Select threshold mode for the second threshold as one of these options.

  • Sticky over — Set the threshold status signal to High when the ADC sampled data exceeds the threshold value that you set in the Threshold2 parameter. The threshold status signal remains High until you set the PLEvent signal in the adcTxChyRealTimeCtrlIn input bus port to High.

  • Sticky under — Set the threshold status signal to High when the ADC sampled data remains below the threshold value, which you set in the Threshold2 parameter, for the number of samples that you set in the Number of sample(s) below threshold2 parameter. The threshold status signal remains High until you set the PLEvent signal in the adcTxChyRealTimeCtrlIn input bus port to High.

  • Hysteresis — Set the threshold status signal to High when the ADC sampled data exceeds the upper threshold value. Set the threshold status signal to Low when the ADC sampled data remains below the lower threshold value for the number of samples that you specify in the Number of sample(s) below threshold2 parameter.

Dependencies

To enable this parameter, select Real-time ports.

Specify the threshold value for the second threshold. For the sticky over threshold mode, this value serves as the upper threshold value. For the sticky under threshold mode, this value serves as the lower threshold value. For the hysteresis threshold mode, specify the threshold values in the format [Tlower Tupper], where Tlower is the lower threshold value and Tupper is the upper threshold value.

Dependencies

To enable this parameter, select Real-time ports.

Specify the number of samples below the threshold value for the second threshold.

Dependencies

To enable this parameter, set the Threshold2 mode parameter to Sticky under or Hysteresis.

More About

expand all

Extended Capabilities

Version History

Introduced in R2020a

expand all