aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorhuntc <[email protected]>2022-02-26 18:15:37 +1100
committerhuntc <[email protected]>2022-03-07 14:51:17 +1100
commit98bdac51fe24c48ba097fcba3ec705f9da7df783 (patch)
treec259432d7cf8ba49ef5c53bf62c25fd4e6f7a2c2 /docs
parent9735c38592ab6749d832f027fdc3070f97dc57cf (diff)
Improve nRF Saadc sampling
Starting the sampling task prior to starting the SAADC peripheral can lead to unexpected buffer behaviour with multiple channels. We now provide an init callback at the point where the SAADC has started for the first time. This callback can be used to kick off sampling via PPI. We also need to trigger the SAADC to start sampling the next buffer when the previous one is ended so that we do not drop samples - the major benefit of double buffering. As a bonus we provide a calibrate method as it is recommended to use before starting up the sampling. The example has been updated to illustrate these new features.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions