Question
[F030] Using ADC with DMA and multiple channels
Posted on January 30, 2016 at 13:38
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 rateS0 every 2nd sampleS1 every 3rd sampleS2 every 6th sampleThe 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 channelI 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