| 228 |   | * [Terminal 2] In the second terminal, change directory to paam_api/examples/ which contains the example API scripts. | 
          
          
            | 229 |   | {{{#!shell | 
          
          
            | 230 |   | root@srv1-lg1:~# cd paam_api/examples/ | 
          
          
            | 231 |   | }}} | 
          
          
            | 232 |   |  | 
          
          
            | 233 |   | * [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). | 
          
          
            | 234 |   | {{{#!shell | 
          
          
            | 235 |   | 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 | 
          
          
            | 236 |   | TRX mode selection: tx | 
          
          
            | 237 |   | IC(s) used for experiment: [1] | 
          
          
            | 238 |   | Number of Elements per IC: 4 | 
          
          
            | 239 |   | Polarization: h | 
          
          
            | 240 |   | Beam direction: (0, 0) | 
          
          
            | 241 |   | IP address of TX: rfdev2-1 | 
          
          
            | 242 |   | Opened port to FPGA | 
          
          
            | 243 |   | Logged in to Petalinux | 
          
          
            | 244 |   | Started command parser on Zynq | 
          
          
            | 245 |   | sdpar_prog.py /version: Version is PAWR_v1.2.0 | 
          
          
            | 246 |   | Using baseline FPGA control IP | 
          
          
            | 247 |   | Reset the Phased Array | 
          
          
            | 248 |   | Initialization of IC 0 was successful | 
          
          
            | 249 |   | Initialization of IC 1 was successful | 
          
          
            | 250 |   | Initialization of IC 2 was successful | 
          
          
            | 251 |   | Initialization of IC 3 was successful | 
          
          
            | 252 |   | elapsed time for init: 5.458436489105225 | 
          
          
            | 253 |   | Time for PAWR Board utilities configuration: 0.07273483276367188 | 
          
          
            | 254 |   | elapsed time for enable: 0.00990605354309082 | 
          
          
            | 255 |   | elapsed time for steer beam: 0.0026137828826904297 | 
          
          
            | 256 |   | PAAM ID: 0x 2 | 
          
          
            | 257 |   | LO switch: PLL | 
          
          
            | 258 |   | IF Switches TX_H: 0xF | 
          
          
            | 259 |   | IF Switches TX_V: 0xF | 
          
          
            | 260 |   | IF Switches RX_H: 0xF | 
          
          
            | 261 |   | IF Switches RX_V: 0xF | 
          
          
            | 262 |   | Index   Name    ADC     Volt.   Curr. | 
          
          
            | 263 |   | 0       1v2     21      0.051   0.026 | 
          
          
            | 264 |   | 1       1v5     154     0.376   0.753 | 
          
          
            | 265 |   | 2       1v8     3       0.007   0.004 | 
          
          
            | 266 |   | 3       2v7_0   16      0.039   0.078 | 
          
          
            | 267 |   | 4       2v7_1   210     0.513   1.026 | 
          
          
            | 268 |   | 5       2v7_2   44      0.108   0.215 | 
          
          
            | 269 |   | 6       2v7_3   44      0.108   0.215 | 
          
          
            | 270 |   | 7       3v3_pll 367     0.897   0.448 | 
          
          
            | 271 |   | 8       5v_uzed 249     0.609   0.609 | 
          
          
            | 272 |   | 9       12v     124     0.303   1.010 | 
          
          
            | 273 |   | 10      0V      0       0.000   x | 
          
          
            | 274 |   | 11      1V8     735     1.796   x | 
          
          
            | 275 |   | Closed port to Zynq | 
          
          
            | 276 |   | Good luck with the experiment!!! | 
          
          
            | 277 |   | }}} | 
          
          
            | 278 |   |  | 
          
          
            | 279 |   | * [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). | 
          
          
            | 280 |   | {{{#!shell | 
          
          
            | 281 |   | 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 | 
          
          
            | 282 |   | TRX mode selection: rx | 
          
          
            | 283 |   | IC(s) used for experiment: [2] | 
          
          
            | 284 |   | Number of Elements per IC: 4 | 
          
          
            | 285 |   | Polarization: h | 
          
          
            | 286 |   | Beam direction: (0, 0) | 
          
          
            | 287 |   | IP address of TX: rfdev2-2 | 
          
          
            | 288 |   | Opened port to FPGA | 
          
          
            | 289 |   | Logged in to Petalinux | 
          
          
            | 290 |   | Started command parser on Zynq | 
          
          
            | 291 |   | sdpar_prog.py /version: Version is PAWR_v1.2.0 | 
          
          
            | 292 |   | Using baseline FPGA control IP | 
          
          
            | 293 |   | Reset the Phased Array | 
          
          
            | 294 |   | Initialization of IC 0 was successful | 
          
          
            | 295 |   | Initialization of IC 1 was successful | 
          
          
            | 296 |   | Initialization of IC 2 was successful | 
          
          
            | 297 |   | Initialization of IC 3 was successful | 
          
          
            | 298 |   | elapsed time for init: 5.453927516937256 | 
          
          
            | 299 |   | Time for PAWR Board utilities configuration: 0.07044315338134766 | 
          
          
            | 300 |   | elapsed time for enable: 0.008872270584106445 | 
          
          
            | 301 |   | elapsed time for steer beam: 0.002682209014892578 | 
          
          
            | 302 |   | PAAM ID: 0x 4 | 
          
          
            | 303 |   | LO switch: PLL | 
          
          
            | 304 |   | IF Switches TX_H: 0xF | 
          
          
            | 305 |   | IF Switches TX_V: 0xF | 
          
          
            | 306 |   | IF Switches RX_H: 0xF | 
          
          
            | 307 |   | IF Switches RX_V: 0xF | 
          
          
            | 308 |   | Index   Name    ADC     Volt.   Curr. | 
          
          
            | 309 |   | 0       1v2     127     0.310   0.155 | 
          
          
            | 310 |   | 1       1v5     134     0.327   0.655 | 
          
          
            | 311 |   | 2       1v8     18      0.044   0.022 | 
          
          
            | 312 |   | 3       2v7_0   42      0.103   0.205 | 
          
          
            | 313 |   | 4       2v7_1   51      0.125   0.249 | 
          
          
            | 314 |   | 5       2v7_2   168     0.411   0.821 | 
          
          
            | 315 |   | 6       2v7_3   13      0.032   0.064 | 
          
          
            | 316 |   | 7       3v3_pll 34      0.083   0.042 | 
          
          
            | 317 |   | 8       5v_uzed 249     0.609   0.609 | 
          
          
            | 318 |   | 9       12v     129     0.315   1.051 | 
          
          
            | 319 |   | 10      0V      0       0.000   x | 
          
          
            | 320 |   | 11      1V8     735     1.796   x | 
          
          
            | 321 |   | Closed port to Zynq | 
          
          
            | 322 |   | Good luck with the experiment!!! | 
          
          
            | 323 |   | }}} |