6
TAE 1 : Chapter Review . Subject : Embedded system . Topic : SERIAL COMMUNICATION BASED ON EMBEDDED SYSTEM Subject Teacher : Prof. K. K. Jajulwar. Date Of Submission : 15/07/2014 G. H. RAISONI COLLEGE OF ENGINEERING An Autonomous Institution under UGC Act 1956 & Affiliated to RTM Nagpur University Hingna Road, Digdoh, Nagpur 07104- 236383 ; 235220; Fax : 07104- 232560. Department of Electronics & Telecommunication

Serial Communication Based on Embedded System

Embed Size (px)

DESCRIPTION

serial communication

Citation preview

Page 1: Serial Communication Based on Embedded System

TAE 1 : Chapter Review .

Subject : Embedded system .

Topic : SERIAL COMMUNICATION

BASED ON EMBEDDED

SYSTEM

Subject Teacher : Prof. K. K. Jajulwar.

Date Of Submission : 15/07/2014

Submitted By : Piyush Dhakate (C-29)

Seventh Semester B.E. ETC-C

G. H. RAISONI COLLEGE OF ENGINEERINGAn Autonomous Institution under UGC Act 1956 &

Affiliated to RTM Nagpur UniversityHingna Road, Digdoh, Nagpur

07104- 236383 ; 235220; Fax : 07104- 232560.

Department of Electronics & Telecommunication Engineering

Page 2: Serial Communication Based on Embedded System

SERIAL COMMUNICATION BASED ON EMBEDDED SYSTEM

ABSTRACT

An embedded system is hidden electronic circuitry present in electronic product. Embedded system is also called as dedicated controllers. Most of the consumer electronics products are consists of embedded controller, memorymodule and other useful peripherals depending on its application . The firmware which is running on embedded platform has special architecture.

The software architecture is selected on the basis of nature of application and system complexity. To establish a serial communication link between the PC and the 8051. Serial communication is often used either to control or to receive data from an embedded microprocessor. Serial communication is a form of I/O in which the bits of a byte begin transferred appear one after the other in a timed sequence on a single wire. Serial communication has become the standard forintercomputer communication.

INTRODUCTION

Serial communication is a way enables different equipments to communicate with their outside world. It is called serial because the data bits will be sent in a serial way over a single line.

A personal computer has a serial port known as communication port or COM Port used to connect a modem for example or any other device, there could be more then one COM Port in a PC.

Serial ports are controlled by a special chip called UART (Universal Asynchronous Receiver Transmitter). Different applications use different pins on the serial port and this basically depend of the functions required. If you need to connect your PC for example to some other device by serial port, then you have to read instruction manual for that device to know how the pins on both sides must be connected and the setting required.

.

Page 3: Serial Communication Based on Embedded System

Advantages of serial communication

1. Transmission distance, serial link can send data to a remote device more far then parallel link.

2. The cable connection of serial link is simpler then parallel link and uses less number of wires.

3. Serial link is used also for Infrared communication, now many devices such as laptops & printers can communicate via inferred link.

Types of connectors

serial data transmission

BASICS OF SERIAL COMMUNICATION

Page 4: Serial Communication Based on Embedded System

Communication methods

There are two methods for serial communication 1. Synchronous 2. Asynchronous.

Synchronous serial communication

In Synchronous serial communication the receiver must know when to “read” the next bit coming from the sender, this can be achieved by sharing a clock between sender and receiver.

Asynchronous serial communication

Asynchronous transmission allows data to be transmitted without the sender having to send a clock signal to the receiver. Instead, special bits will be added to each word in order to synchronize the sending and receiving of the data.

CONCLUSION

The serial communication is very simple to implement. It is collision free, no data loss occurred and hence easy to use in slow speed microcontroller. The routine developed for firmware to handle serial communication has optimum code length which saves code memory. This has different rule for receiving and transmission and hence in full duplex mode it has better speed. This serial communication is suitable for small embedded applications.