HOW to using LPC54102 PLL

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

HOW to using LPC54102 PLL

986 次查看
zhan8g
Contributor I

LPC54102 uses 32.768KHz, PLL to 12MHz, but after running for some time, the 12MHz master clock becomes 24MHz or something else. Why is that?

标签 (1)
0 项奖励
回复
4 回复数

864 次查看
zhan8g
Contributor I

thanks. My LPC54102 using an external clock 32.768KHz, PLL to 12MHz for the master clock and the asynchronous clock,the code using pllfract.c of NXP lpc5410x_xpresso54102_keil_iar_v3.03.000_16 from NXP web, but after running for some time, the 12MHz master clock becomes 24MHz or something else. IRC-12MHz is running for a long time, there is no problem. Now, there is a problem with the setPllRate function found in the pllfract.c file. Do you have a regular and stable setPllRate new function?

0 项奖励
回复

864 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi a tom,

Thanks for your reply.

I think you use the LPCOpen library, and LPC54102 also has the KSDK library which is a new library, you can try it out.

Whether you can illustrate the steps to replicate the issue in details.

pastedImage_1.png

Welcome to MCUXpresso | MCUXpresso Config Tools 

Have a great day,
TIC

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

0 项奖励
回复

864 次查看
zhan8g
Contributor I

thank you very munch.

0 项奖励
回复

864 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi a tom,

Thank you for your interest in NXP Semiconductor products and 
for the opportunity to serve you.
I'd highly recommend you to use the visualize tool: Clocks Tool to configure the clock of the LPC54102.
pastedImage_1.png

Have a great day,
TIC

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

0 项奖励
回复