PLLCFG on ARM7_LPC2129_IAR demo
Posted by cra8000
on July 16, 2009
It's correct PLLCFG on ARM7_LPC2129_IAR demo or must be PLLCFG = 0x24 ?
On FreeRtos 5.4.0 demo project:
Fosc : 12Mhz
CCLK : 60Mhz
PLLCFG = 0x04
If it's not correct there's a big problem?
RE: PLLCFG on ARM7_LPC2129_IAR demo
Posted by Richard
on July 17, 2009
The PLL output frequency is given by:
Fcco = Fosc * M * 2 * P
which given the value 0x24 in PLLCFG gives:
120MHz = 12000000 * 5 * 2 * 1
which would indeed appear to be wrong, but the demo seems to run at the right frequency which must be fluke.
Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd..
See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.