-
Notifications
You must be signed in to change notification settings - Fork 654
Closed
Description
In our controlller we need to temporary stop the RP2040ADCEngine, so we can use RP2040 flash memory access for saving parameters in the user interface.
The RP2040ADCEngine stop function hangs in 'dma_channel_abort':
| void RP2040ADCEngine::stop() { |
The reason is that DMA_IRQ_0 needs to be disabled first (before any call to 'dma_channel_abort'):
irq_set_enabled(DMA_IRQ_0, false);
Then it will no longer hang in RP2040ADCEngine stop :-)