P89LPC931FDH,112 NXP Semiconductors, P89LPC931FDH,112 Datasheet - Page 55

IC 80C51 MCU FLASH 8K 28-TSSOP

P89LPC931FDH,112

Manufacturer Part Number
P89LPC931FDH,112
Description
IC 80C51 MCU FLASH 8K 28-TSSOP
Manufacturer
NXP Semiconductors
Series
LPC900r
Datasheet

Specifications of P89LPC931FDH,112

Core Processor
8051
Core Size
8-Bit
Speed
12MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LED, POR, PWM, WDT
Number Of I /o
26
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.4 V ~ 3.6 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-TSSOP
Processor Series
P89LPC9x
Core
80C51
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
I2C, SPI, UART
Maximum Clock Frequency
18 MHz
Number Of Programmable I/os
26
Number Of Timers
2
Operating Supply Voltage
2.4 V to 3.6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
PK51, CA51, A51, ULINK2
Minimum Operating Temperature
- 45 C
For Use With
622-1014 - BOARD FOR LPC9XX TSSOP622-1008 - BOARD FOR LPC9103 10-HVSON622-1006 - SOCKET ADAPTER BOARDMCB900K - BOARD PROTOTYPE NXP 89LPC9EPM900K - EMULATOR/PROGRAMMER NXP P89LPC9568-4000 - DEMO BOARD SPI/I2C TO DUAL UART568-3510 - DEMO BOARD SPI/I2C TO UART622-1002 - USB IN-CIRCUIT PROG LPC9XX568-1759 - EMULATOR DEBUGGER/PROGRMMR LPC9X568-1758 - BOARD EVAL FOR LPC93X MCU FAMILY
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
 Details
Other names
568-1284-5
935273877112
P89LPC931FDH
P89LPC931FDH,129
P89LPC931FDH-S
Philips Semiconductors
Contents
1
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.10
8.10.1
8.11
8.11.1
8.11.2
8.11.3
8.11.4
8.11.5
8.11.6
8.11.7
8.12
8.12.1
8.12.2
8.13
8.13.1
8.13.2
8.13.3
8.14
8.14.1
8.15
8.15.1
8.15.2
8.15.3
8.15.4
8.15.5
8.15.6
8.16
8.17
© 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Special function registers. . . . . . . . . . . . . . . . . . . . . 11
Functional description . . . . . . . . . . . . . . . . . . . . . . . 16
Ordering options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Enhanced CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Clock definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
CPU clock (OSCCLK) . . . . . . . . . . . . . . . . . . . . . . . 16
Low speed oscillator option . . . . . . . . . . . . . . . . . . . 16
Medium speed oscillator option . . . . . . . . . . . . . . . . 16
High speed oscillator option . . . . . . . . . . . . . . . . . . . 16
Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
On-chip RC oscillator option . . . . . . . . . . . . . . . . . . 17
Watchdog oscillator option . . . . . . . . . . . . . . . . . . . . 17
External clock input option . . . . . . . . . . . . . . . . . . . . 17
CPU CLock (CCLK) wake-up delay . . . . . . . . . . . . . 19
CPU CLOCK (CCLK) modification: DIVM register . . 19
Low power select . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Memory organization . . . . . . . . . . . . . . . . . . . . . . . . 19
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
External interrupt inputs . . . . . . . . . . . . . . . . . . . . . . 20
I/O ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Port configurations . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Quasi-bidirectional output configuration. . . . . . . . . . 22
Open-drain output configuration. . . . . . . . . . . . . . . . 22
Input-only configuration . . . . . . . . . . . . . . . . . . . . . . 22
Push-pull output configuration . . . . . . . . . . . . . . . . . 22
Port 0 analog functions . . . . . . . . . . . . . . . . . . . . . . 22
Additional port features . . . . . . . . . . . . . . . . . . . . . . 24
Power monitoring functions . . . . . . . . . . . . . . . . . . . 24
Brownout detection . . . . . . . . . . . . . . . . . . . . . . . . . 24
Power-on detection . . . . . . . . . . . . . . . . . . . . . . . . . 24
Power reduction modes . . . . . . . . . . . . . . . . . . . . . . 24
Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Power-down mode . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Total Power-down mode . . . . . . . . . . . . . . . . . . . . . . 25
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Reset vector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Timers/counters 0 and 1 . . . . . . . . . . . . . . . . . . . . . 26
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Mode 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Timer overflow toggle output . . . . . . . . . . . . . . . . . . 27
Real-Time clock/system timer . . . . . . . . . . . . . . . . . 27
UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Document order number: 9397 750 14472
8.17.1
8.17.2
8.17.3
8.17.4
8.17.5
8.17.6
8.17.7
8.17.8
8.17.9
8.17.10
8.18
8.19
8.19.1
8.20
8.20.1
8.20.2
8.20.3
8.21
8.22
8.23
8.23.1
8.23.2
8.24
8.24.1
8.24.2
8.24.3
8.24.4
8.25
8.26
9
10
11
12
13
14
15
16
17
18
8-bit microcontrollers with two-clock 80C51 core
Limiting values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 42
Dynamic characteristics . . . . . . . . . . . . . . . . . . . . . . 44
Comparator electrical characteristics . . . . . . . . . . . 51
Package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Data sheet status . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Baud rate generator and selection . . . . . . . . . . . . . . 28
Framing error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Break detect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Double buffering . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Transmit interrupts with double buffering
The 9
I
Serial Peripheral Interface (SPI) . . . . . . . . . . . . . . . . 31
Typical SPI configurations. . . . . . . . . . . . . . . . . . . . . 33
Analog comparators . . . . . . . . . . . . . . . . . . . . . . . . . 35
Internal reference voltage . . . . . . . . . . . . . . . . . . . . . 35
Comparator interrupt. . . . . . . . . . . . . . . . . . . . . . . . . 36
Comparators and power reduction modes . . . . . . . . 36
Keypad interrupt (KBI) . . . . . . . . . . . . . . . . . . . . . . . 36
Watchdog timer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Additional features . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Software reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Dual data pointers. . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Flash program memory. . . . . . . . . . . . . . . . . . . . . . . 38
General description. . . . . . . . . . . . . . . . . . . . . . . . . . 38
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Using Flash as data storage . . . . . . . . . . . . . . . . . . . 38
ISP and IAP capabilities of the P89LPC930/931 . . . 38
User configuration bytes . . . . . . . . . . . . . . . . . . . . . . 40
User sector security bytes . . . . . . . . . . . . . . . . . . . . 40
enabled (Modes 1, 2 and 3) . . . . . . . . . . . . . . . . . . . 29
3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2
C-bus serial interface . . . . . . . . . . . . . . . . . . . . . . . 30
th
bit (bit 8) in double buffering (Modes 1, 2 and
P89LPC930/931

Related parts for P89LPC931FDH,112