HOW to using LPC54102 PLL

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

HOW to using LPC54102 PLL

1,433件の閲覧回数
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 返答(返信)

1,311件の閲覧回数
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 件の賞賛
返信

1,311件の閲覧回数
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 件の賞賛
返信

1,311件の閲覧回数
zhan8g
Contributor I

thank you very munch.

0 件の賞賛
返信

1,311件の閲覧回数
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 件の賞賛
返信