comm.SDRDevFMCOMMS5

Interface with FMCOMMS5 Zynq radio hardware

Description

The comm.SDRDevFMCOMMS5 radio object interfaces with an FMCOMMS5 Zynq® radio hardware. Use this object to configure the radio hardware and the host computer for proper communication.

The object supports the Xilinx® ZC706 radio hardware with Analog Devices® FMCOMMS5 RF card.

Creation

To create a comm.SDRDevFMCOMMS5 radio object, call the sdrdev function with argument 'FMCOMMS5'.

dev = sdrdev('FMCOMMS5');

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('FMCOMMS5','IPAddress','192.168.30.2');

Properties

expand all

Name of FMCOMMS5 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 Guided Host-Radio Hardware Setup. 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('FMCOMMS5');
dev.IPAddress = '192.168.30.2';

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

dev = sdrdev('FMCOMMS5','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

Make sure your radio hardware is configured for host-radio communication by following the steps in Guided Host-Radio Hardware Setup. Then create an FMCOMMS5 radio object.

dev = sdrdev('FMCOMMS5')
dev = 

   SDRDevFMCOMMS5 with properties:

          IPAddress: '192.168.3.2'
         DeviceName: 'FMCOMMS5'

You can 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: ''ZC706 and FMCOMMS5' default bitstream, Path: /mnt/system.bit, 
               MD5: 64a68d1190660ab7fcfe63c567782b42'

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

Introduced in R2019a