P89LPC972FDH,129 NXP Semiconductors, P89LPC972FDH,129 Datasheet - Page 65

MCU 80C51 8KB FLASH 20TSSOP

P89LPC972FDH,129

Manufacturer Part Number
P89LPC972FDH,129
Description
MCU 80C51 8KB FLASH 20TSSOP
Manufacturer
NXP Semiconductors
Series
LPC900r
Datasheet

Specifications of P89LPC972FDH,129

Program Memory Type
FLASH
Program Memory Size
8KB (8K x 8)
Package / Case
20-TSSOP
Core Processor
8051
Core Size
8-Bit
Speed
18MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
18
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.4 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
P89LPC
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
15
Number Of Timers
5
Operating Supply Voltage
2.4 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
PK51, CA51, A51, ULINK2
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
935290299129
NXP Semiconductors
17. Contents
1
2
2.1
2.2
3
3.1
4
5
6
6.1
6.2
7
7.1
7.2
7.3
7.3.1
7.3.2
7.4
7.4.1
7.4.2
7.4.3
7.5
7.6
7.7
7.8
7.9
7.10
7.11
7.12
7.13
7.14
7.15
7.15.1
7.16
7.16.1
7.16.1.1
7.16.1.2
7.16.1.3
7.16.1.4
7.16.2
7.16.3
7.16.4
7.17
7.17.1
7.17.2
7.17.3
7.17.3.1
P89LPC97X
Product data sheet
General description . . . . . . . . . . . . . . . . . . . . . . 1
Features and benefits . . . . . . . . . . . . . . . . . . . . 1
Ordering information . . . . . . . . . . . . . . . . . . . . . 3
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Functional diagram . . . . . . . . . . . . . . . . . . . . . . 5
Pinning information . . . . . . . . . . . . . . . . . . . . . . 6
Functional description . . . . . . . . . . . . . . . . . . 10
High speed oscillator option . . . . . . . . . . . . . . 19
Principal features . . . . . . . . . . . . . . . . . . . . . . . 1
Additional features . . . . . . . . . . . . . . . . . . . . . . 2
Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 3
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 7
Special function registers . . . . . . . . . . . . . . . . 10
Enhanced CPU . . . . . . . . . . . . . . . . . . . . . . . . 19
Clocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Clock definitions . . . . . . . . . . . . . . . . . . . . . . . 19
CPU clock (OSCCLK). . . . . . . . . . . . . . . . . . . 19
Crystal oscillator option. . . . . . . . . . . . . . . . . . 19
Low speed oscillator option . . . . . . . . . . . . . . 19
Medium speed oscillator option . . . . . . . . . . . 19
Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 20
On-chip RC oscillator option . . . . . . . . . . . . . . 20
Watchdog oscillator option . . . . . . . . . . . . . . . 20
External clock input option . . . . . . . . . . . . . . . 20
Clock source switching on the fly . . . . . . . . . . 20
CCLK wake-up delay . . . . . . . . . . . . . . . . . . . 21
CCLK modification: DIVM register . . . . . . . . . 21
Low power select . . . . . . . . . . . . . . . . . . . . . . 21
Memory organization . . . . . . . . . . . . . . . . . . . 22
Data RAM arrangement . . . . . . . . . . . . . . . . . 22
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
External interrupt inputs . . . . . . . . . . . . . . . . . 23
I/O ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Port configurations . . . . . . . . . . . . . . . . . . . . . 25
Quasi-bidirectional output configuration . . . . . 25
Open-drain output configuration . . . . . . . . . . . 25
Input-only configuration . . . . . . . . . . . . . . . . . 26
Push-pull output configuration . . . . . . . . . . . . 26
Port 0 analog functions . . . . . . . . . . . . . . . . . . 26
Additional port features. . . . . . . . . . . . . . . . . . 26
Pin remap . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Power management . . . . . . . . . . . . . . . . . . . . 27
Brownout detection . . . . . . . . . . . . . . . . . . . . . 27
Power-on detection. . . . . . . . . . . . . . . . . . . . . 28
Power reduction modes . . . . . . . . . . . . . . . . . 28
Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 8 June 2010
8-bit microcontroller with accelerated two-clock 80C51 core
7.17.3.2
7.17.3.3
7.17.4
7.18
7.18.1
7.19
7.19.1
7.19.2
7.19.3
7.19.3.1
7.19.3.2
7.19.4
7.20
7.20.1
7.20.2
7.20.3
7.20.4
7.21
7.22
7.22.1
7.22.2
7.22.3
7.22.4
7.22.5
7.22.6
7.22.7
7.22.8
7.22.9
7.22.10
7.23
7.24
7.24.1
7.25
7.25.1
7.25.2
7.25.3
7.26
7.27
7.28
7.28.1
7.28.2
7.29
7.29.1
7.29.2
Power-down mode . . . . . . . . . . . . . . . . . . . . . 28
Total Power-down mode . . . . . . . . . . . . . . . . 28
Regulators . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Reset vector. . . . . . . . . . . . . . . . . . . . . . . . . . 29
Timers/counters 0 and 1 . . . . . . . . . . . . . . . . 29
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Mode 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Timer overflow toggle output . . . . . . . . . . . . . 30
Timers/counters 2, 3 and 4 . . . . . . . . . . . . . . 30
Mode 0: 16-bit timer/counter with
auto-reload. . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Mode 1: 16-bit timer/counter with input
capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Mode 2: 16-bit PWM mode . . . . . . . . . . . . . . 31
Timer overflow toggle output . . . . . . . . . . . . . 31
RTC/system timer . . . . . . . . . . . . . . . . . . . . . 31
UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Baud rate generator and selection. . . . . . . . . 32
Framing error . . . . . . . . . . . . . . . . . . . . . . . . . 32
Break detect. . . . . . . . . . . . . . . . . . . . . . . . . . 33
Double buffering. . . . . . . . . . . . . . . . . . . . . . . 33
Transmit interrupts with double buffering
enabled (modes 1, 2 and 3) . . . . . . . . . . . . . . 33
The 9
(modes 1, 2 and 3). . . . . . . . . . . . . . . . . . . . . 33
I
SPI (Pin remap) . . . . . . . . . . . . . . . . . . . . . . . 36
Typical SPI configurations . . . . . . . . . . . . . . . 37
Analog comparators . . . . . . . . . . . . . . . . . . . . 38
Selectable internal reference voltage. . . . . . . 39
Comparator interrupt . . . . . . . . . . . . . . . . . . . 39
Comparators and power reduction modes . . . 39
KBI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Watchdog timer . . . . . . . . . . . . . . . . . . . . . . . 40
Additional features . . . . . . . . . . . . . . . . . . . . . 41
Software reset . . . . . . . . . . . . . . . . . . . . . . . . 41
Dual data pointers . . . . . . . . . . . . . . . . . . . . . 41
Flash program memory . . . . . . . . . . . . . . . . . 41
General description . . . . . . . . . . . . . . . . . . . . 41
Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
2
C-bus serial interface. . . . . . . . . . . . . . . . . . 33
P89LPC970/971/972
th
bit (bit 8) in double buffering
© NXP B.V. 2010. All rights reserved.
continued >>
65 of 66

Related parts for P89LPC972FDH,129