当前位置:网站首页>Getting started STM32 -- how to learn stm32

Getting started STM32 -- how to learn stm32

2022-07-08 01:21:00 CSJ_ HYL

Catalog

Preface

  One 、STM32 What is it? ?

  Two 、 Some of the concepts ( If you don't understand, you may be loaded into )

1.Soc chip

2.MCU

3.FLASH

3、 ... and 、STM32 Learning from

1.51

2. Learning methods

3. Suggest

Four 、 Pre school preparation

1. Development board

2. Downloader

3.OLED/LCD

4. Matrix keyboard



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 .

原网站

版权声明
本文为[CSJ_ HYL]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130544129843.html