k64 datasheet学习笔记4---Clock distribution

1.前言

本文主要讲述K64时钟配置相关的内容.

2.clock overview

2.1 clock diagram

2.2 对clock diagram的信号说明

 (1)MCG决定哪个clock source用作系统时钟,系统主要的时钟来自于MCGOUTCLK

(2)系统时钟源的选择和配置主要由MCG模块控制

(3)时钟分频和clock gate的配置主要SIM模块控制

2.3 device clocks summary

注:

如下为内部时钟需求

1. The core and system clock frequencies must be 120 MHz or slower.
2. The bus clock frequency must be programmed to 60 MHz or less and an integer
divide of the core clock.
3. The flash clock frequency must be programmed to 25 MHz or less and an integer
divide of the core clock.
4. The FlexBus clock frequency must be programmed to 50 Mhz or less and an integer
divide of the core clock

下面是一个示例:

3. Clock divider values after reset

The flash memory's FTF_FOPT[LPBOOT] bit controls the reset value of the core clock, system clock, bus clock, and flash clock dividers as shown below:

4. VLPR mode clocking

TODO

5.CLOCK GATING

The clock to each module can be individually gated on and off using the SIM module's SCGCx registers

6.Module clocks

  • UART clocking

UART0 and UART1 modules operate from the core/system clock, which provides higher performance level for these modules. All other UART modules operate from the bus clock.

7.参考文档

[1] K64P144M120SF5RM.pdf

 

转载于:https://www.cnblogs.com/smartjourneys/p/8068302.html

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值