当前位置:网站首页>The confusion I encountered when learning stm32
The confusion I encountered when learning stm32
2022-07-02 03:59:00 【Huawei MCU programming】
The year is almost over , Take the last free time to talk about what I used to study STM32 Some puzzles encountered in the process of , Experience gained by solving puzzles 、 Share your experience . I hope to provide some help to some friends who want to learn SCM .

Study STM32 The most important point is that we should make it clear that we learn SMT32 What functions should be realized through it , That is, you need to determine a development project .
If you don't have a goal , Then make a minimum system ; Since we want to establish this project , Then we need to know what components are needed for the smallest system . Minimum system by STM32、 Simulation part 、 There are also control parts . The simulation part includes 、 Analog to digital converter 、 sensor ; The control part includes motor 、 Relays, etc . First understand these things .

The first problem I encountered when I was studying was how I should study . Follow books or watch videos . I think this place is the first place where I stepped on the pit , This is also personal .
I chose to study by reading , Most people who read textbooks have a feeling , Book knowledge is the authority. We should watch it very carefully , Don't miss every knowledge point , With a high degree of concentration and no one to explain, it is easy to get sleepy . That's why I realize that video learning is more suitable for me . Because the video is explained by learned practitioners , They will pick the point and say , Let us know what is the key to learn , It is convenient for us to study .
The second problem is to choose the development method . Just beginning to learn SMT32 We should choose to develop by register 、 Is it developed in the form of standard library or through HAL In the form of Library . I chose the standard library to develop , Because the video I watch is developed with this . At that time, there were more standard libraries written on the forum, and it was easier to find such materials .
For beginners HAL Development is not very suitable , After all, knowledge is still in the reserve stage , Many development principles 、 The workflow may be relatively unfamiliar to beginners ,HAL Library is convenient , But it can't help us understand the internal structure of MCU 、 Build our development thinking , It will let us miss a lot of valuable experience .
Register development requires us to spend a lot of time to be familiar with the function of registers , Which part does it control correspondingly ,32 The register of belongs to the more one , So I don't recommend you to use this method .
Some friends might say HAL Better than standard library , It's true . Let's take a simple example , The standard library is equivalent to a car with manual transmission ,HAL Equivalent to an automatic car , Friends who have driven cars know that cars with automatic transmission are usually easy to drive , But if we learn automatic gear at the beginning instead of manual gear , If you have to drive a car with manual transmission, you may not be able to drive . This is the simplest truth .
Finally, let's talk about my little advice for beginners , It is impossible to learn SCM at once , All knowledge is unlikely to be learned at once . We should learn while doing , If you have any idea, go to the MCU to practice immediately , Never do it after reading or learning , This is not applicable to single chip computers . SCM is more hands-on ability , Learning and doing more is the best way to understand SCM .
The first problem I encountered when I was studying was how I should study . Follow books or watch videos . I think this place is the first place where I stepped on the pit , This is also personal .
I chose to study by reading , Most people who read textbooks have a feeling , Book knowledge is the authority. We should watch it very carefully , Don't miss every knowledge point , With a high degree of concentration and no one to explain, it is easy to get sleepy . That's why I realize that video learning is more suitable for me . Because the video is explained by learned practitioners , They will pick the point and say , Let us know what is the key to learn , It is convenient for us to study .
The second problem is to choose the development method . Just beginning to learn SMT32 We should choose to develop by register 、 Is it developed in the form of standard library or through HAL In the form of Library . I chose the standard library to develop , Because the video I watch is developed with this . At that time, there were more standard libraries written on the forum, and it was easier to find such materials .
For beginners HAL Development is not very suitable , After all, knowledge is still in the reserve stage , Many development principles 、 The workflow may be relatively unfamiliar to beginners ,HAL Library is convenient , But it can't help us understand the internal structure of MCU 、 Build our development thinking , It will let us miss a lot of valuable experience .
Register development requires us to spend a lot of time to be familiar with the function of registers , Which part does it control correspondingly ,32 The register of belongs to the more one , So I don't recommend you to use this method .
Some friends might say HAL Better than standard library , It's true . Let's take a simple example , The standard library is equivalent to a car with manual transmission ,HAL Equivalent to an automatic car , Friends who have driven cars know that cars with automatic transmission are usually easy to drive , But if we learn automatic gear at the beginning instead of manual gear , If you have to drive a car with manual transmission, you may not be able to drive . This is the simplest truth .
Finally, let's talk about my little advice for beginners , It is impossible to learn SCM at once , All knowledge is unlikely to be learned at once . We should learn while doing , If you have any idea, go to the MCU to practice immediately , Never do it after reading or learning , This is not applicable to single chip computers . SCM is more hands-on ability , Learning and doing more is the best way to understand SCM .
The first problem I encountered when I was studying was how I should study . Follow books or watch videos . I think this place is the first place where I stepped on the pit , This is also personal .
I chose to study by reading , Most people who read textbooks have a feeling , Book knowledge is the authority. We should watch it very carefully , Don't miss every knowledge point , With a high degree of concentration and no one to explain, it is easy to get sleepy . That's why I realize that video learning is more suitable for me . Because the video is explained by learned practitioners , They will pick the point and say , Let us know what is the key to learn , It is convenient for us to study .
The second problem is to choose the development method . Just beginning to learn SMT32 We should choose to develop by register 、 Is it developed in the form of standard library or through HAL In the form of Library . I chose the standard library to develop , Because the video I watch is developed with this . At that time, there were more standard libraries written on the forum, and it was easier to find such materials .
For beginners HAL Development is not very suitable , After all, knowledge is still in the reserve stage , Many development principles 、 The workflow may be relatively unfamiliar to beginners ,HAL Library is convenient , But it can't help us understand the internal structure of MCU 、 Build our development thinking , It will let us miss a lot of valuable experience .
Register development requires us to spend a lot of time to be familiar with the function of registers , Which part does it control correspondingly ,32 The register of belongs to the more one , So I don't recommend you to use this method .
Some friends might say HAL Better than standard library , It's true . Let's take a simple example , The standard library is equivalent to a car with manual transmission ,HAL Equivalent to an automatic car , Friends who have driven cars know that cars with automatic transmission are usually easy to drive , But if we learn automatic gear at the beginning instead of manual gear , If you have to drive a car with manual transmission, you may not be able to drive . This is the simplest truth .
Finally, let's talk about my little advice for beginners , It is impossible to learn SCM at once , All knowledge is unlikely to be learned at once . We should learn while doing , If you have any idea, go to the MCU to practice immediately , Never do it after reading or learning , This is not applicable to single chip computers . SCM is more hands-on ability , Learning and doing more is the best way to understand SCM .
Friends who want to learn SCM together , Comment on ” I want to get started “, Have a pleasant surprise , Join us , You can interact with your mentor one-on-one , The rapid growth

边栏推荐
- 【直播回顾】战码先锋首期8节直播完美落幕,下期敬请期待!
- Document declaration and character encoding
- The first game of the 12th Blue Bridge Cup single chip microcomputer provincial competition
- 蓝桥杯单片机数码管技巧
- 【人员密度检测】基于形态学处理和GRNN网络的人员密度检测matlab仿真
- WPViewPDF Delphi 和 .NET 的 PDF 查看组件
- [ibdfe] matlab simulation of frequency domain equalization based on ibdfe
- 【leetcode】74. Search 2D matrix
- 蓝桥杯单片机省赛第十二届第一场
- 蓝桥杯单片机第四届省赛
猜你喜欢

【直播回顾】战码先锋首期8节直播完美落幕,下期敬请期待!
![[source code analysis] NVIDIA hugectr, GPU version parameter server - (1)](/img/e3/fc2e78dc1e3e3cacbd1a389c82d33e.jpg)
[source code analysis] NVIDIA hugectr, GPU version parameter server - (1)

蓝桥杯单片机省赛第十一届第二场

MD5 of Oracle

Jetpack之LiveData扩展MediatorLiveData
![[untitled]](/img/53/cb61622cfcc73a347d2d5e852a5421.jpg)
[untitled]

初识P4语言

Document declaration and character encoding

Suggestions on settlement solution of u standard contract position explosion
![[Li Kou brush questions] 15 Sum of three numbers (double pointer); 17. Letter combination of phone number (recursive backtracking)](/img/5e/81e613370c808c63665c14298f9a39.png)
[Li Kou brush questions] 15 Sum of three numbers (double pointer); 17. Letter combination of phone number (recursive backtracking)
随机推荐
Learn more about materialapp and common attribute parsing in fluent
How should the team choose the feature branch development mode or trunk development mode?
BiShe cinema ticket purchasing system based on SSM
Suggestions on settlement solution of u standard contract position explosion
Monkey test
文档声明与字符编码
[live broadcast review] the first 8 live broadcasts of battle code Pioneer have come to a perfect end. Please look forward to the next one!
Realizing deep learning framework from zero -- Introduction to neural network
Installation and use of blue lake
First acquaintance with P4 language
The 5th Blue Bridge Cup single chip microcomputer provincial competition
【leetcode】74. Search 2D matrix
Set vscode. When double clicking, the selected string includes the $symbol - convenient for PHP operation
蓝桥杯单片机省赛第十一届第一场
蓝桥杯单片机省赛第十二届第二场
向数据库中存入数组数据,代码出错怎么解决
蓝湖的安装及使用
Demonstration description of integrated base scheme
【人员密度检测】基于形态学处理和GRNN网络的人员密度检测matlab仿真
Cloud service selection of enterprises: comparative analysis of SaaS, PAAS and IAAs