This gist contains example code to demonstrate failures in the nRF52
SAADC peripheral when using the
CONFIG.BURST feature in both scan-mode
and non-scan-mode acquisitions.
The issue is discussed at: https://devzone.nordicsemi.com/f/nordic-q-a/45339/saadc-burst-problems-in-scan-vs-non-scan-acquisitions
The example directly manipulates SAADC peripheral registers, and runs under nrfcxx. The SAADC-specific material is self-contained and should be trivially portable to other frameworks or plain C.