Why is ADC + DMA not triggered?
Hi! I'm using STM32 F301C8T for my LLC converter project. I have two MOSFETs switching at variable frequencies ranging from 80kHz to 400 kHz. Due to significant noise caused by switching, I need to time the output voltage measurement between the switches of MOSFETs.
I use TIM2 for PWM to switch the MOSFETs and TIM1 to count output events of TIM2 (TIM2's arr = 4, meaning that every 5TIM2 overflows, TIM1 overflows as well). Using the debugger, I checked that TIM1 counts appropriately.
I set ADC conversion to be triggered by "Timer 1 Trigger Out Event," and it seems like the AD conversion is not triggered. (+using DMA in circular mode).
Can you guys please advise what I am doing wrong? 

I start the TIMs and ADC by:
HAL_TIM_Base_Start_IT(&htim1);
HAL_ADC_Start_DMA(&hadc1,(uint32_t*) adcResultsDMA,4);
HAL_TIM_PWM_Start(&htim2, TIM_CHANNEL_2);
HAL_TIM_PWM_Start(&htim2, TIM_CHANNEL_3);
Thank you! Pj

