| Electronic Components Datasheet Search |
|
P89LPC9151FDH Datasheet(PDF) 90 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P89LPC9151FDH Datasheet(HTML) 90 Page - NXP Semiconductors |
|
90 / 91 page ![]() 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 |
|
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 |
| 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 |