2024-09-26 11:36 AM
So my stm32h7 works fine using regular interrupts. But when doing it via DMA,
void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *adc)
is never called.
I enabled ADC global interrupt and BDMA channel0 global interrupt.
circular buffer,
continuous conversion mode enabled, conversion data management mode is at DMA circular mode as well.
My other DMA for i2s, SAI and UART work perfectly fine?
I call dma using :
HAL_ADC_Start_DMA(&hadc3, (uint32_t*) Battery_read, sizeof(Battery_read));
2024-09-26 01:34 PM
You didn't mention that you enabled DMA Continuous Requests?