| Electronic Components Datasheet Search |
|
P89LPC985 Datasheet(PDF) 84 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P89LPC985 Datasheet(HTML) 84 Page - NXP Semiconductors |
|
84 / 85 page ![]() P89LPC980_982_983_985_2 © NXP B.V. 2010. All rights reserved. Preliminary data sheet Rev. 02 — 8 February 2010 84 of 85 continued >> NXP Semiconductors P89LPC980/982/983/985 8-bit microcontroller with accelerated two-clock 80C51 core 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 . . . . . . . . . . . . . . . . . . . . . . 6 6 Pinning information . . . . . . . . . . . . . . . . . . . . . . 7 6.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 6.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . 10 7 Functional description . . . . . . . . . . . . . . . . . . 14 7.1 Special function registers . . . . . . . . . . . . . . . . 14 7.2 Enhanced CPU . . . . . . . . . . . . . . . . . . . . . . . . 33 7.3 Clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7.3.1 Clock definitions . . . . . . . . . . . . . . . . . . . . . . . 33 7.3.2 CPU clock (OSCCLK). . . . . . . . . . . . . . . . . . . 33 7.4 Crystal oscillator option. . . . . . . . . . . . . . . . . . 33 7.4.1 Low speed oscillator option . . . . . . . . . . . . . . 33 7.4.2 Medium speed oscillator option . . . . . . . . . . . 33 7.4.3 High speed oscillator option . . . . . . . . . . . . . . 33 7.5 Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 34 7.6 On-chip RC oscillator option . . . . . . . . . . . . . . 34 7.7 Watchdog oscillator option . . . . . . . . . . . . . . . 34 7.8 External clock input option . . . . . . . . . . . . . . . 34 7.9 Clock source switching on the fly . . . . . . . . . . 34 7.10 CCLK wake-up delay . . . . . . . . . . . . . . . . . . . 35 7.11 CCLK modification: DIVM register . . . . . . . . . 35 7.12 Low power select . . . . . . . . . . . . . . . . . . . . . . 35 7.13 Memory organization . . . . . . . . . . . . . . . . . . . 36 7.14 Data RAM arrangement . . . . . . . . . . . . . . . . . 36 7.15 Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.15.1 External interrupt inputs . . . . . . . . . . . . . . . . . 37 7.16 I/O ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 7.16.1 Port configurations . . . . . . . . . . . . . . . . . . . . . 39 7.16.1.1 Quasi-bidirectional output configuration . . . . . 39 7.16.1.2 Open-drain output configuration . . . . . . . . . . . 39 7.16.1.3 Input-only configuration . . . . . . . . . . . . . . . . . 40 7.16.1.4 Push-pull output configuration . . . . . . . . . . . . 40 7.16.2 Port 0 analog functions . . . . . . . . . . . . . . . . . . 40 7.16.3 Additional port features. . . . . . . . . . . . . . . . . . 40 7.16.4 Pin remap . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 7.17 Power management . . . . . . . . . . . . . . . . . . . . 41 7.17.1 Brownout detection . . . . . . . . . . . . . . . . . . . . . 41 7.17.2 Power-on detection. . . . . . . . . . . . . . . . . . . . . 42 7.17.3 Power reduction modes . . . . . . . . . . . . . . . . . 42 7.17.3.1 Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 7.17.3.2 Power-down mode . . . . . . . . . . . . . . . . . . . . . 42 7.17.3.3 Total Power-down mode . . . . . . . . . . . . . . . . 42 7.17.4 Regulators . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 7.18 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 7.18.1 Reset vector. . . . . . . . . . . . . . . . . . . . . . . . . . 43 7.19 Timers/counters 0 and 1 . . . . . . . . . . . . . . . . 43 7.19.1 Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 7.19.2 Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 7.19.3 Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 7.19.3.1 Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 7.19.3.2 Mode 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 7.19.4 Timer overflow toggle output . . . . . . . . . . . . . 44 7.20 Timers/counters 2, 3 and 4 . . . . . . . . . . . . . . 44 7.20.1 Mode 0: 16-bit Timer/Counter with Auto-reload . . . . . . . . . . . . . . . . . . . . . . . . . . 45 7.20.2 Mode 1: 16-bit Timer/Counter with Input Capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 7.20.3 Mode 2: 16-bit PWM mode . . . . . . . . . . . . . . 45 7.20.4 Timer overflow toggle output . . . . . . . . . . . . . 45 7.21 RTC/system timer . . . . . . . . . . . . . . . . . . . . . 45 7.22 UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 7.22.1 Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 7.22.2 Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 7.22.3 Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 7.22.4 Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 7.22.5 Baud rate generator and selection. . . . . . . . . 46 7.22.6 Framing error . . . . . . . . . . . . . . . . . . . . . . . . . 46 7.22.7 Break detect. . . . . . . . . . . . . . . . . . . . . . . . . . 47 7.22.8 Double buffering. . . . . . . . . . . . . . . . . . . . . . . 47 7.22.9 Transmit interrupts with double buffering enabled (modes 1, 2 and 3) . . . . . . . . . . . . . . 47 7.22.10 The 9th bit (bit 8) in double buffering (modes 1, 2 and 3). . . . . . . . . . . . . . . . . . . . . 47 7.23 I2C-bus serial interface. . . . . . . . . . . . . . . . . . 47 7.24 SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 7.24.1 Typical SPI configurations . . . . . . . . . . . . . . . 51 7.25 Analog comparators . . . . . . . . . . . . . . . . . . . . 52 7.25.1 Selectable internal reference voltage. . . . . . . 53 7.25.2 Comparator interrupt . . . . . . . . . . . . . . . . . . . 53 7.25.3 Comparators and power reduction modes . . . 53 7.26 KBI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 7.27 Watchdog timer . . . . . . . . . . . . . . . . . . . . . . . 54 7.28 Additional features . . . . . . . . . . . . . . . . . . . . . 55 7.28.1 Software reset . . . . . . . . . . . . . . . . . . . . . . . . 55 7.28.2 Dual data pointers . . . . . . . . . . . . . . . . . . . . . 55 7.29 Flash program memory . . . . . . . . . . . . . . . . . 55 7.29.1 General description . . . . . . . . . . . . . . . . . . . . 55 7.29.2 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 |
|
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 |