Four steps to learn MCU

Publisher:tau29Latest update time:2011-12-09 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

How to learn MCU? What are the steps to learn MCU? MCU enthusiasts often ask us. We have roughly summarized that the process of learning MCU can basically be divided into four stages:

The first stage: First, browse the hardware part in the textbook to roughly understand the hardware structure of the microcontroller, such as ROM, RAM, address, I/O port, etc., and read some manufacturers' MCU data sheets to strengthen the impression of the various resources provided by the MCU.

The second stage: is to understand the binary numbers, hexadecimal numbers and software. Although there are many high-level languages ​​that can be used for single-chip microcomputer programming, I think it is better to start with assembly language, which is more conducive to combining with hardware and mastering the hardware structure. After knowing the concepts of assembly language, machine language, instructions, and programs, start with the MOV instruction to learn assembly language and programming. For example, the MCU assembly language system of 51 has 11 instructions, which are simple and easy to understand how they are connected with hardware, and are more helpful for general learning of single-chip microcomputer instruction integration and application. Therefore, the method is to first understand a few basic MOV instructions and its machine language, roughly establish the hardware and software concepts of single-chip microcomputers, and know that the hardware of single-chip microcomputers is controlled and directed by instructions.

The third stage is to familiarize yourself with the programming environment according to its manual. Nowadays, programming environments are generally connected to computers, and anyone with basic computer knowledge can quickly master the operation steps.

The fourth stage is to learn and master the assembly language instruction system and simple programming of the microcontroller by relying on the experimental board. At the same time, it is combined with the hardware knowledge learned before, which plays a dual role of learning the software and consolidating the hardware.

At the beginning, you can use simple programs written by others to verify and analyze on the experimental board, mainly to familiarize yourself with the learning method. In terms of application, it mainly focuses on the use of various microcontroller I/O interfaces, such as A/D, D/A, PWM output applications, LCD and VFD control, and how to standardize the communication protocols of various serial output inputs, etc. The driving capabilities of the components it controls must be analyzed first, such as current and voltage issues.

After becoming familiar with assembly language, it is recommended to learn C language programming as soon as possible. After all, C language has rich library functions, fast computing speed, high compilation efficiency, good portability, and can directly control system hardware. C language is a structured programming language that supports the top-down structured programming technology widely used in current programming. In addition, C language programs have a complete module program structure, which provides a strong guarantee for the use of modular programming methods in software development. Therefore, using C language for programming has become a mainstream in software development. Using C language to write target system software will greatly shorten the development cycle, significantly increase the readability of the software, and facilitate improvement and expansion, thereby developing a larger system with more complete performance.

Reference address:Four steps to learn MCU

Previous article:Design of Dual-Integral A/D Conversion Based on Single Chip Microcomputer
Next article:Design of Simulating Fully Automatic Washing Machine Based on Single Chip Microcomputer

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号