8085 - Memory Interfacing Problems
8085 - Memory Interfacing Problems
1. https://technobyte.org/external-memory-interfacing-8085-ram-rom-explained/
2. https://www.zseries.in/embedded%20lab/8085%20microprocessor/memory%20mapping.php#.X5MZM
5Lis2y
EXAMPLE-1
Consider a system in which the full memory space 64kb is utilized for EPROM memory. Interface the EPROM
with 8085 processor.
EXAMPLE-2
Consider a system in which the available 64kb memory space is equally divided between EPROM and RAM.
Interface the EPROM and RAM with 8085 processor.
Consider a system in which 32kb memory space is implemented using four numbers of 8kb memory. Interface
the EPROM and RAM with 8085 processor.
• The total memory capacity is 32Kb. So, let two number of 8kb n memory be EPROM and the remaining
two numbers be RAM.
• Each 8kb memory requires 13 address lines and so the address lines A0- A12 of the processor are
connected to 13 address pins of all the memory.
• The address lines and A13 - A14 can be decoded using a 2-to-4 decoder to generate four chip select
signals.
• These four chip select signals can be used to select one of the four memory IC at any one time.
• The address line A15 is used as enable for decoder.
• The simplified schematic memory organization is shown.
EXAMPLE-4
Consider a system in which the 64kb memory space is implemented using eight numbers of 8kb memory.
Interface the EPROM and RAM with 8085 processor.
• The total memory capacity is 64Kb. So, let 4 numbers of 8Kb EPROM and 4 numbers of 8Kb RAM.
• Each 8kb memory requires 13 address lines. So the address line A0 - A12 of the processor are
connected to 13address pins of all the memory lCs.
• The address lines A13, A14 and A15 is decoded using a 3-to-8 coder to generate eight chips select
signals. These eight chips select signals can be used to select one of the eight memories at any one time.
• The memory interfacing is shown in following figure.
• The address allocation for Interfacing 4 no. 8Kb EPROM and 4 no. 8Kb RAM with 8085 is,
Example 5:
A system requires 8kb EPROM and 8kb RAM. Also the system has 2 numbers of 8155. Draw the Interface
diagram. Allocate addresses to all the devices. The peripheral IC should be I/O mapped.
• The IC 2764 (8k x 8) is selected for EPROM memory and IC 6264 (8k x 8) is selected for RAM
memory. Both the memory IC has time compatibility with 8085 processor.
• The 8kb memory requires 13 address lines. Hence the address lines A0 - A12 are used to select memory
locations.
• The RAM locations of 8155 are selected by address lines A0 to A7.
• 3-to-8 decoder, 74LS138 is used for generating chip select signals by decoding the address lines A13,
A14 and A15.
• Eight bit addresses are allotted to ports of 8l55 and sixteen bit addresses are allotted to RAM memory
locations of 8155.