RENEWLab
1.1.0
RENEW project
|
Functions | |
def | siso_tdd_burst (serial1, serial2, rate, freq, txgain, rxgain, numSamps, prefix_pad, postfix_pad) |
Functions #. More... | |
def | main () |
Main #. More... | |
SISO_TXRX_TDD.py NOTE: IRIS BOARDS MUST BE CHAINED FOR THIS SCRIPT TO WORK. ORDER MATTERS; FIRST BOARD (SERIAL1) IS THE ONE SENDING THE TRIGGER. TESTED WITH BOTH BOARDS USING BASE STATION ROOTFS IMAGE (NOT UE) AND ONLY FIRST BOARD CONNECTED TO HOST VIA ETHERNET This script is useful for testing the TDD operation. It programs two Irises in TDD mode with the following framing schedule: Iris 1: PGRG Iris 2: RGPG where P means a pilot or a pre-loaded signal, G means Guard band (no Tx or Rx action), R means Rx, and T means Tx, though not used in this script. The above determines the operation for each frame and each letter determines one symbol. Although every 16 consecutive frames can be scheduled separately. The pilot signal in this case is a sinusoid which is written into FPGA buffer (TX_RAM_A & TX_RAM_B for channels A & B) before the start trigger. The script programs the Irises in a one-shot mode, i.e. they run for just one frame. This means that each frame starts with a separate trigger. After the end of the frame, the script plots the two Rx symbols which are supposedly what each of the Iris boards received from each other (as shown in the schedule above). NOTE ON GAINS: Gain settings will vary depending on RF frontend board being used If using CBRS: rxgain: at 2.5GHz [3:1:105], at 3.6GHz [3:1:102] txgain: at 2.5GHz [16:1:81], at 3.6GHz [15:1:81] If using only Dev Board: rxgain: at both frequency bands [0:1:30] txgain: at both frequency bands [0:1:42] The code assumes both TX and RX have the same type of RF frontend board. Example: python3 SISO_TXRX_TDD.py --serial1="RF3C000042" --serial2="RF3C000025" --------------------------------------------------------------------- Copyright © 2018-2019. Rice University. RENEW OPEN SOURCE LICENSE: http://renew-wireless.org/license ---------------------------------------------------------------------
def SISO_TXRX_TDD.main | ( | ) |
Main #.
def SISO_TXRX_TDD.siso_tdd_burst | ( | serial1, | |
serial2, | |||
rate, | |||
freq, | |||
txgain, | |||
rxgain, | |||
numSamps, | |||
prefix_pad, | |||
postfix_pad | |||
) |
Functions #.