background image

    [DHCP]
    UseHostname=false

sfp0 (static):

    [Match]
    Name=sfp0

    [Network]
    Address=192.168.10.2/24

    [Link]
    MTUBytes=9000

sfp1 (static):

    [Match]
    Name=sfp1

    [Network]
    Address=192.168.20.2/24

    [Link]
    MTUBytes=9000

Additional notes on networking:

Care needs to be taken when editing these files on the device, since 

vi

 / 

vim

 sometimes generates undo files (e.g.

/etc/systemd/network/sfp0.network~

), that 

systemd-networkd

 might accidentally pick up.

• 

Temporarily setting the IP addresses or MTU sizes via 

ifconfig

 or other command line tools will only change the value until the next reboot or

reload of the FPGA image.

• 

If the MTU of the device and host computers differ, streaming issues can occur.

• 

Streaming via SFP0 at 1 Gb rates requires a MTU of 

1500

• 

Streaming via SFP0 at 10 Gb rates requires a MTU of 

9000

• 

For addition details on network configuration here: 

https://files.ettus.com/manual/page_usrp_n3xx.html#n3xx_network_configuration

The FPGA image should match the version of UHD installed on the host computer, when operated in Network mode. Connect the device to the host
computer using either the RJ45 or SFP+ port, refer to the section above for detailed instructions.

To obtain all the FPGA images for a specific version of UHD, run the following command on the host computer with internet access:

   $ sudo uhd_images_downloader

Example Output:

   $ sudo uhd_images_downloader
   [INFO] Images destination: /usr/local/share/uhd/images
   00006 kB / 00006 kB (100%) usrp1_b100_fw_default-g6bea23d.zip
   19810 kB / 19810 kB (100%) x3xx_x310_fpga_default-gf1ba32fe.zip
   02757 kB / 02757 kB (100%) usrp2_n210_fpga_default-g6bea23d.zip
   02123 kB / 02123 kB (100%) n230_n230_fpga_default-ge57dfe0.zip
   00522 kB / 00522 kB (100%) usrp1_b100_fpga_default-g6bea23d.zip
   00491 kB / 00491 kB (100%) b2xx_b200_fpga_default-ge57dfe0.zip
   02415 kB / 02415 kB (100%) usrp2_n200_fpga_default-g6bea23d.zip
   08988 kB / 08988 kB (100%) e3xx_e320_fpga_default-g3de8954a.zip
   23045 kB / 23045 kB (100%) n3xx_n310_fpga_default-g3de8954a.zip
   00523 kB / 00523 kB (100%) b2xx_b205mini_fpga_default-ge57dfe0.zip
   18937 kB / 18937 kB (100%) x3xx_x300_fpga_default-gf1ba32fe.zip
   00017 kB / 00017 kB (100%) octoclock_octoclock_fw_default-g14000041.zip
   00007 kB / 00007 kB (100%) usrp2_usrp2_fw_default-g6bea23d.zip
   00009 kB / 00009 kB (100%) usrp2_n200_fw_default-g6bea23d.zip
   00450 kB / 00450 kB (100%) usrp2_usrp2_fpga_default-g6bea23d.zip
   00144 kB / 00144 kB (100%) b2xx_common_fw_default-ga69ab0c.zip
   25107 kB / 25107 kB (100%) n3xx_n320_fpga_default-g3de8954a.zip
   00464 kB / 00464 kB (100%) b2xx_b200mini_fpga_default-ge57dfe0.zip
   00319 kB / 00319 kB (100%) usrp1_usrp1_fpga_default-g6bea23d.zip
   04839 kB / 04839 kB (100%) usb_common_windrv_default-g14000041.zip
   00009 kB / 00009 kB (100%) usrp2_n210_fw_default-g6bea23d.zip
   16065 kB / 16065 kB (100%) n3xx_n300_fpga_default-g3de8954a.zip
   05578 kB / 05578 kB (100%) e3xx_e310_fpga_default-g4bc2c6f.zip
   00885 kB / 00885 kB (100%) b2xx_b210_fpga_default-ge57dfe0.zip
   [INFO] Images download complete.

NOTE: In the above example output, the Images Destination folder is printed:

   [INFO] Images destination: /usr/local/share/uhd/images

To list the N3xx FPGA images with a full path, run the command:

   $ ls -w 1 /usr/local/share/uhd/images/usrp_n3*.bit

   /usr/local/share/uhd/images/usrp_n300_fpga_AA.bit
   /usr/local/share/uhd/images/usrp_n300_fpga_HG.bit
   /usr/local/share/uhd/images/usrp_n300_fpga_WX.bit
   /usr/local/share/uhd/images/usrp_n300_fpga_XG.bit
   /usr/local/share/uhd/images/usrp_n310_fpga_AA.bit
   /usr/local/share/uhd/images/usrp_n310_fpga_HG.bit
   /usr/local/share/uhd/images/usrp_n310_fpga_WX.bit
   /usr/local/share/uhd/images/usrp_n310_fpga_XG.bit
   /usr/local/share/uhd/images/usrp_n320_fpga_AQ.bit
   /usr/local/share/uhd/images/usrp_n320_fpga_HG.bit
   /usr/local/share/uhd/images/usrp_n320_fpga_WX.bit
   /usr/local/share/uhd/images/usrp_n320_fpga_XG.bit
   /usr/local/share/uhd/images/usrp_n320_fpga_XQ.bit

To update the default 

HG

 variant of FPGA image, run the command:

   $ uhd_image_loader --args "type=n3xx,addr=<N3xx_IP_ADDR>,fpga=HG"

Содержание N321

Страница 1: ...Streaming SFP Port 1 10 3 Dual 10Gb Streaming SFP Ports 0 1 11 Verifying Device Operation 11 1 Subdevice Specification Mapping 11 1 1 N300 11 1 2 N310 11 1 2 1 UHD 3 11 x x 3 12 x x 11 1 2 2 UHD 3 13 x x 11 1 3 N320 11 1 4 N321 11 2 Supported Sample Rates 11 2 1 Example Sample Rates 11 2 2 N320 N321 Example Sample Rates 11 3 Probe the USRP 11 3 1 N300 N310 11 3 2 N320 11 3 3 N321 11 4 ASCII Art Ex...

Страница 2: ...0 Gigabit Ethernet interface for sample streaming In addition to the Ethernet interface used for sampling streaming your host computer will require a separate 1 Gigabit Ethernet interface for command and control streaming For Stand Alone Embedded Mode A host computer with an available 1 Gigabit Ethernet port or a USB 2 0 port to remotely access the embedded Linux operating system running on ARM CP...

Страница 3: ... be used to connect to the ARM via SSH By default the 1Gb RJ45 connection is configured to use a DHCP assigned IP address Dual SFP Connections The Dual SFP Connections support multiple configurations for streaming high speed low latency data depending upon the FPGA image which is loaded QSFP Connection N320 N321 Only The QSFP Connection supports 2 x 10Gb lanes for streaming high speed low latency ...

Страница 4: ...k ether 00 00 00 00 00 00 brd ff ff ff ff ff ff If you do not have access to a network with a DHCP server you can create one using the Linux utility dnsmasq sudo dnsmasq i ETHERNET_ADAPTER_NAME dhcp range 192 168 1 151 192 168 1 254 except interface lo bind dynamic no daemon NOTE Modify the value ETHERNET_ADAPTER_NAME to match the interface you would like to create a DHCP server on After the devic...

Страница 5: ...blk0p3 size 7851737088 module block_device 0 1024 KiB 0 2048 KiB 0 3072 KiB truncated for readability 99 448512 KiB 99 449536 KiB 100 450185 KiB INFO 3004 wrote 7851737088 7851737088 bytes of update to device dev mmcblk0p3 module device INFO 3009 Enabling partition with new image installed to be a boot candidate 3 module device The artifact can also be stored on a remote server mender rootfs http ...

Страница 6: ...x_e320_fpga_default g3de8954a zip 23045 kB 23045 kB 100 n3xx_n310_fpga_default g3de8954a zip 00523 kB 00523 kB 100 b2xx_b205mini_fpga_default ge57dfe0 zip 18937 kB 18937 kB 100 x3xx_x300_fpga_default gf1ba32fe zip 00017 kB 00017 kB 100 octoclock_octoclock_fw_default g14000041 zip 00007 kB 00007 kB 100 usrp2_usrp2_fw_default g6bea23d zip 00009 kB 00009 kB 100 usrp2_n200_fw_default g6bea23d zip 0045...

Страница 7: ...ersion 7 2 0 Boost_106400 UHD_3 11 1 0 0 unknown INFO MPMD Initializing 1 device s in parallel with args mgmt_addr 127 0 0 1 type n3xx product n310 serial 313ABDA claimed False skip_ini INFO MPMD Claimed device without full initialization INFO MPMD IMAGE LOADER Starting update This may take a while INFO MPM PeriphManager Updating component fpga INFO MPM PeriphManager Updating component dts INFO MP...

Страница 8: ... 255 255 0 Gateway 0 0 0 0 MTU 9000 2 Configure your Host s 2 10Gb Ethernet adapter as shown below IP Address 192 168 20 1 Subnet Mask 255 255 255 0 Gateway 0 0 0 0 MTU 9000 NOTE When operating at 10Gb speeds it is important to set a MTU of 9000 and not a value of automatic 3 Connect the USRP to a host computer using either a 10Gb SFP or Fiber cables to SFP Ports 0 1 The Green LEDs above SFP Ports...

Страница 9: ...6 8 9286e6 7 8125e6 6 9444e6 6 25e6 4 1667e6 3 90625e6 1 953125e6 1 2 153 6e6 76 8e6 38 4e6 25 6e6 19 2e6 15 36e6 12 8e6 10 971e6 9 6e6 8 5333e6 7 68e6 5 12e6 4 8e6 2 4e6 1 5 Listed below are common sample rates for the given master clock rates This is not a complete listing of the supported sample rates Master Clock Rate Decimation Interpolation Rate Host Sample Rate Msps 1 2 4 6 8 10 12 14 16 18...

Страница 10: ... 0 0 step 0 0 dB Gain range dsa 0 0 to 0 0 step 0 0 dB Gain range amp 0 0 to 0 0 step 0 0 dB Bandwidth range 20000000 0 to 100000000 0 step 0 0 Hz Connection Type IQ Uses LO offset No _____________________________________________________ RX Codec A Name AD9371 Dual ADC Gain Elements None _____________________________________________________ RX Dboard B _____________________________________________...

Страница 11: ...ing 1 device s in parallel with args mgmt_addr 127 0 0 1 type n3xx product n320 serial 3181FFA claimed False INFO MPM main Launching USRP MPM version 3 14 0 0 g6875d061 INFO MPM main Spawning RPC process INFO MPM PeriphManager Device serial number 3181FFA INFO MPM Rhodium 0 Successfully loaded all peripherals INFO MPM Rhodium 1 Successfully loaded all peripherals INFO MPM PeriphManager Initialized...

Страница 12: ... Serial 3175A67 _____________________________________________________ RX Frontend 0 Name Rhodium Antennas TX RX RX2 CAL TERM Sensors lo_locked Freq range 1 000 to 6000 000 MHz Gain range all 0 0 to 60 0 step 1 0 dB Bandwidth range 250000000 0 to 250000000 0 step 0 0 Hz Connection Type Uses LO offset No _____________________________________________________ RX Codec B Name ad9695 625 Gain Elements N...

Страница 13: ..._ Mboard ni n3xx 3166646 eeprom_version 2 mpm_version 3 14 0 0 g6875d061 pid 16962 product n320 rev 6 rpc_connection remote serial 3166646 type n3xx MPM Version 1 2 FPGA Version 5 3 FPGA git hash 3de8954 clean RFNoC capable Yes Time sources internal external gpsdo sfp0 Clock sources external internal gpsdo Sensors gps_sky gps_time gps_gpgga gps_locked fan gps_tpv ref_locked temp __________________...

Страница 14: ...e connection although this is not recommended as the formatting may not render correctly You can run a simple test of the N3xx USRP by connecting an antenna and observing the spectrum of a commercial FM radio station in real time following the steps below 1 Attach an antenna to the Ch0 RX2 antenna port of the N3xx 2 From your host computer run the command N300 N310 usr local lib uhd examples rx_as...

Страница 15: ...ps Actual RX Rate 2 500000 Msps Setting RX Freq 98 500000 MHz Actual RX Freq 98 500000 MHz Setting RX Gain 50 000000 dB Actual RX Gain 50 000000 dB Checking RX all_los locked Done Included with the UHD driver example programs is a utility benchmark_rate to benchmark the transport link of the system A system s maximum performance is dependent upon many factors benchmark_rate will exercise the trans...

Страница 16: ...bdev A 0 A 1 B 0 B 1 N320 N321 This example will test two full duplex streams at 30 72 MS s for 60 seconds usr local lib uhd examples benchmark_rate args type n3xx mgmt_addr 192 168 1 151 addr 192 168 20 2 master_clock_rate 245 76e6 duration 60 channels 0 1 2 3 rx_rate 30 72e6 rx_subdev A 0 B 0 tx_rate 30 72e6 tx_subdev A 0 B 0 NOTE This example requires the XG FPGA image to be loaded N310 This ex...

Страница 17: ...of all past conversations and discussions going back many years Your question or problem may have already been addressed before and a relevant or helpful solution may already exist in the archive Discussions involving the USRP hardware and the UHD software itself are best addressed through the u srp users mailing list at http usrp users ettus com Discussions involving the use of GNU Radio with USR...

Отзывы: