

















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















































Dr Sameen Ahmed Malik, PhD, R.Eng Department of Biomedical Engineering UET Lahore – Narowal Campus
COMMUNICATION
SERIAL COMMUNICATION
SERIAL COMMUNICATION VS PARALLEL COMMUNICATION Serial Serial communication sends data a single bit at a time. Consequently, fewer I/O (input-output) lines are needed to implement it than for parallel transmission. This results in less interference and a reduction in space requirements. It also reduces the cost of the embedded system and enables it to reliably transfer data over long distances. Data communication equipment (DCE) such as modems make use of serial data transfer. Parallel More I/O lines are needed to implement parallel communication. When data is sent in a block of 8,16 or 32 bits, each bit needs its own physical I/O line. The speed of parallel transfer is faster than serial transmission but needs a larger number of I/O lines. Parallel data transfer is used in personal computers to exchange data with internal components such as the random access memory (RAM) or the CPU.
SERIAL COMMUNICATION VS PARALLEL COMMUNICATION
SERIAL COMMUNICATION ADVANTAGES
Serializer/deserializer A serializer/deserializer consists of functional blocks in a chip that are used to convert parallel data into serial data, allowing designers to speed up data communication without having to increase the number of pins. Skew skew is a phenomenon in synchronous digital circuit systems (such as computer systems) in which the same sourced clock signal arrives at different components at different times. The instantaneous difference between the readings of any two clocks is called their skew.
MODE OF SERIAL DATA TRANSMISSION Binary pulses are used to transmit data in serial data transmission. The binary digit one is represented by five volts or a HIGH logic. Binary zero is denoted with a logic LOW or zero volts. In order to implement serial communication, a source and destination are required. They are also referred to as the sender and receiver. Various types of serial communication can be employed and are designated as Simplex, Half Duplex, and Full Duplex
MODE OF SERIAL DATA TRANSMISSION
FULL DUPLEX MODE Full Duplex mode is the world’s most widely used form of serial communication. Source and destination are both active and can send and receive data simultaneously. Your smartphone is a prime example of full duplex mode in action.
A UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER (UART) UART or Universal Asynchronous Receiver Transmitter is a dedicated hardware associated with serial communication. The hardware for UART can be a circuit integrated on the microcontroller or a dedicated IC. This is contrast to SPI or I2C, which are just communication protocols. UART is one of the most simple and most commonly used Serial Communication techniques. Today, UART is being used in many applications like GPS Receivers, Bluetooth Modules, GSM and GPRS Modems, Wireless Communication Systems, RFID based applications etc.
A UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER (UART) If you remember older computer systems, devices like Mouse, Printer and Modem are connected using a heavy connectors at the back. All these devices communicated using UART. Even though USB has replaced all types of communication standards on computers and other devices, UART is still being used in the above mentioned applications. Almost all microcontrollers have dedicated UART hardware built in to their architecture. The main reason for integrating the UART hardware in to microcontrollers is that it is a serial communication and requires only two wires for communication.
A UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER (UART)
A UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER (UART) The letter ‘A’ in UART stands for Asynchronous i.e. there is no clock signal to synchronize or validate the data transmitted from transmitter and received by the receiver (Asynchronous Serial Communication). This is in contrast to Synchronous Serial Communication, which uses a clock signal that is shared between the transmitter and receiver in order to “Synchronize” the data between them. If there is no clock (or any other timing signal) between the transmitter and receiver, then how does the receiver know when to read the data? In UART, the transmitter and receiver must agree on timing parameters beforehand. Also, UART uses special bits at the beginning and ending of each data word to synchronize the transmitter and receiver. In UART based Serial Communication, the transmitter and receiver communicate in the following manner. The UART on the sender device i.e. the transmitting UART receives parallel data from the CPU (microprocessor or microcontroller) and converts it in to serial data. This serial data is transmitted to the UART on the receiver device i.e. receiving UART. The receiving UART, upon receiving the serial data, converts it back to parallel data and gives it to the CPU.