Changes between Version 15 and Version 16 of HardwareUsersGuides/RadioBoard_v1.4/Usage/TxDCOffset
- Timestamp:
- Mar 15, 2008, 10:43:05 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HardwareUsersGuides/RadioBoard_v1.4/Usage/TxDCOffset
v15 v16 49 49 50 50 === 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 besee these prompts: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 see these prompts: 52 52 53 53 {{{ … … 79 79 80 80 === Tx DC Offset Calibration === 81 81 The TxDCO calibration routine is automatic. Once started, the program will run for a few seconds, then display the following: 82 82 83 83 {{{ … … 90 90 91 91 92 Radio #2: Best I: 14 7, Best Q: 3492 Radio #2: Best I: 146, Best Q: 34 93 93 EEPROM Successfully Updated with DC Offset Values. 94 94 EEPROM Readback: I: 146 Q: 34 … … 101 101 Type q to return to the main menu 102 102 }}} 103 104 If the '''EEPROM Readback:''' values match the '''Radio #X: Best''' values, the calibration and EEPROM writing processes were successful. 103 105 104 106 == Using Calibration Values == … … 117 119 118 120 //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 */ 121 123 122 124 void CalibrateTxDCO () { … … 155 157 156 158 //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); 158 160 159 161 //Scale the stored values