NXP Semiconductors P89LPC9321FDH,518
- Part No.:
- P89LPC9321FDH,518
- Manufacturer:
- NXP Semiconductors
- Category:
- Microcontrollers
- Package:
- 28-TSSOP (0.173", 4.40mm Width)
- Datasheet:
-
P89LPC9321FDH,518.pdf
- Description:
- IC MCU 8BIT 8KB FLASH 28TSSOP
- Quantity:
- Payment:

- Shipping:

Inventory:2,644
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
P89LPC9321FDH,518 from NXP Semiconductors is an 8-bit accelerated two-clock 80C51 microcontroller in TSSOP28 package, executing instructions in 2–4 clocks at up to 18 MHz (111–222 ns cycle time), featuring 8 kB byte-erasable flash, 512-byte on-chip data EEPROM, and dual analog comparators with programmable gain amplifier. It targets low-cost embedded control in industrial sensors and power management modules requiring non-volatile parameter storage and mixed-signal I/O.
For engineers reviewing the P89LPC9321FDH,518 datasheet, P89LPC9321FDH,518 pinout, P89LPC9321FDH,518 application, or P89LPC9321FDH,518 equivalent, this page delivers verified technical context, validated pin functions, confirmed peripheral capabilities (I²C, SPI, UART, CCU, RTC), and real-world selection guidance for production-grade 8-bit MCU replacement or new design integration.
Technical Context
The P89LPC9321FDH,518 implements a high-efficiency 80C51 core with six-fold throughput versus standard 80C51 at identical clock frequency, enabled by its two-clock architecture and internal RC oscillator option (20 kHz–18 MHz, ±5 % calibrated). Its system-level integration includes a 23-bit real-time clock subsystem (7-bit prescaler + 16-bit timer), four interrupt priority levels, and keypad interrupt support across eight Port 0 pins.
Peripheral coexistence is managed via shared pin multiplexing: P1.2/P1.3 serve dual I²C-bus (SCL/SDA) and timer (T0/INT0) roles; P2.2–P2.5 implement full-duplex SPI (MOSI/MISO/SPICLK/SS); and P0.0–P0.7 host comparator inputs (CIN1A/B, CIN2A/B), reference (CMPREF), outputs (CMP1/CMP2), and keyboard interrupts (KBI0–KBI7).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | Accelerated two-clock 80C51 CPU delivering 6× instruction throughput vs. standard 80C51 at same frequency. |
| Flash Memory | 8 kB byte-erasable flash organized in 1 kB sectors and 64-byte pages; enables in-application programming (IAP) and non-volatile data storage. |
| Data Storage | 512-byte on-chip data EEPROM for device serialization and setup parameter retention across power cycles. |
| Analog Peripherals | Dual analog comparators with selectable inputs and reference; single PGA with 2×/4×/8×/16× gain applied to comparator inputs. |
| Timers & RTC | Two 16-bit counter/timers (T0/T1), Capture/Compare Unit (CCU) with PWM/input capture/output compare, and 23-bit system timer usable as real-time clock. |
| Communication Interfaces | Enhanced UART (fractional baud rate, break detect), 400 kHz I²C-bus port, and SPI port - all with dedicated hardware registers and interrupt support. |
| Supply & I/O | 2.4 V–3.6 V VDD operation; I/O pins 5 V tolerant (up to 5.5 V); 23–26 configurable I/O pins in TSSOP28 package. |
Pinout & Package
Package: TSSOP28 (SOT361-1), 4.4 mm body width, surface-mount, RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0.0/CMP2/KBI0 | Port 0 bit 0 / Comparator 2 output / Keypad input 0 | Configurable I/O with Schmitt trigger; supports analog comparator output and keyboard scan interrupt. |
| P0.1/CIN2B/KBI1 | Port 0 bit 1 / Comparator 2 positive input B / Keypad input 1 | High-impedance analog input for CMP2; also serves as active-low keypad interrupt source. |
| P0.6/CMP1/KBI6 | Port 0 bit 6 / Comparator 1 output / Keypad input 6 | Direct comparator output signal; enables zero-crossing or threshold detection logic without external circuitry. |
| P1.0/TXD | Port 1 bit 0 / UART transmit output | Asynchronous serial output with fractional baud rate generator; drives RS-232 level shifters or TTL logic directly. |
| P1.3/INT0/SDA | Port 1 bit 3 / External interrupt 0 / I²C data line | Open-drain I²C-bus interface; doubles as edge-triggered external interrupt for wake-up or event capture. |
| P2.5/SPICLK | Port 2 bit 5 / SPI clock | Master or slave SPI clock signal; supports variable polarity/phase (CPOL/CPHA) and programmable prescaling. |
| VDD | Power supply | Primary 2.4–3.6 V supply rail; powers core, peripherals, and I/O; supports ultra-low-power modes down to 1 μA. |
| VSS | Ground | 0 V reference for all digital and analog circuits; requires low-impedance connection to minimize noise coupling. |
Key Features
| Feature | Design Value |
|---|---|
| Byte-erasable flash | Enables true non-volatile data storage in flash memory without dedicated EEPROM area - any byte(s) can be individually erased and rewritten. |
| Programmable Gain Amplifier (PGA) | Provides 2×/4×/8×/16× gain selection on comparator inputs, allowing direct amplification of low-level sensor signals before comparison. |
| Real-time clock (RTC) mode | 23-bit system timer (7-bit prescaler + 16-bit counter) operates as accurate RTC using internal oscillator - no external crystal required. |
| Four interrupt priority levels | Supports nested interrupt handling with configurable priority assignment per source (UART, I²C, CCU, keypad, etc.), critical for deterministic real-time response. |
| 5 V-tolerant I/O | All I/O pins withstand 5.5 V, enabling direct interfacing with legacy 5 V logic, sensors, or displays without level-shifting components. |
| Low-power modes | Idle and two power-down modes; typical power-down current is 1 μA (with voltage comparators disabled), extending battery life in portable devices. |
Applications
| Industrial Sensor Node | Smart Power Switch Controller |
|---|---|
|
Use Scenario: Compact environmental sensor node measuring temperature, humidity, and supply voltage in factory automation cabinets. IC Role / Device Role / Timing Role: Central controller managing ADC-less analog comparisons (via built-in comparators), storing calibration data in 512-byte EEPROM, and reporting status over I²C. Use Value: Eliminates external op-amps and EEPROM chip; reduces BOM count and PCB area while maintaining accuracy via PGA-adjusted thresholds. |
Use Scenario: DIN-rail mounted AC/DC power supply with overvoltage, overcurrent, and thermal shutdown protection. IC Role / Device Role / Timing Role: Real-time supervisor monitoring analog inputs (via comparators), generating PWM for fan speed control, and logging fault events to flash. Use Value: Integrates comparator-based protection, PWM generation, and non-volatile fault logging in one TSSOP28 device - no external timing or memory needed. |
| Keypad-Based HMI Panel | Legacy Bus Interface Adapter |
|
Use Scenario: Front-panel interface for HVAC controllers with 8-key membrane keypad and LED indicators. IC Role / Device Role / Timing Role: Keypad scanner using Port 0's KBI0–KBI7 inputs; drives LEDs via high-current sourcing (20 mA) on P0.3–P0.7. Use Value: Native keypad interrupt support eliminates polling overhead; high-current I/O drives LEDs directly - no transistor drivers required. |
Use Scenario: Protocol translator bridging RS-232 serial commands to I²C-controlled actuators in building management systems. IC Role / Device Role / Timing Role: UART receives ASCII commands; parses and forwards to I²C slaves (e.g., DACs, GPIO expanders) using hardware I²C engine. Use Value: Hardware-accelerated UART and I²C eliminate firmware bit-banging; fractional baud rate generator ensures precise 9600/19200/38400 bps compatibility. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| P89LPC9351FDH,518 | Same core and package, but with 16 kB flash, 1 kB EEPROM, and additional 10-bit ADC channel. | Better suited for designs requiring higher code density or analog-to-digital conversion not supported by P89LPC9321FDH,518. | Select when ADC integration or >8 kB firmware space is mandatory; otherwise, P89LPC9321FDH,518 offers lower cost and identical peripheral set. |
| STC89C52RC | Standard 8051 core (12-clock), 8 kB flash, no on-chip EEPROM, no analog comparators or PGA, 5 V only operation. | Limited to 5 V systems without mixed-signal features; lacks RTC, I²C, and low-voltage operation. | Choose only for legacy 5 V-only designs where analog peripherals and sub-5 V operation are unnecessary; P89LPC9321FDH,518 provides superior integration and flexibility. |
Compared with P89LPC9321FDH,518, the P89LPC9351FDH,518 extends flash and adds ADC capability without changing pinout or software compatibility, while the STC89C52RC sacrifices analog integration, low-voltage operation, and modern peripherals for basic 8051 compatibility and lower unit cost.
Availability
P89LPC9321FDH,518 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart power switch controllers, keypad-based HMI panels, and legacy bus interface adapters requiring stable component supply, long-term lifecycle assurance, and RoHS-compliant packaging.
Supply support for P89LPC9321FDH,518 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, with deep expertise in microcontrollers and mixed-signal integration.
The P89LPC9321FDH,518 belongs to NXP's LPC900 family of enhanced 80C51 microcontrollers, designed specifically for cost-sensitive, space-constrained embedded control applications demanding analog sensing, non-volatile configuration storage, and multi-protocol communication in a single chip.
FAQ
What is the maximum operating frequency of the P89LPC9321FDH,518?
The P89LPC9321FDH,518 supports a maximum operating frequency of 18 MHz when using an external crystal or resonator. With its internal RC oscillator option, it achieves stable operation across 20 kHz to 18 MHz, calibrated to ±5 %, eliminating need for external timing components in many applications. The P89LPC9321FDH,518 maintains full functionality-including UART, I²C, and CCU-at all supported frequencies.
Does the P89LPC9321FDH,518 support in-system programming (ISP)?
Yes, the P89LPC9321FDH,518 supports Serial Flash In-System Programming (ISP), enabling firmware updates while the device is soldered into the target application. This capability uses the UART interface and requires no external programming hardware beyond a simple serial adapter. The P89LPC9321FDH,518 also supports In-Application Programming (IAP), allowing runtime modification of flash code memory during normal operation.
How many I/O pins are available on the P89LPC9321FDH,518 in TSSOP28 package?
The P89LPC9321FDH,518 provides a minimum of 23 configurable I/O pins in the TSSOP28 package, scalable to 26 I/O pins when using on-chip oscillator and reset options. All 28 pins are assigned specific functions: 23–26 general-purpose I/Os plus dedicated power (VDD/VSS), reset (RST), oscillator (XTAL1/XTAL2), and communication (TXD/RXD/SCL/SDA/MOSI/MISO/SPICLK/SS) signals.
Can the P89LPC9321FDH,518 operate below 2.4 V?
No, the P89LPC9321FDH,518 has a specified minimum VDD of 2.4 V and is not rated for operation below that voltage. Its 4-level brownout detection monitors supply voltage and can generate an interrupt or force a graceful shutdown if VDD drops near the operational threshold. Operating outside the 2.4 V–3.6 V range may cause undefined behavior or failure to execute instructions reliably. The P89LPC9321FDH,518 does not support sub-2.4 V ultra-low-power modes.
Is there hardware support for I²C communication on the P89LPC9321FDH,518?
Yes, the P89LPC9321FDH,518 integrates a full hardware I²C-bus interface supporting 400 kHz operation, with dedicated SFRs (I2CON, I2DAT, I2ADR, I2STAT) and open-drain I/O on P1.2 (SCL) and P1.3 (SDA). It handles START/STOP conditions, ACK/NACK, arbitration, and clock stretching autonomously - no firmware bit-banging required. The P89LPC9321FDH,518 also supports I²C slave addressing and multi-master operation per specification.
P89LPC9321FDH,518 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- NXP Semiconductors
- Package/Case:
- 28-TSSOP (0.173", 4.40mm Width)
- Series:
- LPC900
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Obsolete
- Programmable:
- Not 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:
P89LPC9321FDH,518 FAQ
1.How can I place an order for P89LPC9321FDH,518 through Aetrix?
Please submit a Request for Quotation (RFQ) for P89LPC9321FDH,518 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 P89LPC9321FDH,518 reliable?
The price and inventory of P89LPC9321FDH,518 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for P89LPC9321FDH,518 is usually 5 days.
3.What payment methods are accepted for P89LPC9321FDH,518?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for P89LPC9321FDH,518 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for P89LPC9321FDH,518?
P89LPC9321FDH,518 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your P89LPC9321FDH,518 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 P89LPC9321FDH,518?
For technical support, including P89LPC9321FDH,518 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your P89LPC9321FDH,518 requirements.
6.How does Aetrix verify that P89LPC9321FDH,518 is sourced from the original manufacturer or authorized distributors?
All P89LPC9321FDH,518 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 P89LPC9321FDH,518 meets industry standards.
7.What is the process for return or replacement of P89LPC9321FDH,518?
All P89LPC9321FDH,518 units undergo pre-shipment inspection (PSI). If there is an issue with P89LPC9321FDH,518, 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 P89LPC9321FDH,518 part is unused and in its original packaging.
Return procedure for P89LPC9321FDH,518:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
P89LPC9321FDH,518 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…

