Clock Settings

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

Clock Settings

Jump to solution
459 Views
john71
Senior Contributor I

I have a project powered with a battery. So in order to reduce power consumption (besides sleep mode) I want to lower the clock frequency.

But in pll_init() I see the following limitations

 // Check PLL divider settings are within spec.
  if ((prdiv_val < 1) || (prdiv_val > 8)) {return 0x41;}
  if ((vdiv_val < 16) || (vdiv_val > 47)) {return 0x42;}

  // Check PLL reference clock frequency is within spec.
  ref_freq = crystal_val / prdiv_val;
  if ((ref_freq < 8000000) || (ref_freq > 32000000)) {return 0x43;}

 // Check PLL output frequency is within spec.
  pll_freq = (crystal_val / prdiv_val) * vdiv_val;
  if ((pll_freq < 180000000) || (pll_freq > 360000000)) {return 0x45;}

The last limitation contradicts others. Or I don't understand something.

What minimum frequency I can get, considering I work with MK70FN1M0VMJ12?

1 Solution
331 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

The K70 MCG module provides more working mode, the PEE is one working mode using PLL provide the system/core clock. The MCG module supports below working mode:

pastedImage_1.png

The K70 PLL output Min. clock frequency is 90MHz:

pastedImage_2.png

Customer could consider to use MCG working with FBE mode, which is using external oscillator clock as system/core clock .

Wish it helps.


Have a great day,
Ma Hui

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
332 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

The K70 MCG module provides more working mode, the PEE is one working mode using PLL provide the system/core clock. The MCG module supports below working mode:

pastedImage_1.png

The K70 PLL output Min. clock frequency is 90MHz:

pastedImage_2.png

Customer could consider to use MCG working with FBE mode, which is using external oscillator clock as system/core clock .

Wish it helps.


Have a great day,
Ma Hui

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

331 Views
john71
Senior Contributor I

I see. Thank you.

0 Kudos