adi.FMComms8.Tx#

The adi.FMComms8.Tx System object is a signal sink that can
transmit complex data from the FMComms8.

tx = adi.FMComms8.Tx;
tx = adi.FMComms8.Tx('uri','ip:192.168.2.1');

Product Page

Creation

The class can be instantiated in the following way with and without property name value pairs.

dev = adi.FMComms8.Tx
dev = adi.FMComms8.Tx(Name, Value)
Properties
Unless otherwise indicated, properties are non-tunable, which means you cannot change their values after calling the object. Objects lock when you call them, and the release function unlocks them.

If a property is tunable, you can change its value at any time.

For more information on changing property values, see System Design in MATLAB Using System Objects.

AttenuationChannel0ChipB

Attentuation specified as a scalar from -41.95 to 0 dB with a resolution of 0.05 dB.Help for adi.FMComms8.Tx/AttenuationChannel0ChipB is inherited from superclass ADI.ADRV9009ZU11EG.TX

AttenuationChannel1ChipB

Attentuation specified as a scalar from -41.95 to 0 dB with a resolution of 0.05 dB.Help for adi.FMComms8.Tx/AttenuationChannel1ChipB is inherited from superclass ADI.ADRV9009ZU11EG.TX

EnableQuadratureTrackingChannel0ChipB

Option to enable quadrature tracking, specified as true or false. When this property is true, IQ imbalance compensation is applied to the transmitted signal.Help for adi.FMComms8.Tx/EnableQuadratureTrackingChannel0ChipB is inherited from superclass ADI.ADRV9009ZU11EG.TX

EnableQuadratureTrackingChannel1ChipB

Option to enable quadrature tracking, specified as true or false. When this property is true, IQ imbalance compensation is applied to the transmitted signal.Help for adi.FMComms8.Tx/EnableQuadratureTrackingChannel1ChipB is inherited from superclass ADI.ADRV9009ZU11EG.TX

EnableLOLeakageTrackingChannel0ChipB

Option to enable quadrature tracking, specified as true or false. When this property is true, LO leakage compensation is applied to the transmitted signal.Help for adi.FMComms8.Tx/EnableLOLeakageTrackingChannel0ChipB is inherited from superclass ADI.ADRV9009ZU11EG.TX

EnableLOLeakageTrackingChannel1ChipB

Option to enable quadrature tracking, specified as true or false. When this property is true, LO leakage compensation is applied to the transmitted signal.Help for adi.FMComms8.Tx/EnableLOLeakageTrackingChannel1ChipB is inherited from superclass ADI.ADRV9009ZU11EG.TX

EnableQuadratureCalibrationChipB

Option to enable quadrature calibration on initialization, specified as true or false. When this property is true, IQ imbalance compensation is applied to the input signal.Help for adi.FMComms8.Tx/EnableQuadratureCalibrationChipB is inherited from superclass ADI.ADRV9009ZU11EG.TX

EnableLOLeakageCorrectionChipB

Option to enable phase tracking, specified as true or false. When this property is true, at initialization LO leakage correction will be appliedHelp for adi.FMComms8.Tx/EnableLOLeakageCorrectionChipB is inherited from superclass ADI.ADRV9009ZU11EG.TX

EnableLOLeakageCorrectionExternalChipB

Option to enable phase tracking, specified as true or false. When this property is true, at initialization LO leakage correction will be applied within an external loopback path. Note this requires external cabling.Help for adi.FMComms8.Tx/EnableLOLeakageCorrectionExternalChipB is inherited from superclass ADI.ADRV9009ZU11EG.TX

PowerdownChannel0ChipB

Logical which will power down TX channel 0 when setHelp for adi.FMComms8.Tx/PowerdownChannel0ChipB is inherited from superclass ADI.ADRV9009ZU11EG.TX

PowerdownChannel1ChipB

Logical which will power down TX channel 1 when setHelp for adi.FMComms8.Tx/PowerdownChannel1ChipB is inherited from superclass ADI.ADRV9009ZU11EG.TX

CenterFrequencyChipB

RF center frequency, specified in Hz as a scalar. The default is 2.4e9. This property is tunable.

EnableFrequencyHoppingModeCalibrationChipB

Option to enable frequency hopping mode VCO calibration, specified as true or false. When this property is true, at initialization VCO calibration lookup table is populated

SamplesPerFrame

Number of samples per frame, specified as an even positive integer from 2 to 16,777,216. Using values less than 3660 can yield poor performance.

EnableCustomProfile

Enable use of custom Profile file to set SamplingRate, RFBandwidth, and FIR in datapaths

EnableFrequencyHoppingModeCalibration

Option to enable frequency hopping mode VCO calibration, specified as true or false. When this property is true, at initialization VCO calibration lookup table is populated

CustomProfileFileName

Path to custom Profile file created from profile wizard

CenterFrequency

RF center frequency, specified in Hz as a scalar. The default is 2.4e9. This property is tunable.

EnabledChannels

Indexs of channels to be enabled. Input should be a [1xN] vector with the indexes of channels to be enabled. Order is irrelevant

uri

Hostname or IP address of remote libIIO deviceHelp for adi.FMComms8.Tx/uri is inherited from superclass MATLABSHARED.LIBIIO.BASE

enIO

If true, connects to libIIO device during simulationHelp for adi.FMComms8.Tx/enIO is inherited from superclass MATLABSHARED.LIBIIO.BASE

devName

Name of the libIIO deviceHelp for adi.FMComms8.Tx/devName is inherited from superclass MATLABSHARED.LIBIIO.BASE

AttenuationChannel0

Attentuation specified as a scalar from -41.95 to 0 dB with a resolution of 0.05 dB.Help for adi.FMComms8.Tx/AttenuationChannel0 is inherited from superclass ADI.ADRV9009.TX

AttenuationChannel1

Attentuation specified as a scalar from -41.95 to 0 dB with a resolution of 0.05 dB.Help for adi.FMComms8.Tx/AttenuationChannel1 is inherited from superclass ADI.ADRV9009.TX

EnableQuadratureTrackingChannel0

Option to enable quadrature tracking, specified as true or false. When this property is true, IQ imbalance compensation is applied to the transmitted signal.Help for adi.FMComms8.Tx/EnableQuadratureTrackingChannel0 is inherited from superclass ADI.ADRV9009.TX

EnableQuadratureTrackingChannel1

Option to enable quadrature tracking, specified as true or false. When this property is true, IQ imbalance compensation is applied to the transmitted signal.Help for adi.FMComms8.Tx/EnableQuadratureTrackingChannel1 is inherited from superclass ADI.ADRV9009.TX

EnableLOLeakageTrackingChannel0

Option to enable quadrature tracking, specified as true or false. When this property is true, LO leakage compensation is applied to the transmitted signal.Help for adi.FMComms8.Tx/EnableLOLeakageTrackingChannel0 is inherited from superclass ADI.ADRV9009.TX

EnableLOLeakageTrackingChannel1

Option to enable quadrature tracking, specified as true or false. When this property is true, LO leakage compensation is applied to the transmitted signal.Help for adi.FMComms8.Tx/EnableLOLeakageTrackingChannel1 is inherited from superclass ADI.ADRV9009.TX

EnableQuadratureCalibration

Option to enable quadrature calibration on initialization, specified as true or false. When this property is true, IQ imbalance compensation is applied to the input signal.Help for adi.FMComms8.Tx/EnableQuadratureCalibration is inherited from superclass ADI.ADRV9009.TX

EnableLOLeakageCorrection

Option to enable phase tracking, specified as true or false. When this property is true, at initialization LO leakage correction will be appliedHelp for adi.FMComms8.Tx/EnableLOLeakageCorrection is inherited from superclass ADI.ADRV9009.TX

EnableLOLeakageCorrectionExternal

Option to enable phase tracking, specified as true or false. When this property is true, at initialization LO leakage correction will be applied within an external loopback path. Note this requires external cabling.Help for adi.FMComms8.Tx/EnableLOLeakageCorrectionExternal is inherited from superclass ADI.ADRV9009.TX

PowerdownChannel0

Logical which will power down TX channel 0 when setHelp for adi.FMComms8.Tx/PowerdownChannel0 is inherited from superclass ADI.ADRV9009.TX

PowerdownChannel1

Logical which will power down TX channel 1 when setHelp for adi.FMComms8.Tx/PowerdownChannel1 is inherited from superclass ADI.ADRV9009.TX

DataSource

Data source, specified as one of the following: ‘DMA’ — Specify the host as the source of the data. ‘DDS’ — Specify the DDS on the radio hardware as the source of the data. In this case, each channel has two additive tones.Help for adi.FMComms8.Tx/DataSource is inherited from superclass ADI.COMMON.DDS

DDSFrequencies

Frequencies values in Hz of the DDS tone generators. For complex data devices the input is a [2xN] matrix where N is the available channels on the board. For complex data devices this is at most max(EnabledChannels)*2. For non-complex data devices this is at most max(EnabledChannels). If N < this upper limit, other DDSs are not set.Help for adi.FMComms8.Tx/DDSFrequencies is inherited from superclass ADI.COMMON.DDS

DDSScales

Scale of DDS tones in range [0,1]. For complex data devices the input is a [2xN] matrix where N is the available channels on the board. For complex data devices this is at most max(EnabledChannels)*2. For non-complex data devices this is at most max(EnabledChannels). If N < this upper limit, other DDSs are not set.Help for adi.FMComms8.Tx/DDSScales is inherited from superclass ADI.COMMON.DDS

DDSPhases

Phases of DDS tones in range [0,360000]. For complex data devices the input is a [2xN] matrix where N is the available channels on the board. For complex data devices this is at most max(EnabledChannels)*2. For non-complex data devices this is at most max(EnabledChannels). If N < this upper limit, other DDSs are not set.Help for adi.FMComms8.Tx/DDSPhases is inherited from superclass ADI.COMMON.DDS

EnableCyclicBuffers

Enable Cyclic Buffers, configures transmit buffers to be cyclic, which makes them continuously repeatHelp for adi.FMComms8.Tx/EnableCyclicBuffers is inherited from superclass ADI.COMMON.DDS


Example Usage
%% Configure device
tx = adi.FMComms8.Tx;
tx.uri = 'ip:analog.local';

tx.CenterFrequency = 1e9;

tx.DataSource = 'DMA';
tx.EnableCyclicBuffers = true;
tx.EnabledChannels = 1;
%% Generate tone
amplitude = 2^15; frequency = 0.12e6;
swv1 = dsp.SineWave(amplitude, frequency);
swv1.ComplexOutput = true;
swv1.SamplesPerFrame = 2^14;
swv1.SampleRate = tx.SamplingRate;
y = swv1();
% Send
tx(y);