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.
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