p89cv51rb2 NXP Semiconductors, p89cv51rb2 Datasheet - Page 35

no-image

p89cv51rb2

Manufacturer Part Number
p89cv51rb2
Description
P89cv51rb2/rc2/rd2 8-bit 80c51 5 V Low Power 64 Kb Flash Microcontroller With 1 Kb Ram, Spi, 6-clock Cpu With 6/12-clock Peripherals
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
p89cv51rb2FA
Manufacturer:
KEC
Quantity:
10 000
Part Number:
p89cv51rb2FA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
p89cv51rb2FA,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
p89cv51rb2FBC,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
p89cv51rb2FBC557
Manufacturer:
NXP Semiconductors
Quantity:
135
NXP Semiconductors
P89CV51RB2_RC2_RD2_1
Product data sheet
6.6.5 Framing error
Table 24.
Bit addressable; reset value: 00H.
Table 25.
Table 26.
Framing Error (FE) is reported in the SCON.7 bit if SMOD0 (PCON.6) = 1. If SMOD0 = 0,
SCON.7 is the SM0 bit for the UART, it is recommended that SM0 is set up before SMOD0
is set to 1.
Bit
7
6
5
4
3
2
1
0
SM0, SM1
0 0
0 1
1 0
1 1
Bit
Symbol
SCON - Serial port control register (address 98H) bit allocation
SCON - Serial port control register (address 98H) bit description
SCON - Serial port control register (address 98H) SM0/SM1 mode definition
SM0/FE
Symbol
SM0/FE
SM1
SM2
REN
TB8
RB8
TI
RI
7
UART mode
0: shift register
1: 8-bit UART
2: 9-bit UART
3: 9-bit UART
Rev. 01 — 5 October 2007
SM1
6
Description
The usage of this bit is determined by SMOD0 in the PCON register. If
SMOD0 = 0, this bit is SM0, which with SM1, defines the serial port
mode. If SMOD0 = 1, this bit is FE (Framing Error). FE is set by the
receiver when an invalid stop bit is detected. Once set, this bit cannot
be cleared by valid frames but can only be cleared by software. (Note:
It is recommended to set up UART mode bits SM0 and SM1 before
setting SMOD0 to 1.)
With SM0, defines the serial port mode; see
Enables the multiprocessor communication feature in modes 2 and 3.
In Mode 2 or 3, if SM2 is set to 1, then RI will not be activated if the
received 9th data bit (RB8) is 0. In Mode 1, if SM2 = 1 then RI will not
be activated if a valid stop bit was not received. In Mode 0, SM2
should be 0.
Enables serial Reception. Set by software to enable reception. Clear
by software to disable reception.
The 9th data bit that will be transmitted in modes 2 and 3. Set or clear
by software as desired.
In modes 2 and 3, is the 9th data bit that was received. In mode 1, if
SM2 = 0, RB8 is the stop bit that was received. In Mode 0, RB8 is
undefined.
Transmit Interrupt flag. Set by hardware at the end of the 8th bit time in
Mode 0, or at the stop bit in the other modes, in any serial
transmission. Must be cleared by software.
Receive Interrupt flag. Set by hardware at the end of the 8th bit time in
Mode 0, or approximately halfway through the stop bit time in all other
modes. (See SM2 for exceptions). Must be cleared by software.
SM2
5
P89CV51RB2/RC2/RD2
REN
4
Baud rate
CPU clock / 6
variable
CPU clock / 32 or CPU clock / 16
variable
TB8
3
80C51 with 1 kB RAM, SPI
RB8
2
Table
© NXP B.V. 2007. All rights reserved.
26.
TI
1
35 of 73
RI
0

Related parts for p89cv51rb2