How to change the CPU clock on MXRT595

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

How to change the CPU clock on MXRT595

Jump to solution
531 Views
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

 

Tags (1)
0 Kudos
1 Solution
495 Views
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

 

View solution in original post

0 Kudos
3 Replies
524 Views
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 Kudos
512 Views
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 Kudos
496 Views
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 Kudos