pimoroni-pico/micropython
Phil Howard 4d33649cd2 HUB75: More rational DMA/PIO setup/teardown, fixes reset bug
Defensively tear down DMA/PIO so it's in a known good state upon (soft)reset.

Issue was a race condition with DMA interrupts firing and not being achknowledged, leaving a stuck raised IRQ.

The blocking wait for DMA transactions also exacerbated this, turning a borken DMA interrupt and blank screen into an unrecoverable hardlock.

...not that the blank screen was recoverable without a soft reset anyway!
2021-11-25 17:52:44 +00:00
..
examples HUB75 Clock example, brightness tweak 2021-11-25 16:37:46 +00:00
modules HUB75: More rational DMA/PIO setup/teardown, fixes reset bug 2021-11-25 17:52:44 +00:00
modules_py PicoSystem: Bat sense scaling 2021-10-06 11:38:10 +01:00