









































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Small ppt giving an insight int peripheral interfacing for 8086 microprocessor using PPI 8285A
Typology: Slides
1 / 49
This page cannot be seen from the preview
Don't miss anything!










































I/O devices are of different varieties, functions, features and specifications. (^) The 8086 does not have the requisite hardware within it to manage each of them according to their special requirements and specifications. Thus I/O devices need some extra hardware to let them be interfaced to the processor. It is in this context that various interfacing chips have been designed. All these chips are programmable.
Programming the PPI How is the chip programmed and what are the options available? Programming the chip involves only the writing of a particular word to the control register. The control register is an 8-bit register which can be written into. The bits of this word (called the control word) will decide the way the ports of the chip are to be configured.
The 8255 can be made to work in three modes as decided by the system designer. Mode 0: Basic input/output Mode 1: Strobed input/output Mode 2: Bi-directional bus
The specifications of this mode are: i) Two 8-bit ports and two 4-bit ports. ii) Any port can be input or output. iii) Outputs are latched iv) Inputs are not latched. v) 16 different input/output combinations possible.
Example 9. It is necessary to read the setting of 12 switches which are connected to the 8255 and display it on LEDs. (^) Draw the setup and write the program for the same.