P89LPC925 PHILIPS [NXP Semiconductors], P89LPC925 Datasheet - Page 49

no-image

P89LPC925

Manufacturer Part Number
P89LPC925
Description
8-bit microcontrollers with accelerated two-clock 80C51 core 4 kB/8 kB 3 V low-power Flash with 8-bit A/D converter
Manufacturer
PHILIPS [NXP Semiconductors]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC925FDH
Manufacturer:
FAIRCHILD
Quantity:
700
Part Number:
P89LPC925FDHЈ¬529
Manufacturer:
NXP
Quantity:
25
Philips Semiconductors
Contents
1
2
2.1
2.2
3
3.1
4
5
5.1
5.2
6
7
8
8.1
8.2
8.2.1
8.2.2
8.2.3
8.2.4
8.2.5
8.2.6
8.3
8.4
8.5
8.6
8.7
8.8
8.9
8.9.1
8.9.2
8.9.3
8.9.4
8.9.5
8.9.6
8.9.7
8.9.8
8.10
8.11
8.12
8.12.1
8.13
8.13.1
8.13.2
8.13.3
8.13.4
8.13.5
8.13.6
8.13.7
8.14
8.14.1
8.14.2
8.15
8.15.1
© Koninklijke Philips Electronics N.V. 2004.
Printed in the U.S.A.
All rights are reserved. Reproduction in whole or in part is prohibited without the prior
written consent of the copyright owner.
The information presented in this document does not form part of any quotation or
contract, is believed to be accurate and reliable and may be changed without notice. No
liability will be accepted by the publisher for any consequence of its use. Publication
thereof does not convey nor imply any license under patent- or other industrial or
intellectual property rights.
Date of release: 15 December 2004
General description . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Pinning information. . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Logic symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Special function registers. . . . . . . . . . . . . . . . . . . . . . 9
Functional description . . . . . . . . . . . . . . . . . . . . . . . 14
Principal features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Additional features . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Ordering options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Enhanced CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Clock definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
CPU clock (OSCCLK) . . . . . . . . . . . . . . . . . . . . . . . 14
Low speed oscillator option . . . . . . . . . . . . . . . . . . . 14
Medium speed oscillator option . . . . . . . . . . . . . . . . 14
High speed oscillator option . . . . . . . . . . . . . . . . . . . 14
Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
On-chip RC oscillator option . . . . . . . . . . . . . . . . . . 15
Watchdog oscillator option . . . . . . . . . . . . . . . . . . . . 15
External clock input option . . . . . . . . . . . . . . . . . . . . 15
CPU Clock (CCLK) wake-up delay. . . . . . . . . . . . . . 17
CPU Clock (CCLK) modification: DIVM register . . . 17
Low power select . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
A/D converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
General description . . . . . . . . . . . . . . . . . . . . . . . . . 18
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
A/D operating modes . . . . . . . . . . . . . . . . . . . . . . . . 19
Conversion start modes . . . . . . . . . . . . . . . . . . . . . . 20
Boundary limits interrupt . . . . . . . . . . . . . . . . . . . . . 21
DAC output to a port pin with high output impedance 21
Clock divider. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Power-down and idle mode . . . . . . . . . . . . . . . . . . . 21
Memory organization . . . . . . . . . . . . . . . . . . . . . . . . 21
Data RAM arrangement . . . . . . . . . . . . . . . . . . . . . . 22
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
External interrupt inputs . . . . . . . . . . . . . . . . . . . . . . 22
I/O ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Port configurations . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Quasi-bidirectional output configuration. . . . . . . . . . 24
Open-drain output configuration. . . . . . . . . . . . . . . . 24
Input-only configuration . . . . . . . . . . . . . . . . . . . . . . 24
Push-pull output configuration . . . . . . . . . . . . . . . . . 24
Port 0 analog functions . . . . . . . . . . . . . . . . . . . . . . 24
Additional port features . . . . . . . . . . . . . . . . . . . . . . 25
Power monitoring functions . . . . . . . . . . . . . . . . . . . 25
Brownout detection . . . . . . . . . . . . . . . . . . . . . . . . . 25
Power-on detection . . . . . . . . . . . . . . . . . . . . . . . . . 25
Power reduction modes . . . . . . . . . . . . . . . . . . . . . . 26
Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Document order number: 9397 750 14471
8-bit microcontrollers with accelerated two-clock 80C51 core
8.15.2
8.15.3
8.16
8.16.1
8.17
8.17.1
8.17.2
8.17.3
8.17.4
8.17.5
8.17.6
8.18
8.19
8.19.1
8.19.2
8.19.3
8.19.4
8.19.5
8.19.6
8.19.7
8.19.8
8.19.9
8.19.10
8.20
8.21
8.21.1
8.21.2
8.21.3
8.22
8.23
8.24
8.24.1
8.24.2
8.25
8.25.1
8.25.2
8.25.3
8.26
8.27
9
10
11
12
13
14
15
16
17
18
19
Limiting values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 40
Dynamic characteristics . . . . . . . . . . . . . . . . . . . . . . 42
Comparator electrical characteristics . . . . . . . . . . . 45
A/D converter electrical characteristics . . . . . . . . . . 45
Package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Data sheet status . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Power-down mode . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Total Power-down mode . . . . . . . . . . . . . . . . . . . . . . 26
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Reset vector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Timers/counters 0 and 1 . . . . . . . . . . . . . . . . . . . . . . 27
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Mode 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Timer overflow toggle output. . . . . . . . . . . . . . . . . . . 28
Real-Time clock/system timer. . . . . . . . . . . . . . . . . . 28
UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Baud rate generator and selection . . . . . . . . . . . . . . 29
Framing error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Break detect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Double buffering . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Transmit interrupts with double buffering
The 9
I
Analog comparators . . . . . . . . . . . . . . . . . . . . . . . . . 33
Internal reference voltage . . . . . . . . . . . . . . . . . . . . . 33
Comparator interrupt. . . . . . . . . . . . . . . . . . . . . . . . . 34
Comparators and power reduction modes . . . . . . . . 34
Keypad interrupt (KBI) . . . . . . . . . . . . . . . . . . . . . . . 34
Watchdog timer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Additional features . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Software reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Dual data pointers. . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Flash program memory. . . . . . . . . . . . . . . . . . . . . . . 36
General description. . . . . . . . . . . . . . . . . . . . . . . . . . 36
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
ISP and IAP capabilities of the P89LPC924/925 . . . 36
User configuration bytes . . . . . . . . . . . . . . . . . . . . . . 38
User sector security bytes . . . . . . . . . . . . . . . . . . . . 38
enabled (Modes 1, 2 and 3) . . . . . . . . . . . . . . . . . . . 30
3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2
C-bus serial interface . . . . . . . . . . . . . . . . . . . . . . . 31
th
bit (bit 8) in double buffering (Modes 1, 2 and
P89LPC924/925

Related parts for P89LPC925