Stopping/Clearing-out/Restarting PIO blocks -> microPython BUG #18634
Replies: 2 comments 7 replies
-
|
If you take all the StateMachines down anyways, you might as well delete all eight StateMachines-instances and reinstate them fresh. Would be a clear cut. |
Beta Was this translation helpful? Give feedback.
-
|
After spending a few more hours (around 10hours spent on this) I think I have discovered a bug with microPython! It's not easy seeing what happening within the PIO blocks, but you can read ( In this log I am alternately loading I was also able to re-create this BUG in a short example code. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a (quiet complex) project that is using all the PIO on a RP2040 - every engine, all locations, using FIFOs and IRQ for communications. The project has different operation at different times, so I'm attempting to clear/re-load the PIOs.... and I am seeing that the 2nd time running the same code, it doesn't work :-(
There must be something 'sticky' changing how the StateMachines work (or don't).
I have this 'take down' code:
Any other suggestions on what I can try between PIO loadings?
Beta Was this translation helpful? Give feedback.
All reactions