MCU parallel port expansion and memory expansion

Publisher:紫色小猫Latest update time:2013-02-27 Source: 21IC Keywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

MCU parallel port expansion and memory expansion

1. The expansion of the parallel port of the single-chip microcomputer uses the same addressing method as the data memory. There are three methods:

1) Bus expansion: expand the P0 port through a latch. This expansion method only occupies the P0 port in a time-sharing manner without affecting the connection between the P0 port and other expansion circuits.

2) Serial port expansion: The expansion of the I/O port is completed through the working mode of the serial port, which is mostly achieved through the shift register 164/165. It has obvious disadvantages, occupies the serial port, uses the shift method, and has a slow speed.

3) Expand through the on-chip I/O port, that is, expand through other on-chip I/O ports instead of P0 port, such as 8255.

2. MCU memory expansion, including program memory expansion and data memory expansion. Since the program memory and data memory in the MCU are strictly separated, the operation timing of program memory expansion is different, which can be divided into two types: executing MOVX command and not executing. The expansion of data memory is relatively simple, and there are many expansion methods. I will not go into details here.

Keywords:MCU Reference address:MCU parallel port expansion and memory expansion

Previous article:AVR, 51 MCU IO structure
Next article:The process of microcontroller executing instructions

Recommended ReadingLatest update time:2024-11-17 04:56

Remote reset control of front-end equipment implemented by microcontroller in scientific research experiments
During the debugging phase of the Lanzhou Heavy Ion Accelerator Cooling Storage Ring Project (HIRFL-CSR), the beam obtained by the HIRFL heavy ion accelerator needs to be injected into the cooling storage ring (CSR). During the beam adjustment process, because the control system operation is ordinary and the real-ti
[Microcontroller]
Remote reset control of front-end equipment implemented by microcontroller in scientific research experiments
Reshaping the user experience of smart cars! Xinhai Technology's signal chain MCU empowers industry development
Jiwei.com reported that on July 16, at the 8th Automotive Electronics Innovation Forum held concurrently with the 2021 China Integrated Circuit Design Innovation Conference and IC Application Expo (2021 ICDIA), Pang Gonghui, Vice President of Chipsea Technology, delivered a speech entitled "Innovation of Signal Chain
[Automotive Electronics]
Reshaping the user experience of smart cars! Xinhai Technology's signal chain MCU empowers industry development
Description of the structure and principle of single-chip microcomputer
8051 is a very typical product of the MCS-51 series of microcontrollers. We use this representative model to explain the system's microcontroller principles. The 8051 microcontroller includes several major units such as a central processor, data memory (RAM), timer/counter, program memory (ROM), parallel interface,
[Microcontroller]
Description of the structure and principle of single-chip microcomputer
Lithium battery fast charging circuit based on single chip microcomputer
  Common rechargeable batteries include nickel-metal hydride batteries, nickel-cadmium batteries, lithium batteries and polymer batteries. Among them, lithium batteries are widely used due to their high energy density, stable discharge characteristics, no memory effect and long service life. At present, most mobile ph
[Power Management]
Lithium battery fast charging circuit based on single chip microcomputer
51 MCU executes independent key scanning program in the timer interrupt function
1. Use proteus to draw a simple circuit diagram for subsequent simulation 2. Programming /******************************************************************************************************************** ---- @Project: Independent-KEY ---- @File: main.c ---- @Edit: ZHQ ---- @Version: V1.0 ---- @Creatio
[Microcontroller]
51 MCU executes independent key scanning program in the timer interrupt function
Compressed BCD code addition program of C51 single chip microcomputer
Assume that both the augend NA and the addend NB are three-byte compressed BCD codes, which are stored in the internal RAM units 20H~22H and 30H~32H, respectively, with the low digit first and the high digit last. It is required to calculate the sum of the two numbers and store the sum in the internal RAM units 3FH~42
[Microcontroller]
Introduction to 51 MCU - Special Function Register (SFR)
In the previous article, I introduced several important pins of the AT89C51 microcontroller. This time, I will introduce the special function registers (SFRs) in the AT89C51 microcontroller. SFR is not a register but a general term for a group of registers. SFR includes the following registers:   Register Symbo
[Microcontroller]
The difference between MCU and PLC
    If the microcontroller uses a programming language such as ladder diagram, will you use a microcontroller instead of a PLC?     The application of a microcontroller considers the ability and experience of the developer, including power supply, filtering, isolation, software specifications, communication, understan
[Microcontroller]
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号