K20: how to know the current core frequency?

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

K20: how to know the current core frequency?

700件の閲覧回数
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 返信

536件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------