Receive data from AD936x-based Zynq radio hardware
The comm.SDRRxAD936x
System object™ receives data from an AD936x-based Zynq® radio hardware. The object supports these radio hardware devices:
ADI RF SOM
Xilinx® ZC706 with Analog Devices® FMCOMMS2/3/4 RF card
ZedBoard™ with Analog Devices FMCOMMS2/3/4 RF card
Xilinx ZCU102 with Analog Devices FMCOMMS2/3/4 RF card
You can use the comm.SDRRxAD936x
System object to simulate and develop various software-defined radio (SDR) applications. This
diagram shows the conceptual overview of transmitting and receiving radio signals in
MATLAB® using the Communications Toolbox™ Support Package for Xilinx
Zynq-Based Radio. MATLAB interacts with the comm.SDRRxAD936x
receiver System object to receive data from the radio hardware.
To receive data from the AD936x-based Zynq radio hardware:
Create the comm.SDRRxAD936x
object and set its
properties.
Call the object as if it were a function.
To learn more about how System objects work, see What Are System Objects?.
creates an AD936x receiver System object with default properties. Use this object to receive data from the
AD936x-based radio hardware.rx
= sdrrx('AD936x'
)
creates the object with properties set by using one or more name-value pair arguments.
Enclose the property name inside quotes, followed by the specified value. Unspecified
properties take default values.rx
= sdrrx('AD936x'
,Name,Value
)
For example, create a receiver with an IP address of 192.168.3.2. Configure the receiver to receive data at 2.2 GHz, with a baseband sample rate of 800 kHz.
rx = sdrrx('AD936x', ... 'IPAddress','192.168.3.2', ... 'CenterFrequency',2.2e9, ... 'BasebandSampleRate',800e3);
[
returns data received from the radio hardware associated with the
data
,validData
,overflow
]
= rx()comm.SDRRxAD936x
receiver System object
rx
. The output validData
indicates whether the
object has received data from the radio hardware. The output overflow
indicates data discontinuity. If overflow
is true
,
then data
does not represent contiguous data. The first valid data
frame can contain transient values, resulting in packets containing undefined data.
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)