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

边栏推荐
猜你喜欢

Research cup element recognition multi label classification task based on ernie-3.0 cail2019 method

Win11怎么打开软件通知

SQL injection less42 (post stack injection)

Can the MySQL create statement be used to create a table structure and append new records

Sword finger offer II 053. Medium order successor in binary search tree (medium binary search tree DFS)

Solve Jupiter: the term 'Jupiter' is not recognized as the name of a cmdlet, function, script file

105. Construct binary tree from preorder and inorder traversal sequence (medium binary tree DFS hash table binary tree)

使用PCL批量将点云.bin文件转.pcd

Sword finger offer II 052. flatten binary search tree (simple binary search tree DFS)

Overall introduction of Ruiji takeout project
随机推荐
JS convert numbers to letters
Wechat applet uses canvas drawing, round avatar, network background, text, dotted line, straight line
Paddlenlp is based on ernir3.0 text classification. Take the traditional Chinese medicine search and retrieval semantic map classification (kuake-qic) as an example [multi classification (single label
JVM——自定义类加载器
Static route and default route experiment
98. Verify binary search tree (medium binary search tree DFS)
ATT&CK 威胁情报
纪念一下第一次写的线段树了喽(对应洛谷3372)
776. 字符串移位包含问题
Lvs+keepalived high availability deployment practical application
If you want to grow rapidly, you must first experience a major blow!
[connect your mobile phone wirelessly] - debug your mobile device wirelessly via LAN
二进制的原码、反码、补码
Awk blank line filtering
[Ruiji takeout project] Day5 - Chapter 6 mobile verification code login
2021 mathematical modeling group B code
Tensorflow serving high performance machine learning model service system
SSH password free login
ngx+sql环境离线安装日志(rpm安装)
Less than a year after its establishment! MIT derivative quantum computing company completed financing of US $9million