当前位置:网站首页>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
边栏推荐
- Jetpack's livedata extension mediatorlivedata
- The 11th Blue Bridge Cup single chip microcomputer provincial competition
- 蓝桥杯单片机数码管技巧
- Vite: configure IP access
- Basic operations of MySQL database (based on tables)
- [personal notes] PHP common functions - custom functions
- 向数据库中存入数组数据,代码出错怎么解决
- Pandora IOT development board learning (RT thread) - Experiment 1 LED flashing experiment (learning notes)
- The 7th Blue Bridge Cup single chip microcomputer provincial competition
- 滴滴开源DELTA:AI开发者可轻松训练自然语言模型
猜你喜欢
The 8th Blue Bridge Cup single chip microcomputer provincial competition
Go语言介绍
Demonstration description of integrated base scheme
蓝桥杯单片机省赛第十二届第一场
0 foundation how to learn automated testing? Follow these seven steps step by step and you will succeed
C语言:逻辑运算和判断选择结构例题
《动手学深度学习》(二)-- 多层感知机
Learn more about materialapp and common attribute parsing in fluent
蓝桥杯单片机省赛第十一届第一场
PIP installation of third-party libraries
随机推荐
Lost a few hairs, and finally learned - graph traversal -dfs and BFS
【无线图传】基于FPGA的简易无线图像传输系统verilog开发,matlab辅助验证
Fingertips life Chapter 4 modules and packages
【力扣刷题】15.三数之和(双指针);17.电话号码的字母组合(递归回溯)
go 分支与循环
Vite: scaffold assembly
Wpviewpdf Delphi and Net PDF viewing component
Realizing deep learning framework from zero -- Introduction to neural network
[untitled]
近段时间天气暴热,所以采集北上广深去年天气数据,制作可视化图看下
Set vscode. When double clicking, the selected string includes the $symbol - convenient for PHP operation
Uni app - realize the countdown of 60 seconds to obtain the mobile verification code (mobile number + verification code login function)
Sorted out an ECS summer money saving secret, this time @ old users come and take it away
Get started with Aurora 8b/10b IP core in one day (5) -- learn from the official routine of framing interface
潘多拉 IOT 开发板学习(RT-Thread)—— 实验1 LED 闪烁实验(学习笔记)
蓝桥杯单片机省赛第十一届第一场
向数据库中存入数组数据,代码出错怎么解决
The 6th Blue Bridge Cup single chip microcomputer provincial competition
《西线无战事》我们才刚开始热爱生活,却不得不对一切开炮
Visual slam Lecture 3 -- Lie groups and Lie Algebras