P89LPC915/916/917 8-bit microcontrollers with accelerated two-clock 80C51 core 2 kB 3 V ash with 8-bit A/D converter Rev. 05 15 December 2009 Product data sheet 1. General description The P89LPC915/916/917 are single-chip microcontrollers, available in low-cost packages, based on a high performance processor architecture that executes instructions in two to four clocks, six times the rate of standard 80C51 devices. Many system-level functions have been incorporated into the P89LPC915/916/917 in order to reduce component count, board space, and system cost. 2. Features 2.1 Principal features n 2 kB byte-erasable ash code memory organized into 256-byte sectors and 16-byte pages. Single-byte erasing allows any byte(s) to be used as non-volatile data storage. n 256-byte RAM data memory. n Two 16-bit counter/timers. Timer 0 (and Timer 1 - P89LPC917) may be congured to toggle a port output upon timer overow or to become a PWM output. n 23-bit system timer that can also be used as a Real-Time clock. n 4-input multiplexed 8-bit A/D converter/single DAC output. Two analog comparators with selectable reference. n Enhanced UART with fractional baud rate generator, break detect, framing error detection, automatic address detection and versatile interrupt capabilities. n SPI communication port (P89LPC916). n Internal RC oscillator option allows operation without external oscillator components. The RC oscillator (factory calibrated to 1 %) option is selectable and ne tunable. n 2.4 V to 3.6 V V operating range. I/O pins are 5 V tolerant (may be pulled up or DD driven to 5.5 V). n Up to 14 I/O pins when using internal oscillator and reset options (P89LPC916, P89LPC917). 2.2 Additional features n 14-pin (P89LPC915) and 16-pin (P89LPC916, P89LPC917) TSSOP packages. n A high performance 80C51 CPU provides instruction cycle times of 111 ns to 222 ns for all instructions except multiply and divide when executing at 18 MHz. This is six times the performance of the standard 80C51 running at the same clock frequency. A lower clock frequency for the same performance results in power savings and reduced EMI. n In-Application Programming (IAP-Lite) and byte erase allows code memory to be used for non-volatile data storage.P89LPC915/916/917 NXP Semiconductors 8-bit microcontrollers with accelerated two-clock 80C51 core n Serial Flash In-Circuit Programming (ICP) allows simple production coding with commercial EPROM programmers. Flash security bits prevent reading of sensitive application programs. n Watchdog timer with separate on-chip oscillator, requiring no external components. The Watchdog prescaler is selectable from 8 values. n Low voltage brownout detect allows a graceful system shutdown when power fails. May optionally be congured as an interrupt. n Idle and two different power-down reduced power modes. Improved wake-up from Power-down mode (a LOW interrupt input starts execution). Typical power-down current is 1 A (total power-down with voltage comparators disabled). n Active-LOW reset. On-chip power-on reset allows operation without external reset components. A reset counter and reset glitch suppression circuitry prevent spurious and incomplete resets. A software reset function is also available. n Programmable port output conguration options: quasi-bidirectional, open drain, push-pull, input-only. n Port input pattern match detect. Port 0 may generate an interrupt when the value of the pins match or do not match a programmable pattern. n LED drive capability (20 mA) on all port pins. A maximum limit is specied for the entire chip. n Controlled slew rate port outputs to reduce EMI. Outputs have approximately 10 ns minimum ramp times. n Only power and ground connections are required to operate the P89LPC915/916/917 when internal reset option is selected. n Four interrupt priority levels. n Five (P89LPC916), six (P89LPC915), or seven (P89LPC917) keypad interrupt inputs. n Second data pointer. n Schmitt trigger port inputs. n Emulation support. 3. Product comparison overview Table 1 highlights the differences between these three devices. For a complete list of device features, please see Section 2 Features. Table 1. Product comparison overview Type number Comparator 2 SPI T1 toggle/PWM CLKOUT INT1 KBI output P89LPC915 X - - - X 6 P89LPC916 - X - - - 5 P89LPC917 X - X X X 7 P89LPC915 916 917 5 NXP B.V. 2009. All rights reserved. Product data sheet Rev. 05 15 December 2009 2 of 75