This is a question often asked by microcontroller beginners. I don't think anyone dares to make a conclusion on this question. Because each microcontroller has its own strengths and is suitable for the field where it can fully play a role, there is no difference between good and bad. To learn microcontrollers, you should first learn 51 microcontrollers, and then learn other microcontrollers after learning 51 microcontrollers. This is the consensus of those who have learned microcontrollers, and it is also a recognized learning method. Why should we learn 51 microcontrollers first? Because 51 microcontrollers are the earliest developed and the most widely used, especially the operation of I/O ports is very simple, and there are the most relevant learning materials and the most mature teaching materials, so it is easy to learn and get started quickly. With this foundation, learning other microcontrollers is a piece of cake. It's just setting registers according to the chip data manual. It will take one or two weeks at the fastest, and one month at the most to master another microcontroller. If you choose to learn non-51 microcontrollers at the beginning, it will be "the road is long and arduous, and you will seek hard!"
Is it better to learn 51 single-chip microcomputer using C language or assembly language? Of course it is C language. Because: 1. C language is a high-level language with good code portability and easy maintenance; 2. Flexible programming, free to do as you like; 3. The language has clear levels, clear ideas and strong readability. 4. C language is currently the most popular single-chip microcomputer programming language, with many routine codes and easy reference. The rapid development of single-chip microcomputer technology and its wide application have led to a growing learning community, which is inseparable from the advent of the Keil C51 development environment. 5. C language is a popular programming language and the basis of other programming languages. Once you have learned C language, you will have more freedom to choose further studies. Assembly language was the language used in early single-chip microcomputer learning. Its advantage is that it executes instructions slightly faster than C language, but I cannot praise it in other aspects.
After learning about the 51 single-chip microcomputer, you can choose one or more of the following to continue your studies based on your job or your goals.
1. AVR microcontrollers are fast, and execute one instruction in one clock cycle, while ordinary 51 microcontrollers need 12 clock cycles to execute one instruction. Of course, the AT89LP series microcontrollers produced by Atmel also execute one instruction in one clock cycle, but they are not yet popular. AVR microcontrollers have more USB communication modules, SPI communication modules, I2C communication modules, PWM modules, AD conversion modules, etc. than 51 microcontrollers, but the I/O operations in C language programming are much more complicated than 51.
2. PIC microcontrollers------They are very popular microcontrollers with complete varieties, wide application fields, and rich on-chip resources. They have more on-chip resources than 51 microcontrollers, such as SPI communication module, I2C communication module, PWM module, AD conversion module, etc. PIC microcontrollers execute one instruction in 4 clock cycles, which seems to be faster than 51 microcontrollers. However, this is not the case. The maximum clock frequency of PIC microcontrollers is generally 8MHZ, while the maximum clock frequency of 51 microcontrollers can reach 33MHZ. PIC microcontrollers do not have an advantage in speed, but their anti-interference ability is slightly stronger than that of 51 microcontrollers. In terms of C language programming, I/O operations are more troublesome than 51 microcontrollers.
3.MSP430 MCU-----16-bit MCU, fast speed, executes one instruction in one clock cycle, ultra-low voltage and low power consumption, suitable for battery-powered devices.
4. Motorola microcontrollers have strong anti-interference capabilities and are suitable for harsh environments, but this comes at the expense of reduced speed.
5. DSP technology------used in fast digital processing fields such as audio, video, and communication. It has ultra-fast speed and relatively complex programming algorithms.
6. FPGA technology------The difficulty is similar to that of microcontrollers, and its application areas are gradually becoming wider.
7. Embedded systems - used in complex intelligent control systems other than PC control, as well as intelligent communication equipment, PDAs, learning equipment, entertainment equipment, etc., with a wide range of applications. Learning is also difficult, requiring knowledge of operating systems, hardware, driver principles, etc. The proliferation of knockoff mobile phones and PDAs is all due to the development of embedded systems.
8. Other MCUs, such as Texas Instruments MCU, Holtek MCU, NEC MCU, etc.
I dare not make a rash assertion about which microcontroller is the most promising. No matter which one you choose, whether the future is bright or not depends on the depth of your attainments.
Previous article:MSP430 MCU interrupt system
Next article:Some opinions on the development of 51 and AVR microcontrollers
- Popular Resources
- Popular amplifiers
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
- FAQ_ How to broadcast Chinese Bluetooth name
- Introduction to Web Bluetooth Tools SiCom
- About Kalman Filter Algorithm
- TI DSP EMIF interface address bus problem
- 3. Some suggestions for training on "power supply" competition questions
- You can do anything you want! DLP Pico chipset can also be used in this way
- LIS2DW12 three-axis accelerometer package and code
- 2. Main knowledge points of previous "power supply" competition questions
- PCB Design Issues
- Professor Yang's book is here, a five-volume collection of "New Concept Analog Circuits" series by Yang Jianguo of Xi'an Jiaotong University