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.
Previous article:AVR, 51 MCU IO structure
Next article:The process of microcontroller executing instructions
Recommended ReadingLatest update time:2024-11-17 04:56
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- Modern arc welding power supply and its control
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- Sinlinx A64 Linux writes LED driver through device tree (with reference code, not tested)
- [N32L43x Review] 10. Serial port download chip type identification error, USB download DFU driver failed
- DSP IIR digital filter implementation program source code
- Trapezoidal wave effective value calculation.
- EEWORLD University Hall--Analysis of rules and techniques for high-speed PCB design
- Altera-SoCFPGA-HelloWorld-Linux-GNU
- LMV321 power supply range problem
- [SAMR21 New Gameplay] 29. WS2812 Application - Rainbow
- FPGA Learning Notes-----FPGA Competition Adventure
- 36 pictures to explain the basics of network