Main Content

comm.SDRDevAD936x

Interface with AD936x-based Zynq radio hardware

Add-On Required: This feature requires the SoC Blockset Support Package for Xilinx Devices add-on.

Description

The comm.SDRDevAD936x radio object interfaces with an AD936x-based Zynq® radio hardware. With this object, you can configure the radio hardware and the host computer for proper communication.

To use this object, in the hardware setup, select one of these supported boards and add-on cards.

  • Analog Devices® RF SOM

  • Xilinx® Zynq ZC706 Evaluation Kit with Analog Devices FMCOMMS2/3/4 RF card

  • ZedBoard™ with Analog Devices FMCOMMS2/3/4 RF card

  • Zynq UltraScale+™ MPSoC ZCU102 Evaluation Kit with Analog Devices FMCOMMS2/3/4 RF card

Creation

To create a comm.SDRDevAD936x radio object, use the sdrdev function with argument 'AD936x'.

dev = sdrdev('AD936x')

If you configure the radio hardware with an IP address other than the default during the host-radio hardware setup, you can also specify the new IP address when creating the object. Set the IPAddress property upon creation of the object by using a name-value pair.

dev = sdrdev('AD936x','IPAddress','192.168.30.2');

Properties

expand all

Name of AD936x-based Zynq radio hardware, specified as a character vector.

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

The IPAddress property of the radio object must match the physical IP address of the radio hardware assigned during hardware setup. For more information, see Set Up Xilinx Devices. By default, this IP address is '192.168.3.2'. If you configure the radio hardware with an IP address other than the default, update the IPAddress property of the radio object.

dev = sdrdev('AD936x');
dev.IPAddress = '192.168.30.2';

Alternatively, you can specify the IP address when creating the object:

dev = sdrdev('AD936x','IPAddress','192.168.30.2');

Data Types: string | char

Object Functions

downloadImageDownload SD card image or bitstream file
infoGet radio hardware information
testConnectionTest connection between host and radio hardware

Examples

collapse all

Create a radio object for your AD936x-based Zynq radio hardware.

dev = sdrdev('AD936x')
dev = 
  SDRDevAD936x with properties:

     IPAddress: '192.168.3.2'
    DeviceName: 'AD936x'

Use this object to get radio hardware information.

info(dev)
## Establishing connection to hardware. This process can take several seconds.
ans = struct with fields:
       Status: 'Full information'
       libiio: 'Host version: 0.17.g5bdc242'
          HDL: 'PCORE Version: 10.0b'
    Bitstream: 'Custom bitstream loaded, Path: /mnt/system.bit, MD5: fe4892c9e6ac1f5aeb5831c4b3359978'

You can also use this object to test host-radio connectivity.

testConnection(dev)
## Pinging radio IP address
## Checking compatibility of software with hardware
## Testing data path from Zynq board to host
## All tests PASSED.
ans = logical
   1

Version History

Introduced in R2018b