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

Advanced users • Re: RPi 5 serial port, does it detect a connection?

$
0
0
I've just tried this, being back in the office, and booting without the UART cable attached and subsequently plugging it does get me a login prompt.

One thing I have noticed is that there is no pull up on the RXD line - it actually has a pull down - which isn't ideal. If you can SSH into the Pi 5 (or use a keyboard and display), attach and detach the Debug UART cable while running this command:

Code:

$ pinctrl poll UART_TX_FS,UART_RX_FS
What you will see is that the RX line goes low when the cable is disconnected, when it should really stay high. You can try adding the following to /etc/rc.local to see if it makes a difference:

Code:

pinctrl UART_RX_FS pu
However, the system isn't designed for hot-plugging, and there is the possibility of glitches on the lines that might be interpreted as "break" signals etc. This can cause getty to try a different baud rate, at which point your console is going to be non-responsive. You can check the current baud rate (from another console) using "sudo stty -F /dev/ttyAMA10 -a".

Statistics: Posted by PhilE — Wed Feb 28, 2024 10:42 am



Viewing all articles
Browse latest Browse all 6037

Trending Articles