Changes between Version 3 and Version 4 of Tutorials/Wireless/GNURadioOFDM


Ignore:
Timestamp:
Oct 4, 2023, 3:54:04 AM (14 months ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/GNURadioOFDM

    v3 v4  
    55=== Description ===
    66
    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]
     7This 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]
    88
    99
     
    4848
    4949==== Find the USRPs ====
     501. 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
    5052
     53}}}
     542. 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}}}
     573. 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}}}
    5160
    5261==== Run the GRC application ====
     621. Start the OFDM receiver on node1-2
    5363{{{#!shell
    54 gnuradio-companion  /root/gr-ettus/examples/rfnoc/rfnoc_fosphor.grc
     64gnuradio-companion 
    5565}}}
    5666
     
    6676}}}
    6777
    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".
     78With X11 forwarding enabled, GRC should show up as below.
    6979
    70 [[Image(rfnoc_fosphor_grc.jpg, width=800px)]]
     80[[Image(TX_OFDM_grc.png, width=800px)]]
    7181
    72 Set center frequency, bandwidth and run the application to see spectrum display.
     822. Run the OFDM transmitter on node1-1
     83{{{#!shell
     84}}}
     85[[Image(TX_OFDM_grc.png, width=800px)]]
    7386
    74 || [[Image(rfnoc_fosphor_display.jpg, width=800px)]] || [[Image(rfnoc_fosphor_display_bed.jpg, width=800px)]] ||
     873. 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
     904. Run the receive flowgraph followed by the transmit flowgraph.
     91