P89LPC912/913/914
8-bit microcontrollers with two-clock 80C51 core
1 kB 3 V Flash with 128-byte RAM
Rev. 03 — 17 December 2004
Product data
1. General description
The P89LPC912/913/914 are single-chip microcontrollers in low-cost 14-pin
packages, based on a high performance processor architecture that executes
instructions in two to four clocks, six times the rate of standard 80C51 devices. Many
system level functions have been incorporated into the P89LPC912/913/914 in order
to reduce component count, board space, and system cost.
2. Features
s
1 kB byte-erasable Flash code memory organized into 256-byte sectors and
16-byte pages. Single-byte erasing allows any byte(s) to be used as non-volatile
data storage.
s
128-byte RAM data memory.
s
Two 16-bit counter/timers. Each timer may be configured to toggle a port output
upon timer overflow or to become a PWM output.
s
23-bit system timer that can also be used as a Real-Time clock.
s
Two analog comparators with selectable inputs and reference source.
s
Enhanced UART with fractional baudrate generator, break detect, framing error
detection, automatic address detection and versatile interrupt capabilities
(P89LPC913, P89LPC914).
s
SPI communication port.
s
Internal RC oscillator (factory calibrated to
±1
%) option allows operation without
external oscillator components. The RC oscillator option is selectable and fine
tunable.
s
2.4 V to 3.6 V V
DD
operating range. I/O pins are 5 V tolerant (may be pulled up or
driven to 5.5 V).
s
Up to 12 I/O pins when using internal oscillator and reset options.
3. Additional features
•
14-pin TSSOP packages.
•
A high performance 80C51 CPU provides instruction cycle times of 111 ns to
222 ns for all instructions except multiply and divide when executing at 18 MHz
(167 ns to 333 ns at 12 MHz). This is six times the performance of the standard
80C51 running at the same clock frequency. A lower clock frequency for the same
performance results in power savings and reduced EMI.
•
In-Application Programming (IAP-Lite) and byte erase allows code memory to be
used for non-volatile data storage.
Philips Semiconductors
P89LPC912/913/914
8-bit microcontrollers with two-clock 80C51 core
•
Serial Flash In-Circuit Programming (ICP) allows simple production coding with
commercial EPROM programmers. Flash security bits prevent reading of sensitive
application programs.
•
Watchdog timer with separate on-chip oscillator, requiring no external
components. The watchdog prescaler is selectable from 8 values.
•
Low voltage reset (Brownout detect) allows a graceful system shutdown when
power fails. May optionally be configured as an interrupt.
•
Idle and two different Power-down reduced power modes. Improved wake-up from
Power-down mode (a low interrupt input starts execution). Typical Power-down
current is 1
µA
(total Power-down with voltage comparators disabled).
•
Active-LOW reset. On-chip power-on reset allows operation without external reset
components. A reset counter and reset glitch suppression circuitry prevent
spurious and incomplete resets. A software reset function is also available.
•
Configurable on-chip oscillator with frequency range options selected by user
programmed Flash configuration bits. Oscillator options support frequencies from
20 kHz to the maximum operating frequency of 18 MHz (P89LPC912,
P89LPC913).
•
Oscillator Fail Detect. The watchdog timer has a separate fully on-chip oscillator
allowing it to perform an oscillator fail detect function.
•
Programmable port output configuration options: quasi-bidirectional, open drain,
push-pull, input-only.
•
Port ‘input pattern match’ detect. Port 0 may generate an interrupt when the value
of the pins match or do not match a programmable pattern.
•
LED drive capability (20 mA) on all port pins. A maximum limit is specified for the
entire chip.
•
Controlled slew rate port outputs to reduce EMI. Outputs have approximately 10 ns
minimum ramp times.
•
Only power and ground connections are required to operate the
P89LPC912/913/914 when internal reset option is selected.
•
Four interrupt priority levels.
•
Four keypad interrupt inputs.
•
Second data pointer.
•
Schmitt trigger port inputs.
•
Emulation support.
9397 750 14468
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Product data
Rev. 03 — 17 December 2004
2 of 63
Philips Semiconductors
P89LPC912/913/914
8-bit microcontrollers with two-clock 80C51 core
4. Ordering information
Table 1:
Ordering information
Package
Name
P89LPC912FDH
P89LPC913FDH
P89LPC914FDH
TSSOP14
Description
plastic thin shrink small outline package;
14 leads; body width 4.4 mm
Version
SOT402-1
Type number
4.1 Ordering options
Table 2:
Type number
P89LPC912FDH
P89LPC913FDH
P89LPC914FDH
0 MHz to 12 MHz
Temperature range
−40 °C
to +85
°C
Frequency
0 MHz to 18 MHz
9397 750 14468
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Product data
Rev. 03 — 17 December 2004
3 of 63
Philips Semiconductors
P89LPC912/913/914
8-bit microcontrollers with two-clock 80C51 core
5. Block diagram
P89LPC912
HIGH PERFORMANCE
ACCELERATED 2-CLOCK 80C51 CPU
1 kB
CODE FLASH
INTERNAL BUS
128-BYTE
DATA RAM
PORT 3
CONFIGURABLE I/Os
PORT 2
CONFIGURABLE I/Os
PORT 1
CONFIGURABLE I/Os
PORT 0
CONFIGURABLE I/Os
SPI
REAL-TIME CLOCK/
SYSTEM TIMER
TIMER 0
TIMER 1
WATCHDOG TIMER
AND OSCILLATOR
ANALOG
COMPARATORS
KEYPAD
INTERRUPT
PROGRAMMABLE
OSCILLATOR DIVIDER
CPU
CLOCK
POWER MONITOR
(POWER-ON RESET,
BROWNOUT RESET)
CRYSTAL
OR
RESONATOR
CONFIGURABLE
OSCILLATOR
ON-CHIP
RC
OSCILLATOR
002aaa472
Fig 1. P89LPC912 block diagram.
9397 750 14468
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Product data
Rev. 03 — 17 December 2004
4 of 63
Philips Semiconductors
P89LPC912/913/914
8-bit microcontrollers with two-clock 80C51 core
P89LPC913
HIGH PERFORMANCE
ACCELERATED 2-CLOCK 80C51 CPU
1 kB
CODE FLASH
INTERNAL BUS
128-BYTE
DATA RAM
PORT 3
CONFIGURABLE I/Os
PORT 2
CONFIGURABLE I/Os
PORT 1
CONFIGURABLE I/Os
PORT 0
CONFIGURABLE I/Os
UART
SPI
REAL-TIME CLOCK/
SYSTEM TIMER
TIMER 0
TIMER 1
WATCHDOG TIMER
AND OSCILLATOR
ANALOG
COMPARATORS
KEYPAD
INTERRUPT
PROGRAMMABLE
OSCILLATOR DIVIDER
CPU
CLOCK
POWER MONITOR
(POWER-ON RESET,
BROWNOUT RESET)
CRYSTAL
OR
RESONATOR
CONFIGURABLE
OSCILLATOR
ON-CHIP
RC
OSCILLATOR
002aaa473
Fig 2. P89LPC913 block diagram.
9397 750 14468
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Product data
Rev. 03 — 17 December 2004
5 of 63