当前位置:网站首页>Hal library sets STM32 clock
Hal library sets STM32 clock
2022-07-03 09:42:00 【two thousand and twenty-one point zero nine】
This blog knowledge comes from Mr. Wei Dongshan's 7 Internet of things course .
One 、 The meaning of the clock
1、 The clock is the work of synchronizing various peripherals , Every time the clock pulse occurs , The peripheral works once . The faster the clock frequency ,CUP The more efficient the execution .
2、 Advanced MCU , There are clocks of different frequencies . Different clock frequencies can be set for different peripherals , You can turn off the clock , You can also set different clock frequencies , Optimize the whole system .
Two 、STM32 Clock tree analysis
stay stm32f103c8 The first 12 page .
1、 Clock source
- High speed external clock
- Low speed external clock
- High speed internal clock
- Low speed internal clock
2、 Basic elements
- Frequency divider
- Selectors
- Frequency multiplier
3、 ... and 、cubeMX Set in the stm32 The clock
Click on the right RCC, Select to set high-speed external clock or low-speed external clock ,mini The development board only has a high-speed external clock , So only high-speed external clock is set here .
Choose crystal / Ceramic resonator .
Then click the clock configuration above (clock configuration) You can configure the clock tree .
边栏推荐
- Equality judgment of long type
- IDEA远程断点调试jar包项目
- Run flash demo on ECS
- Leetcode daily question (985. sum of even numbers after queries)
- UCI and data multiplexing are transmitted on Pusch (Part VI) -- LDPC coding
- 用Redis实现分布式锁
- [CSDN] C1 training problem analysis_ Part IV_ Advanced web
- [CSDN]C1训练题解析_第三部分_JS基础
- Epoll read / write mode in LT and et modes
- PolyWorks script development learning notes (II) -treeview basic operations
猜你喜欢
[CSDN]C1训练题解析_第四部分_Web进阶
Successful graduation [3]- blog system update...
UCI and data multiplexing are transmitted on Pusch (Part V) -- polar coding
Nr--- Pusch I: sorting out the agreement process
解决Editor.md上传图片获取不到图片地址问题
UCI and data multiplexing are transmitted on Pusch (Part 4) --small block lengths
[CSDN] C1 training problem analysis_ Part IV_ Advanced web
About the configuration of vs2008+rade CATIA v5r22
Electronic product design
Flink learning notes (VIII) multi stream conversion
随机推荐
PolyWorks script development learning notes (III) -treeview advanced operation
【顺利毕业】[1]-游览 [学生管理信息系统]
Install local sources using yum
一款开源的Markdown转富文本编辑器的实现原理剖析
Run flash demo on ECS
numpy. Reshape() and resize() functions
Code word in NR
LeetCode每日一题(1856. Maximum Subarray Min-Product)
PolyWorks script development learning notes (4) - data import and alignment using file import
LeetCode每日一题(2305. Fair Distribution of Cookies)
SSB Introduction (PbCH and DMRs need to be supplemented)
MYSQL数据库底层基础专栏
LeetCode每日一题(2115. Find All Possible Recipes from Given Supplies)
【男保姆式】教你打开第一个微信小程序
LeetCode每日一题(1996. The Number of Weak Characters in the Game)
[combinatorics] Introduction to Combinatorics (context of combinatorics | skills of combinatorics | thought of combinatorics 1: one-to-one correspondence)
LeetCode每日一题(1162. As Far from Land as Possible)
QT qstring:: number apply base conversion
UCI and data multiplexing are transmitted on Pusch - determine the bit number of harqack, csi1 and csi2 (Part II)
Matlab reads hexadecimal numbers and converts them into signed short