当前位置:网站首页>Getting started STM32 -- how to learn stm32
Getting started STM32 -- how to learn stm32
2022-07-08 01:21:00 【CSJ_ HYL】
Catalog
Two 、 Some of the concepts ( If you don't understand, you may be loaded into )
3、 ... and 、STM32 Learning from
Preface
First of all , I am a college student myself , Study STM32 It's not too long . I hope you can tolerate the differences .
Write these blogs , I hope to leave a thought for myself , Leave a good memory , I'm also worried about forgetting that I once did it for 32 I've fought for .
One 、STM32 What is it? ?
The official explanation is STM32 Series is designed for high performance 、 Low cost 、 Low power embedded application design ARM Cortex-M0,M0+,M3, M4 and M7 kernel .
Just know the preceding adjectives , Maybe we can't feel it in the process of learning . What does the kernel behind mean ? It means , our Single chip microcomputer The CPU inside (CPU) The kernel of , Ahead M0、M3 What is its model .
And that is STM32 Naming rules ( It may not be useful for learning to use , But it's always good to know )
Finally, let's talk about my own understanding , Everyone is learning STM32 When , You may already have a development board in your hand ( Punctual atom series 、 Or some boards in general ), The MCU mentioned above is the slightly larger chip in the center of the development board in your hand ,( Let other companies build on him , External circuit connected , Draw out , Weld well , I'll sell it to you ) Show off its model number and the kernel mentioned above , It's also in this chip .
( It's best to stick it on the bottom of the board with insulating tape , It may be a little ugly ,)
Two 、 Some of the concepts ( If you don't understand, you may be loaded into )
1.Soc chip
Soc Chip is a vague concept , It is difficult to give an objective concept .
Soc yes “System on Chip” Abbreviation , Also known as system on chip . In a broad sense , SoC It's a micro system , if a central processor (CPU) It's the brain , that SoC Including the brain 、 The heart 、 Eye and hand systems .
Inside the chip is an integrated circuit ,, It can be called Soc The integrated circuit ( It seems that this sentence is a little redundant , Maybe taste it carefully , You can feel his meaning ~~). Integrated circuits , It's a lot of transistors .
2.MCU
MCU It may be another concept you encounter , In fact, SCM is a MCU( Micro controller ), It integrates most or even all of the circuits of the whole computer into one chip , This includes what we are familiar with CPU.
It is actually a small computer integrated on a single chip , Because it is mainly used as a control unit in embedded applications . So people used to call it microcontroller .
3.FLASH
flash I won't elaborate on the official explanation of , It's actually memory , Store some data 、 Program or something .
3、 ... and 、STM32 Learning from
1.51
Mention the learner development board , Maybe many students will hear , Or see “51” The term , After all, 32 before , Its status is very high .
Some students may want to learn from 51 Starting with , Learn again after learning 32, I feel , If you have enough time , In fact, it can be , Did you learn 51 Start with affirmation 32 Will be faster . If there's not enough time , There is no problem with direct learning , That's how I got here . and , By the end 32 after , Go to study again 51, Take off directly .
2. Learning methods
Maybe some students are suitable for reading documents ( It's usually PDF), Some students are suitable for watching videos . But if you are struggling to watch videos or documents , Then watch the video directly , Don't get tangled up .
I suggest watching the video first , Then look at the document . You can watch the video several times , I watched it several times at that time , Then I went through the development guide again .
Video words , Just dot the atom , Maybe nothing else ,( Maybe I will also post a video , Hey )
Document ,STM32F1 Development of guidelines ,STM32F1 Development Manual .
Can't find , Click here .http://www.openedv.com/docs/index.html
3. Suggest
Just roll it into the dead , There's no other way .
Ask more people , Don't be embarrassed .
Read more blogs , Reading more blogs will have unexpected gains .
In fact, there is another way , Namely “ si ”( Be careful “ legal ”, Avoid contradictions ), See through and understand , Write it yourself , Progress is rapid .( however , Program this thing , Generally not willing to let others see , A program is like a person's underwear , Where is the leak , Just understand yourself )
Four 、 Pre school preparation
1. Development board
Study STM32 front , There must be a development board , Chips have been rising recently , As a result, the development board has become expensive .
The punctual atoms 、 Puzhong 、 You Xin Electronics 、 Green deep electrons are ok .
I was studying with F103ZET6, I bought a board from Puzhong , It cost me more than 100 yuan , But then I burned it , Fortunately, a kind-hearted senior gave me another . Of course, there are other models ,RCT6 It's also a good choice , A little cheaper is C8T6, You can take it in your thirties , But pay attention when buying , Try to find a well-known store , Otherwise, you may buy something bad , It's a little bit of a hassle .()
Don't buy it wrong , What I wanted to buy was F103 Model number , But I bought it F407, Finally, the kind shopkeeper reminded , Just changed it back before delivery . Thank the shopkeeper ( You're welcome ).
2. Downloader
not essential , It can also be downloaded by cable .
But I spent money on , There must be a different experience .
Using the downloader to download the program will be more convenient , Directly in keil Just order inside , Don't use software .
There is also debugging , convenient Debug.( Maybe I can't care about it for the first time , You can buy it later )
The last is , It looks professional .
I recommend DAP Downloader ( I haven't used any other type ), More than thirty .( Last wave of advertisements )
3.OLED/LCD
OLED The screen is also a thing that may be used , For beginners, it is recommended to use OLED, You can buy one later LCD( It will look garish ). Choose the right manufacturer when buying a screen !!!
4. Matrix keyboard
It's over , Not suffer losses , Don't be fooled .
And finally , You can also buy it later , Ultrasonic ranging module 、 Bluetooth module 、 Buzzer or something
Blog for the first time , There may be something bad . Later, I will put what I have learned , Write it all out .
边栏推荐
- How does starfish OS enable the value of SFO in the fourth phase of SFO destruction?
- Introduction to ML regression analysis of AI zhetianchuan
- Frrouting BGP protocol learning
- Prediction of the victory or defeat of the League of heroes -- simple KFC Colonel
- Chapter VIII integrated learning
- 50Mhz产生时间
- Understanding of sidelobe cancellation
- 2.非线性回归
- Leetcode notes No.7
- 133. Clone map
猜你喜欢
11.递归神经网络RNN
Led serial communication
Design method and reference circuit of type C to hdmi+ PD + BB + usb3.1 hub (rj45/cf/tf/ sd/ multi port usb3.1 type-A) multifunctional expansion dock
Share a latex online editor | with latex common templates
13.模型的保存和載入
7. Regularization application
EDP to LVDS conversion design circuit | EDP to LVDS adapter board circuit | capstone/cs5211 chip circuit schematic reference
Micro rabbit gets a field of API interface JSON
14. Draw network model structure
3. MNIST dataset classification
随机推荐
完整的模型验证(测试,demo)套路
Su embedded training - C language programming practice (implementation of address book)
Generic configuration legend
Solve the error: NPM warn config global ` --global`, `--local` are deprecated Use `--location=global` instead.
How to write mark down on vscode
Smart agricultural technology framework
For the first time in China, three Tsinghua Yaoban undergraduates won the stoc best student thesis award
Understanding of sidelobe cancellation
Ag9310 design USB type C to hdmi+u2+5v slow charging scheme design | ag9310 expansion dock scheme circuit | type-C dongle design data
4. Apprentissage stratégique
Introduction to the types and repair methods of chip Eco
Cs5261type-c to HDMI alternative ag9310 | ag9310 alternative
Swift get URL parameters
AI zhetianchuan ml novice decision tree
11. Recurrent neural network RNN
USB type-C docking design | design USB type-C docking scheme | USB type-C docking circuit reference
50MHz generation time
Application of state mode in JSF source code
Y59. Chapter III kubernetes from entry to proficiency - continuous integration and deployment (III, II)
Common effects of line chart