Many people say that the microcontroller is very simple. However, students of this major think that the single-chip microcomputer is the most difficult course to learn. Why is it so hard to learn?

Many people say that the microcontroller is simple ? Yes, for an old programmer who has been fighting in embedded development for more than ten years, the single-chip microcomputer is nothing more than a few big things. Is the microcontroller difficult to master ? That's right, especially for those who are just beginning to contact, such as those who are new to the undergraduate course mentioned by the subject, the single-chip microcomputer is quite mysterious and complicated. Seven days to learn the microcontroller? I personally think it is feasible . But you must have a foundation. If you have zero foundation, you will at most be familiar with it.

So, back to the question itself. Different people will have different acceptance of the learning of single-chip microcomputer. It can be said that the subject currently feels that there are certain difficulties in the learning of single-chip microcomputers, which is very, very normal . Don't look at the fact that the answerer can now use a variety of microcontrollers to the level of proficient use, but when he returned to the undergraduate stage, he felt the same difficulty when he first faced the microcontroller course.

 

I came from an automation major, and the single-chip microcomputer course was one of the important compulsory courses for the automation major that year. Although the answerer has a basic understanding of the microcontroller a long time ago, he has also seen how to program and use it. But at that time, it was mainly for fun, and the principle was not studied. Therefore, like the answerer, facing various in-depth principles and knowledge points in the single-chip microcomputer course, they also feel the difficulty of understanding . However, after mastering the correct learning method later, I gradually began to like single-chip microcomputers and accepted the single-chip microcomputer course (even at that time, the programming of C51 was mainly in assembly language).

With the foundation of C51, and then to the MSP430 series, STM32 sharp and other single-chip microcomputers, the answerer will basically no longer feel the difficult feeling when he first saw the C51. After all, with the foundation, the improvement of understanding is one aspect. The key is: the learning of single-chip microcomputer has mastered certain methods and skills.


It is clear that anyone who learns single-chip microcomputer for the first time finds it difficult , and the subject can completely unload the psychological burden. Let's continue to look at the problem of how to learn single-chip microcomputers for undergraduate courses . Teachers at the undergraduate level, to be honest, most of their lectures are based on textbooks, at least the MCU teachers who answered the question back then. The advantage is that he will answer any questions in the book in detail, and he will also avoid some unimportant chapters, which is equivalent to helping us filter out some non-critical chapters and make our efforts more focused.

>>> First, understand terms from multiple perspectives

When you first come into contact with a single-chip microcomputer, you will encounter many professional terms. For example, the bus, such as the clock tree, is actually open to see, many terminology knowledge is the elevation and collection of some knowledge we have learned before. If you can't understand a book, then we can study the meaning of this term from other textbooks, the Internet, and self-media .

As mentioned earlier, why do the respondents think that the microcontroller is simple? In addition to learning more and using multiple factors, the expansion of understanding ability and knowledge range will help to accept new single-chip microcomputers. If one thinking direction cannot be understood, then we can change the thinking line, or use previous past experience to understand, and so on.

>>> Second, focus on the key points and don't waste time in non-key areas

In the MCU textbook, the general framework basically starts from the historical evolution, then the hardware architecture (internal structure, peripherals and external pins), and then it will introduce how to control these customer-oriented hardware (hardware registers), and then will Explain how to use language to control registers (programming language - assembly), and finally will sort out a specific application example for everyone to connect the hardware and software of this book.

Here, let's not spend a lot of effort on researching history, go to the root of the problem, why the bus of the 51 MCU is only 8 bits, and don't explore the topic of why the hardware of the 51 MCU is so simple. Focus more on the learning of registers and programming languages. However, do not delve into the problem of why this bit of this register is set or cleared, and the microcontroller runs like this .

>>> Third, programming ability is practiced rather than thought out

Programming languages ​​and programming abilities are very similar to how we learn a second foreign language. All require context and constant practice. Many schools' MCU courses will support experimental courses, and provide MCU circuit boards for coding exercises. Don't be like when the answerer was young, just write a program in order to complete the experimental work and run out to play football, cherish the rare experimental conditions, verify and verify other register instructions, and get in touch with the microcontroller hardware. It is very useful for understanding programming languages. helpful .

>>> Fourth, the teacher is also more experienced in cooking than you are

Follow the teacher's rhythm, after all, people are also serious about preparing lessons. Let's not talk about his explanation first, but at least we know what he is talking about, which is definitely involved in the exam, which is also the focus of this course. Furthermore, a ready-made offline Q&A teacher, what a great opportunity and resource we have not yet made good use of.


To sum up, it is very normal to feel that it is difficult to get into the single-chip microcomputer course at the beginning, and there is no psychological burden. Follow the steps, allocate time and energy reasonably, study from multiple perspectives, communicate more and ask for more advice, and the most important thing is to practice diligently. Must be able to master the essence of the single-chip microcomputer course, and lay the foundation for subsequent employment and further study.

Guess you like

Origin blog.csdn.net/danpianji777/article/details/123050988