I have been engaged in analog hardware circuit and single-chip microcomputer hardware and software design for many years. I took a lot of detours in the early stage. Just like you now, I searched in many science and technology books and wandered among many single-chip microcomputers. There are many types of single-chip microcomputers. I don’t know which one to learn. I am afraid that one person will not have enough energy to learn every single-chip microcomputer. How can I get started quickly? Here, the author makes some suggestions from several aspects.
For beginners, it is best to buy a good 51 single-chip microcomputer textbook. There are many such books in bookstores at present. Most of them are copied from me and from you. The content is stereotyped. I recommend you a good book "8051 Single-chip Microcomputer Practice and Application" (published by Beihang University). Then slowly understand the hardware structure diagram of the 51 single-chip microcomputer. Don't think that this is the job of hardware engineers. In fact, in the design of single-chip microcomputer systems, the design of software and hardware is completed by one or two people. If the system is relatively large, the design of software and hardware will be designed separately by special people. But in any case, engineers who only know hardware but not software or only know software but not hardware cannot stand firm in the single-chip microcomputer design industry. In a word, if you just have fun, you can not learn hardware. If you want to be a master, you'd better have a deeper understanding of the internal structure of the single-chip microcomputer and the peripheral interface circuit. This is a long process. It needs to be guided by practice to continuously improve your software and hardware design capabilities. This is growth! The author started the design of the 51 single-chip microcomputer software from assembly, and I suggest you start from assembly too! Because assembly can help us remember the structure diagram of the registers of the 51 single-chip microcomputer and the functions of various registers. If you are a beginner with a basic understanding of assembly, you can also start learning from C language, but you must be familiar with the functions of various registers! To get started with assembly, you must first remember those broken instructions, pay special attention to the design of interrupt programs and communication programs and the settings of related registers, and then design a small program according to the book. You can also copy the program in the book and compile it on a compiler, but you must understand the program. As for the use of the compiler, Mr. Shi’s page has been introduced. The author has a genuine KEIL 51 (V6.23) compiler that can compile assembly language and C language, supports multiple simulators, and has soft simulation functions. If you need it, please see Note 1.
For good learners with a certain foundation, it is relatively quick to get started with C language. I recommend you a good book "Single-Chip Microcomputer C Language Programming" (published by Beihang University, edited by Ma Zhongmei). At this time, what you need to do is to improve your own software and hardware design level. It is best to have other people's template products as guidance, understand other people's software and hardware and his design intentions, and then draw a program flow chart by yourself, participate in other people's software and hardware and his design intentions, and write a program with the same function. Constantly modify it. If you can realize the function of the template program, this is your achievement! If you don't have a template product, then you must have the following hardware: 4 X 4 keyboard, 7-bit LED display, DEMO board.
For technical personnel with certain programming experience, it is important to learn more about the design framework of other people's products. The more the better!
Previous article:Several suggestions for dealing with MCU cracking
Next article:How to learn single chip microcomputer programming design
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- How to turn on the internal enable of Panasonic servo drive?
- What is the rigidity setting of Panasonic servo drive?
- How to change the inertia ratio of Panasonic servo drive
- What is the inertia ratio of the servo motor?
- Is it better for the motor to have a large or small moment of inertia?
- What is the difference between low inertia and high inertia of servo motors?
- Award-winning review: Sensirion SEK-SVM40 is coming in the new year, easily monitor indoor air quality and test whether it is "good luck"
- [Domestic digital isolation chip replacement] Nanochip MSI series replaces ADI ADUM and TI IOS series isolation chips
- STM32G071 driver for HDC1080
- Fudan Micro FM33LC046N Review + Serial Communication
- EEWORLD University Hall----Live playback: Introduction to the industrial open source platform based on TI Sitara?AM5708
- The United States is suppressing China's top companies because it is afraid that the Chinese are "too smart"?
- Summary of 17 tips on embedded C programming
- [Anxinke UWB indoor positioning module NodeMCU-BU01] 05. Transplantation preparation: ranging function code analysis
- What does a 5G base station look like? What is the difference between it and a 4G base station?
- A low-power, wireless sensor network design