900,000+ datasheet pdf search and download

Datasheet4U offers most rated semiconductors data sheet pdf






ETC

PPI8255 Datasheet Preview

PPI8255 Datasheet

8255 PPI Chip

No Preview Available !

Hong Kong Polytechnic University
Department of Electronic and Information Engineering
PPI/CC
Experiment
On
8255 PPI chip
Objectives : To study how 8255 PPI chip works.
After completing this experiment, you should know the different operation modes of
an 8255 PPI chip and how to configure the chip to operate in a particular operation
mode. You should also know how to use handshake to transfer data in an interface.
Software : Text editor, 8051 cross-assembler, 8051 linker and 8051 programmer
Apparatus : 8051 evaluation board and 8255 evaluation board
Reference :
H-P. Messmer, "The indispensable PC hardware book," 3rd Ed, Addison-Wesley,
1997 Chapter 29 Section 2.
Barry B. Bery, “The Intel Microprocessors: 8086/8088, 80186/80188, 80286, 80386,
80486, Pentium, Pentium Pro Processor, Pentium II, Pentium III, Pentium 4 -
Architecture, Programming, and Interfacing”, 6th Ed, Chapter 11, Section 3.
8255 datasheet
AT89S8252 datasheet (instruction set)
Background
The 8255 PPI chip is a general purpose programmable I/O device which is designed for use with all
Intel and most other microprocessors. The 8255 has 24 I/O pins divided into 3 groups of 8 pins each.
The groups are denoted by port A, port B and port C respectively. Every one of the ports can be
configured as either an input port or an output port.
The 8255 can be programmable in three different modes:
Mode 0: simple unidirectional input/output without handshake
Mode 1: unidirectional input/output with handshake via some pins of port C
Mode 2: bidirectional input/output with handshake via some pins of port C
Handshake is a common technique used to transfer data in an interface. A computer and a device
usually operate at different system clock rates and hence the data transfer between their
corresponding I/O interface may not be so reliable. For example, the device might not be fast enough
CSF-LAB/PPI 8255/CC/EIE PolyU/p.1




ETC

PPI8255 Datasheet Preview

PPI8255 Datasheet

8255 PPI Chip

No Preview Available !

to catch the data transmitted from the CPU. Handshake provides a means to improve the reliability
of a data transfer.
Method and details
In this lab, you will study how to program an 8255 PPI chip to operate in different operation modes
with an 8051 evaluation board and an 8255 evaluation board. Figure 1 shows the setup of the
system. You are requested to modify some given 8051 program modules with a text editor in a
computer. The modified programs, when they are run in the 8051 evaluation board, should be able to
program port A and port B of the 8255 in the 8255 evaluation board to operate in one of their
operation modes. You can assemble and link your program modules with the provided cross-
assembler and linker to generate executable files. Executable files can then be loaded to the 8051
evaluation board via the printer port of the computer to program the on-board AT89S8252. The
AT89S8252 is a low-power, high-performance CMOS 8-bit microcomputer with 8K bytes of
Downloadable Flash programmable and erasable read only memory and 2K bytes of EEPROM. The
device is manufactured by Atmel and is compatible with the industry standard 80C51 instruction set
and pinout.
Computer
printer
port
8051
evaluation
board
8051
local bus
8255
evaluation
board
Figure 1. Setup of the system
After programming the AT89S8252, the AT89S8252 executes the loaded program to configure the
8255 and the ports of the 8255 should operate in the desired modes.
As there are 3 ports in 8255 and each one of them can be programmed as an input or output port,
there are a number of possible configurations. In this lab, four configurations given in Table 1 will
be studied.
configuration
1
2
3
4
Port A
Port B
Port C
Mode 0, input
Mode 0, output Don’t care
Mode 1, input
Mode 0, output Handshake for port A
Mode 0, input
Mode 1, output Handshake for port B
Mode 1, input
Mode 1, output Handshake for ports A and B
Table 1. Some configurations of 8255
You are requested to do the following in this lab.
1. Setup the apparatus as shown in Figure 2.
CSF-LAB/PPI 8255/CC/EIE PolyU/p.2


Part Number PPI8255
Description 8255 PPI Chip
Maker ETC
Total Page 21 Pages
PDF Download

PPI8255 Datasheet PDF

View PDF for Mobile








Similar Datasheet

1 PPI8255 8255 PPI Chip
ETC





Part Number Start With

0    1    2    3    4    5    6    7    8    9    A    B    C    D    E    F    G    H    I    J    K    L    M    N    O    P    Q    R    S    T    U    V    W    X    Y    Z

Site map

Webmaste! click here

Contact us

Buy Components

Privacy Policy