COMMUNICATION
PROTOCOLS
BY:
KARTHIK N S
INTEA 12
GOVT. S K S J TECHNOLOGICAL INSTITUTE
ELECTRONICS AND COMMUNICATION
ENGG.
CONTENTS
• Introduction
• Types of communication protocols
• Intersystem protocols
UART (Universal Asynchronous Receiver and Transmitter)
USART (Universal Synchronous and Asynchronous Receiver and Transmitter)
USB (Universal Serial Bus)
• Intra-system protocols
I2C (Inter integrated circuit)
SPI (Serial Peripheral Interface)
CAN (Controller Area Network)
INTRODUCTION
• Communication protocols are a set of rules that allow two or more electronic devices to
connect and exchange data with each other.
• The data, when sent in series, i.e. one after the other in a sequential manner, is known as Serial
communication protocols.
• Transmission modes in Serial communication:
Simplex
Half-duplex
Full-duplex
• They are also classified based on their clock synchronization as “synchronous serial interface”
“asynchronous serial interface”.
• Serial communication is preferred over parallel communication.
TYPES OF SERIAL COMMUNICATION
PROTOCOLS
INTERSYSTEM COMMUNICATION
PROTOCOLS
• The inter-system protocol is used for communication between two different devices. The
communication is done through an inter-bus system.
UART(Universal Asynchronous Receiver and Transmitter)
• UART is a serial communication protocol, with two wired protocols.
• The data cable signal lines are labeled as Rx(receiver) and Tx(transmitter).
• It is a half-duplex protocol. (i.e., it can send and receive data but not at the same time)
USART(Universal Synchronous and Asynchronous Receiver and Transmitter)
• It is a serial communication protocol, with two wired protocols.
• The data cable signal lines are labeled as Rx(receiver) and Tx(transmitter). It is a Full-Duplex
protocol. (i.e., it can send and receive data at the same time by different baud rates)
USB(Universal Serial Bus)
• USB is a two-wired serial communication protocol. It allows 127 devices to be connected at
any given time.
• The data cable lines are labeled D+ and D-.
INTRA-SYSTEM COMMUNICATION
PROTOCOLS
• It is used to communicate the two devices within the circuit board. They reduce the circuit
complexity, power consumption, and cost. It is very secure to access data.
I2C (Inter-integrated Circuit)
• It is a master-slave communication protocol.
• It has two wires SDA (Serial data line) and SCL (Serial clock line) for carrying information
between devices.
• SDA and SCA are bidirectional.
SPI (Serial Peripheral Interface)
• It is a serial communication protocol developed by Motorola.
• It is also called a 4-wire protocol. It has four wires-MOSI, MISO, SS, and SCLK.
• It is used to communicate master-slave devices.
• It is a full duplex communication protocol. It is not limited to 8-bit words in data transferring.
CAN (Controller Area Network)
• It is a serial communication protocol.
• It has two wires can High (H+) and CAN Low (H-).
• It is based on a message-oriented transmission protocol.