K20: how to know the current core frequency?

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

K20: how to know the current core frequency?

638 次查看
huishao2
Contributor IV

Hi -

I am working on MK20DX128VFM5 with MQX4.1's k20d50m BSP. The k20 is clocked with a 8MHz crystal. How can I calculate the current core frequency?

I am reading through the manual, seems like it is related to PRDIV0 and VDIV0 etc settings.

Thanks!

Hui

0 项奖励
回复
1 回复

474 次查看
soledad
NXP Employee
NXP Employee

Hi Hui Shao,

According with the Getting Started document (page 32), the core clock for the TWR-K20D50M is 48MHz.

If you want to modify the clock configurations, I suggest you to follow the attached document.

I hope this helps, have a nice day!


Have a great day,
Sol

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