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

Troubleshooting • PIO UART implementation in rp2040

$
0
0
HELLO There,
I'm usiong rp2040 in my project. There are two UARTs implemented. I'm using uart_getc() and uart_putc() functions for Rx n Tx respectively. But this is working only with one of the uart which is using gpio0 & gpio1.
The other uart which uses usb_dp (pin 46) & usb_dm (pin 47) is not working using uart_getc() and uart_putc() functions. So I thought to implement PIO based UART on pin 46 and 47, but facing difficulty.
Could you please help me out for PIO UART implementation. I want to understand How I can implement PIO uart Rx and Tx in my code.
Your generous help is highly appreciated.

Thanks and Regards,
Sham.

Statistics: Posted by RpiPEEL — Wed Mar 05, 2025 7:09 am



Viewing all articles
Browse latest Browse all 3799

Trending Articles