![FTDI FT51A Application Note Download Page 70](http://html1.mh-extra.com/html/ftdi/ft51a/ft51a_application-note_2341158070.webp)
Application Note
AN_289 FT51A Programming Guide
Version 1.0
Document Reference No.: FT_000962 Clearance No.: FTDI# 483
69
Copyright © 2015 Future Technology Devices International Limited
IOMUX Input Signals
Value
IOMUX Input Signals
Value
FIFO_245_DATA_WRITE_6
34
GPIO_PORT0I_3
3
FIFO_245_DATA_WRITE_5
33
GPIO_PORT0I_2
2
FIFO_245_DATA_WRITE_4
32
GPIO_PORT0I_1
1
FIFO_245_DATA_WRITE_3
31
GPIO_PORT0I_0
0
FIFO_245_DATA_WRITE_2
30
Table 2.82 IOMUX Input Signal Mapping Values
2.9.9
Use Cases
The following use cases represent methods for mapping input and output signals to different pads.
It should be noted that the IOMUX mapping MUST be performed during configuration of the device
and not while the signals being mapped are active.
2.9.9.1
Setup an Input Signal
To program the IOMUX to route DIO_6 to the input signal UART_RXD.
Select the signal:
o
Find UART_RXD in Table 2.82. Value is 17
decimal
.
o
Write 17
decimal
to
IOMUX_INPUT_SIG_SEL
.
Select the pad:
o
Find the pad DIO_6 in Table 2.80. Value is 22
decimal
.
o
Write 22
decimal
to
IOMUX_INPUT_PAD_SEL
.
2.9.9.2
Setup an Output Signal
To program the IOMUX to route UART_TXD signal to the output pad DIO_8.
Select the pad:
o
Find the pad DIO_8 in Table 2.80. Value is 24
decimal
.
o
Write 24
decimal
to
IOMUX_OUTPUT_PAD_SEL
Select the signal:
o
Find UART_RXD in Table 2.81. Value is 18
decimal
.
o
Write 18
decimal
to
IOMUX_OUTPUT_SIG_SEL
.