Changes between Version 5 and Version 6 of Tutorials/Wireless/GNURadioOFDM
- Timestamp:
- Oct 4, 2023, 4:30:03 AM (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/Wireless/GNURadioOFDM
v5 v6 120 120 121 121 }}} 122 3. In case of firmware mismatch, follow the directions displayed in the error message and use uhd_image_loader to update the firmware. 122 {{{#!box note width=600px 123 In case of firmware mismatch, follow the directions displayed in the error message and use uhd_image_loader to update the firmware. 124 }}} 125 123 126 124 127 ==== Run the GRC application ==== 125 1. Start theOFDM receiver on node1-2128 1. Open OFDM receiver on node1-2 126 129 {{{#!shell 127 gnuradio-companion 128 }}} 129 130 {{{#!shell 131 root@sdr2-s1-lg1:~# gnuradio-companion /root/gr-ettus/examples/rfnoc/rfnoc_fosphor.grc 132 <<< Welcome to GNU Radio Companion 3.7.14.0 >>> 130 root@node1-2:~# cd GNURadioOFDMExample/ 131 root@node1-2:~/GNURadioOFDMExample# gnuradio-companion RX_OFDM_GUI.grc 132 <<< Welcome to GNU Radio Companion 3.9.8.0 >>> 133 133 134 134 Block paths: 135 135 /usr/local/share/gnuradio/grc/blocks 136 136 137 Loading: "/root/ gr-ettus/examples/rfnoc/rfnoc_fosphor.grc"137 Loading: "/root/GNURadioOFDMExample/RX_OFDM_GUI.grc" 138 138 >>> Done 139 139 140 }}} 140 141 141 142 With X11 forwarding enabled, GRC should show up as below. 142 143 143 [[Image( TX_OFDM_grc.png, width=800px)]]144 [[Image(RX_OFDM_grc.PNG, width=800px)]] 144 145 145 2. Run theOFDM transmitter on node1-1146 2. Open OFDM transmitter on node1-1 146 147 {{{#!shell 148 root@node1-1:~# cd GNURadioOFDMExample/ 149 root@node1-1:~/GNURadioOFDMExample# gnuradio-companion TX_OFDM.grc 150 <<< Welcome to GNU Radio Companion 3.9.8.0 >>> 151 152 Block paths: 153 /usr/local/share/gnuradio/grc/blocks 154 155 Loading: "/root/GNURadioOFDMExample/TX_OFDM.grc" 156 >>> Done 157 147 158 }}} 148 [[Image(TX_OFDM_grc. png, width=800px)]]159 [[Image(TX_OFDM_grc.PNG, width=800px)]] 149 160 150 161 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. 151 [[Image(TX_OFDM_grc.png, width=800px)]] 162 || [[Image(OFDM_SB2_args.PNG, width=300px)]] || [[Image(FileSource.PNG, width=300px)]] || [[Image(FileSink.PNG, width=300px]] || 152 163 153 164 4. Run the receive flowgraph followed by the transmit flowgraph. 165 [[Image(RX_OFDM_samples.PNG, width=800px)]] 154 166