PLL source input other than IRC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

PLL source input other than IRC

1,622 次查看
lpcware
NXP Employee
NXP Employee

Content originally posted in LPCWare by R D on Mon May 18 05:58:04 MST 2015

 

I'm trying to provide different clock source to PLL ie RTC,WDOSC,CLKIN but always end up in PLL configure error DEBUGOUT("PLL config error %d\r\n", pllError); error code is always 1 or 3. either pll request is low or pll ip is low.

 

any examples or light on this is appreciated.

标记 (1)
4 回复数

1,429 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi LPC WARE,

     From the user manual, you can get that the PLL can choose :irc_clk, CLKIN, 32K_clk, if you don't want to use irc_clk, you can use CLKIN, 32_clk, and make sure it is in the PLL input clock range.

69.jpg

    About the sample code, you can refer to the LPC54102 LPCopen code:

LPCOpen Software for LPC5411X|NXP

Wish it helps you!

If you still have question, please let me know!

Have a great day,
Jjingjing

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,430 次查看
koonyook
Contributor I

I've fed RTC to PLL before on LPC54102.

When I set clock rate in board.h to 32768000 Hz, it works.

However, PLL will spend like 4 minutes to search for the right frequency and LOCK.

After that, the code works normally.

But 4 minutes is not practical, I'm looking into the solution.

0 项奖励
回复

1,430 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R D on Mon May 18 06:35:12 MST 2015
LPCXpresso 54102
0 项奖励
回复

1,430 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Mon May 18 06:16:16 MST 2015
Any hints about MCU?
0 项奖励
回复