Changes between Version 3 and Version 4 of Tutorials/Wireless/GNURadioOFDM
- Timestamp:
- Oct 4, 2023, 3:54:04 AM (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/Wireless/GNURadioOFDM
v3 v4 5 5 === Description === 6 6 7 This tutorial illustrates the use of GNURadio OFDM blocks for data transfer between a pair of USRPs. The GNURadio flowgraphs used here were obtained from the workshop material provided for the [https://gitlab.flux.utah.edu/powderrenewpublic/mww2019 POWDER-RENEW Mobile and Wireless Week 2019]. They are mainly based on the GRC examples available in the [GNURadio repository https://github.com/gnuradio/gnuradio/tree/main/gr-digital/examples/ofdm]. For a good understanding of the flowgraphs and the blocks, please refer to OFDM pages on GNURadio Wiki such as [https://wiki.gnuradio.org/index.php/Basic_OFDM_Tutorial OFDM Basics] and [https://wiki.gnuradio.org/index.php/Schmidl_%26_Cox_OFDM_synch. OFDM Synchronization]7 This tutorial illustrates the use of GNURadio OFDM blocks for data transfer between a pair of USRPs. The GNURadio flowgraphs used here were obtained from the workshop material provided for [https://gitlab.flux.utah.edu/powderrenewpublic/mww2019 POWDER-RENEW Mobile and Wireless Week 2019]. They are mainly based on the GRC examples available in the [https://github.com/gnuradio/gnuradio/tree/main/gr-digital/examples/ofdm GNURadio repository]. For a good understanding of the flowgraphs and the blocks, please refer to OFDM pages on GNURadio Wiki such as [https://wiki.gnuradio.org/index.php/Basic_OFDM_Tutorial OFDM Basics] and [https://wiki.gnuradio.org/index.php/Schmidl_%26_Cox_OFDM_synch. OFDM Synchronization] 8 8 9 9 … … 48 48 49 49 ==== Find the USRPs ==== 50 1. As mentioned in the [https://orbit-lab.org/wiki/Hardware/bDomains/cSandboxes/bSB2 sb2.orbit] page, the X310s have their port 1 directly connected to their respective nodes, and the IP addresses hardcoded to 192.168.40.2 as given in the [https://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_setup_network X310 manual]. To access the X310s Run eth_config_sb2_orbit.sh on both the nodes. It sets a static IP address 192.168.40.1 on eno2 interface. 51 {{{#!shell 50 52 53 }}} 54 2. Run uhd_find_devices and uhd_usrp_probe to detect the X310s and to make sure they have a compatible firmware installed. 55 {{{#!shell 56 }}} 57 3. In case of firmware mismatch, follow the directions displayed in the error message and use uhd_image_loader to update the firmware. 58 {{{#!shell 59 }}} 51 60 52 61 ==== Run the GRC application ==== 62 1. Start the OFDM receiver on node1-2 53 63 {{{#!shell 54 gnuradio-companion /root/gr-ettus/examples/rfnoc/rfnoc_fosphor.grc64 gnuradio-companion 55 65 }}} 56 66 … … 66 76 }}} 67 77 68 With X11 forwarding enabled, GRC should show up as below. Set Device Arguments in the Device3 block to "resource=RIO0,fpga-path=/root/bit/rfnoc3_15_fosphor_x310.lvbitx".78 With X11 forwarding enabled, GRC should show up as below. 69 79 70 [[Image( rfnoc_fosphor_grc.jpg, width=800px)]]80 [[Image(TX_OFDM_grc.png, width=800px)]] 71 81 72 Set center frequency, bandwidth and run the application to see spectrum display. 82 2. Run the OFDM transmitter on node1-1 83 {{{#!shell 84 }}} 85 [[Image(TX_OFDM_grc.png, width=800px)]] 73 86 74 || [[Image(rfnoc_fosphor_display.jpg, width=800px)]] || [[Image(rfnoc_fosphor_display_bed.jpg, width=800px)]] || 87 3. Make sure the device arguments on both nodes are correctly set as shown below. Check the center frequencies and sample rates, and make sure they match. TX_OFDM.grc has a "File Source" block which reads the text file to be transmitted. RX_OFDM.grc stores the received data in a local file that is specified in the "File Sink" block. 88 [[Image(TX_OFDM_grc.png, width=800px)]] 89 90 4. Run the receive flowgraph followed by the transmit flowgraph. 91