lpc2142 NXP Semiconductors, lpc2142 Datasheet - Page 21
![no-image](/images/manufacturer_photos/0/4/487/nxp_semiconductors_sml.jpg)
lpc2142
Manufacturer Part Number
lpc2142
Description
Single-chip 16-bit/32-bit Microcontrollers; Up To 512 Kb Flash With Isp/iap, Usb 2.0 Full-speed Device, 10-bit Adc And Dac
Manufacturer
NXP Semiconductors
Datasheet
1.LPC2142.pdf
(39 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
lpc2142FBD
Manufacturer:
IR
Quantity:
20 000
Company:
Part Number:
lpc2142FBD64
Manufacturer:
NXP
Quantity:
491
Company:
Part Number:
lpc2142FBD64
Manufacturer:
NXP/31
Quantity:
5 250
Part Number:
lpc2142FBD64
Manufacturer:
ST
Quantity:
20 000
Part Number:
lpc2142FBD64+151
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Company:
Part Number:
lpc2142FBD64,151
Manufacturer:
NXP Semiconductors
Quantity:
10 000
NXP Semiconductors
LPC2141_42_44_46_48_3
Product data sheet
6.19.1 Crystal oscillator
6.19.2 PLL
6.19.3 Reset and wake-up timer
6.19 System control
On-chip integrated oscillator operates with external crystal in range of 1 MHz to 25 MHz.
The oscillator output frequency is called f
referred to as CCLK for purposes of rate equations, etc. f
unless the PLL is running and connected. Refer to
information.
The PLL accepts an input clock frequency in the range of 10 MHz to 25 MHz. The input
frequency is multiplied up into the range of 10 MHz to 60 MHz with a Current Controlled
Oscillator (CCO). The multiplier can be an integer value from 1 to 32 (in practice, the
multiplier value cannot be higher than 6 on this family of microcontrollers due to the upper
frequency limit of the CPU). The CCO operates in the range of 156 MHz to 320 MHz, so
there is an additional divider in the loop to keep the CCO within its frequency range while
the PLL is providing the desired output frequency. The output divider may be set to divide
by 2, 4, 8, or 16 to produce the output clock. Since the minimum output divider value is 2,
it is insured that the PLL output has a 50 % duty cycle. The PLL is turned off and
bypassed following a chip reset and may be enabled by software. The program must
configure and activate the PLL, wait for the PLL to Lock, then connect to the PLL as a
clock source. The PLL settling time is 100 s.
Reset has two sources on the LPC2141/42/44/46/48: the RESET pin and watchdog reset.
The RESET pin is a Schmitt trigger input pin with an additional glitch filter. Assertion of
chip reset by any source starts the Wake-up Timer (see Wake-up Timer description
below), causing the internal chip reset to remain asserted until the external reset is
de-asserted, the oscillator is running, a fixed number of clocks have passed, and the
on-chip flash controller has completed its initialization.
•
•
•
•
•
•
Supports single edge controlled and/or double edge controlled PWM outputs. Single
edge controlled PWM outputs all go HIGH at the beginning of each cycle unless the
output is a constant LOW. Double edge controlled PWM outputs can have either edge
occur at any position within a cycle. This allows for both positive going and negative
going pulses.
Pulse period and width can be any number of timer counts. This allows complete
flexibility in the trade-off between resolution and repetition rate. All PWM outputs will
occur at the same repetition rate.
Double edge controlled PWM outputs can be programmed to be either positive going
or negative going pulses.
Match register updates are synchronized with pulse outputs to prevent generation of
erroneous pulses. Software must ‘release’ new match values before they can become
effective.
May be used as a standard timer if the PWM mode is not enabled
A 32-bit Timer/Counter with a programmable 32-bit Prescaler
Rev. 03 — 19 October 2007
osc
and the ARM processor clock frequency is
LPC2141/42/44/46/48
Single-chip 16-bit/32-bit microcontrollers
Section 6.19.2 “PLL”
osc
and CCLK are the same value
© NXP B.V. 2007. All rights reserved.
for additional
21 of 39