Version 42 (modified by 13 days ago) ( diff ) | ,
---|
Site Navigation
Spectrum visualization with Fosphor
Description
This tutorial illustrates use of RFNoC Fosphor block for spectrum visualization. RFNoC Fosphor block is the FPGA accelerated version of gr-fosphor (CPU/GPU version). As any other RFNoC blocks, RFNoC Fosphor can be instantiated on 3rd generation USRP devices, and can be used in conjunction with gnuradio-companion(GRC) on the host computer. This tutorial demonstrates GRC RFNoC Fosphor application on USRP-2974 in COSMOS testbed.
Running a GRC application on a testbed node requires using graphical user interface(GUI) on the node. This tutorial shows how to setup a Moba Xterm session with X11 forwarding in order to access the GRC GUI. The node image used in this tutorial also has a desktop environment and chrome remote desktop server installed, enabling platform-independent remote desktop access.
Prerequisites
In order to access the test bed, create a reservation and have it approved by the reservation service. Access to the resources is granted after the reservation is confirmed. Please follow the process shown on the COSMOS getting started page to get started.
Resources required
1 USRP-2974 (sdr2-md1 or sdr2-s1-lg1) on COSMOS SB1 or COSMOS bed.
Tutorial Setup
Follow the steps below to gain access to the sandbox 1 console and set up nodes with appropriate images.
- If you don't have one already, sign up for a COSMOS account
- Create a resource reservation on sandbox 1
- Login into sandbox 1 console (console.sb1.cosmos-lab.org) with an SSH session. SSH session for COSMOS SB1 with Moba Xterm can be setup as shown, with remote host = console.sb1.cosmos-lab.org, and username = your COSMOS username. X11 forwarding is enabled to access GUI.
- Make sure all the nodes and devices used in the experiment are turned off:
omf tell -a offh -t sdr2-s1-lg1
- Load rfnoc_fosphor_uhd4_4.ndz on sdr2-s1-lg1.
omf load -i rfnoc_fosphor_uhd4_4.ndz -t sdr2-s1-lg1
- Turn the SDR on and check the status
omf tell -a on -t sdr2-s1-lg1
omf stat -t sdr2-s1-lg1
- Log into the SDR with -Y for X11 forwarding
ssh root@sdr2-s1-lg1 -Y
Configure MobaXterm for node access
Another way to access the SDR is to set up a Moba Xterm session directly to the SDR, with the console as the jump host. As shown in the pictures below, for the SSH session, use remote host = sdr2-s1-lg1.sb1.cosmos-lab.org username = root. Enable X11 forwarding in advanced settings. Set up jump host in network settings, with gateway host = console.sb1.cosmos-lab.org, username = your cosmos username.
The following is displayed when this session runs.
┌────────────────────────────────────────────────────────────────────┐ │ • MobaXterm 20.6 • │ │ (SSH client, X-server and networking tools) │ │ │ │ ➤ SSH session to root@sdr2-s1-lg1.sb1.cosmos-lab.org │ │ • SSH gateway : ✔ (myusername@console.sb1.cosmos-lab.org) │ │ • SSH compression : ✔ │ │ • SSH-browser : ✔ │ │ • X11-forwarding : ✔ (remote display is forwarded through SSH) │ │ • DISPLAY : ✔ (automatically set on remote server) │ │ │ │ ➤ For more info, ctrl+click on help or visit our website │ └────────────────────────────────────────────────────────────────────┘ Last login: Fri Dec 11 04:49:36 2020 from 10.106.0.21 root@sdr2-s1-lg1:~#
Experiment Execution
RFNoC Fosphor FPGA image
Custom USRP-2974 FPGA image /usr/local/share/fosphor_bit/usrp_x310_fpga_XG.lvbitx will be used for this tutorial. This can be verified by looking at the RFNoC blocks as follows.
Run rfnoc-fosphor GRC application
Set center frequency, bandwidth and run the application to see spectrum display.
Attachments (11)
-
jumphost.png
(24.8 KB
) - added by 4 years ago.
Jumphost configuration
-
nodessh.png
(23.7 KB
) - added by 4 years ago.
SSH Configuration
- mobaxterm_sb1_session.JPG (77.7 KB ) - added by 4 years ago.
- nodessh.JPG (71.8 KB ) - added by 4 years ago.
- rfnoc_fosphor_grc.jpg (422.1 KB ) - added by 4 years ago.
- rfnoc_fosphor_display.jpg (185.3 KB ) - added by 4 years ago.
- rfnoc_fosphor_display_bed.jpg (163.9 KB ) - added by 4 years ago.
- rfnoc_fosphor_2_4G.PNG (715.4 KB ) - added by 13 days ago.
- usrp_probe_fosphor.PNG (312.9 KB ) - added by 13 days ago.
- launch_grc_fosphor.png (86.0 KB ) - added by 13 days ago.
- rfnoc_fosphor_grc.png (318.9 KB ) - added by 13 days ago.