AnsweredAssumed Answered

A/D channel list & Static sample groups

Question asked by Gaston Schelotto on Jul 16, 2015
Latest reply on Jul 20, 2015 by Gaston Schelotto

Hello,

I've configured 5 ADC channels (with ADC interrupt disabled) as shown:

Untitled.png

and defined 2 groups (1st of channel 0 and 2nd of channel 1 to 5

Untitled2.png

For the channel 0 (group 0) I'd like to start the ADC conversion and get the value into a periodic timer driven ISR. For the other ones, channels 1 to 5 (group 1) I want to get the values from the main loop. In short, what ADC method should I use to perform?

  • A single ADC conversion for the channel 0 in the ISR
  • Four ADC (auto-scan) conversion for the channels 1 to 5

regards,

gaston

Outcomes