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


Ignore:
Timestamp:
Mar 15, 2008, 10:43:05 PM (16 years ago)
Author:
murphpo
Comment:

--

Legend:

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

    v15 v16  
    4949
    5050=== EEPROM Initialization ===
    51 The 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:
     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 see these prompts:
    5252
    5353{{{
     
    7979
    8080=== Tx DC Offset Calibration ===
    81 
     81The TxDCO calibration routine is automatic. Once started, the program will run for a few seconds, then display the following:
    8282
    8383{{{
     
    9090
    9191
    92 Radio #2: Best I: 147, Best Q: 34
     92Radio #2: Best I: 146, Best Q: 34
    9393  EEPROM Successfully Updated with DC Offset Values.
    9494  EEPROM Readback: I: 146 Q: 34
     
    101101 Type q to return to the main menu
    102102}}}
     103
     104If the '''EEPROM Readback:''' values match the '''Radio #X: Best''' values, the calibration and EEPROM writing processes were successful.
    103105
    104106== Using Calibration Values ==
     
    117119
    118120//Your code must also include:
    119 // #include radio_prototypes.h
    120 // #include EEPROM.h
     121// #include radio_prototypes.h /* from the radio_controller driver */
     122// #include EEPROM.h /* from the EEPROM driver */
    121123
    122124void CalibrateTxDCO () {
     
    155157
    156158                        //Read the Tx DCO values
    157                         calReadback = WarpEEPROM_ReadRadioCal((unsigned int*)XPAR_EEPROM_0_BASEADDR, 2, 0);
     159                        calReadback = WarpEEPROM_ReadRadioCal((unsigned int*)XPAR_EEPROM_0_BASEADDR, 2, 1);
    158160       
    159161                        //Scale the stored values