The P89LPC912/913/914 are single-chip microcontrollers in low-cost 14-pinpackages, based on a high performance processor architecture that executesinstructions in two to four clocks, six times the rate of standard 80C51 devices. Manysystem level functions have been incorporated into the P89LPC912/913/914 in orderto reduce component count, board space, and system cost.
Features
1 kB byte-erasable Flash code memory organized into 256-byte sectors and16-byte pages. Single-byte erasing allows any byte(s) to be used as non-volatiledata storage.
128-byte RAM data memory.
Two 16-bit counter/timers. Each timer may be configured to toggle a port outputupon timer overflow or to become a PWM output.
23-bit system timer that can also be used as a Real-Time clock.
Two analog comparators with selectable inputs and reference source.
Enhanced UART with fractional baudrate generator, break detect, framing errordetection, automatic address detection and versatile interrupt capabilities(P89LPC913, P89LPC914).
SPI communication port.
Internal RC oscillator (factory calibrated to +- 1 pct.) option allows operation withoutexternal oscillator components. The RC oscillator option is selectable and finetunable.
2.4 V to 3.6 V VDD operating range. I/O pins are 5 V tolerant (may be pulled up ordriven to 5.5 V).
Up to 12 I/O pins when using internal oscillator and reset options.
Additional features
14-pin TSSOP packages.
A high performance 80C51 CPU provides instruction cycle times of 111 ns to222 ns for all instructions except multiply and divide when executing at 18 MHz(167 ns to 333 ns at 12 MHz). This is six times the performance of the standard80C51 running at the same clock frequency. A lower clock frequency for the sameperformance results in power savings and reduced EMI.
In-Application Programming (IAP-Lite) and byte erase allows code memory to beused for non-volatile data storage.
Serial Flash In-Circuit Programming (ICP) allows simple production coding withcommercial EPROM programmers. Flash security bits prevent reading of sensitiveapplication programs.
Watchdog timer with separate on-chip oscillator, requiring no externalcomponents. The watchdog prescaler is selectable from 8 values.
Low voltage reset (Brownout detect) allows a graceful system shutdown whenpower fails. May optionally be configured as an interrupt.
Idle and two different Power-down reduced power modes. Improved wake-up fromPower-down mode (a low interrupt input starts execution). Typical Power-downcurrent is 1 uA (total Power-down with voltage comparators disabled).
Active-LOW reset. On-chip power-on reset allows operation without external resetcomponents. A reset counter and reset glitch suppression circuitry preventspurious and incomplete resets. A software reset function is also available.
Configurable on-chip oscillator with frequency range options selected by userprogrammed Flash configuration bits. Oscillator options support frequencies from20 kHz to the maximum operating frequency of 18 MHz (P89LPC912,P89LPC913).
Oscillator Fail Detect. The watchdog timer has a separate fully on-chip oscillatorallowing it to perform an oscillator fail detect function.
Programmable port output configuration options: quasi-bidirectional, open drain,push-pull, input-only.
Port ´input pattern match´ detect. Port 0 may generate an interrupt when the valueof the pins match or do not match a programmable pattern.
LED drive capability (20 mA) on all port pins. A maximum limit is specified for theentire chip.
Controlled slew rate port outputs to reduce EMI. Outputs have approximately 10 nsminimum ramp times.
Only power and ground connections are required to operate theP89LPC912/913/914 when internal reset option is selected.