×

Control Signals in 8155 Microprocessor

Intel designed the chip 8155 used to interface with I/O devices. Basically, the 8085 microprocessor is directly unable to deal with its peripheral input output devices for reading data or writing data into them. So, the 8085 microprocessor connects itself with the 8155 chip, and then the 8155 chip deals with I/O devices to read or write data based on the control signals.

There are generally two kinds of ports:

  • Programmable
  • Non-programmable

Programmable ports

Ports that can be programmed, and with the help of control signals, we can use them as an input ports or output ports based on our requirements are defined as programmable ports. We can also control the mode in which they will work with the help of control signals.

Non-Programmable ports

Ports that cannot be programmed, and once they are built their working cannot be changed, are defined as non-programmable ports. For example, if a port is designed as an input port and if it is non-programmable, then we can’t use it as an output port or any other port.

In the 8155 chip, there are three programmable ports:

  • Port A
  • Port B
  • Port C

Port A and Port B are 8-bit ports, whereas Port C is a 6-bit port. So, there are 8 pins in Port A and Port B for each bit, and there are 6 pins in Port C.

  • 8 pins are like PA0 to PA7 and PB0 to PB7
  • Six pins are from PC0 to PC5.

There are 8 pins of the address bus (8-bit address bus), which connect it to the address bus of the 8085 microprocessor’s address bus. The address bus is from AD0 to AD7.

There are control signals generated by the 8085 microprocessor, and internally it is transferred to 8155. Then 8155 performs various actions like reading data or writing data, or enabling the interrupt signal. There is an 8-bit control register in 8155 where control signals are stored.

Handshake Mode

It is also called strobe mode for I/O. In this mode, port A uses 3 pins of Port C, and Port B also uses the other 3 pins of Port C. So basically, the control signal is generated by Port C in this mode.

This mode is generally used when the device connected to the peripheral of 8155 is not fast enough to send the data or receive the data. Port A and Port B are both independent in terms of programming in this mode.

8155 can generate the following types of control signals:

STB

It is also called strobe input. It is an active low input control signal for 8155 and also an output signal for the device connected to it.

This signal is the indication that tells the 8155 to load the data in the input buffer. This signal is generated by the device connected; indicating that data has been sent to the ports of the 8155 chip, and you can now take data as input.

So, after receiving the signal, 8155 takes the input data into the buffer.

BF

BF is also known as Buffer Full control signal. This is an active high signal which is raised by the 8155 microprocessor. This control signal is output for 8155 and input for connected devices.

When BF is 1, it means the input buffer has been full, and 8155 cannot take more data from the device. So the device will stop sending the data until BF becomes low.

When 8085 reads the complete data from the buffer, then BF becomes low, and then the device can send the data to 8155 again. It works as an acknowledge signal for the input device connected.

INTR

This is an active high signal which is raised by 8155. This is the output signal indicating to the 8085 microprocessor that the device connected has sent the data to ports, and data is now available on the buffer. So it indicates the microprocessor to read the data from the input buffer.

When the microprocessor reads the data from the input buffer, then this control signal INTR becomes low.

INTL

The interrupt functionality of the 8155 is turned on or off using this internal flip-flop. Bits D4 and D5 in the control register, respectively, control the interrupts of ports A and B.


Related Topics

Assembly Language Register

Assembly Language Register Assembly language was introduced during the late 1940s in the second generation. It is a low-level language that helps in communication between the user and the computer. It...

6 minutes read.

8255 Microprocessor Operating Modes

8255 microprocessor was invented by intel in the year 1980s. 8255 microprocessor is a general-purpose microprocessor that can be programmed. 8255 is mostly used as an interface between devices like...

3 minutes read.

Machine Instructions

What is a Digital Computer? A computer that takes input in a binary form and produces output in binary form. The question arises of what kind of input the computer takes...

4 minutes read.

8085 Arithmetic Instructions

Arithmetic instructions are a type of instruction in a computer's instruction set that perform arithmetic operations on data. These operations can include addition, subtraction, multiplication, and division. Arithmetic instructions can...

4 minutes read.

Flag Register of 8086 Microprocessor

In this article, we are going to study about the one of the registers named flag registers of 8086 microprocessor. We are also going to know where and how to...

3 minutes read.

Local Broadcast Address and loopback address

In computer networking, if you send the data from one source to another source or group of sources in the form of packets, then this is called casting. We can categorize...

3 minutes read.

Micro-Operations

Micro-Operations If CPU wants to perform any operation, suppose execution of only one instruction or even break it down one particular execution phase (like fetch instruction, write back, decode, operand fetch...

9 minutes read.

CPU Registers

CPU Registers Within the CPU, we have small- small storage units called registers. If we are executing a certain program within the CPU, there's a need to store that program content,...

11 minutes read.

Use Case Diagram for the online bank system

What is a Use Case Diagram? A tool is called a Use Case Diagram which is used to create, present, and comprehend the functional requirements for a system. The Use Case...

3 minutes read.

Addressing mode in 8085 microprocessor

What is a Microprocessor? Microprocessor is a unit which is able to perform arithmetic and logical operations and is built on a single chip. The 8085 microprocessor is built by Intel which...

4 minutes read.

Basic Terminologies Related to COA

Some Basic Terminologies Related to COA Computer organization and architecture is the detailed study of the internal components of the computer with their functionality. It describes how components arranged together and...

7 minutes read.

COA: Interrupt and its types

Introduction: In general terms, the word interrupt means to stop the progress of ongoing work in between or to break the continuation of the work. In early digital computing, the...

5 minutes read.

Data Path, ALU and Control Unit

Data Path, ALU(Arithmetic Logic Unit) and Control Unit What is the Data path? Suppose any data processing operation should be performed in the CPU like transferring the content of register from one...

5 minutes read.

Advantages and Disadvantages of Flash Memory

What is Flash Memory? Electrically Erasable Programmable Read-Only Memory (EEPROM) and Erasable Programmable Read-Only Memory (EPROM) are used for flash memory (EEPROM). Although technically the word flash is used in the industry...

3 minutes read.

Fixed and Floating-Point Number

Fixed and Floating-Point Number: In digital technology, data is stored in memory registers with binary bits 0’s and 1’s because the computer only understands binary language. When we enter data...

6 minutes read.

Convert a number from base 2 to base 6

Base 2 Base 2 is the format where you can represent any number with just two values which are 0 and 1. With the help of 0s and 1s, we can...

4 minutes read.

Control Unit Organization

Control Unit Organization The Control Unit is the unit in the CPU, which controls the various components like input  & output devices, logic unit and memory. The Control Unit is the...

7 minutes read.

Bipartite Graph

A graph is said to be bipartite if and only if we can divide all the vertices of a graph into two sets such that these sets are mutually exclusive...

4 minutes read.

Instruction Pipelining and Pipeline Hazards

Instruction Pipelining and Pipeline Hazards To apply pipeline, the prerequisite is to perform the same processing over multiple inputs, then pipelining is important. So instruction execution is the best example for...

10 minutes read.

Microprocessor classification

Introduction: Microprocessor is known as the computer processor. The IC or integrated Circuit makes the microprocessor. that is the brain of the computer machine. The microprocessor is known as the...

6 minutes read.