k64 datasheet学习笔记3---Chip Configuration之Clock modules

时间:2021-12-09 15:13:35

1.前言

本文主要讲述chip configure之clock配置相关的内容,主要包含如下三个部分:

MCG configuration:Multipurpose clock generator

OSC configuration

RTC OSC confiuration

2.clock module configuration

2.1 MCG Configuration

k64 datasheet学习笔记3---Chip Configuration之Clock modules

MCG有多个时钟源可选,主要通过MCG_C7[OSCSEL] 来进行设置:

k64 datasheet学习笔记3---Chip Configuration之Clock modules

2.2. OSC Configuration

k64 datasheet学习笔记3---Chip Configuration之Clock modules

The MCG's C2 register bits configure the oscillator frequency range

2.3 RTC OSC Configuration

k64 datasheet学习笔记3---Chip Configuration之Clock modules