MCU hardware knowledge

Publisher:740322lwjLatest update time:2011-09-23 Keywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Since the MCS-51 microcontroller is an enhanced product based on the MCS-48, it has a higher chip integration, much better performance, more hardware functions, and a wider variety of functional units than the latter.

I/O Ports

The number and types of I/O ports inside the MCS-51 chip are numerous and complete, especially it has a full-duplex serial port, which highlights the inherent characteristics of this single-chip microcomputer. The serial port is composed of two I/O port lines and has 4 working modes that can be selected through programming. The MCS-51 has 32 I/O port lines, while the MCS-48 has only 27.

CPU

The central processing unit of a single-chip microcomputer is the core component inside the single-chip microcomputer, which determines the main functional characteristics of the single-chip microcomputer. The central processing unit is mainly composed of arithmetic components and control components.

ALU Function

The ALU function of the MCS-51 single-chip microcomputer is very powerful. It can not only perform basic operations such as logical "AND", "OR", "XOR" loop, complement, and zero clearing on 8-bit variables, but also perform basic operations such as addition, subtraction, multiplication, and division.

Accumulator ACC

The accumulator ACC in the microcontroller computing unit is an 8-bit accumulator. Functionally, it is not special compared with the accumulator of a general microcomputer, but the carry flag CY of ACC is a one-bit accumulator for the Boolean processor to perform bit operations.

Control components

The control unit is the central nervous system of the microcontroller. It includes clock circuit, reset circuit, instruction register, decoder and information transmission unit. The control unit of the microcontroller uses the main oscillation frequency as the reference, sends out the timing signal of the CPU, decodes the instruction, and then sends out various control signals to complete a series of timing control micro-operations to control the operation of various parts of the microcontroller. Among them, some control signal lines can simplify the peripheral control logic of the application system.

CPU Timing

Each instruction executed by the microcontroller can be decomposed into several basic micro-operations. These micro-operations have a very strict sequence in time. This sequence is the CPU timing of the computer.

Keywords:MCU Reference address:MCU hardware knowledge

Previous article:MCU input/output (I/O) port
Next article:Design of multi-point temperature control heating control system using SST89E564RC single chip microcomputer

Recommended ReadingLatest update time:2024-11-17 00:21

Hardware Design of Single Chip Microcomputer Ultrasonic Vision Recognition System
  With the continuous development and widespread application of computer technology, automation technology and industrial robots, visual recognition has become very important in industry. For example, in the process of mechanical processing automation assembly, inspection, classification, processing and transportation
[Microcontroller]
Hardware Design of Single Chip Microcomputer Ultrasonic Vision Recognition System
New Energy Vehicle Motor Controller (MCU)
The motor controller, as one of the core components of electric vehicles, is a decisive factor in the vehicle's power performance. It obtains the vehicle's requirements from the vehicle controller, obtains power from the power battery pack, and obtains the current and voltage required to control the motor thro
[Embedded]
51 MCU Learning Notes——3. Several different ways of lighting LED (array form) and key detection, delay debounce
Four small lights flashing cycle program (unoptimized version): /*  * @Author: Wang Yunlong  * @Date:   2020-02-23 12:48:51  * @Last Modified by: Wang Yunlong  * @Last Modified time: 2020-02-23 12:48:51  */ #include #define LED P0; void delay(unsigned int n); //n ranges from 0 to 65535 void main()//Four small lights f
[Microcontroller]
Design of self-powered overcurrent relay based on single chip microcomputer
  introduction   Since the appearance of the inductive overcurrent relay in 1901, the development of relay protection technology has experienced electromagnetic protection, transistor protection, integrated circuit protection and the widely used microcomputer protection technology. The research and design of relay p
[Microcontroller]
Design of self-powered overcurrent relay based on single chip microcomputer
51 single chip microcomputer + hx711 electronic scale
The microcontroller source program is as follows: #include reg52.h #include intrins.h #include string.h #include "main.h" #include "LCD1602.h" #include "HX711.h" #include "eeprom52.h" #define uchar unsigned char #define uint unsigned int unsigned long HX711_Buffer = 0; unsigned long Weight_Maopi = 0; unsigned
[Microcontroller]
51 single chip microcomputer + hx711 electronic scale
AVR MCU ISP Complete Guide + Fuse Remedy
Parallel programming is the earliest programming method with the most powerful functions, but it requires more pins to be connected and usually requires a high voltage of 12V~24V. To distinguish it, it is called high voltage parallel programming below. ISP (In System Programmability) In-system programming, refer
[Microcontroller]
Detailed explanation of dynamic encryption technology of single chip microcomputer system
1 Overview With the development and widespread application of single-chip microcomputer technology, many high-tech products using single-chip microcomputers, such as intelligent instruments, meters, small industrial control systems, etc., are facing a headache, that is, new products are copied and plagiariz
[Microcontroller]
Detailed explanation of dynamic encryption technology of single chip microcomputer system
Realization of HPI Interface between TMS320VC5402 DSP and Single Chip Microcomputer
The two programmable multi-channel buffered serial ports (McBSP) of TMS320VC5402 (VC5402) can exchange data with other synchronous serial ports in full duplex and quickly. The hardware connection is simple, and the serial port working mode and the format of transmitted data can be realized through programming. The c
[Microcontroller]
Realization of HPI Interface between TMS320VC5402 DSP and 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号