P89LPC932
8-bit microcontroller with accelerated two-clock 80C51 core
8 kB Flash with 512-byte data EEPROM and 768-byte RAM
Rev. 04 — 06 January 2004
Product data
1. General description
The P89LPC932 is a single-chip microcontroller, available in low cost 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 P89LPC932 in order to reduce component
count, board space, and system cost.
2. Features
s
A high performance 80C51 CPU provides instruction cycle times of 167-333 ns for
all instructions except multiply and divide when executing at 12 MHz. This is
6 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.
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
8 kB Flash code memory with 1 kB erasable sectors, 64-byte erasable page size.
s
256-byte RAM data memory. 512-byte auxiliary on-chip RAM.
s
512-byte customer Data EEPROM on chip allows serialization of devices, storage
of set-up parameters, etc.
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
Real-Time clock that can also be used as a system timer.
s
Capture/Compare Unit (CCU) provides PWM, input capture, and output compare
functions.
s
Two analog comparators with selectable inputs and reference source.
s
Enhanced UART with fractional baud rate generator, break detect, framing error
detection, automatic address detection and versatile interrupt capabilities.
s
400 kHz byte-wide I
2
C-bus communication port.
s
SPI communication port.
s
Eight keypad interrupt inputs, plus two additional external interrupt inputs.
s
Four interrupt priority levels.
s
Watchdog timer with separate on-chip oscillator, requiring no external
components. The watchdog prescaler is selectable from 8 values.
s
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.
s
Low voltage reset (Brownout detect) allows a graceful system shutdown when
power fails. May optionally be configured as an interrupt.
Philips Semiconductors
P89LPC932
8-bit microcontroller with accelerated two-clock 80C51 core
s
Oscillator Fail Detect. The Watchdog timer has a separate fully on-chip oscillator
allowing it to perform an oscillator fail detect function.
s
Configurable on-chip oscillator with frequency range and RC oscillator options
(selected by user programmed Flash configuration bits). The RC oscillator option
allows operation without external oscillator components. Oscillator options
support frequencies from 20 kHz to the maximum operating frequency of 12 MHz.
The RC oscillator option is selectable and fine tunable.
s
Programmable port output configuration options:
x
quasi-bidirectional,
x
open drain,
x
push-pull,
x
input-only.
s
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.
s
Second data pointer.
s
Schmitt trigger port inputs.
s
LED drive capability (20 mA) on all port pins. A maximum limit is specified for the
entire chip.
s
Controlled slew rate port outputs to reduce EMI. Outputs have approximately
10 ns minimum ramp times.
s
23 I/O pins minimum (28-pin package). Up to 26 I/O pins while using on-chip
oscillator and reset options.
s
Only power and ground connections are required to operate the P89LPC932
when on-chip oscillator and reset options are selected.
s
Serial Flash programming allows simple in-circuit production coding. Flash
security bits prevent reading of sensitive application programs.
s
In-Application Programming of the Flash code memory. This allows changing the
code in a running application.
s
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).
s
28-pin PLCC, TSSOP, and HVQFN packages.
s
Emulation support.
9397 750 12379
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Product data
Rev. 04 — 06 January 2004
2 of 60
Philips Semiconductors
P89LPC932
8-bit microcontroller with accelerated two-clock 80C51 core
3. Ordering information
Table 1:
Ordering information
Package
Name
P89LPC932BA
P89LPC932BDH
P89LPC932FDH
P89LPC932FHN
PLCC28
TSSOP28
TSSOP28
HVQFN28
Description
plastic leaded chip carrier; 28 leads
plastic thin shrink small outline package;
28 leads; body width 4.4 mm
plastic thin shrink small outline package;
28 leads; body width 4.4 mm
plastic thermal enhanced very thin quad flat
package; no leads; 28 terminals;
body 6
×
6
×
0.85 mm
Version
SOT261-2
SOT361-1
SOT361-1
SOT788-1
Type number
3.1 Ordering options
Table 2:
Part options
Flash memory
8 kB
8 kB
8 kB
8 kB
Temperature range
0
°C
to +70
°C
0
°C
to +70
°C
−40 °C
to +85
°C
−40 °C
to +85
°C
Frequency
0 to 12 MHz
0 to 12 MHz
0 to 12 MHz
0 to 12 MHz
Type number
P89LPC932BA
P89LPC932BDH
P89LPC932FDH
P89LPC932FHN
9397 750 12379
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Product data
Rev. 04 — 06 January 2004
3 of 60
Philips Semiconductors
P89LPC932
8-bit microcontroller with accelerated two-clock 80C51 core
4. Block diagram
P89LPC932
HIGH PERFORMANCE
ACCELERATED 2-CLOCK 80C51 CPU
8 kB
CODE FLASH
INTERNAL
BUS
256-BYTE
DATA RAM
512-BYTE
AUXILIARY RAM
512-BYTE
DATA EEPROM
PORT 3
CONFIGURABLE I/Os
UART
I
2
C
SPI
REAL-TIME CLOCK/
SYSTEM TIMER
TIMER 0
TIMER 1
WATCHDOG TIMER
AND OSCILLATOR
PORT 2
CONFIGURABLE I/Os
PORT 1
CONFIGURABLE I/Os
PORT 0
CONFIGURABLE I/Os
CCU (CAPTURE/
COMPARE UNIT)
KEYPAD
INTERRUPT
PROGRAMMABLE
OSCILLATOR DIVIDER
ANALOG
COMPARATORS
CPU
CLOCK
ON-CHIP
RC
OSCILLATOR
POWER MONITOR
(POWER-ON RESET,
BROWNOUT RESET)
CRYSTAL
OR
RESONATOR
CONFIGURABLE
OSCILLATOR
002aaa510
Fig 1. Block diagram.
9397 750 12379
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Product data
Rev. 04 — 06 January 2004
4 of 60
Philips Semiconductors
P89LPC932
8-bit microcontroller with accelerated two-clock 80C51 core
5. Pinning information
5.1 Pinning
handbook, halfpage
ICB/P2.0
OCD/P2.1
KBI0/CMP2/P0.0
OCC/P1.7
OCB/P1.6
RST/P1.5
VSS
XTAL1/P3.1
CLKOUT/XTAL2/P3.0
1
2
3
4
5
28 P2.7/ICA
27 P2.6/OCA
26 P0.1/CIN2B/KBI1
25 P0.2/CIN2A/KBI2
24 P0.3/CIN1B/KBI3
P89LPC932BDH
P89LPC932FDH
002aaa512
6
7
8
9
23 P0.4/CIN1A/KBI4
22 P0.5/CMPREF/KBI5
21 VDD
20 P0.6/CMP1/KBI6
19 P0.7/T1/KBI7
18 P1.0/TXD
17 P1.1/RXD
16 P2.5/SPICLK
15 P2.4/SS
INT1/P1.4 10
SDA/INT0/P1.3 11
SCL/T0/P1.2 12
MOSI/P2.2 13
MISO/P2.3 14
Fig 2. TSSOP28 pin configuration.
9397 750 12379
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Product data
Rev. 04 — 06 January 2004
5 of 60