Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to enable Raspberry pi CM4 additional UART serial ports
#1
edit config.txt file, add:

dtoverlay=uart2
dtoverlay=uart3
dtoverlay=uart4
dtoverlay=uart5

Note that the kernel will reject attempts to enable UARTs where the pins are in use by something else (e.g. UART0, UART1 or one of the I2C ports), or it might even disable the other thing, so make sure what you are trying to do is possible.

uart1 being enabled by default, pi 4 having 4 extra uarts.
Reply


Forum Jump:


Users browsing this thread: