P89LPC9102/9103/9107 8-bit microcontrollers with two-clock accelerated 80C51 core 1 kB 3 V byte-erasable ash with 8-bit A/D converter Rev. 03 10 July 2007 Product data sheet 1. General description The P89LPC9102/9103/9107 are single-chip microcontrollers in low-cost 10-pin and 14-pin 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 P89LPC9102/9103/9107 in order to reduce component count, board space, and system cost. 2. Features 2.1 Principal features n 1 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 128-byte RAM data memory. n Two 16-bit timer/counters (P89LPC9102/9107). Two 16-bit timers (P89LPC9103) n 23-bit system timer that can also be used as a RTC. n Four input multiplexed 8-bit A/D converter/single DAC output. One analog comparator with selectable reference. n Enhanced UART with fractional baud rate generator, break detect, framing error detection, automatic address detection and versatile interrupt capabilities (P89LPC9103/9107). n High-accuracy internal RC oscillator option, factory calibrated to 1 %, allows operation without external oscillator components. The RC oscillator option is selectable and ne tunable. n V operating range of 2.4 V to 3.6 V with 5 V tolerant I/O pins (may be pulled up or DD driven to 5.5 V). n Up to 10 (P89LPC9107) or eight (P89LPC9102/9103) I/O pins when using internal oscillator and reset options. n Ultra-small 10-pin HVSON package (P89LPC9102/9103). 14-pin TSSOP and DIP packages (P89LPC9107). 2.2 Additional features n A high performance 80C51 CPU provides instruction cycle times of 136 ns to 272 ns for all instructions except multiply and divide when using the internal 7.3728 MHz RC oscillator in clock doubling mode (111 ns to 222 ns when using an external 18 MHz clock). A lower clock frequency for the same performance results in power savings and reduced EMI.P89LPC9102/9103/9107 NXP Semiconductors 8-bit microcontrollers with two-clock accelerated 80C51 core n In-Application Programming (IAP-Lite) and byte erase allows code memory to be used for non-volatile data storage. n Serial ash 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 eight values. n Low voltage reset (Brownout detect) allows a graceful system shutdown when power fails. May optionally be congured as an interrupt. n Idle mode and two different reduced power Power-down modes. Improved wake-up from Power-down mode (a LOW interrupt input starts execution). Typical Power-down mode current is less than 1 A (total Power-down mode 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 P89LPC9102/9103/9107 when internal reset option is selected. n Four interrupt priority levels. n Two keypad interrupt inputs. n Second data pointer. n External clock input. n Clock output (P89LPC9102/9107). n Schmitt trigger port inputs. n Emulation support. 3. Product comparison overview Table 1 highlights the differences between these two devices. For a complete list of device features, please see Section 2 Features. Table 1. Product comparison overview Type number UART T0 toggle/PWM T1 toggle/PWM CLKOUT P89LPC9102 - X X X P89LPC9103 X - - - P89LPC9107XXXX P89LPC9102 9103 9107 3 NXP B.V. 2007. All rights reserved. Product data sheet Rev. 03 10 July 2007 2 of 61