sdrdev

Create radio object for interfacing with Xilinx Zynq-based radio hardware

Syntax

dev = sdrdev(DeviceName)
dev = sdrdev('AD936x','IPAddress',IPAddress)
dev = sdrdev('FMCOMMS5','IPAddress',IPAddress)
sdrdev
list = sdrdev

Description

example

dev = sdrdev(DeviceName) creates a radio object to interface with the radio hardware identified by DeviceName. This object enables you to configure the radio hardware and host computer for proper communication. To verify host-hardware communication, call info(dev) after creating the radio object.

Note

To receive or transmit data through the radio, you must create a receiver or a transmitter System object™ instead of a radio object. To create these objects, use the sdrrx and sdrtx functions.

dev = sdrdev('AD936x','IPAddress',IPAddress) creates a radio object to interface with an AD936x-based radio hardware and specified IP address. Use this syntax only if you configure the radio hardware with an IP address other than the default.

dev = sdrdev('FMCOMMS5','IPAddress',IPAddress) creates a radio object to interface with an FMCOMMS5 radio hardware and specified IP address. Use this syntax only if you configure the radio hardware with an IP address other than the default.

sdrdev or list = sdrdev lists radio devices included with the Communications Toolbox™ Support Package for Xilinx® Zynq®-Based Radio. The list does not reflect what devices are attached to the host. For a list of supported hardware in this support package, see Hardware and Software Requirements.

Examples

collapse all

Create a radio object for an AD936x-based radio hardware.

dev = sdrdev('AD936x')
dev = 

   SDRDevAD936x with properties:

          IPAddress: '192.168.3.2'
         DeviceName: 'AD936x'

Input Arguments

collapse all

Name of Xilinx Zynq-based radio hardware, specified as one of the these character vectors:

  • 'AD936x' — Use this option to interface with any of the following 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

  • 'FMCOMMS5' — Use this option to interface with a Xilinx ZC706 radio hardware with Analog Devices FMCOMMS5 RF card

  • 'ADI RF SOM' (to be removed)

  • 'ZC706 and FMCOMMS2/3/4' (to be removed)

  • 'ZedBoard and FMCOMMS2/3/4' (to be removed)

Data Types: char | string

IP address of the radio hardware, specified as a dotted-quad character vector.

This value must match the physical IP address of the radio hardware assigned during hardware setup. See Guided Host-Radio Hardware Setup. If you configure the radio hardware with an IP address other than the default, update IPAddress accordingly.

Data Types: char | string

Output Arguments

collapse all

Interface to the radio hardware, returned as a Xilinx Zynq-based radio object. For example:

Names of Xilinx Zynq-based radio hardware, returned as a cell array of character vectors.

Introduced in R2014b