← index #8790Issue #13605
Related · high · value 3.674
QUERY · ISSUE

RP2: PIO interrupt API for Raspberry Pi Pico

openby cody82opened 2022-06-20updated 2025-10-03
enhancementport-rp2

In the Micropython port RP2 for the Raspberry Pi Pico it looks like there are some APIs missing.
Especially it seems it is not possible to enable a PIO FIFO interrupt. (Or I did miss something)

In the Raspberry Pico C API there is the function pio_set_irq0_source_enabled that lets you configure FIFO interrupts:
https://raspberrypi.github.io/pico-sdk-doxygen/group__hardware__pio.html

I would like to see support for that in Micropython. Without that API you have to poll the FIFO which is in my case bad for performance.

CANDIDATE · ISSUE

No support for UART RX IRQ (interrupt)

closedby Omid888opened 2024-02-06updated 2024-10-08
enhancement

Micropython does not support interrupts on UART, which is very weird since it is a very common protocol and always needed. (link to the official documentations)

Alternatives such as asyncIO, PIO and etc are not good enough.
Micropython currently supports this feature only on WiPy boards.

Since I'm using raspberrypi pico, I think their foundation can be a good candidate to apply this request (for the pico boards specifically), but micropython does not support this on almost any boards therefor I'm requesting from the micropython respected team to add this feature.

Thank you for your great work.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied