10/19/13
10/19/13
Microcomputers and Microprocessors
Microcomputers and Microprocessors
NATIONAL TAIWAN
NATIONAL TAIWAN
OCEAN UNIVERSITY
OCEAN UNIVERSITY
國立台灣海洋大學
國立台灣海洋大學
2002 MuDer Jeng
2002 MuDer Jeng
Chapter 10
Chapter 10
8051 SERIAL
8051 SERIAL
COMMUNICATION
COMMUNICATION
2002 MuDer Jeng
2002 MuDer Jeng
Outlines
Outlines
♦
Contrast and compare serial versus parallel
Contrast and compare serial versus parallel
communication
communication
♦
List the advantages of serial communication
List the advantages of serial communication
over parallel
over parallel
♦
Explain serial communication protocol
Explain serial communication protocol
♦
Contrast synchronous versus asynchronous
Contrast synchronous versus asynchronous
communication
communication
♦
Contrast half-versus full-duplex transmission
Contrast half-versus full-duplex transmission
2002 MuDer Jeng
2002 MuDer Jeng
♦
Explain the process of data framing
Explain the process of data framing
♦
Describe data transfer rate and bps rate
Describe data transfer rate and bps rate
♦
Define the RS232 standard
Define the RS232 standard
♦
Explain the use of the MAX232 and MAX233 chips
Explain the use of the MAX232 and MAX233 chips
♦
Interface the 8051 with an RS232 connector
Interface the 8051 with an RS232 connector
♦
Discuss the baud rate of the 8051
Discuss the baud rate of the 8051
♦
Describe serial communication features of the 8051
Describe serial communication features of the 8051
♦
Program the 8051 for serial data communication
Program the 8051 for serial data communication
2002 MuDer Jeng
2002 MuDer Jeng
Basics of serial communication
Basics of serial communication
2002 MuDer Jeng
2002 MuDer Jeng
2002 MuDer Jeng
2002 MuDer Jeng
Start and stop bits
Start and stop bits
2002 MuDer Jeng
2002 MuDer Jeng
RS232 pins
RS232 pins
2002 MuDer Jeng
2002 MuDer Jeng
Data communication classification
Data communication classification
2002 MuDer Jeng
2002 MuDer Jeng
RxD and TxD pins in the 8051
RxD and TxD pins in the 8051
♦
TxD pin 11 of the 8051 (P3.1)
TxD pin 11 of the 8051 (P3.1)
♦
RxD pin 10 of the 8051 (P3.0)
RxD pin 10 of the 8051 (P3.0)
2002 MuDer Jeng
2002 MuDer Jeng
MAX232
MAX232
2002 MuDer Jeng
2002 MuDer Jeng
MAX233
MAX233