当前位置:网站首页>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
边栏推荐
- SQL injection less34 (post wide byte injection + Boolean blind injection)
- Container configuration starts redis cluster single machine 6 nodes 3 Master 3 slave
- Lvs+keepalived high availability deployment practical application
- Ngrok intranet penetration
- Sword finger offer II 063. replacement word (medium prefix tree string)
- Jianzhi offer II 062. implement prefix tree (medium design dictionary tree prefix tree string)
- Detection and tracking evaluation index
- [CVPR 2021] cylinder3d: cylindrical asymmetric 3D convolution network for LIDAR point cloud segmentation
- Openresty request authentication
- Win11 how to open software notification
猜你喜欢
Day3 classification management of Ruiji takeout project
静态成员static详解
Static route and default route experiment
mysql create语句能不能用来建立表结构并追加新的记录
软考网络工程师
Idea generate class diagram plug-in UML (super detailed)
ATT&CK初步了解
105. Construct binary tree from preorder and inorder traversal sequence (medium binary tree DFS hash table binary tree)
[get mobile information] - get mobile information through ADB command
How to install WiFi correctly
随机推荐
【转载】token令牌在登录场景使用
SQL injection less42 (post stack injection)
Jianzhi offer II 062. implement prefix tree (medium design dictionary tree prefix tree string)
105. Construct binary tree from preorder and inorder traversal sequence (medium binary tree DFS hash table binary tree)
Sword finger offer II 054. Sum of all values greater than or equal to nodes (medium binary search tree DFS)
mysql8.0无法给用户授权或提示You are not allowed to create a user with GRANT的问题
Log4j vulnerability elk platform processing method (logstah5.5.1)
775. 倒排单词
How about the actual use effect of common source oscilloscope
职场pua但有道理
If you want to grow rapidly, you must first experience a major blow!
DOM programming + events
Container configuration starts redis cluster single machine 6 nodes 3 Master 3 slave
MySQL command (add, delete, check and modify)
SSH password free login
Sword finger offer II 058. schedule (medium design segment tree treemap ordered set)
[binary tree] pseudo palindrome path in binary tree
For loops and functions
TensorFlow Serving 高性能的机器学习模型服务系统
tutorial/detailed_workflow.ipynb 量化金融Qlib库