8255 New
8255 New
8255 New
Interface
(UNIT-4)
PREPARED BY:
ER. MOHIT MISHRA
ASSOCIATE PROFESSOR
COMPUTER SCIENCE DEPARTMENT
TOPIC COVERED
• The BASICS OF 8255 PPI
• PIN DETAILS
• INTERNAL BLOCK DIAGRAM OF 8255
• BLOCK DIAGRAM FEATURES
• DIFFERENT MODES OF 8255
• CONTROL WORD FORMAT FOR BIT SET RESET MODE
• CONTROL WORD FORMAT FOR I/O MODE
The BASICS OF 8255 PPI
PPI = Programmable Peripheral Interface
• The 8255 allows the microprocessor to communicate
with the outside world through three programmable 8-
bit wide I/O ports
• The PC uses a few 8255 (in the chip set) to control the
keyboard, speaker, and parallel port
• The 8255 PPI is available in DIP or surface mount
forms
• Also implemented as functions within modern interface
chip sets
PIN DETAILS
INTERNAL BLOCK DIAGRAM OF 8255
BLOCK DIAGRAM FEATURES
Data bus buffer:
●This is a tri state bidirectional buffer used to interface the 8255 to system
1 0 Port C
Writing into this register
programs the various ports to operate in
various modes and be used 1 1 Command Register
as either inputs or outputs
I/O PORT ADDRESS
Data bus
D[7:0]
PA[7:0]
A0
8085 A1 PB[7:0]
RD Control port
WR PC[7:0]
RESET
A7 CS
A6
A5 A1 A0 Port
A4
A3 0 0 PA
A2 0 1 PB
IO/M 1 0 PC
1 1 Control
DIFFERENT MODES OF 8255