Changes between Version 88 and Version 89 of Tutorials/Wireless/mmwave Paam Agora


Ignore:
Timestamp:
May 15, 2025, 8:55:10 PM (3 days ago)
Author:
zhenzhou77
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/mmwave Paam Agora

    v88 v89  
    141141==== Configure IBM 28GHz PAAM ====
    142142COSMOS uses the IBM 28GHz PAAM API to configure and initialize the PAAM boards.
    143 Under {{{PAAM_Control}}}, use the following command to configure the PAAM boards in **terminal 1**:
    144     {{{#!shell
    145     root@srv1-lg1:~/PAAM_Control# python3 main.py
    146     }}}
    147 The following message will print out to indicate that the PAAM board is being successfully configured:
    148     {{{#!shell
    149 Opened port to FPGA
    150 Logged in to Petalinux
    151 Started command parser on Zynq
    152 sdpar_prog.py /version: Version is PAWR_v1.2.0
    153 Using baseline FPGA control IP
    154 Reset the Phased Array
    155 Initialization of IC 0 was successful
    156 Initialization of IC 1 was successful
    157 Initialization of IC 2 was successful
    158 Initialization of IC 3 was successful
    159 IC0 current: 2.2629521016617793 status: On
    160 IC1 current: 1.3685239491691104 status: On
    161 IC2 current: 0.19550342130987292 status: Off
    162 IC3 current: 0.07820136852394917 status: Off
    163 Closed port to Zynq
    164 Opened port to FPGA
    165 Logged in to Petalinux
    166 Started command parser on Zynq
    167 sdpar_prog.py /version: Version is PAWR_v1.2.0
    168 Using baseline FPGA control IP
    169 Reset the Phased Array
    170 Initialization of IC 0 was successful
    171 Initialization of IC 1 was successful
    172 Initialization of IC 2 was successful
    173 Initialization of IC 3 was successful
    174 IC0 current: 2.29227761485826 status: On
    175 IC1 current: 1.3587487781036167 status: On
    176 IC2 current: 0.15640273704789834 status: Off
    177 IC3 current: 0.16617790811339198 status: Off
    178 Closed port to Zynq
    179 Experiment Started!
    180     }}}
    181 Notice this program will **hang** there to indicate that the PAAM board is on, if you wish to turn off the ICs on the PAAM boards, please **press {{{CTRL+C}}} once**.
     143Under the console in **terminal 2**, please run the following 4 commands:
     144    {{{#!shell
     145    <user_name>@console:~$ curl "http://am1.orbit-lab.org:5054/array_mgmt/configure?dev_name=rfdev2-1.sb2.cosmos-lab.org&ics=0&num_elements=16&txrx=tx&pol=h&theta=0&phi=0"
     146    <user_name>@console:~$ curl "http://am1.orbit-lab.org:5054/array_mgmt/configure?dev_name=rfdev2-1.sb2.cosmos-lab.org&ics=0&num_elements=16&txrx=tx&pol=v&theta=0&phi=0"
     147    <user_name>@console:~$ curl "http://am1.orbit-lab.org:5054/array_mgmt/configure?dev_name=rfdev2-2.sb2.cosmos-lab.org&ics=1&num_elements=16&txrx=rx&pol=h&theta=0&phi=0"
     148    <user_name>@console:~$ curl "http://am1.orbit-lab.org:5054/array_mgmt/configure?dev_name=rfdev2-2.sb2.cosmos-lab.org&ics=1&num_elements=16&txrx=rx&pol=v&theta=0&phi=0"
     149    }}}
     150An example message will print out to after each command to indicate that the PAAM board is being successfully configured:
     151    {{{#!shell
     152<?xml version="1.0" encoding="UTF-8"?>
     153<response status="OK">
     154  <action service="array_mgmt" name="configure" ipaddr="10.116.5.2">
     155    <step name="open" duration="3.780022"/>
     156    <step name="initializaition" duration="0.125465"/>
     157    <step name="enabling" duration="0.022732"/>
     158    <step name="steering" duration="0.006349" theta="0" phi = "0" ipaddr = "10.116.5.2" />
     159    <state PAAM_ID="0x23" LO_switch="PLL" if_sw1="0xF" if_sw2="0xF" if_sw3="0xF" if_sw4="0xF" txrx="rx" polarization="v" />
     160    <adc>
     161      <conv index="0" name="1v2" tADC="114" tVolt="0.279" tCurr="0.139"/>
     162      <conv index="1" name="1v5" tADC="214" tVolt="0.523" tCurr="1.046"/>
     163      <conv index="2" name="1v8" tADC="4" tVolt="0.010" tCurr="0.005"/>
     164      <conv index="3" name="2v7_0" tADC="13" tVolt="0.032" tCurr="0.064"/>
     165      <conv index="4" name="2v7_1" tADC="183" tVolt="0.447" tCurr="0.894"/>
     166      <conv index="5" name="2v7_2" tADC="18" tVolt="0.044" tCurr="0.088"/>
     167      <conv index="6" name="2v7_3" tADC="40" tVolt="0.098" tCurr="0.196"/>
     168      <conv index="7" name="3v3_pll" tADC="303" tVolt="0.740" tCurr="0.370"/>
     169      <conv index="8" name="5v_uzed" tADC="276" tVolt="0.674" tCurr="0.674"/>
     170      <conv index="9" name="12v" tADC="140" tVolt="0.342" tCurr="1.140"/>
     171      <conv index="10" name="0V" tADC="0" tVolt="0.000"/>
     172      <conv index="11" name="1V8" tADC="735" tVolt="1.796"/>
     173    </adc>
     174    <step name="status" duration="0.069065"/>
     175    <step name="close" duration="0.100179"/>
     176  </action>
     177</response>
     178    }}}
     179
     180
    182181
    183182=== (Optional) CFO Calibration for PAAM boards ===