In this example, the UART 0 RxD and TxD signals are routed through MIO pins 46 and 47. Many other pin options are possible.
- Configure MIO pin 46 for the RxD signal. Write
0x0000_12E1to the slcr.MIO_PIN_46 register:- Route UART 0 RxD signal to pin 46.
- Output disabled (set TRI_ENABLE = 1).
- LVCMOS18 (refer to the register definition for other voltage options).
- Slow CMOS edge (benign setting).
- Enable internal pull-up resistor.
- Disable HSTL receiver.
- Configure MIO pin 47 for the TxD signal. Write
0x0000_12E0to the slcr.MIO_PIN_47 register:- Route UART 0 TxD signal to pin 47.
- 3-state controlled by the UART (TRI_ENABLE = 0).
- LVCMOS18 (refer to the register definition for other voltage options).
- Slow CMOS drive edge.
- Enable internal pull-up resistor.
- Disable HSTL receiver.