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

边栏推荐
- LeetCode每日一题(2090. K Radius Subarray Averages)
- Nr--- Pusch I: sorting out the agreement process
- 基于opencv实现桌面图标识别
- Code word in NR
- Leetcode daily question (2232. minimize result by addressing parents to expression)
- Installation and uninstallation of pyenv
- LeetCode每日一题(2212. Maximum Points in an Archery Competition)
- 1922. Count Good Numbers
- Hudi data management and storage overview
- Leetcode daily question (2305. fair distribution of cookies)
猜你喜欢

端午节快乐!—— canvas写的粽子~~~~~

The rise and fall of mobile phones in my perspective these 10 years

Convert IP address to int

PRACH --- originator

Runtime.getRuntime().gc() 和 Runtime.getRuntime().runFinalization() 的区别

How MySQL modifies null to not null

MySQL environment variable configuration

Development of electrical fire system

LeetCode每日一题(2212. Maximum Points in an Archery Competition)

解决Editor.md上传图片获取不到图片地址问题
随机推荐
The rise and fall of mobile phones in my perspective these 10 years
About the configuration of vs2008+rade CATIA v5r22
Definition and use of enum in C language
LeetCode每日一题(2115. Find All Possible Recipes from Given Supplies)
307. Range Sum Query - Mutable
Nr-prach: access scenario and access process
Leetcode daily question (1024. video sticking)
MySQL environment variable configuration
SSB Introduction (PbCH and DMRs need to be supplemented)
Nodemcu-esp8266 development (vscode+platformio+arduino framework): Part 5 --blinker_ MIOT_ MULTI_ Outside (lighting technology app + Xiaoai classmate control socket multiple jacks)
Qt QComboBox QSS样式设置
[CSDN] C1 training problem analysis_ Part III_ JS Foundation
Jestson Nano 从tftp服务器下载更新kernel和dtb
Nodemcu-esp8266 development (vscode+platformio+arduino framework): Part 3 --blinker_ MIOT_ Light (lighting technology app control + Xiaoai classmate control)
1922. Count Good Numbers
Development of fire evacuation system
Chromium Embedded Framework (CEF) 介绍
[CSDN]C1训练题解析_第三部分_JS基础
1300. sum of varied array closed to target
Win10 install elk