How to modify the clock frequency of MkL27Z64

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

How to modify the clock frequency of MkL27Z64

516 次查看
jingwang
Contributor I

Hi,everyone

How can I modify the clock frequency of MKL27Z64.

我怎么才能修改MKL27Z64的时钟频率。

0 项奖励
1 回复

351 次查看
charlesasquith
NXP Employee
NXP Employee

To modify clock frequencies you have a couple of options depending on which signal you want to utilize. You can configure and enable usage of the PLL or FLL in registers pertaining to the MCG (Multipurpose Clock Generator), or clock dividers in registers for the SIM (System Integration Module), or just simply change the source of your clock signal to a different reference clock. These are all ways to alter the frequency.

I would recommend using the API as it can make life a lot easier. I discussed the concepts required for setup of the clocking system in the following link, as well as talking about where to find the API and what you need to change to use it for your application:

How to use internal clock for K64F

While the discussion was for the FRDM-K64F board, it should be the same for your board assuming you are using SDK 2.0.

0 项奖励