Continuous sampling is achieved by using the internal timer in the ADC, or triggering the SAMPLE task from one of the general purpose timers through the PPI system.
tSAMPLE > tACQ + tCONV
tACQ=0
tCONV=0tSAMPLE=tPWRUP + tACQ + tCONVSubsequent
samples are given by the following equation:
fSAMPLE=1/(tCONV)
The register SAMPLERATE can be used as a local timer instead of triggering individual SAMPLE tasks. When SAMPLERATE.MODE is set to Timers, it is sufficient to trigger SAMPLE task only once in order to start the SAADC peripheral. Triggering the STOP task will stop sampling. The SAMPLERATE.CC field controls the sample rate.
A DONE event signals that one sample has been taken.
In this mode, the RESULTDONE event has the same meaning as DONE when no oversampling takes place. Both events may occur before the value has been transferred into RAM by EasyDMA.