Microcontroller (4) | Microcontroller Bus and Memory Expansion

7. Microcontroller Bus and Memory Expansion

Microcontroller (4) | Microcontroller Bus and Memory Expansion

Data Memory Expansion (SRAM)

Microcontroller (4) | Microcontroller Bus and Memory Expansion

6264 is the most commonly used. A0-A12 address lines, D0-D7 data lines. CE chip select OE read enable WE write enable

Microcontroller (4) | Microcontroller Bus and Memory Expansion

Microcontroller (4) | Microcontroller Bus and Memory Expansion

Reading external data RAM timing, MOVX A, @Ri or MOVX A, @DPTR starts reading

Microcontroller (4) | Microcontroller Bus and Memory Expansion

When low, the eight-bit address data enters the latch, P0 is in a high-impedance state. Waiting for external data to come in

Microcontroller (4) | Microcontroller Bus and Memory Expansion

Two methods, both utilize byte overflow, one is to define R7 for overflow, the other is to use the DPL feature address for overflow.

Microcontroller (4) | Microcontroller Bus and Memory ExpansionExternal memory can only be accessed indirectly

Microcontroller (4) | Microcontroller Bus and Memory Expansion

Microcontroller (4) | Microcontroller Bus and Memory Expansion

I/O Interface Expansion 8255

Microcontroller (4) | Microcontroller Bus and Memory Expansion

Microcontroller (4) | Microcontroller Bus and Memory Expansion

Three operating modes of 8255

Microcontroller (4) | Microcontroller Bus and Memory Expansion

Peripherals sending to 8255 are called inputs

Microcontroller (4) | Microcontroller Bus and Memory Expansion

Only PC6 and PC7 can serve as I/O ports

Microcontroller (4) | Microcontroller Bus and Memory Expansion

The microcontroller sending to 8255 is called output

Microcontroller (4) | Microcontroller Bus and Memory Expansion

Microcontroller (4) | Microcontroller Bus and Memory Expansion

Example:

Microcontroller (4) | Microcontroller Bus and Memory Expansion

Microcontroller (4) | Microcontroller Bus and Memory Expansion

Microcontroller (4) | Microcontroller Bus and Memory Expansion

Leave a Comment