MCU memory configuration

Publisher:ShuangfeiLatest update time:2013-01-30 Source: 21IC Keywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

MCU memory configuration:

On-chip RAM 128 bytes (00H-7FH);

The first 32 units of the on-chip RAM are the working register area (00H-1FH)

The on-chip RAM has 128 bit-addressable bits, occupying 16 cells.

The bit address number is: 00H-7FH, distributed in 20H-2FH units (P.27)

Among the 21 special function registers (SFRs) on the chip: each bit in the SFR whose address number is divisible by 8 can also be addressed bit by bit (P.27-28)

Addressable off-chip RAM 64K bytes (0000H - FFFFH)

Addressable off-chip ROM 64K bytes (0000H—FFFFH)

On-chip ROM 4K bytes (000H-FFFH)

Further reading: Semiconductor memory

Memory configuration (on-chip RAM)

1. On-chip RAM 128 bytes (00H-7FH)

1.jpg

2. The first 32 units of the on-chip RAM are the working register area (00H-1FH)

2.jpg

3. The first 32 units of the on-chip RAM are the working register area (00H-1FH)

3.jpg

4. There are 128 bit-addressable bits in the on-chip RAM. [page]

Bit address: 00H-7FH

Distributed in: 20H-2FH units

4.jpg

5. There are 128 bit-addressable bits in the on-chip RAM.

Bit address: 00H-7FH

Distributed in: 20H-2FH units

5.jpg

6. Addressable off-chip RAM 64K bytes (0000H-FFFFH);

Addressable off-chip ROM 64K bytes (0000H—FFFFH);

On-chip ROM 4K bytes (000H - FFFH);

6.jpg

Keywords:MCU Reference address:MCU memory configuration

Previous article:What is a MCU stack? Principles of MCU stack
Next article:Commonly used single chip microcomputer delay program for beginners

Recommended ReadingLatest update time:2024-11-16 15:48

Close collaboration with compiler developers to optimize microcontroller development
The result of the cooperation between the microcontroller development team and the compiler developers is that the generated code is more efficient and has better performance. This article describes the adjustments made to the microcontroller architecture and instruction set during the compiler development phase in or
[Microcontroller]
Close collaboration with compiler developers to optimize microcontroller development
Microcontroller Summary
There are usually two types of numbers in computers: unsigned numbers and signed numbers. Original code: positive number (highest bit 0); negative number (highest bit 1)    -(2n-1-1)~+(2n-1-1) Inverse code: positive number (same as original code); negative number (sign bit remains unchanged, other bits are inverted) 
[Microcontroller]
STC51 MCU serial port sending program
#include reg52.h    #define uchar unsigned char    unsigned char rtemp,sflag; unsigned char code Buffer = "Welcome To The MCU World.";//Data to be sent unsigned char *p;   unsigned char TestBuff ; unsigned char mode=0; unsigned char ArrayIndex=0; void SerialInit() //11.0592M crystal, baud rate 19200    {       TMO
[Microcontroller]
51 MCU Introduction - Serial Communication Experiment (Simulated Serial Communication/Multi-machine Communication Example)
RS232 serial port application example Design requirements: Send and receive data through the serial port (serial port working mode 1) Implementation ideas: Timer Setting Serial port settings Way of working Baud rate Start timer/counter Serial port execution Receive data send data - - - - - - - - - - - -
[Microcontroller]
51 MCU Introduction - Serial Communication Experiment (Simulated Serial Communication/Multi-machine Communication Example)
Sensorless Field Oriented Control Using an 8-bit Microcontroller
Introduction Field-oriented control (FOC) is increasingly being used in consumer and industrial motors due to its higher efficiency, better dynamic response and lower torque ripple. The implementation of sensorless FOC technology using Infineon's 8-bit microcontrollers XC886 and XC888 (when outputting 15kHz PWM
[Microcontroller]
Sensorless Field Oriented Control Using an 8-bit Microcontroller
Using HyperTerminal to Realize Communication Between MCU and Computer
Using HyperTerminal to Realize Communication Between MCU and Computer               The steps for setting up the HyperTerminal are shown in the figure above. Below is the hardware connection circuit of the microcontroller:     MCU C program: #include reg52.h void int_initial()//Serial port interrupt init
[Microcontroller]
Using HyperTerminal to Realize Communication Between MCU and Computer
Literacy: What is MCU timing and how to understand the timing diagram
We all know that the school uses bells to control the class start and end times of all classes. How does the microcontroller fetch instructions, execute instructions and perform other operations? Here we introduce the concept of timing: 1. Clock circuit There are three types of microcontroller clock circuits: 1. The
[Microcontroller]
Literacy: What is MCU timing and how to understand the timing diagram
The design of 51 microcontroller to display 0-7 in sequence on 8-bit digital tube
Common anode array 0~9: display ={0xC0, 0xF9, 0xA4, 0xB0, 0x91, 0xA2, 0x82, 0xF8, 0x80, 0x90} Common anode array A~F: display ={0x88, 0x83, 0xA6, 0xC1, 0x86, 0x8E} Common cathode array 0~9: display ={0x3F, 0x06, 0x5B, 0x4F, 0x6E, 0x6D, 0x7D, 0x07, 0x7F, 0x6F} Common cathode array A~F: display ={0x77, 0x7C, 0x59, 0x3E,
[Microcontroller]
The design of 51 microcontroller to display 0-7 in sequence on 8-bit digital tube
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号