Download Print this page

Gpio Programming Example - Analog Devices MAX96752 User Manual

Advertisement

Register Bits
0x204
7:0
0xA0
0x205
7:0
0x40
0x206 to
...
...
0x22F

GPIO Programming Example

In this example, GPIO0 on a serializer is forwarded across the link to GPIO1 on a deserializer. This example can be
adjusted to use different GPIO pins or forward a GPIO on the local side to the remote side, depending on the
desired application. An important note is to set up the GPIO Rx side before setting up the GPIO Tx side to prevent
asynchronous states.
www.analog.com
Default Value
Decode
Bit 2:
GPIO_RX_EN
0=Disable receiving from the link.
1=Enable receiving from the link
Bit 1:
GPIO_TX_EN
0=Disable transmitting to the link.
1=Enable transmitting to the link
GPIO_OUT_DIS
Bit 0:
0=Output driver enabled
1=Output driver disabled
GPIO1 B:
Bit [7:6]:
Resistor Configuration
00=None
01=Pull-up
10=Pull-down
OUT_TYPE
Bit 5:
0 = Open-drain
1 = Push-pull
Bit [4:0]:
GPIO_TX_ID
Address=0-31
GPIO1 C:
OVR_RES_CFG[0]
Bit 7:
0=Received GPIO Value 0
1=Received GPIO Value 1
Bit [4:0]:
GPIO_RX_ID
Address=0 to 31
Repeat Registers A, B, C for GPIO2 to GPIO15.
Analog Devices | 35

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

Subscribe to Our Youtube Channel