| 101 | | * Download and build the RENEW Sounder software **on the {{{develop}}} branch** at [https://github.com/renew-wireless/RENEWLab/ here] and follow the [https://docs.renew-wireless.org/dev-suite/design-flows/cpp/sounder/ instructions] to build it. Note that the {{{master}}} branch does not have UHD support. |
| 102 | | |
| 103 | | * Include in {{{files/usrp-bs-serials.txt}}} the IP address {{{10.118.2.2}}}, i.e., use {{{sdr2-s1-lg1}}} as the base station (BS). In {{{files/usrp-bs-only.json}}}, set {{{"channel" : "AB",}}} to enable dual-channel on {{{sdr2-s1-lg1}}}. |
| 104 | | |
| 105 | | * Similarly, in {{{files/usrp-client-only.json}}}, set {{{"sdr_id" : [ "10.118.3.2" ]}}} (i.e., use {{{sdr2-md1}}} as the user) and {{{"channel" : "AB",}}} to enable dual-channel on {{{sdr2-md1}}}. |
| | 101 | === Execution === |
| | 102 | ==== Run the experiment ==== |
| | 103 | * [Terminal 1] In the first terminal, start gnuradio companion and open the example experiment that established a single tone transmission: |
| | 104 | {{{#!shell |
| | 105 | root@srv1-lg1:~# gnuradio-companion example_paam_tone.grc |
| | 106 | }}} |
| | 107 | |
| | 108 | * [Terminal 2] In the second terminal, change directory to paam_api/examples/ which contains the example API scripts. |
| | 109 | {{{#!shell |
| | 110 | root@srv1-lg1:~# cd paam_api/examples/ |
| | 111 | }}} |
| | 112 | |
| | 113 | * [Terminal 2] First, start PAAM #1 (rfdev2-1) in TX mode with H-polarization using 4 antenna elements on IC 1, and configure the TX beamforming direction to be in the broadside (0,0). Check the current consumption on 2v7_1 and make sure IC1 has been successfully initialized (e.g., 2v7_1 has a current consumption of 1.026A in the example below). |
| | 114 | {{{#!shell |
| | 115 | root@srv1-lg1:~/paam_api/examples# python3 setup_betaboard_v1.2.py -c ethernet -a rfdev2-1 --ic 1 -n 4 --txrx tx --pol h --dir 0 0 |
| | 116 | TRX mode selection: tx |
| | 117 | IC(s) used for experiment: [1] |
| | 118 | Number of Elements per IC: 4 |
| | 119 | Polarization: h |
| | 120 | Beam direction: (0, 0) |
| | 121 | IP address of TX: rfdev2-1 |
| | 122 | Opened port to FPGA |
| | 123 | Logged in to Petalinux |
| | 124 | Started command parser on Zynq |
| | 125 | sdpar_prog.py /version: Version is PAWR_v1.2.0 |
| | 126 | Using baseline FPGA control IP |
| | 127 | Reset the Phased Array |
| | 128 | Initialization of IC 0 was successful |
| | 129 | Initialization of IC 1 was successful |
| | 130 | Initialization of IC 2 was successful |
| | 131 | Initialization of IC 3 was successful |
| | 132 | elapsed time for init: 5.458436489105225 |
| | 133 | Time for PAWR Board utilities configuration: 0.07273483276367188 |
| | 134 | elapsed time for enable: 0.00990605354309082 |
| | 135 | elapsed time for steer beam: 0.0026137828826904297 |
| | 136 | PAAM ID: 0x 2 |
| | 137 | LO switch: PLL |
| | 138 | IF Switches TX_H: 0xF |
| | 139 | IF Switches TX_V: 0xF |
| | 140 | IF Switches RX_H: 0xF |
| | 141 | IF Switches RX_V: 0xF |
| | 142 | Index Name ADC Volt. Curr. |
| | 143 | 0 1v2 21 0.051 0.026 |
| | 144 | 1 1v5 154 0.376 0.753 |
| | 145 | 2 1v8 3 0.007 0.004 |
| | 146 | 3 2v7_0 16 0.039 0.078 |
| | 147 | 4 2v7_1 210 0.513 1.026 |
| | 148 | 5 2v7_2 44 0.108 0.215 |
| | 149 | 6 2v7_3 44 0.108 0.215 |
| | 150 | 7 3v3_pll 367 0.897 0.448 |
| | 151 | 8 5v_uzed 249 0.609 0.609 |
| | 152 | 9 12v 124 0.303 1.010 |
| | 153 | 10 0V 0 0.000 x |
| | 154 | 11 1V8 735 1.796 x |
| | 155 | Closed port to Zynq |
| | 156 | Good luck with the experiment!!! |
| | 157 | }}} |
| | 158 | |
| | 159 | * [Terminal 2] Similarly, start PAAM #2 (rfdev2-2) in RX mode with H-polarization using 4 antenna elements on IC 2, and configure the RX beamforming direction to be in the broadside (0,0). Check the current consumption on 2v7_2 and make sure IC2 has been successfully initialized (e.g., 2v7_2 has a current consumption of 0.821A in the example below). |
| | 160 | {{{#!shell |
| | 161 | root@srv1-lg1:~/paam_api/examples# python3 setup_betaboard_v1.2.py -c ethernet -a rfdev2-2 --ic 2 -n 4 --txrx rx --pol h --dir 0 0 |
| | 162 | TRX mode selection: rx |
| | 163 | IC(s) used for experiment: [2] |
| | 164 | Number of Elements per IC: 4 |
| | 165 | Polarization: h |
| | 166 | Beam direction: (0, 0) |
| | 167 | IP address of TX: rfdev2-2 |
| | 168 | Opened port to FPGA |
| | 169 | Logged in to Petalinux |
| | 170 | Started command parser on Zynq |
| | 171 | sdpar_prog.py /version: Version is PAWR_v1.2.0 |
| | 172 | Using baseline FPGA control IP |
| | 173 | Reset the Phased Array |
| | 174 | Initialization of IC 0 was successful |
| | 175 | Initialization of IC 1 was successful |
| | 176 | Initialization of IC 2 was successful |
| | 177 | Initialization of IC 3 was successful |
| | 178 | elapsed time for init: 5.453927516937256 |
| | 179 | Time for PAWR Board utilities configuration: 0.07044315338134766 |
| | 180 | elapsed time for enable: 0.008872270584106445 |
| | 181 | elapsed time for steer beam: 0.002682209014892578 |
| | 182 | PAAM ID: 0x 4 |
| | 183 | LO switch: PLL |
| | 184 | IF Switches TX_H: 0xF |
| | 185 | IF Switches TX_V: 0xF |
| | 186 | IF Switches RX_H: 0xF |
| | 187 | IF Switches RX_V: 0xF |
| | 188 | Index Name ADC Volt. Curr. |
| | 189 | 0 1v2 127 0.310 0.155 |
| | 190 | 1 1v5 134 0.327 0.655 |
| | 191 | 2 1v8 18 0.044 0.022 |
| | 192 | 3 2v7_0 42 0.103 0.205 |
| | 193 | 4 2v7_1 51 0.125 0.249 |
| | 194 | 5 2v7_2 168 0.411 0.821 |
| | 195 | 6 2v7_3 13 0.032 0.064 |
| | 196 | 7 3v3_pll 34 0.083 0.042 |
| | 197 | 8 5v_uzed 249 0.609 0.609 |
| | 198 | 9 12v 129 0.315 1.051 |
| | 199 | 10 0V 0 0.000 x |
| | 200 | 11 1V8 735 1.796 x |
| | 201 | Closed port to Zynq |
| | 202 | Good luck with the experiment!!! |
| | 203 | }}} |
| | 204 | |