30.01.2015 Views

UM10211 - Standard ICs

UM10211 - Standard ICs

UM10211 - Standard ICs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

NXP Semiconductors<br />

<strong>UM10211</strong><br />

Chapter 4: LPC2300 Clocking and power control<br />

The two writes must be in the correct sequence, and must be consecutive APB bus<br />

cycles. The latter requirement implies that interrupts must be disabled for the duration of<br />

the PLL feed operation. If either of the feed values is incorrect, or one of the previously<br />

mentioned conditions is not met, any changes to the PLLCON or PLLCFG register will not<br />

become effective.<br />

Table 29. PLL Feed register (PLLFEED - address 0xE01F C08C) bit description<br />

Bit Symbol Description Reset<br />

value<br />

7:0 PLLFEED The PLL feed sequence must be written to this register in order for<br />

PLL configuration and control register changes to take effect.<br />

0x00<br />

<strong>UM10211</strong>_1<br />

5.10 PLL and Power down mode<br />

Power Down mode automatically turns off and disconnects the PLL. Wakeup from Power<br />

Down mode does not automatically restore the PLL settings, this must be done in<br />

software. Typically, a routine to activate the PLL, wait for lock, and then connect the PLL<br />

can be called at the beginning of any interrupt service routine that might be called due to<br />

the wakeup. It is important not to attempt to restart the PLL by simply feeding it when<br />

execution resumes after a wakeup from Power Down mode. This would enable and<br />

connect the PLL at the same time, before PLL lock is established.<br />

5.11 PLL frequency calculation<br />

The PLL equations use the following parameters:<br />

Table 30.<br />

PLL frequency parameter<br />

Parameter Description<br />

F IN<br />

the frequency of PLLCLKIN from the Clock Source Selection Multiplexer.<br />

F CCO<br />

the frequency of the SYSCLK (output of the PLL Current Controlled Oscillator)<br />

N<br />

PLL Pre-divider value from the NSEL bits in the PLLCFG register (PLLCFG<br />

NSEL field + 1). N is an integer from 1 through 32.<br />

M<br />

PLL Multiplier value from the MSEL bits in the PLLCFG register (PLLCFG<br />

MSEL field + 1). Not all potential values are supported. See below.<br />

F REF PLL internal reference frequency, FIN divided by N.<br />

The PLL output frequency (when the PLL is both active and connected) is given by:<br />

F CCO = (2 × M × F IN ) / N<br />

The PLL inputs and settings must meet the following:<br />

• F IN is in the range of 32 kHz to 50 MHz.<br />

• F CCO is in the range of 275 MHz to 550 MHz.<br />

The PLL equation can be solved for other PLL parameters:<br />

M = (F CCO × N) / (2 × F IN )<br />

N = (2 × M × F IN ) / F CCO<br />

F IN = (F CCO × N) / (2 × M)<br />

Allowed values for M:<br />

© NXP B.V. 2007. All rights reserved.<br />

User manual Rev. 01 — 27 March 2007 41 of 613

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!