Main Content

comm.SDRDevE3xx

Interface with USRP E3xx radio hardware

Description

Add-On Required: This feature requires the Communications Toolbox Support Package for USRP Embedded Series Radio add-on.

The comm.SDRDevE3xx radio object interfaces with a USRP™ E3xx radio hardware. With this object, you can configure the radio hardware and the host computer for proper communication.

The object supports these radio hardware devices:

  • USRP E310

  • USRP E312

Creation

To create a comm.SDRDevE3xx radio object, use the sdrdev function with argument 'E3xx'.

dev = sdrdev('E3xx')

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

Properties

expand all

Name of E3xx radio hardware, specified as a character vector.

Data Types: string | char

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. For more information, see Guided Host-Radio Hardware Setup. If you configure the radio hardware with an IP address other than the default, update the IPAddress accordingly.

For example:

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

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

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

Create a radio object for your radio hardware.

dev = sdrdev('E3xx')
dev = 
  SDRDevE3xx with properties:

     IPAddress: '192.168.3.2'
    DeviceName: 'E3xx'

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: 33a4ba3394d87d450fb69d6f9a84bbbf'

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 R2019b