cancel
Showing results for 
Search instead for 
Did you mean: 

How configure ADC Tripple mode with "Regular simultaneous mode on"?

Geraldo Pereira
Associate II

I´m working with a STM32F429ZI board, CubeMX 7.0, Cube IDE 1.7 and STMF32 library version 1.26.0 . I´d like configure ADC1, ADC2 and ADC3 with Tripple mode to convert 3 ADC's channels with "Regular simultaneous mode". So, I did the following tests:

1) Configure ADC 1 and ADC 2 in "dual mode", DMA with buffer (circular), ADC 1 trigger by timer 2, and "Dual regular simultaneus mode only" and the project run.

2)  Configure ADC 1, ADC 2 and ADC3 in "triple mode", DMA with buffer (circular), ADC 1 trigger by timer 2, and "Triple regular simultaneus mode only" and the project doesn´t run. When I enable the dma1, dma2 and dma3 handler in the program crash. With I disable dma2 or dma3, the program run. So I´m not sure how configure the ADC´s triple mode.

3) I´ve just configure the project to use "Triple regular conversion only", but I know there is a delay between the conversions. I´d like convert the three ADC´s simultaneously.

I´ve attached the ADC and DMA configuration used in cube mx.

Any hint or documentation? Or tutorial?

Thanks,

Geraldo.

0 REPLIES 0