参数资料
型号: AT83C5112
厂商: Atmel Corp.
英文描述: 8-bit Microcontroller with A/D Converter
中文描述: 8位微控制器与A / D转换器
文件页数: 27/97页
文件大小: 1229K
代理商: AT83C5112
27
AT8xC5112
4191B
8051
04/03
Serial I/O Ports
Enhancements
The serial I/O ports in the AT8xC5112
are compatible with the serial I/O port in the
80C52.
They provide both synchronous and asynchronous communication modes. They oper-
ate as Universal Asynchronous Receiver and Transmitter (UART) in three full-duplex
modes (Modes 1, 2 and 3). Asynchronous transmission and reception can occur simul-
taneously and at different baud rates
Serial I/O ports include 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 7).
Figure 7.
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 27) 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 8. and Figure 9.).
Figure 8.
UART Timings in Mode 1
SM0 to UART mode control (SMOD0 = 0 for UART)
RI
TI
RB8
TB8
REN
SM2
SM1
IDL
PD
GF0
GF1
POF
-
SMOD0
SMOD1
To UART framing error control
Set FE bit if stop bit is 0 (framing error) (SMOD0 = 1 for UART)
SCON for UART (98h) (SCON_1 for UART_1 (C0h))
PCON for UART (87h) (SMOD bits for UART_1
are located in BDRCON_1)
SM0/FE
Data byte
RI
SMOD0=X
FE
SMOD0=1
Stop
bit
Start
bit
RXD
D7
D6
D5
D4
D3
D2
D1
D0
相关PDF资料
PDF描述
AT87C5112 8-bit Microcontroller with A/D Converter
AT80C51RB2-3CSCM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-3CSIM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-3CSUM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-RLTIL 80C51 High Performance ROM 8-bit Microcontroller
相关代理商/技术参数
参数描述
AT83C5121 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface
AT83C5121XXX-ICRUL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface
AT83C5121XXX-ICSUL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface
AT83C5121XXX-PURUL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface
AT83C5121XXX-PUTUL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface