AnsweredAssumed Answered

[F030] Using ADC with DMA and multiple channels

Question asked by stanzani.marco on Jan 30, 2016
Latest reply on Jan 31, 2016 by Clive One
hello all
I need advice about using the ADC embedded in the STM32F03. I am connecting 5 analogue sources which I want to acquire with different rate
S0 every 2nd sample
S1 every 3rd sample
S2 every 6th sample
The idea is to connect teh highest sampled souce S0 to 3 channel at the same time, S1 at 2 channels and S1 just one channel. S0 data are stor into 3 variables, S1 into 2 variables, S2 just one variable (transfer is of course via DMA and ADC is working in continuous mode with a sequence alength accordingly)

Is this approach correct? This prevent me from changing the sample rate whenever I acquire a channel
I am also looking for some examples showing ADC in contionuous multichall mode and DMA (using HAL is better): I attended a training in Milan a few weeks ago but I lost the ecercise example. thanks much