Interfacing
Interfacing
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
8255A Architecture
• 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
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.
Data Transmission
• The action of transferring data or anything from one place to other is
referred to as transmission.
• It is a method of sharing data between two devices linked by a network,
also known as communication mode.
• Synchronous and asynchronous transmissions are the two main types of
transmission used in computer networking.
• In both synchronous and asynchronous transmission, data is sent between
the transmitter and the receiver based on a clock pulse utilized for
synchronization.
• These serial data transmission techniques are both known as synchronous
transmission.
Synchronous Transmission
• A data transfer method in which a continuous stream of data signals is accompanied
by timing signals (generated by an electronic clock) to ensure that the transmitter
and the receiver are in synchronized with one another.
• The data is sent in blocks spaced by fixed time intervals.
• Are used when large amounts of data must be transferred very quickly from one
location to the other.
• It synchronizes transmission speeds at both the receiving and sending end of the
transmission using clock signals built into each component. A continual stream of
data is then sent between the two nodes.
• Most network protocols (such as Ethernet, SONET, Token Ring) use synchronous
transmission.
Characteristics of Synchronous Transmission
• The following is a list of characteristics specific to synchronous communication:
There are no gaps between characters being transmitted.
Timing is supplied by modems or other devices at each end of the connection.
Special syn characters precede the data being transmitted.
The syn characters are used between blocks of data for timing purposes.
Asynchronous Transmission
• asynchronous transmission works in spurts and must insert a start bit before each
data character and a stop bit at its termination to inform the receiver where it
begins and ends.
• The term asynchronous is used to describe the process where transmitted data is
encoded with start and stop bits, specifying the beginning and end of each
character.
• These additional bits provide the timing or synchronization for the connection by
indicating when a complete character has been sent or received; thus, timing for
each character begins with the start bit and ends with the stop bit.
Characteristics of Asynchronous Transmission