37x时钟配置

相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

September 2012Doc ID 023352 Rev 11/16

AN4132

Application note

Clock configuration tool for STM32F37x/STM32F38x

microcontrollers

Introduction

This application note presents the clock system configuration tool for the STM32F37x and STM32F38x microcontroller families.

The purpose of this tool is to help the user to configure the microcontroller clocks, taking into consideration product parameters such as power supply and Flash access mode.

Note:

The clock configuration tool for STM32F37xx and STM32F38xx microcontrollers will be referred to as “STM32F37x clock configuration tool“ throughout the document. “STM32F37x“ will refer to STM32F37xx and STM32F38x.

The configuration tool is implemented in the “STM32F37x_Clock_Configuration_VX.Y .Z.xls” file which is supplied with the STM32F37x Standard Peripherals Library and can be downloaded from .

This tool supports the following functions for the STM32F37x:

●Configuration of the system clock, HCLK source and output frequency

●Configuration of the Flash latency (number of wait states depending on the HCLK frequency)

●Setting of the PCLK1, PCLK2, TIMCLK (timer clocks) and I2SCLK frequencies ●

Generation of a ready-to-use system_stm32f37x.c file with all the above settings

(STM32F37x CMSIS Cortex-M4 Device Peripheral Access Layer System Source File)

The STM32F37x_Clock_Configuration_VX.Y .Z.xls is referred to as “clock tool” throughout this document.

Before using the clock tool, it is essential to read the STM32F37x microcontroller reference manual (RM0313). This application note is not a substitute for the reference manual.This tool supports only the STM32F37x devices.

For VX.Y .Z, please refer to the tool version, example V1.0.0. Table 1 lists the microcontrollers concerned by this application note.

Table 1.

Applicable products

Type

Applicable products

Microcontrollers

STM32F37x STM32F38x

Contents AN4132

Contents

1Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

2Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.1Software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.2Hardware requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

2.2.1Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

2.2.2Clock scheme for STM32F37x microcontrollers . . . . . . . . . . . . . . . . . . . 6

2.2.3I2S clock generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

3Tutorials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

3.1Wizard mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

3.2Expert mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4Known limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 5Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 6Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

2/16Doc ID 023352 Rev 1

相关文档
最新文档