What are the main functions of the 51 microcontroller? What is the internal structure of the 8051 microcontroller?

Publisher:创新脑细胞Latest update time:2012-12-18 Source: 21IC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The main functions of 51 single chip microcomputer include:

8-bit CPU 4kbytes program memory (ROM) (52 is 8K)

256 bytes of data memory (RAM) (52 has 384 bytes of RAM)

·32 I/O lines ·111 instructions, most of which are single-byte instructions

21 special registers

· 2 programmable timer/counters · 5 interrupt sources, 2 priority levels (52 has 6)

One full-duplex serial communication port

External data memory addressing space is 64kB

External program memory addressing space is 64kB

·Logic operation bit addressing function ·Dual in-line 40PinDIP package

Single +5V power supply

CPU: It consists of operation and control logic, as well as an interrupt system and some external special function registers;

RAM: used to store data that can be read and written, such as intermediate results of calculations, final results, and data to be displayed;

ROM: used to store programs, some original data and tables;

I/O port: Four 8-bit parallel I/O ports, which can be used as both input and output;

T/C: Two timers/counters, which can work in both timing mode and counting mode;

Interrupt control system with five interrupt sources;

A full-duplex UART (Universal Asynchronous Receiver Transmitter) serial I/O port for serial communication between MCUs or between MCU and microcomputer;

The oscillator and clock generation circuit are built in, and the quartz crystal and fine-tuning capacitor need to be connected externally. The maximum oscillation frequency is 12M.

Internal structure of 8051 microcontroller

Reference address:What are the main functions of the 51 microcontroller? What is the internal structure of the 8051 microcontroller?

Previous article:Introduction to microcontrollers: How do beginners learn microcontrollers?
Next article:What is a 51 single-chip microcomputer? What are the main products of 51 single-chip microcomputer?

Recommended ReadingLatest update time:2024-11-17 12:32

8051/2 MCU basics LED flashing, buzzer, digital tube driver, independent button, interrupt, timer interrupt, serial communication
The road from software to hardware is always difficult. I have been learning various circuit knowledge for more than three months, and now I have finally got the hang of it. AT 8051/2 1. Drive LED to flash 2. Drive the buzzer to sound 3. Drive common anode, single digital tube, 0-9 change (MPX1-CA) - use 8 resistors
[Microcontroller]
8051/2 MCU basics LED flashing, buzzer, digital tube driver, independent button, interrupt, timer interrupt, serial communication
Design of ultrasonic blind-guiding system based on C8051F060
0 Introduction With the continuous improvement of people's living standards, making life simpler and more convenient has become a life philosophy that people generally pursue. The blind are both a member of the ordinary people and a special group. Due to their congenital physiological defects, they enco
[Security Electronics]
Design of ultrasonic blind-guiding system based on C8051F060
The 8051 system uses timer/counter T0 to generate a square wave with a period of 2ms.
In the 8051 system, the oscillation frequency is known to be 12MHz. Use the timer/counter T0 to generate a square wave with a period of 2ms from P1.0. Programming is done in C language. To output a square wave with a period of 2ms from P1.0, P1.0 only needs to be inverted once every 1ms. When the system clock is 12M
[Microcontroller]
8-bit PWM module of C8051F020
Each module of PCA0~4 can be used independently to generate pulse width modulated PWM output on the corresponding CEXn pin. The frequency of the PWM output signal depends on the time base of the PCA0 counter/timer. Use the module's capture/compare register PCA0CPLn to change the duty cycle of the PWM output signal. Whe
[Microcontroller]
Design of CCD drive circuit based on C8051F300 single chip microcomputer
1 Commonly used CCD drive timing generation methods There are many CCD manufacturers with different models, and the methods of generating driving timing are also varied. Generally, there are the following four methods: (1) Digital circuit driving method This method uses digital gate circuits and timing circuits to dir
[Microcontroller]
Design of CCD drive circuit based on C8051F300 single chip microcomputer
8051 MCU (STC89C52) two countdown timers count synchronously
Here, timer 0 is required to provide 5ms precise timing, so each timing cycle requires (5*10^-3)/(1*10^-6)=5000 times of adding 1 count, so the initial value of timer 0 is set to 65536 - 5000 = 60536 = EA84H. Here we first implement two countdown timers working simultaneously, and the next step is to consider how to
[Microcontroller]
8051 MCU (STC89C52) two countdown timers count synchronously
Design of data acquisition system with C8051F340 microcontroller as the core
1 Introduction The stability of the operating status of electronic equipment directly affects the production of modern enterprises. The high maintenance costs after equipment failure and the losses caused to enterprise production after equipment shutdown have caused various enterprises to take measures to reduce the f
[Microcontroller]
Design of data acquisition system with C8051F340 microcontroller as the core
Design of advertising lamp based on 8051 single chip microcomputer
1. Experimental task Use the table to make port P1 change a single light: move left 2 times, move right 2 times, and flash 2 times (delay time 0.2 seconds). 2. Circuit diagram Figure 4.5.1 3. Hardware connection on the system board Connect P1.0-P1.7 in the "MCU system" area to the L1-L
[Microcontroller]
Design of advertising lamp based on 8051 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号