Вы находитесь на странице: 1из 13

BHU ECE 2016

Chapter 4
Interfacing
8255 PPI (Programmable Peripheral Interface)

Features of 8255

Fraol G. Page 1
BHU Microcomputer and Interfacing 2016

Pin Diagram of 8255

Page 2
BHU Microcomputer and Interfacing 2016

Page 3
BHU Microcomputer and Interfacing 2016
Block Diagram

Operation Modes
Mode 0
Mode 0 (Simple I/O): This functional configuration provides simple input and output operations
for each of the three ports. No handshaking is required; data is simply written to or read from a
specific port
In this mode
 Two 8 bit ports ( PORT A and PORT B) and two 4 bit ports (PORT C Lower and PORTC Upper)
are used
 Any port can be input or output
 16 different input/output configurations are possible

Page 4
BHU Microcomputer and Interfacing 2016

Page 5
BHU Microcomputer and Interfacing 2016
Control Word Format

Page 6
BHU Microcomputer and Interfacing 2016

Page 7
BHU Microcomputer and Interfacing 2016

Page 8
BHU Microcomputer and Interfacing 2016
Interfacing 8255 to 8086 in I/O Mapped I/O Mode (Direct I/O
Addressing)

Page 9
BHU Microcomputer and Interfacing 2016
Interfacing 8255 to 8086 in Memory Mapped I/O Mode (Indirect I/O
Addressing)

Page 10
BHU Microcomputer and Interfacing 2016
8255 Interfacing Applications
Interfacing a Keyboard with 8086 using the 8255 PPI

Page 11
BHU Microcomputer and Interfacing 2016

Page 12
BHU Microcomputer and Interfacing 2016

Page 13

Вам также может понравиться