lpc2921 NXP Semiconductors, lpc2921 Datasheet - Page 34
lpc2921
Manufacturer Part Number
lpc2921
Description
Arm9 Microcontroller With Can, Lin, And Usb Device
Manufacturer
NXP Semiconductors
Datasheet
1.LPC2921.pdf
(83 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
lpc2921FBD100
Manufacturer:
NXP
Quantity:
1 000
Company:
Part Number:
lpc2921FBD100,551
Manufacturer:
NXP Semiconductors
Quantity:
10 000
NXP Semiconductors
LPC2921_23_25_1
Preliminary data sheet
6.14.4.1 Functional description
6.14.3 Clock description
6.14.4 Analog-to-digital converter
Remark: The IDX0 function for the QEI, the external start function for ADC1, and the
TRAP0/1 functions for the PWM0/1 are not pinned out on the LPC2921/2923/2925.
The MSCSS is clocked from a number of different sources:
Each ADC has two clock areas; an APB part clocked by CLK_MSCSS_ADCx_APB (x = 1
or 2) and a control part for the analog section clocked by CLK_ADCx = 1 or 2), see
Section
All clocks are derived from the BASE_MSCSS_CLK, except for CLK_SYS_MSCSS_A
which is derived form BASE_SYS_CLK, and the CLK_ADCx clocks which are derived
from BASE_CLK_ADC. If specific PWM or ADC modules are not used their corresponding
clocks can be switched off.
The MSCSS in the LPC2921/2923/2925 includes two 10-bit successive-approximation
analog-to-digital converters.
The key features of the ADC interface module are:
The ADC block diagram,
functionality is divided into two major parts; one part running on the MSCSS Subsystem
clock, the other on the ADC clock. This split into two clock domains affects the behavior
from a system-level perspective. The actual analog-to-digital conversions take place in the
ADC clock domain, but system control takes place in the system clock domain.
•
•
•
•
•
•
•
•
•
•
•
•
•
CLK_SYS_MSCSS_A clocks the AHB side of the AHB-to-APB bus bridge
CLK_MSCSS_APB clocks the subsystem APB bus
CLK_MSCSS_MTMR0/1 clocks the timers
CLK_MSCSS_PWM0:3 clocks the PWMs.
ADC1 and ADC2: Eight analog inputs; time-multiplexed; measurement range up to
3.3 V.
External reference-level inputs.
400 ksamples per second at 10-bit resolution up to 1500 ksamples per second at
2-bit resolution.
Programmable resolution from 2-bit to 10-bit.
Single analog-to-digital conversion scan mode and continuous analog-to-digital
conversion scan mode.
Optional conversion on transition on external start input, timer capture/match signal,
PWM_sync or ‘previous’ ADC.
Converted digital values are stored in a register for each channel.
Optional compare condition to generate a ‘less than’ or an ‘equal to or greater than’
compare-value indication for each channel.
Power-down mode.
6.7.2.
Rev. 01 — 15 June 2009
Figure
6, shows the basic architecture of each ADC. The ADC
ARM9 microcontroller with CAN, LIN, and USB
LPC2921/2923/2925
© NXP B.V. 2009. All rights reserved.
34 of 83