Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Interfacing (DSI, CSI, I2C, etc.) • Re: RPI CM5 uart0 as a general purpose uart

$
0
0
Why the big debate: just choice one or two or three of the 5 Uarts making sure that selected associated alternative GPIO pins are not being used.
Interpret GPIO a17 as GPIO 17


UART0:
UART0_TX can be an alternate function of GPIO a14.
UART0_RX can be an alternate function of GPIO a15.
UART0_CTS can be an alternate function of GPIO a16.
UART0_RTS can be an alternate function of GPIO a17.
UART0_IR_RX can be an alternate function of GPIO a4.
UART0_IR_TX can be an alternate function of GPIO a5.
UART0_RI can be an alternate function of GPIO a6.
UART0_DTR can be an alternate function of GPIO a7.
UART0_DCD can be an alternate function of GPIO a14.
UART0_DSR can be an alternate function of GPIO a15. Section 2.7 indicates that UART0 supports an 8-wire interface (TX, RX, CTS, RTS, DTR, DCD, DSR, RI) or IrDA (IR_TX, IR_RX).

UART1:
UART1_TX can be an alternate function of GPIO a2.
UART1_RX can be an alternate function of GPIO a3.
UART1_CTS can be an alternate function of GPIO a4.
UART1_RTS can be an alternate function of GPIO a5. Section 2.7 indicates that UART1 has a 4-wire interface.

UART2:
UART2_TX can be an alternate function of GPIO a4.
UART2_RX can be an alternate function of GPIO a5.
UART2_CTS can be an alternate function of GPIO a6.
UART2_RTS can be an alternate function of GPIO a7. Section 2.7 indicates that UART2 has a 4-wire interface.

UART3:
UART3_TX can be an alternate function of GPIO a8.
UART3_RX can be an alternate function of GPIO a9.
UART3_CTS can be an alternate function of GPIO a10.
UART3_RTS can be an alternate function of GPIO a11. Section 2.7 indicates that UART3 has a 4-wire interface.

UART4:
UART4_TX can be an alternate function of GPIO a12.
UART4_RX can be an alternate function of GPIO a13.
UART4_CTS can be an alternate function of GPIO a14.
UART4_RTS can be an alternate function of GPIO a15. Section 2.7 indicates that UART4 has a 4-wire interface.

Statistics: Posted by Henderson Hood — Mon Apr 07, 2025 4:24 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles