Nxp Semiconductors UM10237 User Manual
![Nxp Semiconductors](https://files.manualsbrain.com/attachments/fccaa96c7791e96162626b2f8f54b82bf96e15b2/common/fit/150/50/deab3bab3bb4be851ec901ed1b8a87b96e9414e9dda8a447d23580407a5f/brand_logo.gif)
UM10237_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 19 December 2008
667 of 792
1.
Basic configuration
The ADC is configured using the following registers:
1. Power: In the PCONP register (
), set bits PCADC.
Remark: On reset, the ADC is disabled. To enable the ADC, first set the PCADC bit,
and then enable the ADC in the AD0CR register (bit PDN)
and then enable the ADC in the AD0CR register (bit PDN)
. To disable
the ADC, first clear the PDN bit, and then clear the PCADC bit.
2. Clock: In the PCLK_SEL0 register (
), select PCLK_ADC. To scale the
clock for the ADC, see
bits CLKDIV.
3. Pins: Select ADC pins and pin modes in registers PINSELn and PINMODEn (see
4. Interrupts: To enable interrupts in the ADC, see
. Interrupts are enabled
in the VIC using the VICIntEnable register (
2.
Features
•
10 bit successive approximation analog to digital converter.
•
Input multiplexing among 8 pins.
•
Power down mode.
•
Measurement range 0 to 3 V.
•
10 bit conversion time
≥ 2.44 μs.
•
Burst conversion mode for single or multiple inputs.
•
Optional conversion on transition on input pin or Timer Match signal.
•
Individual result registers for each A/D channel to reduce interrupt overhead.
3.
Description
Basic clocking for the A/D converters is provided by the APB clock (PCLK). A
programmable divider is included in each converter, to scale this clock to the 4.5 MHz
(max) clock needed by the successive approximation process. A fully accurate conversion
requires 11 of these clocks.
programmable divider is included in each converter, to scale this clock to the 4.5 MHz
(max) clock needed by the successive approximation process. A fully accurate conversion
requires 11 of these clocks.
4.
Pin description
gives a brief summary of each of ADC related pins.
UM10237
Chapter 28: LPC24XX Analog-to Digital Converter (ADC)
Rev. 02 — 19 December 2008
User manual