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-LMLPHP

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

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

2.2. OSC Configuration

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

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

2.3 RTC OSC Configuration

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

04-13 18:57