Escolar Documentos
Profissional Documentos
Cultura Documentos
KL3193
PROGRAMMABL
E INTERFACING
DEVICES
1 Iskandar Yahya
iskandar@vlsi.eng.ukm.my
03-89216591
INTRODUCTION
BASIC CONCEPTS IN PROGRAMMABLE I/O DEVICES
Requires data buffering and handshaking
Handshaking -
2
INTRODUCTION
BASIC CONCEPTS IN PROGRAMMABLE I/O DEVICES
4
74LS245 TRANSCEIVER
74LS245 TRANSCEIVER AS BIDIRECTIONAL BUFFER
DI7 Control 7A 7B
A7 Register
A6
A5
A4 1A 1B
A3 DI0 D0 DIR
A2 G’
A1
Enable (Enable)’
A0 5
74LS245 TRANSCEIVER
74LS245 TRANSCEIVER AS BIDIRECTIONAL BUFFER
7
74LS245 TRANSCEIVER
74LS245 TRANSCEIVER AS BIDIRECTIONAL BUFFER
INTR
10
HANDSHAKE SIGNAL
HANDSHAKE SIGNAL FOR DATA INPUT
11
HANDSHAKE SIGNAL
HANDSHAKE SIGNAL FOR DATA OUTPUT
INTR
12
HANDSHAKE SIGNAL
HANDSHAKE SIGNAL FOR DATA OUTPUT
14
GENERAL PURPOSE PPD
GENERAL-PURPOSE PROGRAMMABLE PERIPHERAL DEVICES
The 8255A
The 8255A can be programmed to transfer data under
various conditions, from simple I/O to interrupt I/O.
It can be used with virtually any MPU and it is flexible,
versatile and economical, yet complex.
It has 24 I/O pins: Two 8-bit parallel ports (A and B)
and the remaining pins as port C.
Eight pins (Bits) at port C can be grouped intwo 4-bit
ports: CUPPER (CU) and CLOWER (CL). The functions of these
ports are defined by writing a control word in the 15
control register
GENERAL PURPOSE PPD
GENERAL-PURPOSE PROGRAMMABLE PERIPHERAL DEVICES