K20: how to know the current core frequency?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

K20: how to know the current core frequency?

704 Views
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 Kudos
Reply
1 Reply

540 Views
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!
-----------------------------------------------------------------------------------------------------------------------