
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
47 of 808
NXP Semiconductors
UM10360
Chapter 4: LPC17xx Clocking and power control
7.
Clock dividers
The output of the PLL0 must be divided down for use by the CPU and the USB subsystem
(if used with PLL0, see
). Separate dividers are provided such that the CPU
frequency can be determined independently from the USB subsystem, which always
requires 48 MHz with a 50% duty cycle for proper operation.
7.1 CPU Clock Configuration register (CCLKCFG - 0x400F C104)
The CCLKCFG register controls the division of the PLL0 output before it is used by the
CPU. When PLL0 is bypassed, the division may be by 1. When PLL0 is running, the
output must be divided in order to bring the CPU clock frequency (CCLK) within operating
limits. An 8-bit divider allows a range of options, including slowing CPU operation to a low
rate for temporary power savings without turning off PLL0.
Note:
when the USB interface is used in an application, CCLK must be at least 18 MHz in
order to support internal operations of the USB subsystem.
The CCLK is derived from the PLL0 output signal, divided by C 1. Having
CCLKSEL = 1 results in CCLK being one half the PLL0 output, CCLKSEL = 3 results in
CCLK being one quarter of the PLL0 output, etc.
Fig 10. PLLs and clock dividers
USB
Clock
Divider
osc_clk
USB PLL settings
(PLL1...)
USB clock divider setting
USBCLKCFG[3:0]
usb_clk
USB PLL
(PL160M)
main PLL
settings
(PLL0...)
USB PLL select
(PLL1CON)
Main PLL
(PL550M)
CPU
Clock
Divider
pllclk
CPU PLL
select
(PLL0CON)
cclk
CPU clock divider setting
CCLKCFG[7:0]
sysclk
Table 37.
CPU Clock Configuration register (CCLKCFG - address 0x400F C104) bit
description
Bit Symbol
Value Description
Reset
value
7:0 CCLKSEL
Selects the divide value for creating the CPU clock (CCLK) from
the PLL0 output.
0x00
0 to 1 Not allowed, the CPU clock will always be greater than 100 MHz.
2
PLL0 output is divided by 3 to produce the CPU clock.
3
PLL0 output is divided by 4 to produce the CPU clock.
4
PLL0 output is divided by 5 to produce the CPU clock.
:
:
255
PLL0 output is divided by 256 to produce the CPU clock.