You are on page 1of 3

NAME: WAQAR ALI

DEPARTMENT: ELECTRICAL POWER


BATCH: 06
ROLL NO: 39
REG NO: 17MDELE0461
SUBJECT: MBSD
ASSIGNMENT NO: 05
SUBMITTED TO: ENG. Maham Parvez
Assignment 05 MBSD

Q: Differentiate between I/O interfacing and Memory Interfacing of


8085 microprocessor
Ans: Interface is the path for communication between two components. Interfacing is of two types,
memory interfacing and I/O interfacing.
IO Interfacing
There are various communication devices like the keyboard, mouse, printer, etc. So, we need to
interface the keyboard and other devices with the microprocessor by using latches and buffers. This
type of interfacing is known as I/O interfacing.

Block Diagram of Memory and I/O Interfacing

8085 Interfacing Pins


Following is the list of 8085 pins used for interfacing with other devices −

 A15 - A8 (Higher Address Bus)


 AD7 - AD0(Lower Address/Data Bus)

 ALE
 RD
 WR
 READY

Memory Interfacing
When we are executing any instruction, we need the microprocessor to access the memory for
reading instruction codes and the data stored in the memory. For this, both the memory and the
microprocessor requires some signals to read from and write to registers.
The interfacing process includes some key factors to match with the memory requirements and
microprocessor signals. The interfacing circuit therefore should be designed in such a way that it
matches the memory signal requirements with the signals of the microprocessor.
Basic Concepts in Memory Interfacing:
For Memory Interfacing in 8085, following important points are to be kept in mind.
1. Microprocessor 8085 can access 64Kbytes memory since address bus is 16-bit. But it is not always
necessary to use full 64Kbytes address space. The total memory size depends upon the application.
2. Generally EPROM (or EPROMs) is used as a program memory and RAM (or RAMs) as a data memory.
When both, EPROM and RAM are used, the total address space 64Kbytes is shared by them.
3. The capacity of program memory and data memory depends on the application.
4. It is not always necessary to select 1 EPROM and 1 RAM. We can have multiple EPROMs and multiple
RAMs as per the requirement of application.
5. We can place EPROM/RAM anywhere in full 64 Kbytes address space. But program memory (EPROM)
should be located from address 0000H since reset address of 8085 microprocessor is 0000H.
6. It is not always necessary to locate EPROM and RAM in consecutive memory For example : If the
mapping of EPROM is from 0000H to OFFFH, it is not must to locate RAM from 1000H. We can locate
it anywhere between 1000H and FFFFH. Where to locate memory component totally depends on the
application.
The memory interfacing requires to :
 Select the chip
 Identify the register
 Enable the appropriate buffer.

You might also like