Skip to main content
update
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212

The BCM2711 used in the Raspberry Pi 4 Model B, the Raspberry Pi 400, and the Raspberry Pi Compute Module 4 has 4 additional UART (uart2-uart5) in addition to uart0/1 on the older Pi (only one of which can be used as they share GPIO).
Functionally these are equivalent to the fully featured PL011 UART on uart0 and can optionally be configured with CTS/RTS. 
See UART configurationUART configuration for FoundationRaspberry Pi Ltd. documentation.

If additional UARTs are enabled they will appear as /dev/ttyAMAn.
The first will beIn current kernel /dev/ttyAMAn corresponds to UARTn.
In older OS/kernel they were numbered sequentially starting with /dev/ttyAMA1 and incrementincrementing if additional UART are enabled.

The BCM2711 used in the Raspberry Pi 4 Model B, the Raspberry Pi 400, and the Raspberry Pi Compute Module 4 has 4 additional UART (uart2-uart5) in addition to uart0/1 on the older Pi (only one of which can be used as they share GPIO).
Functionally these are equivalent to the fully featured PL011 UART on uart0 and can optionally be configured with CTS/RTS. See UART configuration for Foundation documentation.

If additional UARTs are enabled they will appear as /dev/ttyAMAn
The first will be /dev/ttyAMA1 and increment if additional UART are enabled.

The BCM2711 used in the Raspberry Pi 4 Model B, the Raspberry Pi 400, and the Raspberry Pi Compute Module 4 has 4 additional UART (uart2-uart5) in addition to uart0/1 on the older Pi (only one of which can be used as they share GPIO).
Functionally these are equivalent to the fully featured PL011 UART on uart0 and can optionally be configured with CTS/RTS. 
See UART configuration for Raspberry Pi Ltd. documentation.

If additional UARTs are enabled they will appear as /dev/ttyAMAn.
In current kernel /dev/ttyAMAn corresponds to UARTn.
In older OS/kernel they were numbered sequentially starting with /dev/ttyAMA1 and incrementing if additional UART are enabled.

added 7 characters in body
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212

NOTE you can enable overlays on the fly e.g sudo dtoverlay uart4NOTE you can enable overlays on the fly e.g sudo dtoverlay uart4.
Manually loaded overlays can be removed e.g sudo dtoverlay -r uart4
Changes to the OS mean that enabling some overlays on the fly is not currently working, although formerly it worked.

NOTE you can enable overlays on the fly e.g sudo dtoverlay uart4.
Manually loaded overlays can be removed e.g sudo dtoverlay -r uart4
Changes to the OS mean that enabling some overlays on the fly is not currently working, although formerly it worked.

NOTE you can enable overlays on the fly e.g sudo dtoverlay uart4.
Manually loaded overlays can be removed e.g sudo dtoverlay -r uart4
Changes to the OS mean that enabling some overlays on the fly is not currently working, although formerly it worked.

update
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212

NOTE you can enable overlays on the fly e.g sudo dtoverlay uart4.
Manually loaded overlays can be removed e.g sudo dtoverlay -r uart4
Changes to the OS mean that enabling some overlays on the fly is not currently working, although formerly it worked.

NOTE you can enable overlays on the fly e.g sudo dtoverlay uart4.
Manually loaded overlays can be removed e.g sudo dtoverlay -r uart4

NOTE you can enable overlays on the fly e.g sudo dtoverlay uart4.
Manually loaded overlays can be removed e.g sudo dtoverlay -r uart4
Changes to the OS mean that enabling some overlays on the fly is not currently working, although formerly it worked.

added 1 character in body
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212
Loading
added 133 characters in body
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212
Loading
/dev/ttyAMA
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212
Loading
Added link
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212
Loading
added 74 characters in body
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212
Loading
enable overlays on the fly
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212
Loading
Fix Documentation links
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212
Loading
UART2
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212
Loading
Foundation documentation
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212
Loading
edited body
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212
Loading
added 32 characters in body
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212
Loading
Source Link
Milliways
  • 61.4k
  • 32
  • 108
  • 212
Loading