TS80C51RA2 Atmel Corporation, TS80C51RA2 Datasheet - Page 33

no-image

TS80C51RA2

Manufacturer Part Number
TS80C51RA2
Description
High Performance 8-bit Microcontroller
Manufacturer
Atmel Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TS80C51RA2-LCB
Manufacturer:
TEMIC
Quantity:
114
Part Number:
TS80C51RA2-LCB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS80C51RA2-LCE
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS80C51RA2-LIB
Manufacturer:
TEMIC
Quantity:
5
Part Number:
TS80C51RA2-LIB
Quantity:
18
Part Number:
TS80C51RA2-LIB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS80C51RA2-MCB
Manufacturer:
CY
Quantity:
1 590
Part Number:
TS80C51RA2-MCB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS80C51RA2-MCE
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS80C51RA2-VCB
Manufacturer:
TEMIC
Quantity:
19
TS80C51Rx2 Serial I/O
Port
Framing Error Detection
Figure 13. Framing Error Block Diagram
Figure 14. UART Timings in Mode 1
4188A–8051–10/02
SMOD0=X
SMOD0=1
SM0/FE
SMOD1
RXD
FE
RI
The serial I/O port in the TS80C51Rx2 is compatible with the serial I/O port in the
80C52.
It provides both synchronous and asynchronous communication modes. It operates as
an 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 port includes the following enhancements:
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 13).
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 18.) 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 14 and Figure 15).
SMOD0
SM1
Framing error detection
Automatic address recognition
Start
bit
SM2
-
D0
REN
Set FE bit if stop bit is 0 (framing error) (SMOD0 = 1)
SM0 to UART mode control (SMOD = 0)
POF
To UART framing error control
D1
TB8
GF1
D2
RB8
GF0
D3
Data byte
D4
PD
TI
D5
IDL
RI
D6
SCON (98h)
PCON (87h)
D7
Stop
bit
TS8xC51Rx2
33

Related parts for TS80C51RA2