Ppi 8255
Ppi 8255
Ppi 8255
On
PPI 8255
Md. Rasheduzzaman
Id: 16CSE027
Session: 2016-17
PPI 8255
PPI – Programmable Peripheral Interface
It is an I/O port chip used for interfacing I/O
devices with microprocessor
Very commonly used peripheral chip
2
PPI 8255
Features:
It is a programmable device.
T T L compatible.
A1 A0 Select
0 0 PA
0 1 PB
1 0 PC
Control
1 1
reg.
Pin Diagram of 8255 (cont.)
PA0-PA7:It is the 8-bit bi-directional I/O pins used
to send the data to peripheral or to receive the
data from peripheral
.
PB0-PB7:Similar to
PA
PC0-PC7:This is also 8-bit bidirectional I/O pins.
These lines are divided into two groups.
PC0 to PC3(Lower Groups)
PC4 to PC7 (Higher groups)
Modes
BSR
I/O MODE
BIT SET-REST
MODE 2
MODE 0 MODE 1
Strobed Bidirectional
Basic I/O Mode Strobed I/O Mode
I/O
Modes o f 8255 PPI
18
Modes o f 8255 PPI
Mode 0: Simple Input or Output
.
1. Outputs are latched.
13
Modes o f 8255 PPI
Mode 1: Input or Output with Handshake
14
Modes o f 8255 PPI
15
Thank you
16