Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

PLL not locking

2004-08-24 by Leighton Rowe

I'm working on a custom 2114 board (using a 14.7456 MHz crystal) and 
I'm noticing something weird going on with the PLL.

PLLCFG = 0x03;                  //PLL Multiplier = 4 (58.98 MHz0
PLLCON = 1;                     // PLL Enable

PLLFEED = 0xAA;
PLLFEED = 0x55;                         

while(!(PLLSTAT & 0x0400));     //Wait until PLL is locked
  
PLLCON = 3;                           // Connect PLL clock
PLLFEED = 0xAA;                         
PLLFEED = 0x55;  

Apparently the PLL isn't locking, causing the processor to basically 
wait forever. 

This code works fine with the mcb2100 @ 12.Mhz (Multiplier = 5). But 
I have no clue as to why the the PLL isn't locking @ 14.74 MHz after 
I set up the registers. 

Anyone worked on this before. Your help is needed. Thanks.

Leighton

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.