Software Development on the E3xx USRP - Building RFNoC UHD / GNU Radio / gr-ettus from Source
Running RFNoC Fosphor
In order to run RFNoC Fosphor, we will first need to generate the Python file to be ran on the E3xx USRP.
On the Host machine, open GNU Radio:
$ gnuradio-companion
Within GNU Radio, open the following files:
/home/user/rfnoc/gr-ettus/examples/rfnoc/rfnoc_fosphor_network_host.grc /home/user/rfnoc/gr-ettus/examples/rfnoc/rfnoc_fosphor_network_usrp.grc
Select the rfnoc_fosphor_network_usrp.grc
flowgraph.
Modify the Variable ip_addr
and set the value to match the E3xx USRP's address: 192.168.10.1
Next, click the Generate the flow graph
button. Note the file path in the console where it is generating the rfnoc_fosphor_network_usrp.py
is created.
Copy the generated Python file, rfnoc_fosphor_network_usrp.py
to the E3xx using the scp
utility.
$ scp /home/user/rfnoc/gr-ettus/examples/rfnoc/rfnoc_fosphor_network_usrp.py root@192.168.10.2:~/.
You will now need to SSH to the USRP E3xx.
$ ssh root@192.168.10.2
Verify that the rfnoc_fosphor_network_usrp.py
file was copied to your E3xx.
# ls -al rfnoc_fosphor_network_usrp.py
Expected Output:
root@ettus-e3xx-sg3:~# ls -al rfnoc_fosphor_network_usrp.py -rwxr-xr-- 1 root root 8980 Jan 15 04:43 rfnoc_fosphor_network_usrp.py
Source the Environment Setup file, setup_env.sh
.
# source ./localinstall/setup_env.sh
Next, run rfnoc_fosphor_network_usrp.py
. Leave this window open in the background.
# python rfnoc_fosphor_network_usrp.py
Return to gnuradio-companion
, select the rfnoc_fosphor_network_host.grc
flowgraph, and click the "Execute the flow graph" button.
Maximize the GUI window that has started. RFNoC Fosphor should be running now on the E3xx and be displayed on your host computer. Adjust the Frequency to a strong set of signals, and adjust the Gain slider as needed to produce the best signal to noise ratio for your RF environment.