当前位置:网站首页>STM32 - reset and clock control (cubemx for clock configuration)
STM32 - reset and clock control (cubemx for clock configuration)
2022-07-28 22:37:00 【Green hedgerow bamboo maple】
1.RCC peripherals
RCC peripherals , It is the English abbreviation of reset and in-process control ,RCC Peripheral management is right STM32 The reset and clock control of the chip are managed
2.STM32 The reset function of
System reset : System reset will reset except Clock control register CSR Reset flag in and Registers in the backup area All registers except for are their reset values

The system reset circuit is shown in the figure , Press the button ,NRST The pin is pulled to the low level

Power reset : Power reset resets all registers except the backup area

Backup domain reset : The backup area has two dedicated resets , Only the backup area is affected

3. The clock
Clock can be simply understood as heartbeat , For electronic devices , The clock is its heartbeat ,STM32 chip , It will work according to the beat specified by the program ,72Mhz,480Mhz Wait STM32 Master clock ( The system clock ) The frequency of ,STM32 The chip is at this frequency , In the chip, various devices are synchronized
STM32 How to configure the clock on , According to the demand , The higher the clock frequency is selected , Power consumption will also be higher , Besides , Also consider the working conditions of the chip , Select the clock frequency according to the working conditions .
Clock source :
Three different clock sources can be used to drive the system clock (SYSCLK)
HSI Oscillator clock ( High speed internal clock )
HSE Oscillator clock ( High speed external clock ) Need external clock circuit , Or external crystal oscillator
PLL The clock ( PLL frequency doubling clock )
Secondary clock source
40kHz Vulgar interior RC(LSI RC) oscillator
32.768kHz Low speed external crystal (LSE Crystal ), You can give RTC Provide clock source
Clock tree
Use CumeMX Configure clock


When setting the frequency, be careful not to exceed the maximum frequency range given in the data manual

边栏推荐
- Paddlenlp text classification based on ernir3.0: take wos dataset as an example (hierarchical classification)
- Static details of static members
- SSH password free login
- 32. Longest valid bracket (difficult stack string)
- internet的基本服务中文件传输命令是哪个
- PaddleNLP基于ERNIR3.0文本分类以中医疗搜索检索词意图分类(KUAKE-QIC)为例【多分类(单标签)】
- mysql8.0无法给用户授权或提示You are not allowed to create a user with GRANT的问题
- Container configuration starts redis cluster single machine 6 nodes 3 Master 3 slave
- Can the MySQL create statement be used to create a table structure and append new records
- JS implementation generates a random key of specified length
猜你喜欢

How to install WiFi correctly

使用PCL批量显示PCD点云数据流

When can I sign up for the 2022 class I constructor examination?

Lvs+keepalived high availability deployment practical application

Changes in the history of oscilloscope development

Ruiji takeout - background login function development

npm ERR code ETIMEDOUT npm ERR syscall connect npm ERR errno ETIMEDOUT npm ERR network reques...

JMeter installs third-party plug-ins plugins Manager

internet的基本服务中文件传输命令是哪个

2021 mathematical modeling group B exercise
随机推荐
TensorFlow Serving 高性能的机器学习模型服务系统
Sword finger offer II 064. magic Dictionary (medium dictionary tree string design)
Can the MySQL create statement be used to create a table structure and append new records
Is mov format a still image file format
[virtual machine _2]-hyper-v and vmware/virtualbox cannot coexist
ES6, deep copy, shallow copy
What does GPRS network mean
SSH password free login
使用PCL批量将点云.bin文件转.pcd
Qt+FFmpeg环境搭建
How about the actual use effect of common source oscilloscope
Ruiji takeout project - development of business development function Day2
Solve the problem that TS node xxx.ts executes TS code and reports errors
Baidu map usage
20-09-27项目迁移到阿里折腾记录(网卡顺序导致服务无法通过haproxy连接到db)
2021 mathematical modeling group B exercise
20-09-27 the project is migrated to Alibaba toss record (the network card order makes the service unable to connect to DB through haproxy)
Mysql内置函数
How do we do full link grayscale on the database?
842. 排列数字