STM32F746: ADC3 does not work with external trigger from timer
Hi,
I made project that samples audio signals from the ADC at a constant rate. The trigger signal for the ADC conversion is generated by a timer.
Now here's the thing:
The code works fine on my STM32L432 Nucleo, STM32L4R5 Nucleo and STM32F429 Disco, but it does not work with the STM32F746 Disco. It looks like the trigger signal from the timer does not get through to ADC3, because I can work-around by using ADC_SOFTWARE_START and start the conversion manually by setting the SWSTART-Flag in the Timer ISR (in this case everything works fine again).
I checked the Timer and ADC registers with the debugger and their content appears to be correct, I also tried several different timers, but to no avail.
A major difference is that all other MCUs use ADC1 where as the STM32F746 uses ADC3 (as only its inputs are available).
The ADC3 trigger input is configured like this:
hadcx.Init.ExternalTrigConv = ADC_EXTERNALTRIGCONV_T4_TRGO;
hadcx.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_RISING; The timer output trigger signal TRGO is configured like this:
sMasterConfig.MasterOutputTrigger = TIM_TRGO_UPDATE;
sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_ENABLE;Any ideas?
