The ADC supports up to eight external analog input channels. It can be operated in One-shot mode with sampling under software control, or Continuous mode with a programmable sampling rate.
- AIN0 to AIN7 pins
- VDD pin
- VDDHDIV5 (through VDDH pin)
Internally, the ADC is always a differential analog-to-digital converter, but by default it is configured with single-ended input SE in the MODE field of the CH[n].CONFIG register. In Single-ended (SE) mode, the negative input will be shorted to ground internally.
In Single-ended mode, the assumption is that the internal ground of the ADC is the same as the external ground that the measured voltage is referred to. The ADC is thus sensitive to ground bounce on the PCB. This can be reduced by configuring SAADC to use differential measurent setting the MODE field of the CH[n].CONFIG register to Diff (differential).