Cam Intel 8255A
Cam Intel 8255A
Cam Intel 8255A
PROGRAMMABLE
PERIPHERAL
INTERFACE
Gaganjot kaur
CRN:2215040
Programmable peripheral interface
8255
PPI 8255 is a general purpose programmable I/O device
designed to interface the CPU with its outside world such as
keyboard etc. We can program it according to the given
condition. It can be used with almost any microprocessor. It
consists of three 8-bit bidirectional I/O ports i.e. PORT A,
PORT B and PORT C. We can assign different ports as
input or output functions.
PIN DIAGRAM
CS
It stands for Chip Select. A LOW on this input
selects the chip and enables the
communication between the 8255A and the
CPU. It is connected to the decoded address,
and A0 & A1 are connected to the
microprocessor address lines.
WR
It stands for write. This control signal enables
the write operation. When this signal goes
low, the microprocessor writes into a selected
I/O port or control register.
RESET
This is an active high signal. It clears the
control register and sets all ports in the
input mode.
OPERATING MODES
•Mode 0 − In this mode, Port A and B is used as two 8-bit ports and
Port C as two 4-bit ports. Each port can be programmed in either
input mode or output mode where outputs are latched and inputs
are not latched. Ports do not have interrupt capability.
Ease of use: The PPI 8255 is relatively easy to use and program, even for novice
programmers. The control register of the PPI can be programmed using simple
commands, which makes it easy to interface with other devices.
Compatibility: The PPI 8255 is widely used and has been around for many years,
which means that it is compatible with a wide range of devices and software.
Low cost: The PPI 8255 is a relatively low-cost component, which makes it an
affordable option for many different applications.
Disadvantages:
Limited functionality: While the PPI 8255 is versatile, it has limited functionality compared
to newer I/O interface components. It is not capable of high-speed data transfer and has
limited memory capacity.
Limited number of ports: The PPI 8255 provides only three 8-bit ports, which may not be
sufficient for some applications that require more I/O ports.
Limited resolution: The PPI 8255 provides only 8 bits of resolution for each port, which
may not be sufficient for some applications that require higher resolution.
Obsolete technology: While the PPI 8255 is still used in some applications, it is considered
an older technology and is being replaced by newer, more advanced I/O interface
components.
THANKYOU