General-Purpose Input/Output (Gpio) And Interrupt Configuration - Analog Devices ADRV9001 User Manual

Hide thumbs Also See for ADRV9001:
Table of Contents

Advertisement

Reference Manual

GENERAL-PURPOSE INPUT/OUTPUT (GPIO) AND INTERRUPT CONFIGURATION

The ADRV9001 has a number of software configurable GPIO pins. Using API functions, users can configure the GPIO pins to operate with a
variety of control or monitoring functions. The ADRV9001 has two types of GPIO:
16 digital GPIO pins (referenced to VDIGIO_1P8 supply, designated DGPIO_0 through DGPIO_15 )
12 analog GPIO pins (referenced to VAGPIO_1P8 supply, designated AGPIO_0 through AGPIO_11)
The digital and analog GPIO pins can be used as real-time status signals that provide device status information from the ADRV9001 to the
baseband processor when the GPIO pins are configured as outputs with respect to the ADRV9001. When set as inputs, the GPIO pins can be
used as real-time control signals that can alter the device's state. The API functions related to the GPIO configuration allow the configuration of
pins as inputs or outputs and the assigning of functionality to specific pins.
Figure 213
shows the different functionalities that can be enabled in the device and then controlled using the digital and analog GPIO pins. Not
all functionalities can be enabled at the same time.
In configuring the GPIO, two major factors to consider are: the GPIO output enable control and GPIO source control.
The output enable determines the direction of the pin. If a pin is set as output, then the GPIO I/O buffer is configured as an output.
The GPIO source control determines the functionality of the pin. The digital GPIO source control is assigned in groups of two. This means that
DGPIO_0 to DGPIO_1 share a single source control, DGPIO_2 to DGPIO_3 share a single source control, and so on. The analog GPIO source
control is assigned in groups of four, which means that AGPIO_0 to AGPIO_3 share a single source control, AGPIO_4 to AGPIO_7 share a
single source control, and so on.
Use the API commands adi_adrv9001_gpio_ControlInit_Configure() and adi_adrv9001_gpio_Configure() to configure the digital or analog
GPIO work modes. Some of the GPIO work modes are configured with the specified functions, for example, the pin-based transmitter
attenuation, etc. The following subsections explain the operation details of the digital and analog GPIO.
analog.com
Figure 213. Digital GPIO Features Overview
Figure 214. Analog GPIO Features Overview
ADRV9001
Rev. 0 | 235 of 351

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?

Table of Contents