P89LPC9351_1 © NXP B.V. 2008. All rights reserved.
Preliminary data sheet Rev. 01 — 19 November 2008 73 of 74
continued >>
NXP Semiconductors
P89LPC9351
8-bit microcontroller with 8-bit ADC
18. Contents
1 General description. . . . . . . . . . . . . . . . . . . . . . 1
2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2.1 Principal features . . . . . . . . . . . . . . . . . . . . . . . 1
2.2 Additional features . . . . . . . . . . . . . . . . . . . . . . 2
3 Ordering information . . . . . . . . . . . . . . . . . . . . . 3
3.1 Ordering options. . . . . . . . . . . . . . . . . . . . . . . . 3
4 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 4
5 Functional diagram . . . . . . . . . . . . . . . . . . . . . . 5
6 Pinning information. . . . . . . . . . . . . . . . . . . . . . 6
6.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 7
7 Functional description . . . . . . . . . . . . . . . . . . 11
7.1 Special function registers . . . . . . . . . . . . . . . . 11
7.2 Enhanced CPU. . . . . . . . . . . . . . . . . . . . . . . . 22
7.3 Clocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
7.3.1 Clock definitions . . . . . . . . . . . . . . . . . . . . . . . 22
7.3.2 CPU clock (OSCCLK). . . . . . . . . . . . . . . . . . . 22
7.4 External crystal oscillator option. . . . . . . . . . . 22
7.4.1 Low speed oscillator option . . . . . . . . . . . . . . 22
7.4.2 Medium speed oscillator option . . . . . . . . . . . 22
7.4.3 High speed oscillator option . . . . . . . . . . . . . . 22
7.5 Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 23
7.6 On-chip RC oscillator option. . . . . . . . . . . . . . 23
7.7 Watchdog oscillator option . . . . . . . . . . . . . . . 23
7.8 External clock input option . . . . . . . . . . . . . . . 23
7.9 Clock sources switch on the fly. . . . . . . . . . . . 23
7.10 CCLK wake-up delay . . . . . . . . . . . . . . . . . . . 24
7.11 CCLK modification: DIVM register . . . . . . . . . 24
7.12 Low power select . . . . . . . . . . . . . . . . . . . . . . 24
7.13 Memory organization . . . . . . . . . . . . . . . . . . . 25
7.14 Data RAM arrangement . . . . . . . . . . . . . . . . . 25
7.15 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.15.1 External interrupt inputs . . . . . . . . . . . . . . . . . 26
7.16 I/O ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
7.16.1 Port configurations . . . . . . . . . . . . . . . . . . . . . 28
7.16.1.1 Quasi-bidirectional output configuration . . . . . 28
7.16.1.2 Open-drain output configuration . . . . . . . . . . . 28
7.16.1.3 Input-only configuration . . . . . . . . . . . . . . . . . 29
7.16.1.4 Push-pull output configuration . . . . . . . . . . . . 29
7.16.2 Port 0 analog functions. . . . . . . . . . . . . . . . . . 29
7.16.3 Additional port features. . . . . . . . . . . . . . . . . . 29
7.17 Power monitoring functions. . . . . . . . . . . . . . . 29
7.17.1 Brownout detection. . . . . . . . . . . . . . . . . . . . . 30
7.17.2 Power-on detection. . . . . . . . . . . . . . . . . . . . . 30
7.18 Power reduction modes . . . . . . . . . . . . . . . . . 30
7.18.1 Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.18.2 Power-down mode . . . . . . . . . . . . . . . . . . . . . 30
7.18.3 Total Power-down mode. . . . . . . . . . . . . . . . . 31
7.19 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.19.1 Reset vector. . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.20 Timers/counters 0 and 1 . . . . . . . . . . . . . . . . 32
7.20.1 Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.20.2 Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.20.3 Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.20.4 Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.20.5 Mode 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.20.6 Timer overflow toggle output . . . . . . . . . . . . . 33
7.21 RTC/system timer. . . . . . . . . . . . . . . . . . . . . . 33
7.22 CCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.22.1 CCU clock . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.22.2 CCUCLK prescaling. . . . . . . . . . . . . . . . . . . . 33
7.22.3 Basic timer operation . . . . . . . . . . . . . . . . . . . 33
7.22.4 Output compare . . . . . . . . . . . . . . . . . . . . . . . 34
7.22.5 Input capture . . . . . . . . . . . . . . . . . . . . . . . . . 34
7.22.6 PWM operation . . . . . . . . . . . . . . . . . . . . . . . 34
7.22.7 Alternating output mode. . . . . . . . . . . . . . . . . 35
7.22.8 PLL operation. . . . . . . . . . . . . . . . . . . . . . . . . 35
7.22.9 CCU interrupts . . . . . . . . . . . . . . . . . . . . . . . . 36
7.23 UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
7.23.1 Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
7.23.2 Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.23.3 Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.23.4 Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.23.5 Baud rate generator and selection. . . . . . . . . 37
7.23.6 Framing error . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.23.7 Break detect. . . . . . . . . . . . . . . . . . . . . . . . . . 38
7.23.8 Double buffering. . . . . . . . . . . . . . . . . . . . . . . 38
7.23.9 Transmit interrupts with double buffering
enabled (modes 1, 2 and 3) . . . . . . . . . . . . . . 38
7.23.10 The 9
th
bit (bit 8) in double buffering
(modes 1, 2 and 3). . . . . . . . . . . . . . . . . . . . . 38
7.24 I
2
C-bus serial interface. . . . . . . . . . . . . . . . . . 38
7.25 SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
7.25.1 Typical SPI configurations . . . . . . . . . . . . . . . 42
7.26 Analog comparators. . . . . . . . . . . . . . . . . . . . 43
7.26.1 Internal reference voltage. . . . . . . . . . . . . . . . 44
7.26.2 Comparator interrupt . . . . . . . . . . . . . . . . . . . 44
7.26.3 Comparators and power reduction modes . . . 44
7.27 KBI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
7.28 Watchdog timer . . . . . . . . . . . . . . . . . . . . . . . 45
7.29 Additional features . . . . . . . . . . . . . . . . . . . . . 46
7.29.1 Software reset . . . . . . . . . . . . . . . . . . . . . . . . 46
7.29.2 Dual data pointers . . . . . . . . . . . . . . . . . . . . . 46
7.29.3 Data EEPROM. . . . . . . . . . . . . . . . . . . . . . . . 46
7.30 Flash program memory . . . . . . . . . . . . . . . . . 47
NXP Semiconductors
P89LPC9351
8-bit microcontroller with 8-bit ADC
© NXP B.V. 2008. All rights reserved.
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: salesaddresses@nxp.com
Date of release: 19 November 2008
Document identifier: P89LPC9351_1
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
7.30.1 General description. . . . . . . . . . . . . . . . . . . . . 47
7.30.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
7.30.3 Flash organization . . . . . . . . . . . . . . . . . . . . . 47
7.30.4 Using flash as data storage . . . . . . . . . . . . . . 48
7.30.5 Flash programming and erasing . . . . . . . . . . . 48
7.30.6 ICP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.30.7 IAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.30.8 ISP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7.30.9 Power-on reset code execution. . . . . . . . . . . . 49
7.30.10 Hardware activation of the bootloader . . . . . . 49
7.31 User configuration bytes. . . . . . . . . . . . . . . . . 49
7.32 User sector security bytes . . . . . . . . . . . . . . . 50
8 ADC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
8.1 General description. . . . . . . . . . . . . . . . . . . . . 50
8.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
8.3 Block diagram. . . . . . . . . . . . . . . . . . . . . . . . . 51
8.4 PGA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
8.5 Temperature sensor . . . . . . . . . . . . . . . . . . . . 51
8.6 ADC operating modes . . . . . . . . . . . . . . . . . . 52
8.6.1 Fixed channel, single conversion mode . . . . . 52
8.6.2 Fixed channel, continuous conversion mode . 52
8.6.3 Auto scan, single conversion mode . . . . . . . . 52
8.6.4 Auto scan, continuous conversion mode . . . . 52
8.6.5 Dual channel, continuous conversion mode . . 52
8.6.6 Single step mode . . . . . . . . . . . . . . . . . . . . . . 53
8.7 Conversion start modes . . . . . . . . . . . . . . . . . 53
8.7.1 Timer triggered start. . . . . . . . . . . . . . . . . . . . 53
8.7.2 Start immediately . . . . . . . . . . . . . . . . . . . . . . 53
8.7.3 Edge triggered . . . . . . . . . . . . . . . . . . . . . . . . 53
8.7.4 Dual start immediately . . . . . . . . . . . . . . . . . . 53
8.8 Boundary limits interrupt. . . . . . . . . . . . . . . . . 53
8.9 DAC output to a port pin with high output
impedance . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.10 Clock divider . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.11 Power-down and Idle mode . . . . . . . . . . . . . . 54
9 Limiting values. . . . . . . . . . . . . . . . . . . . . . . . . 55
10 Static characteristics. . . . . . . . . . . . . . . . . . . . 56
11 Dynamic characteristics . . . . . . . . . . . . . . . . . 59
11.1 Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
11.2 ISP entry mode. . . . . . . . . . . . . . . . . . . . . . . . 65
12 Other characteristics. . . . . . . . . . . . . . . . . . . . 66
12.1 Comparator electrical characteristics . . . . . . . 66
12.2 ADC/PGA/temp sensor electrical
characteristics. . . . . . . . . . . . . . . . . . . . . . . . . 67
13 Package outline . . . . . . . . . . . . . . . . . . . . . . . . 68
14 Abbreviations. . . . . . . . . . . . . . . . . . . . . . . . . . 70
15 Revision history. . . . . . . . . . . . . . . . . . . . . . . . 71
16 Legal information. . . . . . . . . . . . . . . . . . . . . . . 72
16.1 Data sheet status . . . . . . . . . . . . . . . . . . . . . . 72
16.2 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
16.3 Disclaimers. . . . . . . . . . . . . . . . . . . . . . . . . . . 72
16.4 Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 72
17 Contact information . . . . . . . . . . . . . . . . . . . . 72
18 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73

P89LPC9351FDH,518

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
Microcontrollers - MCU 8-bit Microcontrollers - MCU Enhanced LPC935
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet