Receive data from FMCOMMS5 Zynq radio hardware
The comm.SDRRxFMCOMMS5
System object™ receives data from an FMCOMMS5 Zynq® radio hardware. The object supports the Xilinx® ZC706 radio hardware with Analog Devices® FMCOMMS5 RF card.
You can use the comm.SDRRxFMCOMMS5
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.SDRRxFMCOMMS5
System object to receive data from the radio hardware.
To receive data from the FMCOMMS5 Zynq radio hardware:
Create the comm.SDRRxFMCOMMS5
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 FMCOMMS5 receiver System object with default properties. Use this object to receive data from the FMCOMMS5
Zynq radio hardware.rx
= sdrrx('FMCOMMS5'
)
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('FMCOMMS5'
,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('FMCOMMS5', ... '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.SDRRxFMCOMMS5
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)