52 microcontroller memory expansion

Publisher:温馨小屋Latest update time:2023-05-23 Source: elecfans Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

STC89C52RC is a low-power, high-performance CMOS 8-bit microcontroller produced by STC Company, with 8K bytes of system programmable Flash memory. STC89C52 uses the classic MCS-51 core, but has made many improvements to make the chip have functions that traditional 51 microcontrollers do not have. On a single chip, it has a smart 8-bit CPU and in-system programmable Flash, making the STC89C52 a highly flexible and ultra-effective solution for many embedded control application systems.


52 microcontroller memory expansion----system expansion structure

52 microcontroller memory expansion

In order to reduce the number of connections and simplify the composition structure, the connections with common positives can be merged into a group of common connections, that is, the bus - a common channel for transmitting information (BUS).

The STC98C52 microcontroller has a bus-type structure, and all functional components in the chip are designed according to the bus relationship and integrated into a whole.

Three buses: address bus (AB), data bus (DB), control bus (CB).

Microcontroller system expansion mainly includes memory expansion and I/O wiring component expansion.

The memory expansion of STC89C52 microcontroller includes program memory expansion and data memory expansion.


52 microcontroller memory expansion ---- program memory expansion

There is a single type of external program memory, and read-only memory is often used. Read-only memory is referred to as ROM. Once the information in ROM is written, it cannot be changed at will, especially new content cannot be written while the program is running. ROM can still save programs after the power is turned off. After the system is powered on, the CPU can retrieve these instructions and execute them again.


52 microcontroller memory expansion----data memory expansion

STC89C52 has only 512B internal data memory, which can be used to store intermediate results and process data of program execution. The 512B data memory contains 256B of internal RAM and 256B of internal expansion RAM. The internally expanded 256B RAM is physically internal and logically external. In situations where the system requires a large amount of data buffering, the data storage capacity of the system can be expanded by externally expanding a larger-capacity static random access memory or Flash ROM. The maximum expanded capacity is 64KB, and the address is 0000H-FFFFH.

Reference address:52 microcontroller memory expansion

Previous article:What are the control bus signals of 80c51 microcontroller? What are the characteristics of 80c51 microcontroller?
Next article:stc52 microcontroller keyboard schematic diagram and program introduction

Latest Microcontroller Articles
  • 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)
    Since development under LINUX is still quite troublesome, is there a more convenient and simple development method under WINDOWS? The answer is yes. Of course, it is not a development tool like ADS, because it ...
  • Learn ARM development(15)
    When using GCC to develop ARM, you will definitely encounter compiler problems. For example, you will encounter various warnings and errors when compiling C code. For example, I encountered several warnings yesterday, so let's take a look at what these warnings are ...
  • Learn ARM development(16)
  • Learn ARM development(17)
  • Learn ARM development(18)
  • Embedded system debugging simulation tool
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号