P89LPC901 PHILIPS [NXP Semiconductors], P89LPC901 Datasheet - Page 35

no-image

P89LPC901

Manufacturer Part Number
P89LPC901
Description
8-bit microcontrollers with two-clock 80C51 core 1 kB 3 V Flash with 128-byte RAM
Manufacturer
PHILIPS [NXP Semiconductors]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC901FD
Manufacturer:
OMRON
Quantity:
3 000
Part Number:
P89LPC901FD
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Company:
Part Number:
P89LPC901FD
Quantity:
11 459
Company:
Part Number:
P89LPC901FD
Quantity:
11 000
Part Number:
P89LPC901FN
Manufacturer:
NS
Quantity:
1 000
Part Number:
P89LPC901FN
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Philips Semiconductors
9397 750 12293
Product data
8.16.6 Timer overflow toggle output (P89LPC901)
8.18.1 Mode 0
8.18.2 Mode 1
8.18.3 Mode 2
8.17 Real-Time clock/system timer
8.18 UART (P89LPC903)
Timers 0 and 1 can be configured to automatically toggle a port output whenever a
timer overflow occurs. The same device pins that are used for the T0 and T1 count
inputs are also used for the timer toggle outputs. The port outputs will be a logic 1
prior to the first timer overflow when this mode is turned on.
The P89LPC901/902/903 has a simple Real-Time clock that allows a user to continue
running an accurate timer while the rest of the device is powered-down. The
Real-Time clock can be a wake-up or an interrupt source. The Real-Time clock is a
23-bit down counter comprised of a 7-bit prescaler and a 16-bit loadable down
counter. When it reaches all ‘0’s, the counter will be reloaded again and the RTCF
flag will be set. The clock source for this counter can be either the CPU clock (CCLK)
or the XTAL oscillator, provided that the XTAL oscillator is not being used as the CPU
clock. If the XTAL oscillator is used as the CPU clock, then the RTC will use CCLK as
its clock source. Only power-on reset will reset the Real-Time clock and its
associated SFRs to the default state.
The P89LPC903 has an enhanced UART that is compatible with the conventional
80C51 UART except that Timer 2 overflow cannot be used as a baud rate source.
The P89LPC903 does include an independent Baud Rate Generator. The baud rate
can be selected from the oscillator (divided by a constant), Timer 1 overflow, or the
independent Baud Rate Generator. In addition to the baud rate generation,
enhancements over the standard 80C51 UART include Framing Error detection,
automatic address recognition, selectable double buffering and several interrupt
options. The UART can be operated in 4 modes: shift register, 8-bit UART, 9-bit
UART, and CPU clock/32 or CPU clock/16.
Serial data enters and exits through RxD. TxD outputs the shift clock. 8 bits are
transmitted or received, LSB first. The baud rate is fixed at
frequency.
10 bits are transmitted (through TxD) or received (through RxD): a start bit
(logical ‘0’), 8 data bits (LSB first), and a stop bit (logical ‘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
11 bits are transmitted (through TxD) or received (through RxD): start bit (logical ‘0’),
8 data bits (LSB first), a programmable 9
data is transmitted, the 9
‘1’. Or, for example, the parity bit (P, in the PSW) could be moved into TB8. When
data is received, the 9
while the stop bit is not saved. The baud rate is programmable to either
the CPU clock frequency, as determined by the SMOD1 bit in PCON.
Section 8.18.5 “Baud rate generator and
Rev. 04 — 21 November 2003
th
data bit goes into RB8 in Special Function Register SCON,
th
data bit (TB8 in SCON) can be assigned the value of ‘0’ or
8-bit microcontrollers with two-clock 80C51 core
th
P89LPC901/902/903
data bit, and a stop bit (logical ‘1’). When
© Koninklijke Philips Electronics N.V. 2003. All rights reserved.
selection”).
1
16
of the CPU clock
1
16
or
1
35 of 55
32
of

Related parts for P89LPC901