PIO 8255:
The parallel input-output port chip 8255 is also called as programmableperipheral input-output port. The Intel‟s 8255 are designed for use with Intel‟s 8-bit, 16-bit and higher capability microprocessors. It has 24 input/output lineswhich may be individually programmed in two groups of twelve lines each, orthree groups of eight lines.
The two groups of I/O pins are named as Group A and Group B. Each of thesetwo groups contains a subgroup of eight I/O lines called as 8-bit port and anothersubgroup of four lines or a 4-bit port. Thus Group A contains an 8-bit port Aalong with a 4-bit port C upper.
The port A lines are identified by symbols PA0-PA7 while the port C lines are identified as PC4-PC7 similarly. Group B contains an 8-bit port B, containing lines PB0- PB7 and a 4-bit port C with lower bits PC0-PC3. The port C upper and port C lower can be used in combination as an 8-bit port C. Both the port Cs is assigned the same address. Thus one may have either three 8-bit I/O ports or two 8-bit and two 4-bit I/O ports from 8255. All of these ports can function independently either as input or as output ports. This can be achieved by programming the bits of an internal register of 8255 called as control word register (CWR). The internal block diagram and the pin configuration of 8255 are shown in figs.
The 8-bit data bus buffer is controlled by the read/write control logic. The read/write control logic manages all of the internal and external transfer of both data and control words.
RD, WR, A1, A0 and RESET are the inputs, provided by the microprocessor to READ/WRITE control logic of 8255. The 8-bit, 3-state bidirectional buffer is used to interface the 8255 internal data bus with the external system data bus. This buffer receives or transmits data upon the execution of input or output instructions by the microprocessor.
The control words or status information is also transferred through the buffer.
Pin Diagram of 8255A
The pin configuration of 8255 is shown in fig.
The signal description of 8255 is briefly presented as follows:
These address lines are used for addressing any one of the four registers, i.e. three ports and a control word register as given in table below.
In case of 8086 systems, if the 8255 is to be interfaced with lower order data bus, the A0 and A1 pins of 8255 are connected with A1 and A2 respectively.
Modes of Operation of 8255
1. What is the function of PIO 8255 in microprocessors and microcontrollers? |
2. How does the PIO 8255 work in microprocessors and microcontrollers? |
3. What are the advantages of using PIO 8255 in microprocessors and microcontrollers? |
4. Can the PIO 8255 be used with different microprocessors and microcontrollers? |
5. What are some common applications of the PIO 8255 in microprocessors and microcontrollers? |
|
Explore Courses for Computer Science Engineering (CSE) exam
|