Home » Embedded Systems

Pin diagram of 8255 PPI (Programmable peripheral interface)

In this article, we are going to study the Pin diagram of the 8255 PPI (Programmable Peripheral Interface). We will study the complete IC structure of it, and will also study the functionalities that are performed by each of the pins.
Submitted by Monika Sharma, on August 16, 2019

The following is the internal structure of the 8255 IC,

PIN diagram of 8255 IC

Image source: https://images.app.goo.gl/22BfM5mn9ZFo96S26

Let us take a look at the functionalities of each of its pins,

PA0 to PA1

These pins are the data lines for the port A. These pins are equally distributed on both sides of the top of the 8255 IC. The keys 1 to 4 and 37 to 40 are the pins devoted for port A.


PB0 to PB1

These pins are the data lines for Port B and the keys 18 to 25 are the pins that carry the data of port B.


PC0 to PC1

These pins are the data lines for the port C. The keys 10 to 17 carry the data bits of port A. Among these, the pins 10 to 13 are the Port C upper pins, and 314 to 17 are the pins devoted for port C lower.


D0 to D7

These pins carry the 8-bit binary code which is used to instruct the working of the entire IC. These pins together are called as the control word or control register. The keys 27 to 34 carry the contents of the control word.

A0 and A1

These pins decide which port will be selected for transferring the data. These keys are present at pins 8 and 9.

A0 A1 Port selected
00Port A
01Port B
10Port C
11Control Register


It is an active low signal key which puts the IC in reading mode. It is present at key number 5.



It is an active low signal key which puts the IC in writing mode. It is present at key number 36.



It is also an active low signal key which is responsible for chip selection. The key number 6 is devoted to chip select key.



This key present at 35 number when in set mode, resets the entire data present in all the keys to their default values.



There is one ground key for 8255 IC present at key number 7.



The VCC key is from where the IC receives the 5V input. It is present at the key 26.

Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.

Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates

© https://www.includehelp.com some rights reserved.