You are on page 1of 3

Microprocessor - I/O Interfacing Overview

Interface is the path for communication between two components. Interfacing is of two
types, memory interfacing and I/O interfacing.

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.

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

Ways of Communication − Microprocessor with the Outside


World?
There are two ways of communication in which the microprocessor can connect with
the outside world.

 Serial Communication Interface


 Parallel Communication interface
Serial Communication Interface − In this type of communication, the interface gets a
single byte of data from the microprocessor and sends it bit by bit to the other system
serially and vice-a-versa.
Parallel Communication Interface − In this type of communication, the interface gets
a byte of data from the microprocessor and sends it bit by bit to the other systems in
simultaneous (or) parallel fashion and vice-a-versa.

What does Serial Interface mean?


A serial interface is a communication interface that transmits data as a single stream of bits,
typically using a wire-plus-ground cable, a single wireless channel or a wire-pair.

The serial interface acts as a communication interface between two digital systems that sends
data as a series of voltage pulses over a wire. In contrast, a parallel interface transmits multiple
bits simultaneously using different wires.

Some devices that use the serial interface include the Universal Serial Bus (USB),
Recommended Standard No. 232 (RS-232), 1-Wire and I2C.

There are two types of serial interface:


 Asynchronous serial interface (commonly abbreviated as SCI): With the SCI,
data is sent in well-defined frames. A frame refers to the total, non-divisible
packet of bits. Included within the frame are certain information (for example,
data) and some overhead (for example, control bits).

The frames used in an asynchronous serial protocol usually include a single start
bit, parity bits, seven or eight data bits, and, sometimes, a stop bit. SCI is often
used to establish communication between two computer systems. SCI is
considered asynchronous because neither system needs to synchronize its clock
prior to communicating.

 Synchronous serial interface (commonly abbreviated as SPI): In SPI, the receiver


does not have any internal clock, which indicates that the receiver is unable to
individually synchronize its data line reading with the transmission rate of the
transmitter. The receiver requires some assistance and that support is available
in the form of a clock signal, which is shared by the receiver and transmitter. The
clock signal serves as a control line that informs the receiver about the best time
to read from the data line. This implies that the receiver and transmitter should
synchronize their accessibility to the data line to successfully send data.

SPI is generally used if a microcontroller needs to send data to a device with no


internal clock.

You might also like