P89LPC92X1 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Product data sheet Rev. 2.1 — 27 August 2012 73 of 75
NXP Semiconductors
P89LPC9201/9211/922A1/9241/9251
8-bit microcontroller with 8-bit ADC
Export control — This document as well as the item(s) described herein
may be subject to export control regulations. Export might require a prior
authorization from competent authorities.
Non-automotive qualified products — Unless this data sheet expressly
states that this specific NXP Semiconductors product is automotive qualified,
the product is not suitable for automotive use. It is neither qualified nor tested
in accordance with automotive testing or application requirements. NXP
Semiconductors accepts no liability for inclusion and/or use of
non-automotive qualified products in automotive equipment or applications.
In the event that customer uses the product for design-in and use in
automotive applications to automotive specifications and standards, customer
(a) shall use the product without NXP Semiconductors’ warranty of the
product for such automotive applications, use and specifications, and (b)
whenever customer uses the product for automotive applications beyond
NXP Semiconductors’ specifications such use shall be solely at customer’s
own risk, and (c) customer fully indemnifies NXP Semiconductors for any
liability, damages or failed product claims resulting from customer design and
use of the product for automotive applications beyond NXP Semiconductors’
standard warranty and NXP Semiconductors’ product specifications.
16.4 Trademarks
Notice: All referenced brands, product names, service names and trademarks
are the property of their respective owners.
I
2
C-bus — logo is a trademark of NXP B.V.
17. Contact information
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: salesaddresses@nxp.com
P89LPC92X1 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Product data sheet Rev. 2.1 — 27 August 2012 74 of 75
continued >>
NXP Semiconductors
P89LPC9201/9211/922A1/9241/9251
8-bit microcontroller with 8-bit ADC
18. Contents
1 General description. . . . . . . . . . . . . . . . . . . . . . 1
2 Features and benefits . . . . . . . . . . . . . . . . . . . . 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 . . . . . . . . . . . . . . . . . . . . . . 6
6 Pinning information. . . . . . . . . . . . . . . . . . . . . . 7
6.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 9
7 Functional description . . . . . . . . . . . . . . . . . . 12
7.1 Special function registers . . . . . . . . . . . . . . . . 12
7.2 Enhanced CPU. . . . . . . . . . . . . . . . . . . . . . . . 26
7.3 Clocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7.3.1 Clock definitions . . . . . . . . . . . . . . . . . . . . . . . 26
7.3.2 CPU clock (OSCCLK). . . . . . . . . . . . . . . . . . . 26
7.4 Crystal oscillator option. . . . . . . . . . . . . . . . . . 26
7.4.1 Low speed oscillator option . . . . . . . . . . . . . . 26
7.4.2 Medium speed oscillator option . . . . . . . . . . . 26
7.4.3 High speed oscillator option . . . . . . . . . . . . . . 26
7.5 Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.6 On-chip RC oscillator option. . . . . . . . . . . . . . 27
7.7 Watchdog oscillator option . . . . . . . . . . . . . . . 27
7.8 External clock input option . . . . . . . . . . . . . . . 27
7.9 Clock sources switch on the fly. . . . . . . . . . . . 27
7.10 CCLK wake-up delay . . . . . . . . . . . . . . . . . . . 28
7.11 CCLK modification: DIVM register . . . . . . . . . 28
7.12 Low power select . . . . . . . . . . . . . . . . . . . . . . 28
7.13 Memory organization . . . . . . . . . . . . . . . . . . . 29
7.14 Data RAM arrangement . . . . . . . . . . . . . . . . . 29
7.15 Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.15.1 External interrupt inputs . . . . . . . . . . . . . . . . . 30
7.16 I/O ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.16.1 Port configurations . . . . . . . . . . . . . . . . . . . . . 32
7.16.1.1 Quasi-bidirectional output configuration . . . . . 32
7.16.1.2 Open-drain output configuration . . . . . . . . . . . 32
7.16.1.3 Input-only configuration . . . . . . . . . . . . . . . . . 33
7.16.1.4 Push-pull output configuration . . . . . . . . . . . . 33
7.16.2 Port 0 analog functions. . . . . . . . . . . . . . . . . . 33
7.16.3 Additional port features. . . . . . . . . . . . . . . . . . 33
7.17 Power monitoring functions . . . . . . . . . . . . . . 33
7.17.1 Brownout detection. . . . . . . . . . . . . . . . . . . . . 34
7.17.2 Power-on detection. . . . . . . . . . . . . . . . . . . . . 34
7.18 Power reduction modes . . . . . . . . . . . . . . . . . 34
7.18.1 Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
7.18.2 Power-down mode . . . . . . . . . . . . . . . . . . . . . 34
7.18.3 Total Power-down mode . . . . . . . . . . . . . . . . 35
7.19 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
7.19.1 Reset vector. . . . . . . . . . . . . . . . . . . . . . . . . . 36
7.20 Timers/counters 0 and 1 . . . . . . . . . . . . . . . . 36
7.20.1 Mode 0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
7.20.2 Mode 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
7.20.3 Mode 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
7.20.4 Mode 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
7.20.5 Mode 6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
7.20.6 Timer overflow toggle output . . . . . . . . . . . . . 37
7.21 RTC/system timer . . . . . . . . . . . . . . . . . . . . . 37
7.22 UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.22.1 Mode 0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.22.2 Mode 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.22.3 Mode 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.22.4 Mode 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
7.22.5 Baud rate generator and selection. . . . . . . . . 38
7.22.6 Framing error . . . . . . . . . . . . . . . . . . . . . . . . . 38
7.22.7 Break detect. . . . . . . . . . . . . . . . . . . . . . . . . . 38
7.22.8 Double buffering. . . . . . . . . . . . . . . . . . . . . . . 38
7.22.9 Transmit interrupts with double buffering
enabled (modes 1, 2 and 3). . . . . . . . . . . . . . 39
7.22.10 The 9
th
bit (bit 8) in double buffering
(modes 1, 2 and 3). . . . . . . . . . . . . . . . . . . . . 39
7.23 I
2
C-bus serial interface. . . . . . . . . . . . . . . . . . 39
7.24 Analog comparators. . . . . . . . . . . . . . . . . . . . 40
7.24.1 Internal reference voltage . . . . . . . . . . . . . . . 41
7.24.2 Comparator interrupt . . . . . . . . . . . . . . . . . . . 41
7.24.3 Comparators and power reduction modes. . . 41
7.25 KBI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
7.26 Watchdog timer . . . . . . . . . . . . . . . . . . . . . . . 42
7.27 Additional features . . . . . . . . . . . . . . . . . . . . . 43
7.27.1 Software reset . . . . . . . . . . . . . . . . . . . . . . . . 43
7.27.2 Dual data pointers . . . . . . . . . . . . . . . . . . . . . 43
7.28 Flash program memory . . . . . . . . . . . . . . . . . 43
7.28.1 General description . . . . . . . . . . . . . . . . . . . . 43
7.28.2 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
7.28.3 Flash organization . . . . . . . . . . . . . . . . . . . . . 44
7.28.4 Using flash as data storage . . . . . . . . . . . . . . 44
7.28.5 Flash programming and erasing . . . . . . . . . . 44
7.28.6 ICP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
7.28.7 IAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
7.28.8 ISP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
7.28.9 Power-on reset code execution . . . . . . . . . . . 45
7.28.10 Hardware activation of the bootloader . . . . . . 46
7.29 User configuration bytes . . . . . . . . . . . . . . . . 46
7.30 User sector security bytes . . . . . . . . . . . . . . . 46
8 ADC (P89LPC9241/9251) . . . . . . . . . . . . . . . . 46
NXP Semiconductors
P89LPC9201/9211/922A1/9241/9251
8-bit microcontroller with 8-bit ADC
© NXP B.V. 2012. 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: 27 August 2012
Document identifier: P89LPC92X1
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
8.1 General description . . . . . . . . . . . . . . . . . . . . 46
8.2 Features and benefits. . . . . . . . . . . . . . . . . . . 47
8.3 Block diagram. . . . . . . . . . . . . . . . . . . . . . . . . 48
8.4 Temperature sensor . . . . . . . . . . . . . . . . . . . . 48
8.5 ADC operating modes . . . . . . . . . . . . . . . . . . 48
8.5.1 Fixed channel, single conversion mode . . . . . 48
8.5.2 Fixed channel, continuous conversion mode . 48
8.5.3 Auto scan, single conversion mode . . . . . . . . 49
8.5.4 Auto scan, continuous conversion mode . . . . 49
8.5.5 Dual channel, continuous conversion mode. . 49
8.5.6 Single step mode . . . . . . . . . . . . . . . . . . . . . . 49
8.6 Conversion start modes . . . . . . . . . . . . . . . . . 49
8.6.1 Timer triggered start . . . . . . . . . . . . . . . . . . . . 49
8.6.2 Start immediately . . . . . . . . . . . . . . . . . . . . . . 49
8.6.3 Edge triggered . . . . . . . . . . . . . . . . . . . . . . . . 49
8.7 Boundary limits interrupt. . . . . . . . . . . . . . . . . 50
8.8 DAC output to a port pin with high output
impedance . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
8.9 Clock divider. . . . . . . . . . . . . . . . . . . . . . . . . . 50
8.10 Power-down and Idle mode . . . . . . . . . . . . . . 50
9 Limiting values. . . . . . . . . . . . . . . . . . . . . . . . . 51
10 Static characteristics. . . . . . . . . . . . . . . . . . . . 52
10.1 Current characteristics . . . . . . . . . . . . . . . . . . 54
10.2 Internal RC/watchdog oscillator
characteristics. . . . . . . . . . . . . . . . . . . . . . . . . 58
10.3 BOD characteristics . . . . . . . . . . . . . . . . . . . . 61
11 Dynamic characteristics . . . . . . . . . . . . . . . . . 62
11.1 Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
11.2 ISP entry mode. . . . . . . . . . . . . . . . . . . . . . . . 64
12 Other characteristics. . . . . . . . . . . . . . . . . . . . 65
12.1 Comparator electrical characteristics . . . . . . . 65
12.2 ADC/temperature sensor electrical
characteristics. . . . . . . . . . . . . . . . . . . . . . . . . 66
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. . . . . . . . . . . . . . . . . . . . . . . . . . . 73
17 Contact information. . . . . . . . . . . . . . . . . . . . . 73
18 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74

P89LPC9241FDH,112

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
Microcontrollers - MCU 8-bit Microcontrollers - MCU MCU 8-Bit CISC 4KB Flash2.5V/3.3V 20Pin
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union