Professional Documents
Culture Documents
Input Output Interfacing
Input Output Interfacing
Module No. 5
INPUT/OUTPUT INTERFACE
Objectives
Subtopic 1
The technique of data transfer between a microcomputer and an external device is called
input/output (I/O). One communicates with a microcomputer via the I/O devices interfaced to
it. The user can enter programs and data using the keyboard on a terminal and execute the
programs to obtain results. Therefore, the I/O devices connected to a microcomputer provide an
efficient means of communication between the microcomputer and the outside world. These I/O
devices, commonly called peripherals and include keyboards, monitors (screens), printers, and
hard disks.
Interface is the path for communication between two components. Interfacing is of two types,
memory interfacing and I/O interfacing.
Memory Interfacing
When we are executing any instruction, we need the microprocessor to access the
memory for reading instruction codes and the data stored in the memory. For this,
both the memory and the microprocessor require some signals to read from and write
to registers.
The interfacing process includes some key factors to match with the memory
requirements and microprocessor signals. The interfacing circuit therefore
should be designed in such a way that it matches the memory signal
requirements with the signals of the microprocessor.
IO Interfacing
Following is the list of 8085 pins used for interfacing with other devices a. A15 -
A8 (Higher Address Bus) b. AD7 - AD0(Lower Address/Data Bus)c. ALEd. RDe.
WRf. READY
It also converts digital data into analog signal and vice versa.
There are two ways of communication in which the microprocessor can connect
with the outside world.
Peripheral Devices
The Input / output organization of computer depends upon the size of computer
and the peripherals connected to it. The I/O Subsystem of the computer provides an
efficient mode of communication between the central system and the outside
environment.
a. Monitor
b. Keyboard
c. Mouse
d. Printer
e. Magnetic tapes
The devices that are under the direct control of the computer are said to be
connected online.
2. The data transfer rate of peripherals is usually slower than the transfer rate of
CPU and consequently, a synchronization mechanism may be needed.
3. Data codes and formats in the peripherals differ from the word format in the
CPU and memory.
4. The operating modes of peripherals are different from each other and must be
controlled so as not to disturb the operation of other peripherals connected to the
CPU.
Subtopic 1
Real-time interfaces are used to support master data management (moving data
into and out of the master data hubs real time) as well as the
movement of transactional data updates between applications.
Supporting the enterprise service bus are local utilities to handle data movement,
event monitoring, and transaction processing middleware.
Real-Time Interfaces
With SOA, interfaces are designed in such a way that they support
specific distinct services. For example, a service might be created to
retrieve a customer’s account information. An entirely separate service would be
created to associate new products with that account. SOA is based on the concept of
taking each type of interaction and exposing it as a unique service. These services are
then tied together through the use of orchestration. Whereas a service performs a
distinct function, orchestration calls multiple services in the correct manner to
accomplish a specific business function.
ROA instead focuses on specific objects such as accounts as a data object of state
transactions. The concept with ROA is to expose each resource in are
usable manner and allow the consumer of that resource to consume it via a consistent
interface. There are some obvious similarities between SOA and ROA, but there are
many differences as well. Each architecture has its benefits and detriments and the
- Operations taking longer than 1 second should free users to do other things
while waiting for a function to finish, display busy or progress indicators, and
allow users to abort (cancel).
- Avoid delays within unit tasks. Delays between unit tasks are acceptable.
o Handshaking
It should be noted here that although this handshaking may look similar to the
three-way handshaking process between different networks, here the case is
different. Here, communication is being done within the different components of the
same system which are connected via physical means (through cables and chords).
However, there may exist wireless communication between the components of
the same system also as we have emerging technologies every day.
In the source Initiated the handshaking process, the source initiated the
process of establishing the connection. This means that, in this process, the sender
needs to send the data and so the handshaking process is initiated by the
sender. So, in this process, after sending the valid data, the receiver sends
the acknowledgment that the data has been received. Hence, the signals
'DATA VALID' is sent by the sender before sending the data and the signal 'DATA
ACCEPTED' is sent by the receiver after getting the data.
Summary
A user interface for an interactive system is a real-time interface—it must meet several
real-time deadlines for users to perceive the system as responsive.
References
https://www.oreilly.com/library/view/microprocessor-theory-and/
9780470380314/11_ch04.html#:~:text=The%20technique%20of%20data%20transfer,the
%20programs%20to%20obtain%20results.
https://www.studocu.com/ph/document/university-of-rizal-system/electrical-engineering/
interfacing-of-inputoutput-devices/21823966
http://www.pvpsiddhartha.ac.in/dep_it/lecturenotes/CSA/unit-5.pdf
https://www.sciencedirect.com/topics/engineering/input-output-interface
https://www.geeksforgeeks.org/introduction-to-input-output-interface/
https://www.tutorialspoint.com/microprocessor/microprocessor_io_interfacing_overview.htm
https://www.includehelp.com/embedded-system/handshaking-in-computer-
architecture.aspxhttps://www.sciencedirect.com/topics/computer-science/time-interface
Exercises: