This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Selecting Multi-channel ADC channels

Hi,

I have a question about the ADC10 module that should be pretty easy to answer, but I can't find an explicit answer.


I am using CONSEQ_3 (repeat sequence of channels) and I want to use A0, A3, A6, and A7 as inputs to the ADC. Is this possible? All of the examples I have seen lead me to believe that you must sample consecutive channels (A4, A3, A2, A1). So can I explicitly choose which channels to sample or does the ADC only sample monotonically decreasing channel numbers?

  • In sequence mode the ADC10 starts sampling with the selected channel and decrements down to channel 0. So unfortunately the answer is no, you cannot tell the processor which channels to use.

    Dennis
  • In addition, on many MSPs, the ADC will disable digital pin operation while sampling one of the unwanted channels in a sequence. SO while it is no problem simply discarding the results for unwanted channels in the sequence, the impact on the probably digitally used unwanted channels must be considered.
    The ADC12 allows freely programming an individual sequence (even with double conversions on a channel during the sequence).

**Attention** This is a public forum