P89LPC912FDH NXP Semiconductors, P89LPC912FDH Datasheet - Page 40

no-image

P89LPC912FDH

Manufacturer Part Number
P89LPC912FDH
Description
MCU 8BIT 80C51 1K FLASH, TSSOP14
Manufacturer
NXP Semiconductors
Datasheet

Specifications of P89LPC912FDH

Controller Family/series
(8051) 8052
Core Size
8bit
No. Of I/o's
12
Program Memory Size
1KB
Ram Memory Size
128Byte
Cpu Speed
18MHz
Oscillator Type
External, Internal
No. Of Timers
4
No. Of
RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC912FDH
Manufacturer:
ON
Quantity:
500
Part Number:
P89LPC912FDH
Manufacturer:
NXP/恩智浦
Quantity:
20 000
NXP Semiconductors
P89LPC912_913_914_5
Product data sheet
8.18.2 Mode 1
8.18.3 Mode 2
8.18.4 Mode 3
8.18.5 Baud rate generator and selection
8.18.6 Framing error
10 bits are transmitted (through TXD) or received (through RXD): a start bit (logic 0),
8 data bits (LSB first), and a stop bit (logic 1). When data is received, the stop bit is stored
in RB8 in Special Function Register SCON. The baud rate is variable and is determined
by the Timer 1 overflow rate or the Baud Rate Generator (described in
“Baud rate generator and
11 bits are transmitted (through TXD) or received (through RXD): start bit (logic 0), 8 data
bits (LSB first), a programmable 9
transmitted, the 9
Or, for example, the parity bit (P, in the PSW) could be moved into TB8. When data is
received, the 9
bit is not saved. The baud rate is programmable to either
frequency, as determined by the SMOD1 bit in PCON.
11 bits are transmitted (through TXD) or received (through RXD): a start bit (logic 0), 8
data bits (LSB first), a programmable 9
the same as Mode 2 in all respects except baud rate. The baud rate in Mode 3 is variable
and is determined by the Timer 1 overflow rate or the Baud Rate Generator (described in
section
The P89LPC913 and P89LPC914 devices have an independent Baud Rate Generator.
The baud rate is determined by a baud-rate preprogrammed into the BRGR1 and BRGR0
SFRs which together form a 16-bit baud rate divisor value that works in a similar manner
as Timer 1. If the baud rate generator is used, Timer 1 can be used for other timing
functions.
The UART can use either Timer 1 or the baud rate generator output (see
that Timer T1 is further divided by 2 if the SMOD1 bit (PCON.7) is cleared. The
independent Baud Rate Generator uses CCLK.
Framing error is reported in the status register (SSTAT). In addition, if SMOD0 (PCON.6)
is logic 1, framing errors can be made available in SCON.7, respectively. If SMOD0 is
logic 0, SCON.7 is SM0. It is recommended that SM0 and SM1 (SCON[7:6]) are set up
when SMOD0 is logic 0.
Fig 15. Baud rate sources for UART (Modes 1, 3)
Section 8.18.5 “Baud rate generator and
baud rate generator
timer 1 overflow
(PCLK-based)
(CCLK-based)
th
data bit goes into RB8 in Special Function Register SCON, while the stop
th
data bit (TB8 in SCON) can be assigned the value of logic 0 or logic 1.
Rev. 05 — 28 September 2007
selection”).
2
th
data bit, and a stop bit (logic 1). When data is
SMOD1 = 1
SMOD1 = 0
8-bit microcontrollers with two-clock 80C51 core
th
data bit, and a stop bit (logic 1). In fact, Mode 3 is
P89LPC912/913/914
selection”).
SBRGS = 0
SBRGS = 1
1
16
or
baud rate modes 1 and 3
1
32
of the CCLK
Section 8.18.5
© NXP B.V. 2007. All rights reserved.
Figure
002aaa419
15). Note
40 of 66

Related parts for P89LPC912FDH