How to change the clock freq of FRDM-KL05Z

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

How to change the clock freq of FRDM-KL05Z

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

490 次查看
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 项奖励

480 次查看
zz642040273
Contributor II

Thanks, ErichS! I will try on it!

0 项奖励