cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F40X Triple regular simultaneous model only

Stmotor
Associate

Hi,

I am trying to use 3 ADCs on STM32F407 with 'Triple regular simultaneous model only'. This option is avaliable in CubeMX configuration, but I can not get it working in the code. I would like to sample 3 channels using the 3 ADCs at the same time. 

Can you please let me know how to set up this correctly? Which API shall I use?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

Look at the ADC_TripleModeInterleaved example.

https://github.com/STMicroelectronics/STM32CubeF4/blob/d5af56388ff037735ac99de39abf2b46f9921aa3/Projects/STM324x9I_EVAL/Examples/ADC/ADC_TripleModeInterleaved/Src/main.c

 

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

View solution in original post

1 REPLY 1
TDK
Guru

Look at the ADC_TripleModeInterleaved example.

https://github.com/STMicroelectronics/STM32CubeF4/blob/d5af56388ff037735ac99de39abf2b46f9921aa3/Projects/STM324x9I_EVAL/Examples/ADC/ADC_TripleModeInterleaved/Src/main.c

 

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