I'm doing ADC readings with DMA into a regular (non-circular) buffer but I always get the overrun bit set in the ADC status register even though I stop the DMA immediately in HAL_ADC_ConvCpltCallback.
I want to read ADC values with DMA at specific times (I have an analog multiplexer that needs to switch and I want to synchronize the ADC readings with the mux switching). I have the ADC triggered by a timer and stop the ADC immediately using HAL_ADC_Stop_DMA when I get HAL_ADC_ConvCpltCallback. If I set a breakpoint right after HAL_ADC_Stop_DMA I see both the Overrun and Start bits are set in the ADC status register. I'm using a Normal rather than Circular buffer. Any ideas why the start and overrun bits are set? Thanks
