Understanding the similarities and differences between MCU and CPU in one article

Publisher:EtherealGazeLatest update time:2017-05-11 Source: eefocusKeywords:MCU  CPU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

I believe many people still don't know what a single-chip microcomputer is . They also don't know what the role of a single-chip microcomputer is. A single-chip microcomputer is abbreviated as a single-chip microcontroller. It is not a chip that completes a certain logical function, but a computer system integrated into a chip, which is equivalent to a microcomputer, because it was first used in the field of industrial control. The single-chip microcomputer is developed from a dedicated processor with only a CPU in the chip. The earliest design concept was to make the computer system smaller and easier to integrate into complex and demanding control devices by integrating a large number of peripherals and CPUs into one chip. Intel's Z80 was the first processor designed according to this idea. Since then, the development of single-chip microcomputers and dedicated processors has gone their separate ways.

 

The picture comes from the Internet

 

As we all know, our computers are mainly composed of a central processing unit (CPU) (for calculation and control), random access memory (RAM) (data storage), memory (ROM) (program storage), and input/output devices (I/O) (serial port, parallel output port, etc.). Installed on a printed circuit board called a motherboard, it is our personal computer.

 

It is easy to understand the MCU by considering it as a whole and dividing it into four parts. After these things (CPU, hard disk, memory, motherboard, etc.) are made with integrated blocks, it looks like the following figure:

 

Standalone

 

It becomes the "single chip microcomputer" we are going to learn. Inside the single chip, CPU, hard disk, memory, motherboard, etc. are other names.

1) CPU (Central Processing Unit). It is the core component of the microcontroller, including the arithmetic unit and the controller. The arithmetic unit is the arithmetic logic unit (ALU), which performs arithmetic and logical operations. The controller is generally composed of an instruction register, an instruction decoder, a timing circuit, and a control circuit. Its function is to complete instruction fetching, decode instructions into various micro-operations, and execute instructions, while controlling the various components of the computer to work in an orderly manner.

 

CPU internal diagram

 

2) The memory in the computer is called data storage in the microcontroller, also called random access memory. It is represented by RAM (Random Access Memery). Its function is to store intermediate results of calculations, temporary storage and buffering of data, flag bits, etc. Its characteristic is that data will be lost after power failure.

 

Program Memory

 

3) The hard disk in the computer is called program memory, also called read-only memory in the single-chip microcomputer. It is represented by ROM (Read only memory). Its function is similar to that of the hard disk, and it is used to store user programs. Its characteristics are: data will not be lost after power failure.

 

4) Input/output device I/O "motherboard", in the microcontroller, is called I/O (input and output device), of course it also includes serial port, parallel port, timer, chronometer and so on.

 

 

The application fields of single-chip microcomputers are very wide, such as intelligent instruments, real-time industrial control, communication equipment, navigation systems, household appliances, etc. Once a variety of products use single-chip microcomputers, they can play a role in upgrading the products. The adjective "intelligent" is often added before the product name, such as intelligent washing machines. Therefore, the study, development and application of single-chip microcomputers will create a group of scientists and engineers in computer application and intelligent control.


Keywords:MCU  CPU Reference address:Understanding the similarities and differences between MCU and CPU in one article

Previous article:Is it difficult to crack MCU? Here are some tips to tell you what it means to be a master.
Next article:Never use alligator ground wires when measuring high-frequency signals

Recommended ReadingLatest update time:2024-11-16 16:19

MCU Program Crash and Runaway Troubleshooting Guide
1. Unexpected interruption. Is an interruption enabled, but the interruption flag is not responded to or cleared, causing the program to keep interrupting and cause the illusion of a crash? 2. Improper handling of interrupt variables. If you define some global variables that will be modified in the interrupt, you shou
[Microcontroller]
Keil5 installation and 51 MCU introductory program example
1. Installation of keil5 When I was looking for it before, I always thought that the official website was not very convenient to download, and I looked for it elsewhere, which was a very difficult process. Today, I tried the official website and found it very convenient. Go to the official website and click Downloads
[Microcontroller]
Keil5 installation and 51 MCU introductory program example
Design of Micro Oscilloscope Based on Single Chip Microcomputer
1. Performance indicators (1) Sampling rate: 9 levels adjustable: 334kHz, 100kHz, 50kHz, 20kHz, 10kHz, 5kHz, 2kHz, 1kHz, 500Hz. (2) Working voltage: 3.5-5V, powered by built-in rechargeable lithium battery, charged using computer USB port. (3) Input impedance: 1MΩ. (4) Input voltage: ±2.5V, ±12.5V two adjustable level
[Test Measurement]
Design of Micro Oscilloscope Based on Single Chip Microcomputer
ADC program of avr microcontroller mega32
Check the manual, write the program, and discuss if there are any problems ***************************************************************** //CPU:mega32 //Compiler:iar #include ioavr.h #include "adc.h" int main(void) {         int m; adc_init();              m = adc_get(0);         m=m; while(1); } void adc_init(v
[Microcontroller]
How to implement the single chip microcomputer running light program in C language
Today I started to learn microcontrollers again. After installing Keil software, I installed the driver for the USB connection development board. To learn microcontrollers, you should have a development board. You can read books and then write programs. Only in this way can you slowly understand microcontrollers. I w
[Microcontroller]
【Blue Bridge Cup MCU Group】This is probably the last article, the lastday Blue Bridge
Today I did the questions from the seventh final. The logic was much more complicated than that of the preliminary round, but the principles were the same. The main problem was that I didn’t have enough time. Let me briefly summarize some of the things that Rong the translator forgot: (1) In the matrix keyboard: P
[Microcontroller]
【Blue Bridge Cup MCU Group】This is probably the last article, the lastday Blue Bridge
Application of digital potentiometer in frequency converter controlled by single chip microcomputer
内容中广告结束 Introduction Frequency control as the main means of AC motor speed control has been widely used in the industrial field. It has the technical performance of wide speed control range, high speed stability accuracy, fast dynamic response, wide application range, reliable operation, e
[Microcontroller]
Application of digital potentiometer in frequency converter controlled by single chip microcomputer
Application of PIC microcontroller OR operation instruction XORWF
As we all know, most registers of PIC microcontrollers, including each storage unit of RAM data memory, can realize a series of complex operation functions such as shift, clear, and bit test. However, in the (most widely used basic and intermediate) reduced instruction sets that coordinate their operation, there is no
[Microcontroller]
Application of PIC microcontroller OR operation instruction XORWF
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号