You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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':
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':
Arduino-FOC/src/current_sense/hardware_specific/rp2040/rp2040_mcu.cpp
Line 242 in 47fc35c
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 :-)
The text was updated successfully, but these errors were encountered: