8255 - PowerPoint PPT Presentation

1 / 29
About This Presentation
Title:

8255

Description:

8255 PROGRAMMABLE PARALLEL PORT DEVICE Intel 8255 PPI(PROGRAMMABLE PARALLEL PORTS I/O port chip used for interfacing I/O devices with microprocessor. – PowerPoint PPT presentation

Number of Views:133
Avg rating:3.0/5.0
Slides: 30
Provided by: Thin180
Category:

less

Transcript and Presenter's Notes

Title: 8255


1
8255 PROGRAMMABLE PARALLEL PORT DEVICE
2
Intel 8255 PPI(PROGRAMMABLE PARALLEL PORTS
  • I/O port chip used for interfacing I/O devices
    with microprocessor.
  • Very commonly used peripheral chip which is
    available on 8086 motherboard.
  • Acts an interface between the peripheral device
    and the 8086.
  • Has 3 i/o ports namely port A,port B,port C to
    transfer parallel data,each of 8 bit.
  • Port C is used as 2 4-bit ports(independent
    halves) or to produce handshake signals for A and
    B.
  • I/O signals classified into 2 groups
  • Group A PA7-PA0 and PC4-PC7
  • Group B PB7-PB0 and PC0-PC3

3
METHODS OF PARALLEL DATA TRANSFER
  • SIMPLE INPUT AND OUTPUT
  • SIMPLE STROBE I/O
  • SINGLE-HANDSHAKE I/O
  • DOUBLE HANDSHAKE I/O

4
Methods of Passing Parallel Data
  • Simple input and output
  • The crossed on the waveform represent the time
    at which a new data byte becomes valid on the
    output lines on the port.

5
  • Simple strobe
  • valid data will be present on an external device
    only at certain
  • time,so it must be read at that time.
  • ExWhen a key is pressed,circuit in keyboard
    sends out corresponding ASCII code on 8 parallel
    data lines and sends a strobe signal on another
    line to indicate valid data is present on data
    lines.
  • For high speed data transfer,the sender will send
    data bytes faster than receiving system could
    read them.
  • Hence handshake scheme is used.

6
  • Single Handshake I/O(Strobed I/O)
  • Peripheral device outputs some parallel data and
    send STB
  • signal to MP.
  • MP detects STB signal and sends ACK to
    peripheral to indicate data has been read and
    peripheral can sent next byte of data.
  • Handshaking ensures that peripheral device does
    not send data until receiving system indicates
    with an ACK that it is ready to receive next
    byte.

7
  • Double Handshake I/O
  • The sender asserts STB(low) and the receiver
    raises its ACK.
  • The external device then send data byte and
    raises its STB and receiver reads the data and
    drop ACK.

8
HANDSHAKE INPUT DATA TRANSFER SIGNAL DIRECTIONS

MICRO- PROCESSOR
PERIPHERAL
PORT DEVICE
PARALLEL DATA LINES
STB
ACK
9
Need of 8255
  • The parallel port device 8255 has been designed
    to automatically manage the handshake operation.
  • Eg, it can be programmed to automatically receive
    an Strobe signal from a peripheral, send an int
    signal to the processor and send the ACK signal
    back to the peripheral at proper times

10
8255 Internal block diagram
11
(No Transcript)
12
(No Transcript)
13
(No Transcript)
14
(No Transcript)
15
(No Transcript)
16
(No Transcript)
17
(No Transcript)
18
(No Transcript)
19
(No Transcript)
20
(No Transcript)
21
(No Transcript)
22
Note 8255 is often used in mode 1
23
(No Transcript)
24
(No Transcript)
25
(No Transcript)
26
(No Transcript)
27
(No Transcript)
28
(No Transcript)
29
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com