SAADC Multiple channel acquisition

I came across this old thread, which asks the same question, but was abandoned by the OP () without follow-up:

https://devzone.nordicsemi.com/f/nordic-q-a/26699/52832-saadc-multi-channel-acquisition

Modifying the SDK 15.3.0 SAADC example as shown there does, indeed, sample multiple channels.

But it only samples 1 channel on each timer event:

  1. wait for timer 
  2. sample 1st channel
  3. wait for timer 
  4. sample 2nd channel
  5. wait for timer 
  6. sample 3rd channel
  7. wait for timer 
  8. sample 1st channel
  9. wait for timer 
  10. sample 2nd channel
  11. wait for timer 
  12. sample 3rd channel
  13. etc ...

Is there a way to have it sample all the channels "together" (or nearly so) on each timer event:

  1. wait for timer 
  2. sample 1st, 2nd, and 3rd channels
  3. wait for timer 
  4. sample 1st, 2nd, and 3rd channels
  5. wait for timer 
  6. sample 1st, 2nd, and 3rd channels
  7. wait for timer 
  8. sample 1st, 2nd, and 3rd channels
  9. wait for timer 
  10. sample 1st, 2nd, and 3rd channels
  11. wait for timer 
  12. sample 1st, 2nd, and 3rd channels
  13. etc ...

nRF52832 DK

Parents Reply Children