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


Ignore:
Timestamp:
Oct 4, 2023, 4:08:57 AM (14 months ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/GNURadioOFDM

    v4 v5  
    4848
    4949==== 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.
     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, and modifies the maximum send and receive socket buffer sizes.
    5151{{{#!shell
    52 
     52root@node1-2:~# ./eth_config_sb2_orbit.sh
     53net.core.wmem_max = 25000000
     54net.core.rmem_max = 25000000
     55root@node1-2:~# ip addr show DATA2
     564: DATA2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000
     57    link/ether f4:52:14:83:af:80 brd ff:ff:ff:ff:ff:ff
     58    inet 192.168.40.1/24 scope global DATA2
     59       valid_lft forever preferred_lft forever
     60    inet6 fe80::f652:14ff:fe83:af80/64 scope link
     61       valid_lft forever preferred_lft forever
    5362}}}
    54632. Run uhd_find_devices and uhd_usrp_probe to detect the X310s and to make sure they have a compatible firmware installed.
    5564{{{#!shell
     65root@node1-2:~# uhd_find_devices
     66[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.4.0.0-0ubuntu1~focal1
     67--------------------------------------------------
     68-- UHD Device 0
     69--------------------------------------------------
     70Device Address:
     71    serial: 30F10F9
     72    addr: 192.168.40.2
     73    fpga: XG
     74    name:
     75    product: X310
     76    type: x300
     77
     78root@node1-2:~# uhd_usrp_probe --args="addr=192.168.40.2"
     79[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.4.0.0-0ubuntu1~focal1
     80[INFO] [X300] X300 initialization sequence...
     81[INFO] [X300] Maximum frame size: 8000 bytes.
     82[INFO] [GPS] No GPSDO found
     83[INFO] [X300] Radio 1x clock: 200 MHz
     84  _____________________________________________________
     85 /
     86|       Device: X-Series Device
     87|     _____________________________________________________
     88|    /
     89|   |       Mboard: X310
     90|   |   revision: 8
     91|   |   revision_compat: 7
     92|   |   product: 30818
     93|   |   mac-addr0: 00:80:2f:27:0d:51
     94|   |   mac-addr1: 00:80:2f:27:0d:52
     95|   |   gateway: 192.168.10.1
     96|   |   ip-addr0: 192.168.10.2
     97|   |   subnet0: 255.255.255.0
     98|   |   ip-addr1: 192.168.20.2
     99|   |   subnet1: 255.255.255.0
     100|   |   ip-addr2: 192.168.30.2
     101|   |   subnet2: 255.255.255.0
     102|   |   ip-addr3: 192.168.40.2
     103|   |   subnet3: 255.255.255.0
     104|   |   serial: 30F10F9
     105.
     106.
     107.
     108.
     109|   |    /
     110|   |   |       RX Frontend: 0
     111|   |   |   Name: UBX RX
     112|   |   |   Antennas: TX/RX, RX2, CAL
     113|   |   |   Sensors: lo_locked
     114|   |   |   Freq range: 10.000 to 6000.000 MHz
     115|   |   |   Gain range PGA0: 0.0 to 31.5 step 0.5 dB
     116|   |   |   Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz
     117|   |   |   Connection Type: IQ
     118|   |   |   Uses LO offset: No
     119
     120
    56121}}}
    571223. 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 }}}
    60123
    61124==== Run the GRC application ====