logo logologo

Language
Search...

News

News

Home > News > MCU News

Learning experience of SCM(single chip microcomputer)

Nov 21,2024
Page Views: 575
Author: Shenzhen YuFan Microelectronics Co., Ltd.

As an important branch of computer development, SCM has an indispensable importance in the field of modern intelligent electronics. Nowadays, single chip microcomputer is widely used in instrumentation, household appliances, medical equipment, aerospace, special equipment intelligent management and process control and other fields, almost involved in all aspects of human production and life. Learning microcontroller friends are also more and more, today Yu Fan micro engineer for you to share some microcontroller learning experience, hoping to help the friends who are or want to learn microcontroller.

First of all, there are various types of single chip microcomputer, but the basic principles and functions of any single chip microcomputer are much the same. Between different kinds of microcontroller only its peripheral function module configuration    and the quantity and instruction system and so on.

For instruction systems, although they look very different in form, in fact they are just symbolic differences, which represent the same meaning, the function to be accomplished, and the way of addressing.

To understand a single chip microcomputer, the first thing you need to know is the ROM space, RAM space, number of IO ports, number of timers and timing mode, the Peripheral Circuit, interrupt source, working voltage and power consumption and so on.

Learning experience of single chip microcomputer

After understanding these SCM Features, the next step is to compare the functions of the selected MCU with those required by the actual project development, so as to clarify which resources are needed at present and which are not available for this project.

For the functions that need to be used in the project but not provided by the selected MCU, it is necessary to carefully understand the relevant materials of the MCU, so as to realize them in an indirect way. For example, if the developed project needs    to communicate with the COM port of the PC, and the selected MCU does not provide the UART port, it can be realized by external interruption.

The resources needed for project development need to be carefully understood and read, while the unnecessary functional modules can be ignored or browsed. For MCU learning, application is the key and the main purpose.

After defining the relevant functions of the MCU, you can start programming.

For beginners or designers using this MCU for the first time, there may be a lot of unclear descriptions of MCU functions. For such problems, there are two ways to solve them. One is to write special verification programs to understand the functions described    in the data: The other can be temporarily ignored, microcontroller programming in accordance with their current understanding to write, left to debug to modify and improve. The former method is suitable for more relaxed time projects and beginners,    and the latter method is suitable for people with certain SCM development experience or project progress is more urgent.

Don't spend too much time understanding the instruction system. The instruction system is just a logical description of the symbol. During the programming process, you can only look at the relevant instructions according to your own logic and the logic    of the program. In addition, as programming progresses, the instruction system will become more and more proficient, even unknowingly memorized.

Above is yu all engineers share of single chip microcomputer the learning methods, hoping to bring help, micro yu who provide IC wafer production and packaging customization, as nine qi level agents, has ten years of experience in MCU chip application    solutions design, for the majority of electronic product manufacturers provide MCU application functions custom development services.

More information?
Want to turn your idea into reality? Contact YFM Support
Copyright © 2022 Shenzhen Yufan Microelectronics Co., Ltd. All Rights Reserved. | Sitemap

Contact

Copyright © 2022 Shenzhen Yufan Microelectronics Co., Ltd. All Rights Reserved. | { fanyi('Sitemap') }}
Online

Email

Message
TOP