Content originally posted in LPCWare by boris on Tue Jul 17 05:53:00 MST 2012
Hi All .
I have problem with PLL.
my code:
[SIZE=2][COLOR=#3f7f5f]*/[/COLOR][/SIZE]
[SIZE=2][COLOR=#3f7f5f] [/COLOR][/SIZE]Input Freaq = 12 MHz, System will - 24MHz
[LEFT][SIZE=2][COLOR=#3f7f5f][SIZE=2][COLOR=#3f7f5f]*/[/COLOR][/SIZE][/COLOR][/SIZE][/LEFT]
[SIZE=2]LPC_SYSCON->
[/SIZE][LEFT][SIZE=2][COLOR=#0000c0][SIZE=2][COLOR=#0000c0]SYSPLLCTRL[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] = 0b01000001;[/SIZE][SIZE=2][COLOR=#3f7f5f][SIZE=2][COLOR=#3f7f5f]// 24MHZ [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#3f7f5f]
[LEFT][/COLOR][/SIZE][B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]while[/COLOR][/SIZE][/COLOR][/SIZE][/B][SIZE=2] (!(LPC_SYSCON->[/SIZE][SIZE=2][COLOR=#0000c0][SIZE=2][COLOR=#0000c0]SYSPLLSTAT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] & 0x01)); [/SIZE][SIZE=2][COLOR=#3f7f5f][SIZE=2][COLOR=#3f7f5f]//Wait Until PLL Locked[/COLOR][/SIZE][/COLOR][/SIZE][/LEFT]
[LEFT][SIZE=2][COLOR=#3f7f5f][SIZE=2][COLOR=#3f7f5f]But PLL not LOCKED .:confused:[/COLOR][/SIZE][/COLOR][/SIZE][/LEFT]
[LEFT]Maybe someone knows, when could be the problem ?[/LEFT]
[LEFT]Thanks.[/LEFT]
[/LEFT]