Thank you for your reply.
I'm not yet a PIO expert; I simply extracted the parts that interested me from the example in the datasheet, the website tutoduino, and another example found on this forum that demonstrates the use of interrupts: thank you to all of them.
Note: this program also works as is on the RP2040 Zero.
It's not necessary to restart the state machines; you just need to perform the jumps at the beginning of the PIO programs.
I will look at your suggestions and see what can be improved.
I'm not yet a PIO expert; I simply extracted the parts that interested me from the example in the datasheet, the website tutoduino, and another example found on this forum that demonstrates the use of interrupts: thank you to all of them.
Note: this program also works as is on the RP2040 Zero.
It's not necessary to restart the state machines; you just need to perform the jumps at the beginning of the PIO programs.
I will look at your suggestions and see what can be improved.
Statistics: Posted by VincentARM — Sat Jan 03, 2026 7:19 pm