How to change the clock freq of FRDM-KL05Z

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

How to change the clock freq of FRDM-KL05Z

517 Views
zz642040273
Contributor II

Hi,

I am using the MBED online compiler to program the MCU, but how do I set a lower clock frequency in order to reduce the power?

Best,

Zheng

0 Kudos
Reply
2 Replies

513 Views
ErichStyger
Senior Contributor V

Hi @zz642040273 

Not using mbed, but you can easily do this with the Freescale/NXP Kinetis Design Studio and Processor Expert in the Cpu and Clock settings:

ErichS_0-1619540947171.png

You can easily configure all different low power modes and switch between them:

ErichS_1-1619541025198.png

 

If using mbed, you can look at the code which is used for this.

I hope this helps,

Erich

0 Kudos
Reply

503 Views
zz642040273
Contributor II

Thanks, ErichS! I will try on it!

0 Kudos
Reply