LPC54018 peripheral clock initialization

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

LPC54018 peripheral clock initialization

跳至解决方案
973 次查看
Renuga_AKAS
Contributor I

Hi,

    I tried to configure 48MHz for flexcomm peripheral through clock attach clock function using kFRO_HF_to_FLEXCOMM9. But unable to do so. can yous suggest me how can i convert 98MHz clock frequency to 48MHz.

0 项奖励
1 解答
933 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Yes. For example, When use FRO_HF, and set FRO_HF divider as 10, we get 9.6M Hz output.

ZhangJennie_0-1661769804509.png

 

在原帖中查看解决方案

0 项奖励
6 回复数
964 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Renuga_AKAS 

We use FRO_HF divider to divide FRO96M. please see configuration as below

ZhangJennie_0-1661495506778.png

 

Hope this helps,

Jun Zhang

0 项奖励
946 次查看
Renuga_AKAS
Contributor I

Hi,

    Thanks for the reply. I will try to configure the clock as you mentioned above. I have another doubt about clock configuration, is it possible to set clock frequency as below 12MHz?. If yes, it it the same way as mentioned above by dividing the FRO_12M frequency?

0 项奖励
937 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Renuga_AKAS 

According to UM11060, Chapter 8, Fig 21,Fig 22. FRO_HF has FRO clock divider but FRO_12M doesn't have.

ZhangJennie_0-1661767754175.png

 

So we can't find the same option if using FRO_12M  in clock configuration tool.

 

Hope this helps

Jun Zhang

 

0 项奖励
935 次查看
Renuga_AKAS
Contributor I

Hi,

    Thanks for the useful reply. I still need a clarification is it possible to configure peripheral clock below 12MHz?.

0 项奖励
934 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Yes. For example, When use FRO_HF, and set FRO_HF divider as 10, we get 9.6M Hz output.

ZhangJennie_0-1661769804509.png

 

0 项奖励
928 次查看
Renuga_AKAS
Contributor I

Hi,

    Thanks for the solution.

0 项奖励