Jordan University of Science and Technology
CPE 452 Microprocessor Interfacing Lab
1
Lab 6: PPI 1. Objectives • Introduction to parallel data transmission. • To identify the role of the interfacing device, Programmable Peripheral Interface (PPI) for parallel data transfer.
2. Prerequisites • PCI bus manuals • PPI datasheet “Peripheral Programmable Interface 82C55A” • C/C++ programming language 3. Description • In this lab you are going to implement an application that interface PPI with PCI for data transfer. • The DIP switch and LEDs will be connected to PPI, and the PPI connected to PC through PCI. • The application that we will implement using the visual C++ is reading an 8-bit from the switches and making swap for it then writing the result to the LEDs.
4. Components, Devices, and Tools • 8-way DIP Switch. • Resistors: 8 (2.7KΩ) pull-up resistors for the DIP switch connection and 8 (330Ω) pull-down resistors for the LED’s connection. • 8- LED set. • PPI (8255) chip
Lab6-1
Jordan University of Science and Technology
CPE 452 Microprocessor Interfacing Lab
Lab 5: Simple I/O using PCI Local bus 5. Pre- Lab : You have to show the circuit you will build in your board and write simple code to implement the required.
Lab6-2