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

General • What's the most performant way to receive/handle UART?

$
0
0
Hi, i'm trying to use a Pi Pico as an UART data logger for baudrate >= 2M, and i'm a bit unsure on what's the best way to handle the UART Rx part.

Looking at example codes, it seems like i can use either hardware UART or PIO UART. For the latter, I also see there are examples of using either UART interrupt or DMA interrupt to handle data.

I want to save CPU resources for compression and writing to SD card, so i hope to have a way to handle UART Rx as resource efficient as possible.

Can anyone help me with understanding among those methods, what'd be the most performant and why? Thanks.

Statistics: Posted by ferrum — Thu Jun 05, 2025 6:52 am



Viewing all articles
Browse latest Browse all 8609

Trending Articles