Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

P89LPC9151FDH Datasheet(PDF) 90 Page - NXP Semiconductors

Part # P89LPC9151FDH
Description  8-bit microcontroller with accelerated two-clock 80C51 core, 2 kB 3 V byte-erasable flash with 8-bit ADC
PDF  91 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NXP [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo NXP - NXP Semiconductors

P89LPC9151FDH Datasheet(HTML) 90 Page - NXP Semiconductors

Back Button P89LPC9151FDH Datasheet HTML 83Page - NXP Semiconductors P89LPC9151FDH Datasheet HTML 84Page - NXP Semiconductors P89LPC9151FDH Datasheet HTML 85Page - NXP Semiconductors P89LPC9151FDH Datasheet HTML 86Page - NXP Semiconductors P89LPC9151FDH Datasheet HTML 87Page - NXP Semiconductors P89LPC9151FDH Datasheet HTML 88Page - NXP Semiconductors P89LPC9151FDH Datasheet HTML 89Page - NXP Semiconductors P89LPC9151FDH Datasheet HTML 90Page - NXP Semiconductors P89LPC9151FDH Datasheet HTML 91Page - NXP Semiconductors  
Zoom Inzoom in Zoom Outzoom out
 90 / 91 page
background image
P89LPC9151_61_71_2
© NXP B.V. 2010. All rights reserved.
Product data sheet
Rev. 02 — 9 February 2010
90 of 91
continued >>
NXP Semiconductors
P89LPC9151/9161/9171
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 . . . . . . . . . . . . . . . . . . . . . . 7
6
Pinning information . . . . . . . . . . . . . . . . . . . . . . 9
6.1
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
6.2
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 10
7
Functional description . . . . . . . . . . . . . . . . . . 16
7.1
Special function registers . . . . . . . . . . . . . . . . 16
7.2
Enhanced CPU . . . . . . . . . . . . . . . . . . . . . . . . 38
7.3
Clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
7.3.1
Clock definitions . . . . . . . . . . . . . . . . . . . . . . . 38
7.3.2
CPU clock (OSCCLK). . . . . . . . . . . . . . . . . . . 38
7.4
Clock output (P89LPC9171) . . . . . . . . . . . . . . 38
7.5
On-chip RC oscillator option . . . . . . . . . . . . . . 38
7.6
Watchdog oscillator option . . . . . . . . . . . . . . . 39
7.7
External clock input option . . . . . . . . . . . . . . . 39
7.8
Clock sources switch on the fly. . . . . . . . . . . . 39
7.9
CCLK wake-up delay . . . . . . . . . . . . . . . . . . . 40
7.10
CCLK modification: DIVM register . . . . . . . . . 40
7.11
Low power select . . . . . . . . . . . . . . . . . . . . . . 40
7.12
Memory organization . . . . . . . . . . . . . . . . . . . 41
7.13
Data RAM arrangement . . . . . . . . . . . . . . . . . 41
7.14
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
7.14.1
External interrupt inputs . . . . . . . . . . . . . . . . . 42
7.15
I/O ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
7.15.1
Port configurations . . . . . . . . . . . . . . . . . . . . . 44
7.15.1.1
Quasi-bidirectional output configuration . . . . . 44
7.15.1.2
Open-drain output configuration . . . . . . . . . . . 45
7.15.1.3
Input-only configuration . . . . . . . . . . . . . . . . . 45
7.15.1.4
Push-pull output configuration . . . . . . . . . . . . 45
7.15.2
Port 0 analog functions . . . . . . . . . . . . . . . . . . 45
7.15.3
Additional port features. . . . . . . . . . . . . . . . . . 45
7.16
Power monitoring functions . . . . . . . . . . . . . . 46
7.16.1
Brownout detection . . . . . . . . . . . . . . . . . . . . . 46
7.16.2
Power-on detection. . . . . . . . . . . . . . . . . . . . . 46
7.17
Power reduction modes . . . . . . . . . . . . . . . . . 46
7.17.1
Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
7.17.2
Power-down mode . . . . . . . . . . . . . . . . . . . . . 47
7.17.3
Total Power-down mode . . . . . . . . . . . . . . . . . 47
7.18
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
7.18.1
Reset vector . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.19
Timers/counters 0 and 1 . . . . . . . . . . . . . . . . . 48
7.19.1
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.19.2
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.19.3
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.19.4
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.19.5
Mode 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.19.6
Timer overflow toggle output . . . . . . . . . . . . . 49
7.20
RTC/system timer . . . . . . . . . . . . . . . . . . . . . 49
7.21
UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7.21.1
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7.21.2
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7.21.3
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7.21.4
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.21.5
Baud rate generator and selection. . . . . . . . . 50
7.21.6
Framing error . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.21.7
Break detect. . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.21.8
Double buffering. . . . . . . . . . . . . . . . . . . . . . . 50
7.21.9
Transmit interrupts with double buffering enabled
(modes 1, 2 and 3). . . . . . . . . . . . . . . . . . . . . 51
7.21.10
The 9th bit (bit 8) in double buffering (modes 1, 2
and 3). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
7.22
I2C-bus serial interface. . . . . . . . . . . . . . . . . . 51
7.23
SPI (P89LPC9161) . . . . . . . . . . . . . . . . . . . . 53
7.23.1
Typical SPI configurations . . . . . . . . . . . . . . . 54
7.24
Analog comparators . . . . . . . . . . . . . . . . . . . . 55
7.24.1
Internal reference voltage . . . . . . . . . . . . . . . 56
7.24.2
Comparator interrupt . . . . . . . . . . . . . . . . . . . 56
7.24.3
Comparators and power reduction modes . . . 56
7.25
KBI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
7.26
Watchdog timer . . . . . . . . . . . . . . . . . . . . . . . 57
7.27
Additional features . . . . . . . . . . . . . . . . . . . . . 58
7.27.1
Software reset . . . . . . . . . . . . . . . . . . . . . . . . 58
7.27.2
Dual data pointers . . . . . . . . . . . . . . . . . . . . . 58
7.28
Flash program memory . . . . . . . . . . . . . . . . . 58
7.28.1
General description . . . . . . . . . . . . . . . . . . . . 58
7.28.2
Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
7.28.3
Flash organization . . . . . . . . . . . . . . . . . . . . . 59
7.28.4
Using flash as data storage . . . . . . . . . . . . . . 59
7.28.5
Flash programming and erasing . . . . . . . . . . 59
7.28.6
ICP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
7.28.7
IAP-Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
7.29
User configuration bytes . . . . . . . . . . . . . . . . 60
7.30
User sector security bytes . . . . . . . . . . . . . . . 60
8
ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
8.1
General description . . . . . . . . . . . . . . . . . . . . 60
8.2
Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
8.3
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . 61
8.4
ADC operating modes . . . . . . . . . . . . . . . . . . 61
8.4.1
Fixed channel, single conversion mode. . . . . 61



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com