P89LPC9341FDH,512 NXP Semiconductors, P89LPC9341FDH,512 Datasheet - Page 93

IC 80C51 MCU FLASH 8K 28-TSSOP

P89LPC9341FDH,512

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

Specifications of P89LPC9341FDH,512

Program Memory Type
FLASH
Program Memory Size
8KB (8K x 8)
Package / Case
28-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
26
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.4 V ~ 3.6 V
Data Converters
A/D 8x8b; D/A 2x8b
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
23
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
- 40 C
On-chip Adc
2 (8 bit, 4 Channel)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
568-1758 - BOARD EVAL FOR LPC93X MCU FAMILY
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
935288632512
NXP Semiconductors
18. 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.17
7.17.1
7.17.2
7.18
7.18.1
7.18.2
P89LPC9331_9341_9351_9361
Product data sheet
General description . . . . . . . . . . . . . . . . . . . . . . 1
Features and benefits . . . . . . . . . . . . . . . . . . . . 1
Ordering information . . . . . . . . . . . . . . . . . . . . . 3
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Functional diagram . . . . . . . . . . . . . . . . . . . . . . 5
Pinning information . . . . . . . . . . . . . . . . . . . . . . 6
Functional description . . . . . . . . . . . . . . . . . . 12
High speed oscillator option . . . . . . . . . . . . . . 30
Power monitoring functions . . . . . . . . . . . . . . 37
Principal features . . . . . . . . . . . . . . . . . . . . . . . 1
Additional features . . . . . . . . . . . . . . . . . . . . . . 2
Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 3
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 8
Special function registers . . . . . . . . . . . . . . . . 12
Enhanced CPU . . . . . . . . . . . . . . . . . . . . . . . . 30
Clocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Clock definitions . . . . . . . . . . . . . . . . . . . . . . . 30
CPU clock (OSCCLK). . . . . . . . . . . . . . . . . . . 30
Crystal oscillator option. . . . . . . . . . . . . . . . . . 30
Low speed oscillator option . . . . . . . . . . . . . . 30
Medium speed oscillator option . . . . . . . . . . . 30
Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 31
On-chip RC oscillator option . . . . . . . . . . . . . . 31
Watchdog oscillator option . . . . . . . . . . . . . . . 31
External clock input option . . . . . . . . . . . . . . . 31
Clock source switching on the fly . . . . . . . . . . 31
CCLK wake-up delay . . . . . . . . . . . . . . . . . . . 32
CCLK modification: DIVM register . . . . . . . . . 32
Low power select . . . . . . . . . . . . . . . . . . . . . . 32
Memory organization . . . . . . . . . . . . . . . . . . . 33
Data RAM arrangement . . . . . . . . . . . . . . . . . 33
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
External interrupt inputs . . . . . . . . . . . . . . . . . 34
I/O ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Port configurations . . . . . . . . . . . . . . . . . . . . . 36
Quasi-bidirectional output configuration . . . . . 36
Open-drain output configuration . . . . . . . . . . . 36
Input-only configuration . . . . . . . . . . . . . . . . . 37
Push-pull output configuration . . . . . . . . . . . . 37
Port 0 analog functions . . . . . . . . . . . . . . . . . . 37
Additional port features. . . . . . . . . . . . . . . . . . 37
Brownout detection . . . . . . . . . . . . . . . . . . . . . 38
Power-on detection. . . . . . . . . . . . . . . . . . . . . 38
Power reduction modes . . . . . . . . . . . . . . . . . 38
Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Power-down mode . . . . . . . . . . . . . . . . . . . . . 38
All information provided in this document is subject to legal disclaimers.
Rev. 5 — 10 January 2011
8-bit microcontroller with accelerated two-clock 80C51 core
P89LPC9331/9341/9351/9361
7.18.3
7.19
7.19.1
7.20
7.20.1
7.20.2
7.20.3
7.20.4
7.20.5
7.20.6
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.23
7.23.1
7.23.2
7.23.3
7.23.4
7.23.5
7.23.6
7.23.7
7.23.8
7.23.9
7.23.10
7.24
7.25
7.25.1
7.26
7.26.1
7.26.2
7.26.3
7.27
7.28
7.29
7.29.1
7.29.2
7.29.3
7.30
Total Power-down mode . . . . . . . . . . . . . . . . 39
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Reset vector. . . . . . . . . . . . . . . . . . . . . . . . . . 40
Timers/counters 0 and 1 . . . . . . . . . . . . . . . . 40
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Mode 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Timer overflow toggle output . . . . . . . . . . . . . 41
RTC/system timer . . . . . . . . . . . . . . . . . . . . . 41
CCU (P89LPC9351/9361) . . . . . . . . . . . . . . . 41
CCU clock . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
CCUCLK prescaling. . . . . . . . . . . . . . . . . . . . 41
Basic timer operation . . . . . . . . . . . . . . . . . . . 41
Output compare . . . . . . . . . . . . . . . . . . . . . . . 42
Input capture . . . . . . . . . . . . . . . . . . . . . . . . . 42
PWM operation . . . . . . . . . . . . . . . . . . . . . . . 42
Alternating output mode. . . . . . . . . . . . . . . . . 43
PLL operation. . . . . . . . . . . . . . . . . . . . . . . . . 43
CCU interrupts . . . . . . . . . . . . . . . . . . . . . . . . 44
UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Baud rate generator and selection. . . . . . . . . 45
Framing error . . . . . . . . . . . . . . . . . . . . . . . . . 45
Break detect. . . . . . . . . . . . . . . . . . . . . . . . . . 46
Double buffering. . . . . . . . . . . . . . . . . . . . . . . 46
Transmit interrupts with double buffering
enabled (modes 1, 2 and 3) . . . . . . . . . . . . . . 46
The 9
(modes 1, 2 and 3). . . . . . . . . . . . . . . . . . . . . 46
I
SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Typical SPI configurations . . . . . . . . . . . . . . . 50
Analog comparators . . . . . . . . . . . . . . . . . . . . 51
Internal reference voltage . . . . . . . . . . . . . . . 52
Comparator interrupt . . . . . . . . . . . . . . . . . . . 53
Comparators and power reduction modes . . . 53
KBI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Watchdog timer . . . . . . . . . . . . . . . . . . . . . . . 54
Additional features . . . . . . . . . . . . . . . . . . . . . 54
Software reset . . . . . . . . . . . . . . . . . . . . . . . . 54
Dual data pointers . . . . . . . . . . . . . . . . . . . . . 54
Data EEPROM (P89LPC9351/9361) . . . . . . . 55
Flash program memory . . . . . . . . . . . . . . . . . 55
2
C-bus serial interface. . . . . . . . . . . . . . . . . . 46
th
bit (bit 8) in double buffering
© NXP B.V. 2011. All rights reserved.
continued >>
93 of 94

Related parts for P89LPC9341FDH,512