cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407VG ADC DMA Interleaved Mode

davidec
Associate III

Good morning to everyone,
I am trying to obtain on STM32F407VG Discovery a sampling of a signal with interleaved mode. I am experiencing problems, mainly I see that it does not enter the routine commanded by the adc flag. Would anyone be able to help me?

The code is attached

4 REPLIES 4
TDK
Guru

What routine is it not entering?

You can see an example of dual interleaved mode here:

https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM324x9I_EVAL/Examples/ADC/ADC_DualModeInterleaved

 

If you feel a post has answered your question, please click "Accept as Solution".
davidec
Associate III

Does not enter the while commanded by the flag that is triggered by the callback HAL_ADC_ConvCpltCallback

TDK
Guru

Debug the program, hit pause, where is execution at?

If you feel a post has answered your question, please click "Accept as Solution".
davidec
Associate III

if (adcFlag) in the while loop inside the main()