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

General • State machine restart behavior

$
0
0
In the PIO registers section of the rp2040 datasheet (3.7), the SM_RESTART field's description states "Specifically, the following are cleared: ...the waiting-on-IRQ state...". However, I have found that restarting a state machine will not break it out of a WAIT instruction when the wait source is an IRQ. It will only break out a state machine currently in an IRQ instruction with the wait flag set. I want to utilize this behavior in my program, so I would like to know if this was intended or if it is an oversight that may eventually be fixed.

Statistics: Posted by LandFish — Mon Jun 09, 2025 1:01 am



Viewing all articles
Browse latest Browse all 8162

Trending Articles