Skip to content

Raspberry Pi 5 UART mapping #127

Description

@albsbc

Hi @sharpk, @spathi,

/dev/serial0 (ttyAMA10) is wired to the UART connector instead of the 40 way connector on the Raspberry Pi 5. It can be accessed from the LINX toolkit. NOTE: characters are sent to the port from the Raspberry Pi boot ROM.

It is possible to access the UART pins 8 and 10 on the 40 way connector if the serial port is enabled in raspi-config. The additional UART is mapped as /dev/ttyAMA0.

Please can you update LinxRaspberryPi5.cpp to use /dev/ttyAMA0 instead of /dev/serial0? This would allow users to run their existing vi's and UART wiring on the Raspberry Pi 5. /dev/serial0 could be added as a second UART port in the m_UartPaths array.

The VISA mapping for the UART's is

ASRL1::INSTR /dev/ttyAMA10
ASRL2::INSTR /dev/ttyAMA0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions