P89LPC932A1FHN-S NXP Semiconductors, P89LPC932A1FHN-S Datasheet - Page 63

no-image

P89LPC932A1FHN-S

Manufacturer Part Number
P89LPC932A1FHN-S
Description
MCU 8-Bit 89LP 80C51 CISC 8KB Flash 2.5V/3.3V 28-Pin HVQFN EP Tray
Manufacturer
NXP Semiconductors
Datasheet

Specifications of P89LPC932A1FHN-S

Package
28HVQFN EP
Device Core
80C51
Family Name
89LP
Maximum Speed
18 MHz
Ram Size
768 Byte
Program Memory Size
8 KB
Operating Supply Voltage
2.5|3.3 V
Data Bus Width
8 Bit
Program Memory Type
Flash
Number Of Programmable I/os
26
Interface Type
I2C/SPI/UART
Operating Temperature
-40 to 85 °C
Number Of Timers
2
NXP Semiconductors
17. Contents
1
2
2.1
2.2
2.3
3
4
5
6
6.1
6.2
7
7.1
7.2
7.3
7.3.1
7.3.2
7.3.3
7.3.4
7.3.5
7.3.6
7.4
7.5
7.6
7.7
7.8
7.9
7.10
7.11
7.12
7.12.1
7.13
7.13.1
7.13.1.1
7.13.1.2
7.13.1.3
7.13.1.4
7.13.2
7.13.3
7.14
7.14.1
7.14.2
7.15
7.15.1
7.15.2
7.15.3
7.16
P89LPC932A1_3
Product data sheet
General description . . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Ordering information . . . . . . . . . . . . . . . . . . . . . 3
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Functional diagram . . . . . . . . . . . . . . . . . . . . . . 5
Pinning information . . . . . . . . . . . . . . . . . . . . . . 5
Functional description . . . . . . . . . . . . . . . . . . 11
Principal features . . . . . . . . . . . . . . . . . . . . . . . 1
Additional features . . . . . . . . . . . . . . . . . . . . . . 1
Comparison to the P89LPC932 . . . . . . . . . . . . 2
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 7
Special function registers . . . . . . . . . . . . . . . . 11
Enhanced CPU . . . . . . . . . . . . . . . . . . . . . . . . 17
Clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Clock definitions . . . . . . . . . . . . . . . . . . . . . . . 17
CPU clock (OSCCLK). . . . . . . . . . . . . . . . . . . 17
Low speed oscillator option . . . . . . . . . . . . . . 17
Medium speed oscillator option . . . . . . . . . . . 17
High speed oscillator option . . . . . . . . . . . . . . 17
Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 17
On-chip RC oscillator option . . . . . . . . . . . . . . 18
Watchdog oscillator option . . . . . . . . . . . . . . . 18
External clock input option . . . . . . . . . . . . . . . 18
CCLK wake-up delay . . . . . . . . . . . . . . . . . . . 19
CCLK modification: DIVM register . . . . . . . . . 19
Low power select . . . . . . . . . . . . . . . . . . . . . . 19
Memory organization . . . . . . . . . . . . . . . . . . . 19
Data RAM arrangement . . . . . . . . . . . . . . . . . 20
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 . . . . . . . . . . . . 23
Port 0 analog functions . . . . . . . . . . . . . . . . . . 23
Additional port features. . . . . . . . . . . . . . . . . . 23
Power monitoring functions. . . . . . . . . . . . . . . 23
Brownout detection . . . . . . . . . . . . . . . . . . . . . 23
Power-on detection . . . . . . . . . . . . . . . . . . . . . 24
Power reduction modes . . . . . . . . . . . . . . . . . 24
Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Power-down mode . . . . . . . . . . . . . . . . . . . . . 24
Total Power-down mode . . . . . . . . . . . . . . . . . 24
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Rev. 03 — 12 March 2007
8-bit microcontroller with accelerated two-clock 80C51 core
7.16.1
7.17
7.17.1
7.17.2
7.17.3
7.17.4
7.17.5
7.17.6
7.18
7.19
7.19.1
7.19.2
7.19.3
7.19.4
7.19.5
7.19.6
7.19.7
7.19.8
7.19.9
7.20
7.20.1
7.20.2
7.20.3
7.20.4
7.20.5
7.20.6
7.20.7
7.20.8
7.20.9
7.20.10
7.21
7.22
7.22.1
7.23
7.23.1
7.23.2
7.23.3
7.24
7.25
7.26
7.26.1
7.26.2
7.27
7.28
7.28.1
7.28.2
Reset vector . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Timers/counters 0 and 1 . . . . . . . . . . . . . . . . 25
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Mode 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Timer overflow toggle output . . . . . . . . . . . . . 26
RTC/system timer. . . . . . . . . . . . . . . . . . . . . . 26
CCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
CCU clock . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
CCUCLK prescaling . . . . . . . . . . . . . . . . . . . . 27
Basic timer operation . . . . . . . . . . . . . . . . . . . 27
Output compare . . . . . . . . . . . . . . . . . . . . . . . 27
Input capture . . . . . . . . . . . . . . . . . . . . . . . . . 27
PWM operation . . . . . . . . . . . . . . . . . . . . . . . 28
Alternating output mode . . . . . . . . . . . . . . . . . 29
PLL operation. . . . . . . . . . . . . . . . . . . . . . . . . 29
CCU interrupts . . . . . . . . . . . . . . . . . . . . . . . . 30
UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Baud rate generator and selection . . . . . . . . . 31
Framing error . . . . . . . . . . . . . . . . . . . . . . . . . 31
Break detect . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Double buffering . . . . . . . . . . . . . . . . . . . . . . . 32
Transmit interrupts with double buffering
enabled (modes 1, 2 and 3) . . . . . . . . . . . . . . 32
The 9
(modes 1, 2 and 3) . . . . . . . . . . . . . . . . . . . . . 32
I
Serial Peripheral Interface (SPI). . . . . . . . . . . 35
Typical SPI configurations . . . . . . . . . . . . . . . 36
Analog comparators . . . . . . . . . . . . . . . . . . . . 38
Internal reference voltage. . . . . . . . . . . . . . . . 38
Comparator interrupt . . . . . . . . . . . . . . . . . . . 38
Comparators and power reduction modes . . . 39
Keypad interrupt . . . . . . . . . . . . . . . . . . . . . . . 39
Watchdog timer . . . . . . . . . . . . . . . . . . . . . . . 40
Additional features . . . . . . . . . . . . . . . . . . . . . 40
Software reset . . . . . . . . . . . . . . . . . . . . . . . . 40
Dual data pointers . . . . . . . . . . . . . . . . . . . . . 40
Data EEPROM . . . . . . . . . . . . . . . . . . . . . . . . 41
Flash program memory . . . . . . . . . . . . . . . . . 41
General description . . . . . . . . . . . . . . . . . . . . 41
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
2
C-bus serial interface. . . . . . . . . . . . . . . . . . 33
th
bit (bit 8) in double buffering
P89LPC932A1
© NXP B.V. 2007. All rights reserved.
continued >>
63 of 64

Related parts for P89LPC932A1FHN-S