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

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

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

607 次查看
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 项奖励
回复
5 回复数

569 次查看
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 项奖励
回复

549 次查看
sn2
Contributor I
Hi Alice_Yang
Can you share an example code for the same?

I am unable to get it for MK22FN128
0 项奖励
回复

524 次查看
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 项奖励
回复

511 次查看
sn2
Contributor I

Hi @Alice_Yang 

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

0 项奖励
回复

496 次查看
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 项奖励
回复