adi.ADRV9009.Rx#

The adi.ADRV9009.Rx System object is a signal source that can receive
complex data from the ADRV9009.

rx = adi.ADRV9009.Rx;
rx = adi.ADRV9009.Rx('uri','ip:192.168.2.1');

ADRV9009 Datasheet
Creation

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

dev = adi.ADRV9009.Rx
dev = adi.ADRV9009.Rx(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.

GainControlMode

specified as one of the following: ‘slow_attack’ — For signals with slowly changing power levels ‘manual’ — For setting the gain manually with the Gain property

GainChannel0

Channel 0 gain, specified as a scalar from 1 dB to 30 dB. The acceptable minimum and maximum gain setting depends on the center frequency.

GainChannel1

Channel 1 gain, specified as a scalar from 1 dB to 30 dB. The acceptable minimum and maximum gain setting depends on the center frequency.

EnableQuadratureTrackingChannel0

Option to enable quadrature tracking, specified as true or false. When this property is true, IQ imbalance compensation is applied to the input signal.

EnableQuadratureTrackingChannel1

Option to enable quadrature tracking, specified as true or false. When this property is true, IQ imbalance compensation is applied to the input signal.

EnableHarmonicDistortionTrackingChannel0

Option to enable quadrature tracking, specified as true or false. When this property is true, IQ imbalance compensation is applied to the input signal.

EnableHarmonicDistortionTrackingChannel1

Option to enable quadrature tracking, specified as true or false. When this property is true, IQ imbalance compensation is applied to the input signal.

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.

EnablePhaseCorrection

Option to enable phase tracking, specified as true or false. When this property is true, Phase differences between transceivers will be deterministic across power cycles and LO changes

PowerdownChannel0

Logical which will power down RX channel 0 when set

PowerdownChannel1

Logical which will power down RX channel 1 when set

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.ADRV9009.Rx/uri is inherited from superclass MATLABSHARED.LIBIIO.BASE

enIO

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


Example Usage
%% Rx set up
rx = adi.ADRV9009.Rx('uri','ip:analog.local');

rx.CenterFrequency = 1e9;

rx.EnabledChannels = 1;
%% Run
for k=1:10
    valid = false;
    while ~valid
        [out, valid] = rx();
    end
end