I came across this old thread, which asks the same question, but was abandoned by the OP (muyang) 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:
- wait for timer
- sample 1st channel
- wait for timer
- sample 2nd channel
- wait for timer
- sample 3rd channel
- wait for timer
- sample 1st channel
- wait for timer
- sample 2nd channel
- wait for timer
- sample 3rd channel
- etc ...
Is there a way to have it sample all the channels "together" (or nearly so) on each timer event:
- wait for timer
- sample 1st, 2nd, and 3rd channels
- wait for timer
- sample 1st, 2nd, and 3rd channels
- wait for timer
- sample 1st, 2nd, and 3rd channels
- wait for timer
- sample 1st, 2nd, and 3rd channels
- wait for timer
- sample 1st, 2nd, and 3rd channels
- wait for timer
- sample 1st, 2nd, and 3rd channels
- etc ...
nRF52832 DK