Skip to main content
Anthony Rabine
Associate II
October 30, 2019
Question

ADC 1 and 2 not working at the same time

  • October 30, 2019
  • 0 replies
  • 578 views

Hello,

I have started using ADC. I would like to acquire ADC channels 1 and 2 at the same time (or let say, one after the other). I have modified the provided example in polling mode to add the second channel, I have a doubt since the way we configure the ADC impose to choose one.

I tried different solutions, as well as select one input and then the other, in single and continuous modes, the result is that the second channel is always stuck (I see big values such as 64V ...).

The provided examples show only one channel. Can you give me a working example that is working with the two ADC channels? Do I have to re-configure the whole ADC each time?

Thank you,

Anthony

    This topic has been closed for replies.