The 8051 Microcontroller and Embedded

(lily) #1
Department of Computer Scien

ce and Information Engineering

National Cheng Kung University
HANEL

BASICS OF SERIAL COMMUNICA-TION(cont’)


‰Serial data communication uses two methods


¾Synchronous


method transfers a block of


data at a time¾Asynchronous


method transfers a single


byte at a time


‰It is possible to write software to use either of these methods, but the programs can be tedious and long


¾There are special IC chips made by many manufacturers for serial communications


ƒUART (universal asynchronous Receiver-transmitter)ƒUSART (universal synchronous-asynchronous Receiver-transmitter)

Free download pdf