Changes between Version 2 and Version 3 of SISOAGC
- Timestamp:
- Jul 27, 2006, 11:47:58 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SISOAGC
v2 v3 17 17 The final gain is set, and the gains are locked until the AGC is reset. At that time, the gains are reset to maximum RF (31 dB) and calibrated BB gain (dependent on the user-defined noise estimate). 18 18 19 == DC Offset Correction == 20 21 As a result of changing gains in the radios, a DC offset (DCO) may be introduced in the downconverted signal, and it may not be the same in the I and Q paths. The AGC peripheral contains a routine to remove the DCO, which may or may not enabled depending on user requirements. 22 19 23 == API == 20 24 21 A driver abstracts register-level operations from the programming-interface; below the functions for controlling the AGC are described. 25 A driver abstracts register-level operations from the programming-interface; below the functions for controlling the AGC are described. The driver is {{{warpagc.h}}}, and must be included in the code in order to define the functions below. 22 26 23 27 '''{{{void agc_Initialize(int noise_estimate)}}}''' … … 37 41 '''{{{void agc_FiltSel(unsigned int state)}}}''' 38 42 39 Choose the downsampling filter depending on the value of state.43 Choose the downsampling filter depending on the value of state. 40 44 41 45 state = 0 : downsampling only[[BR]] … … 49 53 state = 1 : DCO enable 50 54 51 '''{{{agc_SetTarget( c)}}}'''55 '''{{{agc_SetTarget(signed int c)}}}''' 52 56 53 Set the target signal strength value in dB57 Set the target signal strength value c in dB.