Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi 5 UART mapping #127

Open
albsbc opened this issue Feb 12, 2024 · 0 comments
Open

Raspberry Pi 5 UART mapping #127

albsbc opened this issue Feb 12, 2024 · 0 comments

Comments

@albsbc
Copy link

albsbc commented Feb 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant