Table 27: Pll Divider Values; Table 28: Pll Multiplier Values - Philips LPC2194 User Manual

Table of Contents

Advertisement

Philips Semiconductors
ARM-based Microcontroller
Procedure for Determining PLL Settings
If a particular application uses the PLL, its configuration may be determined as follows:
1. Choose the desired processor operating frequency (cclk). This may be based on processor throughput requirements,
need to support a specific set of UART baud rates, etc. Bear in mind that peripheral devices may be running from a lower
clock than the processor (see the VPB Divider description in this chapter).
2. Choose an oscillator frequency (F
3. Calculate the value of M to configure the MSEL bits. M = cclk / F
to the MSEL bits in PLLCFG is M - 1 (see Table 28).
4. Find a value for P to configure the PSEL bits, such that F
the equation given above. P must have one of the values 1, 2, 4, or 8. The value written to the PSEL bits in PLLCFG is 00
for P = 1; 01 for P = 2; 10 for P = 4; 11 for P = 8 (see Table 27).

Table 27: PLL Divider Values

PSEL Bits
(PLLCFG bits 6:5)
00
01
10
11

Table 28: PLL Multiplier Values

MSEL Bits
(PLLCFG bits 4:0)
00000
00001
00010
00011
...
11110
11111
PLL Example
System design asks for F
osc
Based on these specifications, M = cclk / F
Value for P can be derived from P = F
the lowest allowed frequency for F
P = 2.67. The only solution for P that satisfies both of these requirements and is listed in Table 27 is P = 2. Therefore, PLLCFG
6:5 = 1 will be used.
System Control Block
). cclk must be the whole (non-fractional) multiple of F
osc
Value of P
1
2
4
8
Value of M
1
2
3
4
...
31
32
= 10 MHz and requires cclk = 60 MHz.
= 60 MHz / 10 MHz = 6. Consequenty, M-1 = 5 will be written as PLLCFG 4:0.
osc
/ (cclk * 2), using condition that F
cco
= 156 MHz, P = 156 MHz / (2*60 MHz) = 1.3. The highest F
cco
LPC2119/2129/2194/2292/2294
. M must be in the range of 1 to 32. The value written
osc
is within its defined frequency limits. F
cco
must be in range of 156 MHz to 320 MHz. Assuming
cco
80
Preliminary User Manual
.
osc
is calculated using
cco
frequency criteria produces
cco
May 03, 2004

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2129Lpc2119Lpc2292Lpc2294

Table of Contents