![Analog Devices ADRV9001 Скачать руководство пользователя страница 223](http://html1.mh-extra.com/html/analog-devices/adrv9001/adrv9001_user-manual_2939807223.webp)
Preliminary Technical Data
UG-1828
Rev. PrC | Page 223 of 338
A complete description of Tx attenuation control is provided in the Transmitter Signal Chain section in this User Guide.
Pin-based Tx attenuation control provides an interface to make attenuation adjustments with precise timing control. The pin-based
control offers lower latency than SPI based attenuation change operations. In pin-based attenuation control, certain digital GPIO pins are
assigned “increment attenuation” or “decrement attenuation” functionality. By applying a high pulse on the assigned GPIO pin, the
attenuation for a specific channel is either increased or decreased, depending on the assigned functionality. The pulse width requirement
is at least 2 system clock cycles (184.32 MHz in standard profiles) in the logic high state. Increment and decrement functionality can be
assigned to any digital GPIO from DGPIO_0 to DGPIO_15. Pin-based Tx attenuation control allows multiple increments or decrements
of Tx attenuation.
Set Tx attenuation control mode to “MODE_PIN” by the API function adi_adrv9001_Tx_AttenuationMode_Set(), and select the
properly GPIOs for each channel by the API function adi_adrv9001_Tx_Attenuation_PinControl_Configure(),
baseband processor can
send the pulses to ADRV9001 via the specific digital GPIO pins to increase or decrease the Tx attenuation.
Pin-Based Rx Gain Control
A complete description of Rx Gain control is provided in the Receiver Gain Control section of this User Guide.
Pin-based Rx gain control is relevant for applications which require Manual Gain Control (MGC) and precise timing for gain change
events. The pin-based control offers lower latency than SPI based gain change operations. In pin-based gain control, certain digital GPIO
pins are assigned “increment gain index” or “decrement gain index” functionality for a particular receiver channel. By applying a high
pulse on the assigned GPIO pin, the gain index for a specific channel is either increased or decreased, depending on the assigned
functionality. The pulse width requirement is at least 2 system clock cycles (184.32 MHz in standard profiles) in the logic high state.
Increment and decrement functionality can be assigned to any digital GPIO from DGPIO_0 to DGPIO_15.
Note that if the user has programmed a gain table that operates in a subset of the full gain table range (i.e. using index 195 to 255), once
the gain Index has reached Min/Max Gain index subsequent the pin-based Rx gain control rising edge will not change the gain index.
Set Rx Gain control mode to “MODE_PIN” by the API adi_adrv9001_Rx_GainControl_Mode_Set(), configures the properly digital
GPIO pins for gain increase and decrease control and other control parameters by API
adi_adrv9001_Rx_GainControl_PinMode_Configure(), then baseband processor can send the pulses to ADRV9001 via the specific
digital GPIO pins to increase or decrease the Rx Gain index.
Power Amplifier Ramp Control
A complete description of power amplifier ramp control will be provided in the user guide in the future.
When the power amplifier ramp control function is used in ADRV9001, an optional digital GPIO pin can be assigned as the “power
amplifier ramp control enable” functionality driven by the baseband processor, the rising edge of power amplifier ramp control enable
with programable delay will be act as the ramp up trigger signal and the falling edge of power amplifier ramp enable with optional
programable delay acts as the ramp down trigger signal.
The DPGIO assignment for PA ramp control can be set by API adi_adrv9001_Tx_PaRamp_Configure().
Power Saving and Monitor Mode control
The DPGIO can be used as Channel Power saving, System Power saving and Monitor Mode Enable signal, see the Power Saving and
Monitor Mode section for the details.
Enum ADI_ADRV9001_GPIO_SIGNAL_MON_ENABLE_SPS and
ADI_ADRV9001_GPIO_SIGNAL_POWER_SAVING_CHANNEL1/
ADI_ADRV9001_GPIO_SIGNAL_POWER_SAVING_CHANNEL2 are for the DPGIO as System Power saving/Monitor Mode and
Channel power saving enable receptive.
When the CPS and/or SPS/Monitor Mode is enable, BBIC can call the API adi_adrv9001_gpio_Configure() to set the power saving and
monitor mode control enable signals on DGPIOs.
Hopping Mode Control
A DPGIO should be assigned as frequency hopping hop control signal, and users can also use the DGPIOs to choose the hop table index,
Rx Gain table index, Tx Attenuation index. Please refer the Frequency Hopping section for more detail.
The hopping mode control GPIO functions can be set through API adi_adrv9001_fh_Configure().
Digital GPIO Output Features
Table 87 summarizes the available digital GPIO output features, the relative APIs will automatically set the GPIO I/O directions.