当前位置:网站首页>What are the serious consequences of skipping 51 MCU and learning STM32 directly

What are the serious consequences of skipping 51 MCU and learning STM32 directly

2022-06-10 08:26:00 Dafang teacher talks about SCM

skip 51 Single chip microcomputer , Learn directly STM32 What are the serious consequences

92195a0a7730d41ac2b58ed702b0d7db.png

STM32 The reason why it is so popular now , The main reason is that the tutorial materials are very rich , Some people who sell development boards for tutorials at least 50% Credit .

The price is reasonable , As a result, many enterprises use this single chip microcomputer to make products , Beginners are also more eager to master this chip .

however STM32 In the past two years, prices have risen too much , Many companies use domestic chips instead of .

I just came into contact with SCM in 2011 year , at that time STM32 It is not as popular as it is now .

Buying a development board is just a routine , No video tutorials yet .

Otherwise , I may also directly from STM32 I began to learn .

People are impetuous , Always want to use the shortest time , Learn the most complicated things .

Just like I used to buy development boards , Obviously, the standard configuration may not be finished , But I like high-end matching .

The high configuration seems to have more powerful functions , It is also closer to the functions of some high-end products on the market .

Actually, I bought it , Most of them are thrown over and eaten .

I am not familiar with strange things , Thinking is still very old-fashioned , Embody the characteristics of Xiaobai incisively and vividly .

I like the simple , Start with the popular , Learn systematically .

If you think you are gifted , Can learn directly STM32.

But most people are ordinary people , Follow my path to learn , Dare not say fast , At least you can learn to persist , Can also quickly reach my level .

The growth process of an expert may be awesome , But not necessarily for you .

But the road I've been through , It must be suitable for most people .

I suggest novices start with 51 MCU began to learn , Don't fight immediately Boss.

Some time ago, I received some questions from several small partners .

He used to do back-end development , I learned recently STM32, Learning is very confused , Change someone else's routine to use keil There are a lot of problems when compiling , There is no way to solve it .

Although some peripherals can be used , But I always feel out of control , I don't know how the SCM works .

This is a typical overstepping , I learned something beyond my cognitive range .

STM32 The orientation of should be to shorten the development cycle of engineers , Not for beginners to learn SCM .

therefore ,ST The government provides a series of convenient support , For example, firmware library , There are also graphical configurations STM32CubeMX.

amount to , You don't need to care at all STM32 register , You don't even have to read the data book , You can directly call library functions to use peripherals .

contrary ,51 SCM is not so convenient , You need to manually configure registers to use peripherals .

In this process, you can learn some necessary things for engineers at the same time , For example, the working principle of single chip microcomputer , internal structure , Look at the data book and so on .

Especially the data book , If you don't understand at all , Follow up with STM32 Development projects also have a lot of unexplained problems .

I just can't find the feeling of North , Maybe the problem doesn't even know what it is , Let alone solve .

Any single-chip based products ,99% You need to read the device data manual of some peripheral circuits , How else do you know how to use it ?

look , You took a shortcut , Save learning 51 Time of single chip computer , In fact, it may take you longer .

Waste months , You may have to start from scratch .

Novice just started , It doesn't have to be from 51 MCU began to learn , Mainly those with less resources , It's just 51 SCM is the most classic .

Then you go through stm8 It is also possible to learn , There are not many peripherals , At least it can be controlled by the way of configuring registers .

8d7527378b2bda39d7d334f0c466a438.png

Stm32 The interior is still complicated , There are many peripheral registers .

d37401e433ed8755e178472279a78581.png

It is not a good choice for beginners , You could have learned , It's a pity to give up because of the wrong learning sequence .

Except for the learning order , Learning methods and depth are different .

51 SCM generally needs systematic learning , Be familiar with the register configuration of each peripheral .

and STM32 I haven't read the data book many times , Directly adjust the library and use the peripherals .

A lot of things , It's hard for you to understand now , When you have accumulated enough experience , Naturally I understand , There is no need to study deliberately .

For example, look at STM32 The data book for , Even if you read Chinese , What are many registers for , You can't understand it at all .

Take myself for example , It's a bit ironic , But it's real .

My English is very poor , How do I read the English data manual , It is based on my experience to guess and understand the data manual .

I Believe , There should not be a few engineers like me .

Because I used it too much , To see more , Many core parameters are the same .

learn STM32 It's the same , It is a nightmare to learn SCM through data manual .

The right way , It doesn't matter , Even copying routines , I'll use the peripherals first to see the effect .

It's more interesting than reading a boring data book , Try to change some parameters after using it , Change pin , Change the timing , Change channel …

When you put STM32 The firmware library is well used , It is found that the structure member of a peripheral corresponds to a register .

At this time, we will study the corresponding registers , It will be easy to understand a lot .

Generally STM32 This level of single-chip microcomputer , Learning through projects is the fastest .

Suppose before that , You have learned other single chip computers , The most valuable thing for you at this time is not to learn STM32.

But the ability to do projects , In technical terms, it means project thinking and programming level .

Simply learn from the development board , Can only learn SCM this tool , After learning, you will find that you still can't do the project .

This is also the reason why boundless MCU programming allows students to study project driven , I learned through projects STM32 Of .

For things that cannot fall to the ground , Whether it's knowledge or ideas , It's all a waste of time .

原网站

版权声明
本文为[Dafang teacher talks about SCM]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206100823121432.html