The SAADC peripheral is a differential successive approximation register (SAR) analog-to-digital converter.
The main features of SAADC are the following:
- Four accuracy modes
- 10-bit mode with a maximum sample rate of 2 Msps
- 12-bit mode with a sample rate of 250 ksps
- 14-bit mode with a sample rate of 31.25 ksps
- Oversampling mode with configurable sample rate
- 10-bit resolution in single-ended mode, 11-bit resolution in differential mode, and 12/14-bit resolution with oversampling
- Multiple analog inputs
- GPIO pins with analog function (input range 0 to VDD)
- VDD (divided down to a valid range using using the programmable gain stage)
- Up to eight input channels
- One input per single-ended channel, and two inputs per differential channel
- Scan mode can be configured with both single-ended inputs and differential inputs
- Each channel can be configured to select any of the above analog inputs
- Sampling triggered by a task from software or a DPPI channel for full flexibility on sample frequency source from low-power 32.768 kHz RTC or more accurate 1/16 MHz timers
- One-shot conversion mode to sample a single channel
- Scan mode to sample a series of channels in sequence with configurable sample delay
- Support for direct sample transfer to RAM using EasyDMA
- Interrupts on single sample and full buffer events
- Samples stored as 16-bit two's complement values for differential and single-ended sampling
- Continuous sampling without the need of an external timer
- On-the-fly limit checking