How to change the CPU clock on MXRT595

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

How to change the CPU clock on MXRT595

跳至解决方案
555 次查看
Wayne2
Contributor II

Hello NXP team

Now I used the MXRT 595, I want to change the CPU clock from 192MHz to 96MHz.

I have referred some power examples, I didn't find the interface which can change the CPU clock.

And in the IDE clock table, there are two similar clocks, FRO and system clock. 

The FRO could be changed 192MHz to 96MHz, Is this the right place to modify the CPU clock?

Wayne2_0-1669083971525.png

 

标记 (1)
0 项奖励
1 解答
519 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @Wayne2 ,

You can set in this way.

jingpan_0-1670210213502.png

You'd better use config tool to set clock if you are not familiar with RT600 clock tree.

 

Regards,

Jing

 

在原帖中查看解决方案

0 项奖励
3 回复数
548 次查看
jay_heng
NXP Employee
NXP Employee

You can refer to CLOCK_GetMainClkFreq() function in SDK fsl_clock.c driver to know the clock source of CPU, then set the divider value.

CPU Clk Source from MAINCLKSELA 2'b01 - FRODIVSEL Clock,      CLKCTL0->FRODIVSEL

CPU Clk Source from MAINCLKSELB 2'b01 - Main System PLL Clock,     CLKCTL0->MAINPLLCLKDIV

0 项奖励
536 次查看
Wayne2
Contributor II

Hi NXP team

We have checked our CPU clock is from the MAINCLKSELB 2'b01 - Main System PLL Clock.

We want to change the CPU clock to 192MHz or 96MHz.

Could you tell me how to change it use the CLKCTL0->MAINPLLCLKDIV?

Thanks!

0 项奖励
520 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @Wayne2 ,

You can set in this way.

jingpan_0-1670210213502.png

You'd better use config tool to set clock if you are not familiar with RT600 clock tree.

 

Regards,

Jing

 

0 项奖励