EmbeddedDeveloper.com
Home » NXP Semiconductors » LPC900 » P89LPC952FBD

  P89LPC952FBD

General description

The P89LPC952 is a single-chip microcontroller, available in low cost packages, based ona 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 beenincorporated into the P89LPC952 in order to reduce component count, board space, andsystem cost.

Features

Principal features

  • 8 kB byte-erasable flash code memory organized into 1 kB sectors and 64-byte pages.Single-byte erasing allows any byte(s) to be used as non-volatile data storage.
  • 256-byte RAM data memory and a 256-byte auxiliary on-chip RAM.
  • 8-input multiplexed 10-bit ADC with window comparator that can generate an interruptfor in or out of range results. Two analog comparators with selectable inputs andreference source.
  • Two 16-bit counter/timers (each may be configured to toggle a port output upon timeroverflow or to become a PWM output) and a 23-bit system timer that can also be usedas a RTC.
  • Two enhanced UARTs with a fractional baud rate generator, break detect, framingerror detection, and automatic address detection; 400 kHz byte-wide I2C-buscommunication port and SPI communication port.
  • High-accuracy internal RC oscillator option, with clock doubler option, allows operationwithout external oscillator components. The RC oscillator option is selectable and finetunable. Fast switching between the internal RC oscillator and any oscillator sourceprovides optimal support of minimal power active mode with fast switching tomaximum performance.
  • 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).
  • 44-pin packages with 40 I/O pins minimum while using on-chip oscillator and resetoptions.
  • Port 5 has high current sourcing/sinking (20 mA) for all Port 5 pins. All other port pinshave high sinking capability (20 mA). A maximum limit is specified for the entire chip.
  • Watchdog timer with separate on-chip oscillator, requiring no external components.The watchdog prescaler is selectable from eight values.

Additional features

  • A high performance 80C51 CPU provides instruction cycle times of 111 ns to 222 nsfor all instructions except multiply and divide when executing at 18 MHz. This is sixtimes the performance of the standard 80C51 running at the same clock frequency. Alower clock frequency for the same performance results in power savings and reducedEMI.
  • Serial flash In-Circuit Programming (ICP) allows simple production coding withcommercial EPROM programmers. Flash security bits prevent reading of sensitiveapplication programs.
  • Serial flash In-System Programming (ISP) allows coding while the device is mountedin the end application.
  • In-Application Programming (IAP) of the flash code memory. This allows changing thecode in a running application.
  • Low voltage (brownout) detect allows a graceful system shutdown when power 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 input can be driven by any internal reset. On-chip power-on resetallows operation without external reset components. A reset counter and reset glitchsuppression circuitry prevent spurious and incomplete resets. A software resetfunction is also available.
  • Only power and ground connections are required to operate the P89LPC952 wheninternal reset option is selected.
  • 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.
  • 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 value ofthe pins match or do not match a programmable pattern.
  • Controlled slew rate port outputs to reduce EMI. Outputs have approximately 10 nsminimum ramp times.
  • Four interrupt priority levels.
  • Eight keypad interrupt inputs, plus two additional external interrupt inputs.
  • Schmitt trigger port inputs.
  • Second data pointer.
  • Extended temperature range.
  • Emulation support.