Associate II
September 21, 2020
Question
timer + ADC + DMA (ADC ISR overrun)
- September 21, 2020
- 3 replies
- 1275 views
Hi all,
I want to use timer 2 to trigger ADC function (ADC3) on STM32H743ZI2 platform.
After DMA & timer starting, I stuck in HAL_ADC_IRQHandler().
/* Multimode not set or feature not available or ADC independent */
if ((hadc->Instance->CFGR & ADC_CFGR_DMNGT) != 0UL)
{
overrun_error = 1UL;
}Can somebody help me what's going on?
The attached file is cubeMx setting & main file.
Thanks.
