Download Print this page

Gpio Output Driver Setup; Configuring Gpio Forwarding; Gpio Broadcasting - Analog Devices MAX96752 User Manual

Advertisement

The resistance value of the resistor is set using the
• 0: 40 kΩ
• 1: 1 MΩ

GPIO Output Driver Setup

The GPIO output driver can be enabled or disabled. When enabled, the output driver can be configured to be either
open-drain or push-pull. The output driver is enabled by writing
GPIO_OUT_DIS
= 1. The output driver is configured for open-drain mode (i.e., NMOS output driver enabled) by
writing
OUT_TYPE
= 0 and for push-pull mode (i.e., both NMOS and PMOS output driver enabled) by writing
OUT_TYPE
= 1.

Configuring GPIO Forwarding

GPIO forwarding is the transmission and regeneration of state changes of GPIO pins on the local side of the serial
link to the corresponding GPIO pins on the remote side. To forward the pin value, the local and remote side GPIOs
must be properly configured. Each GPIO has configurable registers GPIO_TX_ID and GPIO_RX_ID used for mapping
GPIO pins across the serial link. Note that this configuration applies to both the serializer-to-deserializer and
deserializer-to-serializer communications.
Configuring Input GPIO:
• Set
GPIO_TX_ID
with a value from 0 to 31 to assign the GPIO pin ID.
• Write
GPIO_TX_EN
= 1 to enable the GPIO transmit block.
Configuring Output GPIO:
• Set
GPIO_RX_ID
with a value from 0 to 31 to assign the GPIO pin ID. This must be the same value used for
GPIO_TX_ID to map the input and output GPIO pins.
• Write
GPIO_RX_EN
= 1 to enable the GPIO receive block for the GPIO pin.
By default, the
GPIO_TX_ID
GPIO_TX_ID
and
GPIO_RX_ID
the serial link by default.

GPIO Broadcasting

The same concept of GPIO forwarding can be configured so that a transition on a single GPIO input is mapped to
multiple GPIO outputs (broadcasting). To do this, set the GPIO_TX_ID of the input GPIO to the same GPIO_RX_ID of
multiple output GPIO pins.
MFP0
TX_ID = 0
(GPIO0)
www.analog.com
and
GPIO_RX_ID
are the same value as the GPIO number. For example, the default
values for GPIO1 is 1. Accordingly, GPIO1 is mapped to GPIO1 on the opposite side of
Figure 25
is an example of this configuration.
SERIALIZER
Figure 25. GPIO Broadcasting
RES_CFG
register:
GPIO_OUT_DIS
GMSL LINK
DESERIALIZER
= 0 and disabled by writing
MFP0
RX_ID = 0
(GPIO0)
MFP3
RX_ID = 0
(GPIO3)
Analog Devices | 33

Advertisement

loading
Need help?

Need help?

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

Questions and answers