NXP Semiconductors P89LPC9321FA,112
- Part No.:
- P89LPC9321FA,112
- Manufacturer:
- NXP Semiconductors
- Category:
- Microcontrollers
- Package:
- 28-LCC (J-Lead)
- Datasheet:
-
P89LPC9321FA,112.pdf
- Description:
- IC MCU 8BIT 8KB FLASH 28PLCC
- Quantity:
- Payment:

- Shipping:

Inventory:1,539
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
P89LPC9321FA,112 from NXP Semiconductors is an 8-bit accelerated two-clock 80C51 microcontroller in 28-pin PLCC package, executing instructions in 2–4 clocks at up to 18 MHz (111–222 ns cycle time). It integrates 8 kB byte-erasable flash, 512-byte data EEPROM, dual analog comparators with PGA, and 23-bit real-time clock. Used in industrial control panels requiring compact, low-power, mixed-signal embedded control with in-system programmability.
For engineers reviewing the P89LPC9321FA,112 datasheet, P89LPC9321FA,112 pinout, P89LPC9321FA,112 application, or P89LPC9321FA,112 equivalent, this page delivers verified technical context, validated pin functions, confirmed alternative options, and supply-ready availability details - all grounded in NXP's Rev. 2 product data sheet dated 16 November 2010.
Technical Context
The P89LPC9321FA,112 implements a high-performance 80C51 core with six-fold throughput versus standard 80C51 at identical clock frequency, enabled by its two-clock architecture. Its on-chip oscillator supports internal RC (tunable, with clock doubler), watchdog oscillator (400 kHz ±5%), or external crystal (up to 18 MHz), with runtime switching between sources for dynamic power/performance optimization.
It features a Capture/Compare Unit (CCU) supporting PWM generation, input capture, and output compare across four channels (OCA–OCD, ICA–ICB), plus dual 16-bit timers, a 23-bit system timer usable as RTC, and hardware-accelerated I²C (400 kHz), SPI, and enhanced UART with fractional baud rate generator and break detection.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | Accelerated two-clock 80C51; executes all instructions in 2–4 clocks (111–222 ns @ 18 MHz), delivering 6× performance vs. standard 80C51 at same frequency. |
| Memory | 8 kB byte-erasable flash (sector/page erasable), 256-byte RAM, 512-byte auxiliary RAM, 512-byte on-chip data EEPROM for device serialization and parameter storage. |
| Analog Peripherals | Dual analog comparators with selectable inputs and reference; single programmable gain amplifier (PGA) with gains of 2×, 4×, 8×, or 16× applied to comparator inputs. |
| Timers & RTC | Two 16-bit counter/timers (configurable as PWM or port toggle); 23-bit system timer (7-bit prescaler + 16-bit counter) usable as real-time clock with calendar capability. |
| I/O & Interfaces | 23–26 configurable I/O pins (28-pin PLCC); 400 kHz I²C-bus, full-duplex SPI, enhanced UART with fractional baud rate generator, framing error detection, and automatic address recognition. |
| Power & Reset | 2.4 V to 3.6 V VDD operation; 5 V-tolerant I/O pins; 4-level brownout detect with interrupt option; on-chip power-on reset and software reset; typical power-down current 1 μA. |
| Package & Temp | PLCC28 (SOT261-2); −40 °C to +85 °C operating temperature range; supports In-System Programming (ISP), In-Circuit Programming (ICP), and In-Application Programming (IAP). |
Pinout & Package
Package: PLCC28 (plastic leaded chip carrier; 28 leads; SOT261-2). Pinout validated per NXP datasheet Fig. 4 and Table 3 (Rev. 2, 16 Nov 2010).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0.0/CMP2/KBI0 | Port 0 bit 0 / Comparator 2 output / Keypad input 0 | Multi-function I/O pin supporting analog comparator output, keypad scanning, and general-purpose digital I/O with Schmitt trigger input. |
| P1.5/RST | Port 1 bit 5 / External reset input | Input-only pin; LOW assertion resets CPU and peripherals; also forces ISP mode during power-on sequence. |
| P2.6/OCA | Port 2 bit 6 / Output Compare A | Dedicated CCU channel output for PWM generation, timing pulses, or waveform synthesis with precise edge control. |
| P2.7/ICA | Port 2 bit 7 / Input Capture A | Captures timestamp of external event edges (e.g., encoder pulses) with sub-microsecond resolution via CCU hardware. |
| P3.0/XTAL2/CLKOUT | Port 3 bit 0 / Crystal oscillator output / CPU clock divided-by-2 | Configurable as crystal driver output or buffered CLKOUT signal (CPU clock ÷2), enabling clock distribution without external dividers. |
| VDD | Power supply | Main 2.4–3.6 V supply rail; powers core, peripherals, and I/O; supports stable operation across industrial temperature range. |
| VSS | Ground | 0 V reference for all analog and digital circuitry; requires low-impedance connection to minimize noise coupling into comparators and RTC. |
Key Features
| Feature | Design Value |
|---|---|
| Byte-erasable flash memory | Enables true non-volatile data storage in code memory space - any single byte can be erased and rewritten independently for configuration logging or firmware patching. |
| Programmable Gain Amplifier (PGA) | Provides 2×/4×/8×/16× gain selection directly before comparator inputs, eliminating external op-amps in sensor interface circuits (e.g., thermistor or strain gauge front-ends). |
| Real-time clock (RTC) mode | 23-bit system timer (7-bit prescaler + 16-bit counter) operates as calendar-capable RTC with battery-backup readiness, independent of main CPU clock source. |
| Keypad interrupt with pattern match | Port 0 supports hardware-accelerated keypad scanning: eight dedicated KBI inputs generate interrupt on match/non-match against programmable 8-bit pattern - ideal for membrane keypads. |
| Four-level brownout detection | Allows graceful shutdown sequencing (e.g., save state, disable outputs) before voltage collapse; configurable as interrupt or reset trigger for fail-safe behavior. |
| Controlled slew rate outputs | All port outputs feature ~10 ns minimum ramp time, reducing EMI emissions and minimizing signal integrity issues in dense PCB layouts. |
Applications
| Industrial HMI Panels | Smart Sensor Nodes |
|---|---|
|
Use Scenario: Compact control panel with membrane keypad, LED indicators, and analog sensor inputs for HVAC or pump monitoring. IC Role / Device Role / Timing Role: Central controller managing keypad scan, analog comparator thresholds for fault detection, and UART communication to host PLC. Use Value: Integrated PGA and comparators eliminate external signal conditioning; 512-byte EEPROM stores calibration offsets; 23-bit RTC enables time-stamped event logging. |
Use Scenario: Battery-powered environmental sensor node measuring temperature, humidity, and light with local decision logic. IC Role / Device Role / Timing Role: Low-power system manager performing ADC-less sensing via comparator thresholds, wake-up on event, and periodic I²C data transmission. Use Value: 1 μA power-down current extends battery life; internal RC oscillator eliminates crystal cost/area; ISP enables field firmware updates over UART. |
| Embedded Power Supplies | Legacy Equipment Upgrades |
|
Use Scenario: Digital control loop in AC/DC or DC/DC converters requiring precise timing, fault response, and serial telemetry. IC Role / Device Role / Timing Role: Real-time PWM generator (via CCU OCA/OCC) synchronized to 23-bit system timer; monitors overvoltage via analog comparators. Use Value: Hardware CCU offloads PWM timing from CPU; 4-level brownout ensures safe shutdown during input sag; 8 kB flash accommodates complex control algorithms. |
Use Scenario: Retrofitting legacy 8051-based equipment with enhanced functionality while retaining existing PCB footprint and toolchain. IC Role / Device Role / Timing Role: Drop-in replacement for standard 80C51 with identical instruction set, pin-compatible PLCC28 package, and extended peripheral set. Use Value: Six-fold speed increase allows faster polling loops; integrated I²C/SPI reduces external bus logic; 512-byte EEPROM replaces external serial EEPROM chip. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| P89LPC9351FA,112 | Same PLCC28 package and core, but with 16 kB flash, 1 kB data EEPROM, and additional 10-bit ADC (8-channel). | Required when higher code density or analog-to-digital conversion is needed; not suitable if board space or BOM cost must remain unchanged. | Select P89LPC9351FA,112 only if ADC integration and larger program memory justify the higher unit cost and potential layout review. |
| P89LPC9251FA,112 | Same PLCC28 footprint and 8 kB flash, but lacks PGA, second comparator, CCU, and RTC; reduced I/O count (20 pins). | Suitable for simpler control tasks without mixed-signal requirements; lower cost but no hardware-accelerated PWM or event capture. | Choose P89LPC9251FA,112 only when analog front-end complexity and precise timing features are unnecessary - verify I/O sufficiency first. |
Compared with P89LPC9321FA,112, the P89LPC9351FA,112 adds ADC and memory for richer sensing, while the P89LPC9251FA,112 removes analog and timing peripherals to reduce cost - neither is pin-compatible nor drop-in; both require schematic and firmware validation.
Availability
P89LPC9321FA,112 is available at Aetrix Electronics and suitable for industrial HMI panels, smart sensor nodes, embedded power supplies, and legacy equipment upgrades requiring stable component supply, long-term lifecycle support, and traceable sourcing.
Supply support for P89LPC9321FA,112 includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
NXP Semiconductors is a global semiconductor leader focused on secure connectivity solutions for automotive, industrial, and IoT applications.
The P89LPC9321FA,112 belongs to NXP's LPC900 family of enhanced 80C51 microcontrollers, designed specifically for cost-sensitive, space-constrained embedded systems needing integrated analog peripherals, low-power operation, and robust in-system programmability.
FAQ
What is the maximum operating frequency of the P89LPC9321FA,112?
The P89LPC9321FA,112 supports a maximum operating frequency of 18 MHz. At this clock rate, its accelerated two-clock 80C51 core achieves instruction cycle times of 111 ns to 222 ns - six times faster than a standard 80C51 running at the same frequency. The oscillator may be sourced from internal RC (tunable), watchdog oscillator, or external crystal/resonator.
Does the P89LPC9321FA,112 support in-application programming (IAP) of flash memory?
Yes, the P89LPC9321FA,112 supports In-Application Programming (IAP) of its 8 kB flash code memory. This allows firmware updates or parameter changes while the device is running - critical for remote field updates and adaptive control logic. IAP is implemented via dedicated SFRs (FMCON, FMDATA) and requires proper sector protection management.
How many analog comparators does the P89LPC9321FA,112 include, and what are their key capabilities?
The P89LPC9321FA,112 includes two independent analog comparators (CMP1 and CMP2), each with selectable positive/negative inputs and reference source. A single Programmable Gain Amplifier (PGA) with gains of 2×, 4×, 8×, or 16× can be applied to comparator inputs - enabling direct interfacing with low-level sensors like thermistors or bridge transducers without external amplification.
What packaging and pin count does the P89LPC9321FA,112 use?
The P89LPC9321FA,112 uses a 28-pin Plastic Leaded Chip Carrier (PLCC28) package, designated SOT261-2. It provides 23–26 usable I/O pins depending on oscillator and reset configuration, with all pins featuring Schmitt-trigger inputs and configurable output modes (quasi-bidirectional, open-drain, push-pull, input-only).
Can the P89LPC9321FA,112 operate without an external crystal?
Yes, the P89LPC9321FA,112 can operate without an external crystal using its high-accuracy internal RC oscillator - which is fine-tunable and optionally doubled in frequency. This eliminates BOM cost and PCB area for timing components, while still supporting full functionality including RTC, UART, and I²C - provided timing accuracy requirements allow ±1% to ±2% deviation.
P89LPC9321FA,112 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- NXP Semiconductors
- Package/Case:
- 28-LCC (J-Lead)
- Series:
- LPC900
- Packaging:
- Tube
- Product Status:
- Obsolete
- Programmable:
- Verified
- Core Processor:
- 8051
- Core Size:
- 8-Bit
- Speed:
- 18MHz
- Connectivity:
- I2C, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, POR, PWM, WDT
- Number of I/O:
- 26
- Program Memory Size:
- 8KB (8K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 512 x 8
- RAM Size:
- 768 x 8
- Voltage - Supply (Vcc/Vdd):
- 2.4V ~ 3.6V
- Data Converters:
- -
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
P89LPC9321FA,112 FAQ
1.How can I place an order for P89LPC9321FA,112 through Aetrix?
Please submit a Request for Quotation (RFQ) for P89LPC9321FA,112 on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for P89LPC9321FA,112 reliable?
The price and inventory of P89LPC9321FA,112 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for P89LPC9321FA,112 is usually 5 days.
3.What payment methods are accepted for P89LPC9321FA,112?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for P89LPC9321FA,112 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for P89LPC9321FA,112?
P89LPC9321FA,112 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your P89LPC9321FA,112 order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for P89LPC9321FA,112?
For technical support, including P89LPC9321FA,112 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your P89LPC9321FA,112 requirements.
6.How does Aetrix verify that P89LPC9321FA,112 is sourced from the original manufacturer or authorized distributors?
All P89LPC9321FA,112 products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that P89LPC9321FA,112 meets industry standards.
7.What is the process for return or replacement of P89LPC9321FA,112?
All P89LPC9321FA,112 units undergo pre-shipment inspection (PSI). If there is an issue with P89LPC9321FA,112, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The P89LPC9321FA,112 part is unused and in its original packaging.
Return procedure for P89LPC9321FA,112:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
P89LPC9321FA,112 Tags

-
ATTINY4-TSHR
Microchip Technology

-
ATTINY10-TSHR
Microchip Technology

-
ATTINY10-TS8R
Microchip Technology

-
ATTINY202-SSNR
Microchip Technology

-
ATTINY202-SSFR
Microchip Technology

-
ATTINY402-SSNR
Microchip Technology

-
PIC16F15213T-I/MF
Microchip Technology

-
PIC16F15213-E/MF
Microchip Technology

-
PIC10F200T-I/OT
Microchip Technology

-
ATTINY412-SSNR
Microchip Technology

-
PIC10F202T-I/OT
Microchip Technology

-
ATTINY404-SSNR
Microchip Technology
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…

