First of all, many students may think that it is outdated to talk about single-chip microcomputers now. In fact, it is not. The application range of high-end processors such as NXP lpcXX and Luminor LMSXX is fixed. At present, 4-bit, 8-bit, 16-bit and 32-bit processors exist in the market at the same time, and each has its own place. In the low-end consumer electronic product market, such as electronic watches, washing machines, etc., the advantages of MCU are very obvious in terms of cost performance. Although many chip manufacturers are working hard to improve the manufacturing process and thinking hard to solve the high cost of 32-bit machines compared to 8-bit machines, MCU is also constantly improving. The performance of Philips' MCS-51 has been improved by more than hundreds of times compared to the early 1980s. At present, 8-bit CPUs still account for 70% of the embedded market, and their advantages will still be undoubtedly to a certain extent in the next few years.
What basic knowledge do you need to learn MCU? In fact, there is no high threshold. A sophomore student majoring in electrical engineering or computer science is fully capable of introducing this knowledge. To put it bluntly, it is a little bit of analog electronics, a little bit of digital electronics, and you need to know some C language. Many students may say that they are not good at learning C. It doesn’t matter. You will understand in the process of using the language. As long as you can speak and think, and know how to abstract the phenomena and mechanisms of the real world into scientific logic (flowchart), and then implement the flowchart according to the grammar of a language, you are programming. Haha. Language is a difficult tool. Good use and expression awareness can give us a clearer understanding of the world.
What is the content of the study? Maybe many students will remember the running lights when they first learned the single-chip computer. Haha, yes, that is a classic introductory program, similar to the classic HelloWorld when learning C language, and more similar to the classic 8031\MCS-51 of Intel and Philips. What language is good for beginners to learn single-chip computer programming? Personally, I think it is better to learn some assembly. Since single-chip computers are sensitive to cost, the dominant software is still the lowest-level assembly language. It is the lowest-level language above binary machine code. Since it is so low-level, why should it be used? Many high-level languages have reached the level of visual programming. Why not use it? The reason is very simple, that is, single-chip computers do not have CPUs like home computers, nor do they have massive storage devices like hard disks. Even if there is only one button in a small program written in a visual high-level language, it will reach a size of tens of K! It is nothing for the hard disk of a home PC, but it is unacceptable for single-chip computers. The utilization rate of hardware resources of single-chip computers must be very high, so although assembly is primitive, it is still widely used. The same is true. If you take the operating system and application software on a giant computer and run it on a home PC, the home PC will not be able to bear it. In addition, it is very beneficial for beginners to use assembly and deal with the underlying hardware.
In summary, I personally think that when learning, you should focus on: 1. Bus 2. Addressing mode, that is, the tricks between data, instructions, and addresses 3. Internal resources such as parallel ports, RAM, ROM, timers, etc. 4. Pay attention to the execution process of each type of instruction and basic stack operations. 5. Do more hands-on programming. Haha, there are more lessons that can only be learned after leaving school...
Cherish your youth and squander it recklessly, haha...
Previous article:Design of three-way intelligent synchronous acquisition card with phase-locked loop based on single-chip microcomputer control
Next article:Summary of Single Chip Microcomputer Circuit Design
Recommended ReadingLatest update time:2024-11-16 21:47
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Siemens PLC Programming Technology and Application Cases (Edited by Liu Zhenquan, Wang Hanzhi, Yang Kun, etc.)
- Siemens PLC from Beginner to Mastery with Color Illustrations (Yang Rui)
- Experience and skills in using Siemens S7-200PLC (Shang Baoxing)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Access Denied problem occurs in Ubuntu 20 window ssh connection
- USB download cable driver installation.pdf
- Live Review: How to use the domestic 800MHz RISC-V MCU Xianji HPM6750 to control four-axis servo motors
- MicroPython Hands-on (39) - Image Basics of Machine Vision
- Sinlinx A33 Development Board Android Development (Part 1)
- 2019 Electric Competition Comprehensive Evaluation Waveform Generator Help! ! Urgent! !
- Free application: Pingtou Ge CB5654 intelligent voice development board, quickly realize storytelling machine and other products
- [Hongmeng Development Board Neptune] Building the HarmonyOS development environment is the hardest part
- Switching Power Supply Interest Group Task 08
- Current control scheme of three-phase four-wire active filter based on FPGA