8085 Microprocessor
- 8085 Instruction Sets
- Addressing Modes & Interrupts
- 8085 Pin Configuration
- Microprocessor - 8085 Architecture
8086 Microprocessor
- 8086 Addressing Modes
- Microprocessor - 8086 Interrupts
- 8086 Instruction Sets
- 8086 Pin Configuration
- 8086 Functional Units
- Microprocessor - 8086 Overview
Multiprocessor Configuration
I/O Interfacing
Microcontrollers
- Microcontrollers - 8051 Interrupts
- 8051 Input Output Ports
- 8051 Pin Description
- Microcontrollers - 8051 Architecture
- Microcontrollers - Overview
Peripheral Devices
- 8253/54 - Operational Modes
- 8253 - Programmable Interval Timer
- Intel 8255A - Pin Description
- Programmable Peripheral Interface
Microprocessor Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Intel 8255A - Pin Description
Let us first take a look at the pin diagram of Intel 8255A −
Now let us discuss the functional description of the pins in 8255A.
Data Bus Buffer
It is a tri-state 8-bit buffer, which is used to interface the microprocessor to the system data bus. Data is transmitted or received by the buffer as per the instructions by the CPU. Control words and status information is also transferred using this bus.
Read/Write Control Logic
This block is responsible for controlpng the internal/external transfer of data/control/status word. It accepts the input from the CPU address and control buses, and in turn issues command to both the control groups.
CS
It stands for Chip Select. A LOW on this input selects the chip and enables the communication between the 8255A and the CPU. It is connected to the decoded address, and A0 & A1 are connected to the microprocessor address pnes.
Their result depends on the following conditions −
CS | A1 | A0 | Result |
---|---|---|---|
0 | 0 | 0 | PORT A |
0 | 0 | 1 | PORT B |
0 | 1 | 0 | PORT C |
0 | 1 | 1 | Control Register |
1 | X | X | No Selection |
WR
It stands for write. This control signal enables the write operation. When this signal goes low, the microprocessor writes into a selected I/O port or control register.
RESET
This is an active high signal. It clears the control register and sets all ports in the input mode.
RD
It stands for Read. This control signal enables the Read operation. When the signal is low, the microprocessor reads the data from the selected I/O port of the 8255.
A0 and A1
These input signals work with RD, WR, and one of the control signal. Following is the table showing their various signals with their result.
A1 | A0 | RD | WR | CS | Result |
---|---|---|---|---|---|
0 | 0 | 0 | 1 | 0 | Input Operation PORT A → Data Bus |
0 | 1 | 0 | 1 | 0 | PORT B → Data Bus |
1 | 0 | 0 | 1 | 0 | PORT C → Data Bus |
0 | 0 | 1 | 0 | 0 | Output Operation Data Bus → PORT A |
0 | 1 | 1 | 0 | 0 | Data Bus → PORT A |
1 | 0 | 1 | 0 | 0 | Data Bus → PORT B |
1 | 1 | 1 | 0 | 0 | Data Bus → PORT D |