How to configure system core clock to its max frequency on MK22FN128VLL10?

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

How to configure system core clock to its max frequency on MK22FN128VLL10?

599 Views
sn2
Contributor I

Dear team,

I am using template project from SDK v24.12 for MK22FN128 mcu. In this clock config is done using internal clock & bus clock i get 20.97Mhz. What is the max freq i can configure with internal clock & how to configure it.?

Thanks,

Sn

0 Kudos
Reply
5 Replies

561 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @sn2 

The core and system clock frequencies must be 100 MHz or slower in HSRUN, 72
MHz or slower in RUN. So please switch to HSRUN mode.

Alice_Yang_0-1748916476651.png

 

BR

Alice

 

0 Kudos
Reply

541 Views
sn2
Contributor I
Hi Alice_Yang
Can you share an example code for the same?

I am unable to get it for MK22FN128
0 Kudos
Reply

516 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi @sn2 

I tested on my side. It can't reach 100 MHz, but it's almost 96 MHz. The configuration is as below:

Alice_Yang_1-1749003910794.png

 

Hope it helps.

 

BR

Alice

0 Kudos
Reply

503 Views
sn2
Contributor I

Hi @Alice_Yang 

Can you share me the code changes for clock configuration, how you have done?

0 Kudos
Reply

488 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @sn2 

I'm sorry, but according to our company policy, I'm unable to share the code. However, this process is quite simple. Please refer to my configuration settings—especially the ones highlighted in the red box.

Alice_Yang_0-1749023534010.png

Then  click  update code button, the system will automatically generate the necessary code as below.

Alice_Yang_1-1749023787831.png

Alice_Yang_2-1749023860116.png

 

BR

Alice

 

 

 

0 Kudos
Reply