Analog Devices ADRV9001 User Manual page 129

System development user guide for the rf agile transceiver family
Hide thumbs Also See for ADRV9001:
Table of Contents

Advertisement

Preliminary Technical Data
Peak Detect and Peak/Power Detect Mode Comparison
Among the two detect modes, peak detect offers the quickest response time to overload signals by employing "fast attack" mode. It allows
the AGC to respond within hundreds of nanoseconds in overload scenarios. In addition, the peak detect also provides "fast recovery"
option to increase the gain of the desired signal quickly when an interferer disappears. It can also avoid the possible gain index oscillation
issue of peak/power detect when the signal has higher than expected PAR.
With power detect, the gain change can only happen at the expiration of gain update counter, which is typically set at the order of
hundreds of microseconds or milliseconds. However, the power detector is usually more stable and will not likely cause frequent gain
changes. In addition, it can provide a tighter control of signal level by utilizing a set of inner and outer thersholds comparing with peak
detect.
It is highly recommended to use peak detect especially when fast gain control is desired.
Manual Gain Control (MGC)
The gain control block applies the settings from the selected gain index in the gain table. In MGC mode, the baseband processor is in
control of selecting the gain index. There are two options: 1) API commands (ADI_ADRV9001_RX_GAIN_CONTROL_MODE_SPI);
and 2) pin control (ADI_ADRV9001_RX_GAIN_CONTROL_MODE_PIN). By default, if MGC is chosen the part is configured for API
commands.
In API command mode, the user selects a gain index in the gain table through the API function adi_adrv9001_Rx_Gain_Set(). The gain
index selected for a channel can be read back through the API function adi_adrv9001_Rx_Gain_Get().
The pin control MGC mode is useful when real time control of gain is required. API command
adi_adrv9001_Rx_GainControl_PinMode_Configure() can be used to properly configure this mode. In this mode, out of 16 digital
DGPIO pins, 2 pins per receiver are used, one increasing and the other decreasing the gain table index. The user specifies both the max
and min gain index as well as the increment and decrement step size (in the range of 0 to 7 gain table indices). A pulse is applied to the
relevant DGPIO pin to trigger an increment or decrement in gain as shown in Figure 112. This pulse must be held high for at least 2
AGC clock cycles for a reliable detection of the rising edge to trigger the gain change (see AGC clock section for details). The
configuration data structure for this mode is defined as the following:
typedef struct adi_adrv9001_RxGainControlPinCfg
{
uint8_t minGainIndex;
maxGainIndex
uint8_t maxGainIndex;
gainTableMaxGainIndex
uint8_t incrementStepSize;
incrementPin (Range: 0 to 7)
uint8_t decrementStepSize;
decrementPin (Range: 0 to 7)
adi_adrv9001_GpioPin_e incrementPin;// A rising edge on this pin will increment gain by
incrementStepSize.
adi_adrv9001_GpioPin_e decrementPin; //A rising edge on this pin will decrement gain by
decrementStepSize.
} adi_adrv9001_RxGainControlPinCfg_t
In the MGC mode, to properly control the gain, user could optionally retrieve the status of peak detectors and power detector in the
device through a set of DGPIO pins (this could also be done in the AGC mode for observation). In order to make sure that the status
information from the signal detectors are meaningful, it is important that the user should first enable and configure the signal detectors
//Minimum gain index. Must be >= gainTableMinGainIndex and <
//Maximum gain index. Must be > minGainIndex and <=
//Number of indices to increase gain on rising edge on
//Number of indices to decrease gain on rising edge on
Rx1
DGPIO[a]
Rx1
DGPIO[b]
Figure 112. MGC PIN Mode: DGPIO (a to d) Represent Any of DGPIO[0:15]
Rev. PrA | Page 129 of 253
Rx2
DGPIO[c]
Rx2
DGPIO[d]
UG-1828

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADRV9001 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Adrv9002

Table of Contents

Save PDF