![Analog Devices ADRV9001 User Manual Download Page 222](http://html1.mh-extra.com/html/analog-devices/adrv9001/adrv9001_user-manual_2939807222.webp)
UG-1828
Preliminary Technical Data
Rev. PrC | Page 222 of 338
GPIO source control is assigned in groups of 4, that means that AGPIO_0 to AGPIO_3 share a single source control, AGPIO_4 to
DGPIO_7 share a single source control, and so on.
The API commands adi_adrv9001_gpio_ControlInit_Configure() and adi_adrv9001_gpio_Configure() are used to configure the digital
or analog GPIO work modes, and some of the GPIO work modes are configured with the specified functions, for example the Pin based
Tx Attenuation, etc. The following subsections will explain the operation details of digital GPIO and analog GPIO.
DIGITAL GPIO OPERATION
Each Digital GPIO pin can be set to either input or output mode, the input mode allows the baseband processor to drive pins on the
ADRV9001 to execute specific tasks, the output mode allows the ADRV9001 to output various control or status signals to baseband
processor.
Note that conflicts regrading GPIO usage may occur when using combinations of certain features, users should ensure that multiple
functions are not assigned to the same GPIO pins.
Digital GPIO Input Features
The following table provides a list of digital GPIO input features available that interact with datapath control elements on ADRV9001, for
the Digital GPIO features with the Table 86, the APIs automatically set the I/O direction of the GPIO pins assigned for the feature.
Table 87. Summary of Input Digital GPIO Features
Feature
Description
GPIO Pins Available for
Feature
ORx Enable
Configure specific Digital GPIO pins to enable/disable Rx observation
channel.
DGPIO_0 through DGPIO_11:
ORx Enable control pin select.
Pin Based Tx attenuation
Increment and
Decrement
Configures specific Digital GPIO pins to increase or decrease attenuation on
any Tx channel after a rising edge on the assigned pin.
DGPIO_0 through DGPIO_15:
Tx attenuation increment pin
select.
DGPIO0 through DGPIO_15:
Tx attenuation decrement pin
select.
Pin Based Rx Gain Index
Increment and
Decrement
Configures specific Digital GPIO pins to increase or decrease gain index on
any Rx or ORx channel after a rising edge on the assigned pin.
DGPIO_0 through DGPIO_15:
Rx/ORx gain index increment
pin select.
DGPIO0 through DGPIO_11:
Rx/ORx gain index
decrement pin select.
Tx Power Amplifier
Ramp Control
Configure specific Digital GPIO pins to ramp up the power amplifier
controlling on any Tx channel after a rising edge on the assigned pin and
ramp down the power amplifier controlling on any Tx channel after a falling
edge on the assigned pin
DGPIO_0 through DGPIO_15:
power amplifier Ramp
controlling pin select.
Power Saving and
Monitor Mode control
Configure specific Digital GPIO pins to enable or disable Channel Power
Saving or System Power Saving or Monitor Mode
DGPIO_0 through DGPIO_11:
Mon_enable pin select
Hopping Mode control
Configure specific Digital GPIO pins to control the Hopping mode, including
the hopping enable, update gain value, frequency index, and so on
DGPIO_0 through DGPIO_11:
Hopping Event pin select
DGPIO_0 through DGPIO_15:
Hopping gain value pin
select
DGPIO_0 through DGPIO_15:
Hopping frequency index pin
select
ORx Enable Control
ADRV9001 Receiver can be reused as observation channel through either port A or port B in TDD system, a DGPIO pin should be
assigned as ORx Enable signal once the ORx channel is configured. BBIC can toggle the DGPIO in Tx RF Enabled state to enable/disable
the ORx channel. Users should be noted that ORx Enable timing should only be the subset of Tx Enable timing.
Enum ADI_ADRV9001_GPIO_SIGNAL_ORX_ENABLE_1/ ADI_ADRV9001_GPIO_SIGNAL_ORX_ENABLE_2 is defined for DPGIO
as ORx Enable signal, the DPGIO assignment can be set by API adi_adrv9001_gpio_Configure().
Pin-Based Tx Attenuation Control