Send data to FMCOMMS5 Zynq radio hardware
The comm.SDRTxFMCOMMS5
System object™ sends data to an FMCOMMS5 Zynq® radio hardware. The object supports the Xilinx® ZC706 radio hardware with Analog Devices® FMCOMMS5 RF card.
You can use the comm.SDRTxFMCOMMS5
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.SDRTxFMCOMMS5
System object to send data to the radio hardware.
To send data to the FMCOMMS5 Zynq radio hardware:
Create the comm.SDRTxFMCOMMS5
object and set its properties.
Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?.
creates an FMCOMMS5 transmitter System object with default properties. Use this object to send data to the FMCOMMS5
Zynq radio hardware.tx
= sdrtx('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.tx
= sdrtx('FMCOMMS5'
,Name,Value
)
For example, create a transmitter with an IP address of 192.168.3.2. Configure the transmitter to send data at 2.2 GHz, with a baseband sample rate of 800 kHz.
tx = sdrtx('FMCOMMS5', ... 'IPAddress','192.168.3.2', ... 'CenterFrequency',2.2e9, ... 'BasebandSampleRate',800e3);
tx(
sends data to the radio hardware
associated with the data
)comm.SDRTxFMCOMMS5
transmitter System object
tx
.
tx()
enables DDS transmission. To use this syntax, set the
DataSourceSelect
property to 'DDS'
.
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)