当前位置:网站首页>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

边栏推荐
- ssh免密登陆
- 842. 排列数字
- JS implementation generates a random key of specified length
- Excel-VBA 快速上手(十三、日期的常见用法)
- Sword finger offer II 066. sum of words (medium prefix tree design string)
- AWK空行过滤
- Establishment of Ruiji takeout development environment
- 770. 单词替换
- Sword finger offer II 056. Sum of two nodes in a binary search tree (simple binary search tree DFS hash table double pointer iterator)
- [Ruiji takeout project]day4 - dish management
猜你喜欢

Win11怎么打开软件通知

Soft exam network engineer

JVM——自定义类加载器

CMD common commands

【CVPR 2021】Cylinder3D:用于LiDAR点云分割的圆柱体非对称3D卷积网络

6K6w5LiA5qyh5pS75Ye75YiG5p6Q

SQL injection less38 (Stack Injection)

The blueprint of flask complements openpyxl

Ultra detailed visual studio 2019 running littlevgl (lvgl) simulator

Sword finger offer II 055. Binary search tree iterator (medium binary search tree iterator)
随机推荐
[CVPR 2021] cylinder3d: cylindrical asymmetric 3D convolution network for LIDAR point cloud segmentation
Overall introduction of Ruiji takeout project
2022年一级建造师考试什么时候才能报名?
Closure, prototype and original link
MySQL command (add, delete, check and modify)
Winserver operation and maintenance technology stack
Sword finger offer II 053. Medium order successor in binary search tree (medium binary search tree DFS)
示波器发展史中的变化
What are the main functions and uses of LCR tester
近期bug总结
32. Longest valid bracket (difficult stack string)
JS array merging, de duplication, dimensionality reduction (es6: extended operator, set)
Why doesn't the icon on the elment plus icon input display
elment-plus图标input上面带的图标为什么不显示
What does GPRS network mean
AWK空行过滤
Sword finger offer II 055. Binary search tree iterator (medium binary search tree iterator)
LVS+KeepAlived高可用部署实战应用
Analysis notes on let (const) temporary dead zone in JS
imx6q gpio复用