参数资料
型号: AT80C51RB2-RLTUM
厂商: Atmel Corp.
英文描述: 80C51 High Performance ROM 8-bit Microcontroller
中文描述: 80C51的高性能ROM的8位微控制器
文件页数: 34/83页
文件大小: 672K
代理商: AT80C51RB2-RLTUM
35
AT80C51RD2/AT83C51Rx2
4113B–8051–03/05
Serial I/O Port
The serial I/O port in the T8xc51Rx2 is compatible with the serial I/O port in the 80C52.
It provides both synchronous and asynchronous communication modes. It operates as a
Universal Asynchronous Receiver and Transmitter (UART) in three full-duplex modes
(Modes 1, 2 and 3). Asynchronous transmission and reception can occur simultaneously
and at different baud rates
Serial I/O port includes the following enhancements:
Framing error detection
Automatic address recognition
Framing Error Detection
Framing bit error detection is provided for the three asynchronous modes (modes 1, 2
and 3). To enable the framing bit error detection feature, set SMOD0 bit in PCON regis-
ter (see Figure 14).
Figure 14.
Framing Error Block diagram
When this feature is enabled, the receiver checks each incoming data frame for a valid
stop bit. An invalid stop bit may result from noise on the serial lines or from simultaneous
transmission by two CPUs. If a valid stop bit is not found, the Framing Error bit (FE) in
SCON register (see Table 22) bit is set.
Software may examine FE bit after each reception to check for data errors. Once set,
only software or a reset can clear FE bit. Subsequently, received frames with valid stop
bits cannot clear FE bit. When FE feature is enabled, RI rises on stop bit instead of the
last data bit (see Figure 15 and Figure 16).
Figure 15.
UART Timings in Mode 1
RI
TI
RB8
TB8
REN
SM2
SM1
SM0/FE
IDL
PD
GF0
GF1
POF
-
SMOD0
SMOD1
To UART framing error control
SM0 to UART mode control (SMOD0 = 0)
Set FE bit if stop bit is 0 (framing error) (SMOD0 = 1)
SCON (98h)
PCON (87h)
1
Data byte
RI
SMOD0=X
Stop
bit
Start
bit
RXD
D7
D6
D5
D4
D3
D2
D1
D0
FE
SMOD0=1
相关PDF资料
PDF描述
AT80C51RB2-SLSCM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-SLSIL 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-SLSIM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-SLSUL 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-SLSUM 80C51 High Performance ROM 8-bit Microcontroller
相关代理商/技术参数
参数描述
AT80C51RB2-SLSCM 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-SLSIL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-SLSIM 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-SLSUL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-SLSUM 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:80C51 High Performance ROM 8-bit Microcontroller