AnsweredAssumed Answered

Sample sfecific ADC channel

Question asked by Ariel G on Apr 12, 2018
Latest reply on Apr 12, 2018 by AvaTar


I'm trying to work with the ADC of the STM32F072RB which have 1-ADC with 16 channels,

what I'm trying to do is to take 1000 samples of ADC_CH1 every X second and take 1000 samples of ADC_CH2 every Y seconds and once in few minutes sample the temperature sensor.

I'm using DMA the problem as I understand it is that the ADC is working in a scan mode and I can't distinguish between the channels so what is happening is when I sample 1000 times the result is [ADC_CH1, ADC_CH2, TEMP,..,]


Is it possible to sample a specific ADC channel?