Introduction to serial communication in embedded :
In Embedded Systems, Communication means the exchange of data in the
form of bits by some set of defined rules between two micro – controller.
Serial Communication in embedded systems is the way of exchanging data
using different methods in the form of serial digital binary pulses where
binary one represents logic High or 5 volts and binary zero represents logic
Low or 0 volts.
Serial communication sends data bit by bit at one clock pulse which makes
the communication speed slow as compared to parallel communication.
Since serial communication sends data bit by bit,therefore it requires one
wire to transmit the data and fewer input-output lines. It is preferred for
long distance communication.
Serial Communication is popular because most computers have one or
more serial ports , so no extra hardware is needed other than a cable to
connect the instruments to the computer or two computers together.
Transmission modes of serial communication in embedded:
Serial communication has many forms based on types of modes which are
a. Simplex mode
It is a one-way communication technique. Only one client either receiver
or sender is active at a time. Ex-radio, TV.
b. Half Duplex mode
In this mode, both the clients receiver and the sender are active but not
at a time. Ex- Internet.
C. Full Duplex mode
Here, both the clients, sender and the receiver can transmit and receive
At the same time. Ex-smartphone.
SerialCommunication classification on the basis of Clock Synchronization
a. synchronous serial communication
In this type of communication both transmitter and receiver share a
common clock to remain in sync with each other.
b. Asynchronous serial communication
This type of serial communication does not require any common clock
source between the transmitter and receiver. Both sides work according
to their independent clock.
- How does serial Data Transfer work?
It requires mainly four rules.
a. Baud rate control
c. synchronization and asynchronization
d. Error control
e. full or half –duplex operation
In this article we saw serial communication protocols in embedded c so about this secion you have any query then free to ask me