Is it possible to stop ADC-DMA transfers when debugging?
I have an ADC1 setup in continuous mode and DMA1 in circular mode setup to transfer adc data to a circular buffer in memory. The data is processed directly from the circular buffer and the buffer is big enough that the processing is done before the buffer overflows.
This setup has been challenging to debug since the ADC is not stopped during debugging so it is impossible to look at the data that is being processed. Is there a way to halt the ADC/DMA when stepping through code using the debugger?
I'm using HAL libraries in IAR's EWARM and an st-link/v2. The mcu is a STM32L496.
Enabling the option "disable interrupts when stepping" in EWARM does not help either.
