Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[ARM] How to lock desired frequency in PLL LPC2148

Status
Not open for further replies.

karthickv

Newbie level 1
Joined
Aug 26, 2017
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
15
hi guys,
Iam using timer in lpc2148 and i have doubt in the below code

PLL0CON = 0x01; //Enable PLL
PLL0CFG = 0x24; //Multiplier and divider setup
PLL0FEED = 0xAA; //Feed sequence
PLL0FEED = 0x55;

while(!(PLL0STAT & 0x00000400)); //is locked?

if PLL0STAT is the status of PLL0.Then what is 0x00000400 i saw in google that is desired frequency. if it is desired frequency then how i determine the desired frequency in hexa decimal.Thanks in advance
 

Then what is 0x00000400 i saw in google that is desired frequency.
No, it's a mask for checking locked state in status register.

Desired PLL frequency is determined by crystal frequency, multiplier and divider values.

Better review LPC214x User manual, chapter 4.8 PLL.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top