
UM10800
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2016. All rights reserved.
User manual
Rev. 1.2 — 5 October 2016
321 of 487
21.1 How to read this chapter
The ADC is available on all parts. The number of available ADC channels depends on the
package type.
21.2 Features
•
12-bit successive approximation analog to digital converter.
•
Input multiplexing among 12 pins.
•
Two configurable conversion sequences with independent triggers.
•
Optional automatic high/low threshold comparison and “zero crossing” detection.
•
Power-down mode and low-power operating mode.
•
Measurement range VREFN to VREFP (typically 3 V; not to exceed VDDA voltage
level).
•
12-bit conversion rate of up to 1.2 Msamples/s.
•
Burst conversion mode for single or multiple inputs.
•
DMA support.
•
Hardware calibration mode.
21.3 Basic configuration
Configure the ADC as follows:
•
Use the PDRUNCFG register to power the ADC. See
. Once the ADC is
powered by the PDRUNCFG register bit, the low-power mode bit in the ADC CTRL
register can be used to turn off the ADC when it is not sampling and turn on the ADC
automatically when any of the ADC conversion triggers are raised. See
and
•
Use the SYSAHBCLKCTRL register (
) to enable the clock to the ADC
register interface and the ADC clock.
•
The ADC block creates four interrupts with individual entries in the NVIC. See
.
•
The ADC analog inputs are enabled in the switch matrix block.See
.
•
The power to the ADC block is controlled by the PDRUNCFG register in the SYSCON
block. See
•
Calibration is required after every power-up or wake-up from Deep power-down
mode. See
Section 21.3.4 “Hardware self-calibration”
.
UM10800
Chapter 21: 12-bit Analog-to-Digital Converter (ADC)
Rev. 1.2 — 5 October 2016
User manual
Table 275. Pinout summary
Package
ADC channels available
TSSOP20
ADC_2, ADC_3, ADC_9, ADC_10, ADC_11
HVQFN33
ADC_0 to ADC_11