How to change the clock freq of FRDM-KL05Z

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

How to change the clock freq of FRDM-KL05Z

580 次查看
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 回复数

576 次查看
ErichStyger
Specialist I

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 项奖励
回复

566 次查看
zz642040273
Contributor II

Thanks, ErichS! I will try on it!

0 项奖励
回复