Reference Manual
RECEIVER GAIN CONTROL
Table 86. adi_adrv9001_GainControlCfg_t Structure Definition (Continued)
Parameter
agcMode
resetOnRxon
resetOnRxonGainIndex
enableSyncPulseForGainCounter
enableFastRecoveryLoop
power
peak
extLna
rxQECFreezeEnable
gpioFreezePin
Table 87. adi_adrv9001_PowerDetector_t Structure Definition
Parameter
powerEnableMeasurement
underRangeHighPowerThresh
underRangeLowPowerThresh
underRangeHighPowerGainStep Recovery
underRangeLowPowerGainStepRecovery
powerMeasurementDuration
powerMeasurementDelay
rxTddPowerMeasDuration
analog.com
Description
count is exceeded on either the APD or HB detector.1: Gain changes occur
immediately when initiated by HB. Gain changes initiated by the APD wait
for the gain update to expire.2: Gain changes occur immediately when
initiated by APD. Gain changes initiated by HB wait for the gain update
to expire.3: Gain changes occur immediately when initiated by APD or HB
detectors.
1: AGC in peak AGC mode, power-based gain changes are disabled.0:
AGC in peak and power AGC mode where both peak and power detectors
are used.
1: AGC state machine is reset when Rx is disabled. The AGC gain
setting uses the "resetOnRxonGainIndex"after resuming the operation.0:
AGC state machine maintains its state when Rx is disabled and the last
AGC gain index is used after resuming the operation.
The AGC index to start with when "resetOnRxon" is set as 1.
1: Allows synchronization of AGC gain update counter to the time-slot
boundary. GPIO setup required.0: AGC gain update counter free runs.
1: Enables the fast recovery AGC functionality using the HB overload
detector. Only applicable in peak detect mode. 0: AGC fast recovery is not
enabled.
Structure containing all the power detector settings.
Structure containing all the peak detector settings.
Structure containing all external LNA settings.
RXQEC freeze enable/disable
GPIO pin to activate to freeze AGC
Description
1: Power measurement block enabled.0: Power measurement block disabled. 0
Threshold (negative sign assumed) that defines the lower boundary on the
stable region of the power detect gain control mode.
Offset (negative sign assumed) from underRangeHighPowerThresh that
defines the outer boundary of the power based AGC convergence. Typically,
recovery is set to larger steps than when the power measurement is less than
this threshold.
The number of indicesthe gain index pointer is increased (gain increase) in
the event of the power measurement being less than underRangeHighPower-
Thresh but greater than underRangeLowPowerThresh.
The number of indices the gain index pointer is increased (gain
increase) in the event of the power measurement being less than
underRangeLowPowerThresh.
Number of IQ samples on which to perform the power measurement.
The number of samples corresponding to the 4-bit word is 8 ×
2^(pmdMeasDuration[3:0]). This value must be less than AGC gain update
counter.
Measurement delay to detect power for specific slice of gain update counter
Following an Rx Enable, the power measurement block is requested to
perform a power measurement for a specific period of a frame. This is
ADRV9001
Min Value
Max Value
Default
Value
0
1
1
0
1
0
187
255
255
0
1
0
0
1
0
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0
1
1
0 (not assigned)
16
0 (not
assigned)
Min Value
Max Value
Default Value
1
1
0
127
10
0
15
4
0
31
2
0
31
4
0
31
10
0
255
2
AGC
clock
cycles
0
65535 AGC
0
clock cycles
Rev. A | 198 of 377
Need help?
Do you have a question about the ADRV9005 and is the answer not in the manual?
Questions and answers