Changes between Version 14 and Version 15 of HardwareUsersGuides/RadioBoard_v1.4/Usage/TxDCOffset


Ignore:
Timestamp:
Mar 15, 2008, 9:57:29 PM (16 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HardwareUsersGuides/RadioBoard_v1.4/Usage/TxDCOffset

    v14 v15  
    1515Every WARP Radio is calibrated before shipment. You can re-calibrate your radios if desired, using this procedure.
    1616
    17 The Tx DCO calibration algorithm is not publically available. However, we do distribute an FPGA configuration file which executes the calibration process automatically.
     17The Tx DCO calibration algorithm is not publically available. However, we do distribute an FPGA configuration file which executes the calibration process automatically. This is the same program we use internally to calibrate new radio boards.
    1818
    19  1. Download a copy of this configuraiton file: [attachment:wiki:HardwareUsersGuides/RadioBoard_v1.4/Usage/TxDCOffset/Files:TxDCO_Calibrate.bit?format=raw TxDCO_Calibrate.bit]
    20  1. Use the DIP switch on the WARP FPGA Board to select which radios should be calibrated. Each switch position corresponds to a radio. The LSB (Radio !#1) is the bottom switch; MSB (Radio !#4) is the top.
    21  1. Connect a serial cable to the FPGA board and set your terminal emulator to 57600bps
    22  1. Power on the FPGA board and wait for a few minutes; this allows components to warm up
    23  1. Configure the FPGA using TxDCO_Calibrate.bit
    24  1. The terminal will display the status as it runs. Wait for the calibration of each radio to complete.
     19 1. This program requires a serial terminal connected to your FPGA board. Configure the termianl for 9600bps.
     20 2. Download a copy of this configuraiton file: [attachment:wiki:HardwareUsersGuides/RadioBoard_v1.4/Usage/TxDCOffset/Files:EEPROM_TxDCO_Calibrate.bit?format=raw EEPROM_TxDCO_Calibrate.bit]
     21 3. You will see this menu:
     22{{{
     23********** WARP Radio Calibration - Main Menu **********
     24  Please select a radio to test:
     25    (1) Radio in Slot #1
     26    (2) Radio in Slot #2
     27    (3) Radio in Slot #3
     28    (4) Radio in Slot #4
     29}}}
     30 4. Select which radio to calibrate by typing a digit. The radio number corresponds to the daughtercard slot where it is mounted. By default, WARP MIMO kits have radios in slots 2 and 3.
     31 5. You will then see this menu; each of these options is explained below:
     32{{{
     33  Please select a test:
     34    (0) EEPROM Current Contents
     35    (1) EEPROM Initialization
     36    (2) Tx DC Offset Calibration
     37    (q) Return to radio selection
     38}}}
    2539
    26 Here's what the terminal output should look like. This example calibrated just radio !#2.
     40=== EEPROM Current Contents ===
     41The radio board's EEPROM is initiailzed before shipment. By default, it is programmed with the board's version information (version 1, revision 4), serial number and initial Tx DCO values. The '''EEPROM Current Contents''' option will read these values from the EERPOM and display them. You will see something like this:
     42{{{
     43EEPROM Values for Radio Board in Slot 2
     44    WARP Radio Board Version 1.4
     45    Serial Number (WARP): WR-a-00083
     46    EEPROM Hard-wired Serial Number:  0 0 0 46 59 C1
     47  Current TxDCO Values: I: 148 Q: 34
     48}}}
     49
     50=== EEPROM Initialization ===
     51The radio board's EEPROM must be initialized before it can be used to store calibration values. We initialize every EEPROM before shipping a kit. You can re-initialize the EERPOM using this option. You will be see these prompts:
     52
     53{{{
     54Welcome to the WARP Radio EEPROM Initial Setup
     55
     56RADIO BOARD 2 SETUP
     57
     58Please enter the radio board's version number (1-7): 1
     59
     60Please enter the radio board's revision number (0-7): 4
     61
     62Please enter the five digit serial number:
     63        WR-a-00083
     64}}}
     65
     66For the '''version number''', enter '''1'''.
     67For the '''revision number''', enter '''4'''.
     68For the '''serial number''', enter the five digits printed on your radio board's serial number label, including leading zeros.
     69
     70The program will then print the EEPROM contents. If the displayed values match your entries, the EEPROM initialization was successful.
     71
     72{{{
     73EEPROM Values for Radio Board in Slot 2
     74    WARP Radio Board Version 1.4
     75    Serial Number (WARP): WR-a-00083
     76    EEPROM Hard-wired Serial Number:  0 0 0 46 59 C1
     77  Current TxDCO Values: I: 148 Q: 34
     78}}}
     79
     80=== Tx DC Offset Calibration ===
     81
     82
    2783{{{
    2884*************Tx DC Offset Calibration*************
    2985
    30 Calibrating radios:
    31 Radio #1: No
    32 Radio #2: Yes
    33 Radio #3: No
    34 Radio #4: No
    35 
     86Calibrating radio in slot 2:
    3687Radio #2 calibration starting...done
    3788
     
    3990
    4091
    41 Radio #2: Best I: -44, Best Q: 100
     92Radio #2: Best I: 147, Best Q: 34
    4293  EEPROM Successfully Updated with DC Offset Values.
    43   EEPROM Readback: I: -44 Q: 102
     94  EEPROM Readback: I: 146 Q: 34
     95
    4496
    4597Now accepting manual input
    46  Type [1,2,3,4] to select a radio
    4798 Type [a,q,s,w] for I-/I+/Q-/Q+ DC offset adjustment
    48  Type [e,d] = to enable/disable the transmitter
     99 Type [e,d] to enable/disable the transmitter
     100 Type r to record the updated I/Q offset values to the EEPROM
     101 Type q to return to the main menu
    49102}}}
    50103
    51 You can repeat this process whenever needed. In our experience, calibration values are fairly static over time but do vary with temperature.
    52 
    53 === Using Calibration Values ===
     104== Using Calibration Values ==
    54105
    55106User applications should use the stored Tx DCO calibration values on power-up. The code below is an example of how this is done. This function is portable and should compile when integrated with a user application in XPS.
     
    122173}
    123174}}}
     175