How To Interface The 8085 Microprocessor?

Written by:  • Edited by: KennethSleight
Published Oct 28, 2009
• Related Guides: Intel | Microprocessors

A microprocessor has to be interfaced with various peripherals to perform various functions. Let's discuss about the Interfacing techniques in detail.

Introduction

We know that a microprocessor is the CPU of a computer. A microprocessor can perform some operation on a data and give the output. But to perform the operation we need an input to enter the data and an output to display the results of the operation. So we are using a keyboard and monitor as Input and output along with the processor. Microprocessors engineering involves a lot of other concepts and we also interface memory elements like ROM, EPROM to access the memory.

Interfacing Types

There are two types of interfacing in context of the 8085 processor.

Memory Interfacing.

I/O Interfacing.

Memory Interfacing:

While executing an instruction, there is a necessity for the microprocessor to access memory frequently for reading various instruction codes and data stored in the memory. The interfacing circuit aids in accessing the memory.

Memory requires some signals to read from and write to registers. Similarly the microprocessor transmits some signals for reading or writing a data.

But what is the purpose of interfacing circuit here?

The interfacing process involves matching the memory requirements with the 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. For example for carrying out a READ process, the microprocessor should initiate a read signal which the memory requires to read a data. In simple words, the primary function of a memory interfacing circuit is to aid the microprocessor in reading and writing a data to the given register of a memory chip.

I/O Interfacing:

We know that keyboard and Displays are used as communication channel with outside world. So it is necessary that we interface keyboard and displays with the microprocessor. This is called I/O interfacing. In this type of interfacing we use latches and buffers for interfacing the keyboards and displays with the microprocessor.

But the main disadvantage with this interfacing is that the microprocessor can perform only one function. It functions as an input device if it is connected to buffer and as an output device if it is connected to latch. Thus the capability is very limited in this type of interfacing.

Schematic Diagram of Memory and I/O Interfacing
click to enlarge

Programmable Peripheral Devices

Programmable peripheral devices were introduced by Intel to increase the overall performance of the system. These devices along with I/O functions, they perform various other functions such as time delays, counters and interrupt handling. These devices are nothing but a combination of many devices on a single chip. A programmable device can be set up to perform specific function by writing a code in the internal register. As this code controls the function of the device it’s called control word and internal register in which it is stored is called Control Register.

INTEL developed some peripheral devices for processors like 8085/8086/8088. The peripheral devices includes

8255 – Parallel Communication Interface (PPI)

8251 – Serial communication Interface (USART- Universal Synchronous/Asynchronous Receiver/Transmitter)

8257 – DMA Controller

8279 – Keyboard/Display Controller

8259 – Programmable Interrupt controller

8254 – Programmable Timer

Types of Communication Interface

There are two ways in which a microprocessor can connect with outside world or other memory systems.

Serial Communication Interface

Parallel Communication interface

Serial Communication Interface:

In serial communication interface, the interface gets a single byte of data from the microprocessor and sends it bit by bit to other system serially (or) the interface receives data bit by bit serially from the external systems and converts the data into a single byte and transfers it to the microprocessor.

Parallel Communication Interface:

This interface gets a byte of data from microprocessor and sends it bit by bit to the other systems in simultaneous (or) parallel fashion. The interface also receives data bit by bit simultaneously from the external system and converts the data into a single byte and transfers it to microprocessor.

Consider that we have a microprocessor interfaced to both I/O device and also a memory chip. Now how to select between the two devices according to the requirement?

For this purpose an address decoding circuit is used. An address decoding circuit aids in selecting the required I/O device or a memory chip.

Let us discuss the concept of Memory interfacing and I/O interfacing in the next article.


Comments

Showing all 20 comments
 
himanshu bansal Sep 27, 2011 2:44 PM
microprocessor
i want complete notes of 5 units of microprocessor.
bharathi Mar 19, 2011 9:43 AM
mpi
mpi notes
sravanthi Mar 12, 2011 11:53 PM
micro prosessor and controller
can u pls tell us ...why a microcontroller is interfaced with lcd but why not a microprocessor is interfaced with lcd to show the output?also i want to knowthe difference between micro processor and microcontroller in detail...
Yagna Mar 5, 2011 3:05 AM
interfacing schematic
i need the interfacing diagram of 8085 with 8255 in I/O mapped I/O and memory mapped I/O
harisha Feb 9, 2011 9:59 AM
i want microprocessor notes of engineering
i want total 5 units of microprocessor notes
ganesh Dec 16, 2010 5:22 AM
about the processor
i want yo know about the over view of 8085,8086 i.e just the main points
diptimayee kumari Dec 3, 2010 4:53 AM
peripheral interfacing 8255
how 8255 interfacing to the 8085? hardware designing of this interfacing.
diptimayee kumari Dec 3, 2010 4:32 AM
interfacing 8255
how to interface 8255 to 8085? hardware design of this interfacing for led display.
ravishankar Nov 12, 2010 2:08 AM
notes of microprocessor
conact prof r.k yadav
harsha Oct 18, 2010 7:39 AM
i want the micro processor notes of engineering
i want the total 8 unit notes of engineering 3-1 sem of micro processor
vijay Oct 14, 2010 8:29 AM
interfacing with 8255
i want block diagram of interfacing
suman kumar Sep 22, 2010 4:08 AM
notes on microprocessor engg.
I want notes on micro processor
rocker Aug 25, 2010 4:02 AM
about Bjt(Bipolar junction Transistor)
I have some doubt about how current is controlled in bjt...........?
Anonymous Aug 24, 2010 1:28 AM
RE: How To Interface The 8085 Microprocessor?
hey mann how do u interface 8085 with 8 switches n 8 leds??
PAWAN Aug 10, 2010 9:46 AM
Memory interface
Very gud website. I lern very much from it. The language is so simpal. Thanx. Sir.
egem obinna Jul 30, 2010 7:49 PM
microprocessor interfacing
area of application of microprocessor interfacing,bus timing,analog/digital or digital/analog conversions
ahlam May 29, 2010 1:34 AM
8086 microprocessor
Dear Sir I'm lecture in university of Mosul , I teach some peripheral devices for processors (8255, 8245,8251,8237,8259,8279 and so on,,,) I need Your Examin sheet alot of thanks to read my letter

Read more: http://www.brighthub.com/engineering/electrical/articles/53885.aspx#ixzz0pIH6Qeu5
RAJ Feb 20, 2010 8:50 AM
INTERFACES OF 8085
The website was nice to get infprmation.......and also my wishes and thank for them
ajay sahrma Jan 15, 2010 3:46 AM
RE: How To Interface The 8085 Microprocessor?
thanks dude...
amit Dec 11, 2009 12:37 PM
this is a gud website to get information. ..i m thankfull for them...
image processing in digital signal processing.
 
blog comments powered by Disqus
Email to a friend