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

Interfacing (DSI, CSI, I2C, etc.) • Re: UART over GPIO 14/15 on the Raspberry Pi 5.

$
0
0

Looks like the UART is working when I make a connection using Minicom.

Code:

minicom -b 57600 -o -D /dev/ttyAMA0
When I do that, and unplug and replug power to the module it sends a 0x55 or ASCII U to state that it's ready. That char appears on the UART screen every time I plug back in the device. Looks like the issue is actually with the rppal crate.


I am no expert at this sort of configuration, and am not a Rust user. (Other than simply running code distributed by others, such as pigg.)

But I was going to suggest looking at the output from

Code:

ls -al /dev/ttyA*
after each change, to see what devices have been generated and detected by the OS.

And was also going to query what linux device name gets used by

Code:

use rppal::uart::{Parity, Uart};let uart = Uart::new(115_200, Parity::None, 8, 1)?;

Statistics: Posted by B.Goode — Tue Nov 05, 2024 3:00 pm



Viewing all articles
Browse latest Browse all 8101

Trending Articles