NXP Semiconductors P89LPC938FHN,151
- Part No.:
- P89LPC938FHN,151
- Manufacturer:
- NXP Semiconductors
- Category:
- Microcontrollers
- Package:
- 28-VQFN Exposed Pad
- Datasheet:
-
P89LPC938FHN,151.pdf
- Description:
- IC MCU 8BIT 8KB FLASH 28HVQFN
- Quantity:
- Payment:

- Shipping:

Inventory:2,171
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
P89LPC938FHN,151 from NXP Semiconductors (formerly Philips) is an 8-bit accelerated two-clock 80C51 microcontroller in HVQFN28 package, featuring 8 kB byte-erasable Flash, 10-bit ADC with 8 inputs, dual 16-bit timers, and 23-bit system timer/RTC. It operates from 2.4 V to 3.6 V with 5 V-tolerant I/Os and supports keypad interrupt, analog comparators, and multiple serial interfaces (UART, I²C, SPI). Used in compact industrial control modules requiring integrated analog sensing and low-power operation.
For engineers reviewing the P89LPC938FHN,151 datasheet, P89LPC938FHN,151 pinout, P89LPC938FHN,151 application, or P89LPC938FHN,151 equivalent, key selection criteria include its HVQFN28 thermal-enhanced package, on-chip 512-byte Data EEPROM for device serialization, fractional baud rate UART, and configurable port output modes (quasi-bidirectional, open-drain, push-pull) enabling direct LED drive and EMI-controlled slew rates.
Technical Context
The P89LPC938FHN,151 implements a high-performance 80C51 core executing instructions in 2–4 clocks-six times faster than standard 80C51 at same frequency-enabling 111–222 ns instruction cycles at 18 MHz. Its architecture integrates a Capture/Compare Unit (CCU) supporting PWM generation, input capture, and output compare across four channels (OCA–OCD, ICA–ICB), plus dual analog comparators with selectable reference and inputs.
It features a programmable on-chip oscillator (20 kHz–18 MHz), separate watchdog oscillator for fail-detect capability, and power management with idle mode and two power-down modes (typical 1 µA total current with comparators disabled). The 23-bit system timer serves as RTC when configured with external crystal via XTAL1/XTAL2.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | Accelerated two-clock 80C51 CPU; executes all instructions in 2–4 clocks, delivering six-fold throughput vs. standard 80C51 at same clock frequency. |
| Flash Memory | 8 kB byte-erasable Flash organized in 1 kB sectors and 64-byte pages; enables single-byte non-volatile data storage without dedicated EEPROM. |
| Analog Peripherals | 8-input 10-bit ADC; two analog comparators with programmable inputs (CIN1A/B, CIN2A/B) and shared CMPREF negative reference. |
| Timers & RTC | Two 16-bit counter/timers (T0/T1); 23-bit system timer usable as real-time clock with external crystal or internal oscillator source. |
| Serial Interfaces | Enhanced UART with fractional baud rate generator and break detection; 400 kHz I²C-bus port; full-duplex SPI with master/slave support and SS, SPICLK, MOSI, MISO pins. |
| Power & I/O | 2.4 V–3.6 V operation; 5 V-tolerant I/O pins; 23–26 GPIOs depending on oscillator/reset configuration; Schmitt-trigger inputs on all ports. |
| Package | HVQFN28 (6 × 6 × 0.85 mm, no leads); thermal-enhanced plastic package with exposed die pad for improved heat dissipation in space-constrained designs. |
Pinout & Package
HVQFN28 package (SOT788-1) with 28 terminals, 6 × 6 × 0.85 mm body, no leads, and thermal pad for enhanced thermal performance in compact PCB layouts.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0.0/CMP2/KBI0/AD05 | Port 0 bit 0 / Comparator 2 output / Keypad interrupt 0 / ADC channel 5 | Multi-function pin supporting analog input, comparator output, and keyboard scan; enables simultaneous sensing and event-driven wake-up. |
| P1.5/RST | Port 1 bit 5 / External reset input | Input-only pin; asserts hardware reset on LOW; also triggers In-System Programming mode during power-up sequence. |
| P2.0/ICB/AD07 | Port 2 bit 0 / Input capture B / ADC channel 7 | Supports edge-triggered timestamping of external events while concurrently serving as analog input for sensor interfacing. |
| P3.0/XTAL2/CLKOUT | Port 3 bit 0 / Crystal oscillator output / CPU clock divided-by-2 output | Provides clock source for external crystal; CLKOUT function allows monitoring or feeding downstream logic without adding buffer ICs. |
| VDD / VSS | Power supply / Ground | Single 2.4–3.6 V supply required; internal power-on reset eliminates need for external reset IC when internal reset option is enabled. |
Key Features
| Feature | Design Value |
|---|---|
| In-Application Programming (IAP) | Enables firmware updates without removing P89LPC938FHN,151 from target system; critical for field-deployed devices requiring remote maintenance. |
| Configurable Port Output Modes | Per-pin selection of quasi-bidirectional, open-drain, push-pull, or input-only; eliminates need for external level shifters or pull-up resistors in mixed-voltage systems. |
| Controlled Slew Rate Outputs | ~10 ns minimum ramp time on all port outputs; reduces electromagnetic interference in noise-sensitive industrial environments. |
| Keypad Interrupt Pattern Match | Port 0 generates interrupt when pin values match or mismatch user-defined 8-bit pattern; enables low-power key scanning without CPU polling. |
| LED Drive Capability | All port pins sink/source up to 20 mA (chip-limited total); supports direct LED interface without external drivers in status-indication applications. |
Applications
| Industrial Sensor Node | Smart Meter Interface Module |
|---|---|
|
Use Scenario: Compact environmental monitoring node measuring temperature, humidity, and voltage levels in factory automation cabinets. IC Role / Device Role / Timing Role: P89LPC938FHN,151 acts as main controller, performing ADC sampling, analog comparator threshold checks, and UART-based data reporting every 500 ms. Use Value: Integrated 10-bit ADC, 512-byte Data EEPROM for calibration storage, and 2.4–3.6 V operation enable battery-powered deployment with <1 µA deep-sleep current. |
Use Scenario: Tamper-detection and pulse-counting interface between utility meter mechanical registers and wireless communication module. IC Role / Device Role / Timing Role: P89LPC938FHN,151 serves as isolated signal conditioner and event counter, using T1 as external pulse input and CCU for precise timing of tamper alerts. Use Value: 5 V-tolerant I/Os interface directly with meter's 5 V logic; keypad interrupt and port pattern match detect enclosure opening without additional sensors. |
| Low-Power Keypad Terminal | Embedded Power Supply Monitor |
|
Use Scenario: Battery-operated HVAC control panel with 8-key membrane keypad and LCD backlight control. IC Role / Device Role / Timing Role: P89LPC938FHN,151 manages key scan via KBI0–KBI7, drives LEDs directly, and controls display contrast using PWM from CCU channels. Use Value: On-chip RC oscillator eliminates crystal cost; LED drive capability removes discrete drivers; low-power modes extend battery life beyond 2 years. |
Use Scenario: DC power rail supervisor in telecom equipment detecting brownout, overvoltage, and supply sequencing faults. IC Role / Device Role / Timing Role: P89LPC938FHN,151 monitors VDD via internal bandgap reference and analog comparators, triggering controlled shutdown via GPIO before critical failure. Use Value: Low-voltage reset (brownout detect) configurable as interrupt or reset; independent watchdog with on-chip oscillator ensures fail-safe recovery even if main clock fails. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| NXP LPC935FHN | Same 80C51 core, 4 kB Flash, 256-byte RAM; lacks 512-byte Data EEPROM and second analog comparator. | Suitable for simpler control tasks without non-volatile parameter storage or dual-threshold analog monitoring. | Select when cost sensitivity outweighs EEPROM and comparator requirements; pin-compatible but reduced peripheral set. |
| Microchip PIC16F18877-I/ML | 16-bit enhanced mid-range core; 56 kB Flash, 4 kB RAM; includes CIP peripherals (CLC, NCO) but no native 10-bit ADC with 8-channel mux. | Better suited for complex digital signal conditioning or multi-protocol gateways where 80C51 software compatibility is not required. | Choose for higher code density and advanced logic integration; requires toolchain and firmware migration; different pinout and voltage range (1.8–5.5 V). |
Compared with P89LPC938FHN,151, the LPC935FHN offers lower memory and fewer analog resources at reduced cost, while the PIC16F18877 provides greater processing headroom and flexible peripherals but demands architectural rework and lacks direct 80C51 code compatibility.
Availability
P89LPC938FHN,151 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart meter interface modules, low-power keypad terminals, and embedded power supply monitors requiring stable component supply, long-term lifecycle support, and RoHS-compliant packaging.
Supply support for P89LPC938FHN,151 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 heritage in Philips' semiconductor division.
The P89LPC938FHN,151 belongs to NXP's LPC900 family of 8-bit microcontrollers designed for cost-sensitive, space-constrained embedded systems requiring high integration, low power, and robust analog/mixed-signal capabilities.
FAQ
What is the maximum operating frequency of the P89LPC938FHN,151?
The P89LPC938FHN,151 supports a maximum operating frequency of 18 MHz, achievable with external crystal/resonator or internal RC oscillator. At this frequency, its accelerated 2-clock 80C51 core delivers instruction cycle times of 111–222 ns-six times faster than standard 80C51 devices. The configurable oscillator divider allows lower frequencies for power optimization without changing hardware.
Does the P89LPC938FHN,151 support in-system programming (ISP)?
Yes, the P89LPC938FHN,151 supports Serial Flash ISP, allowing firmware programming while the device is mounted in the end application via UART, I²C, or SPI. This eliminates the need for socketed programming and enables field updates. ISP requires only VDD, GND, and one serial interface-no special high-voltage signals are needed.
How many analog input channels does the P89LPC938FHN,151 ADC support?
The P89LPC938FHN,151 integrates an 8-input, 10-bit successive-approximation ADC (ADC0) with channels AD00 through AD07 mapped to P0.1, P0.2, P0.3, P0.4, P0.0, P1.7, P2.1, and P2.0 respectively. Channel selection is software-controlled via AD0INS register, and conversion can be triggered by timer, external event, or software command.
What are the power supply requirements for the P89LPC938FHN,151?
The P89LPC938FHN,151 operates from a single 2.4 V to 3.6 V supply (VDD), with VSS as ground reference. All I/O pins are 5 V tolerant-capable of being pulled up to or driven by 5.5 V logic-enabling interoperability with legacy 5 V systems without level shifters. Internal power-on reset and brownout detection eliminate external reset components.
Can the P89LPC938FHN,151 generate PWM signals?
Yes, the P89LPC938FHN,151 generates PWM via its Capture/Compare Unit (CCU), which provides four independent output compare channels (OCA–OCD). Each channel supports programmable duty cycle and frequency; OCA and OCB can be configured as complementary PWM pairs with dead-time insertion. PWM resolution is determined by 16-bit timer base and prescaler settings.
P89LPC938FHN,151 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- NXP Semiconductors
- Package/Case:
- 28-VQFN Exposed Pad
- Series:
- LPC900
- Packaging:
- Tray
- 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, LED, 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:
- A/D 8x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
P89LPC938FHN,151 FAQ
1.How can I place an order for P89LPC938FHN,151 through Aetrix?
Please submit a Request for Quotation (RFQ) for P89LPC938FHN,151 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 P89LPC938FHN,151 reliable?
The price and inventory of P89LPC938FHN,151 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for P89LPC938FHN,151 is usually 5 days.
3.What payment methods are accepted for P89LPC938FHN,151?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for P89LPC938FHN,151 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for P89LPC938FHN,151?
P89LPC938FHN,151 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your P89LPC938FHN,151 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 P89LPC938FHN,151?
For technical support, including P89LPC938FHN,151 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your P89LPC938FHN,151 requirements.
6.How does Aetrix verify that P89LPC938FHN,151 is sourced from the original manufacturer or authorized distributors?
All P89LPC938FHN,151 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 P89LPC938FHN,151 meets industry standards.
7.What is the process for return or replacement of P89LPC938FHN,151?
All P89LPC938FHN,151 units undergo pre-shipment inspection (PSI). If there is an issue with P89LPC938FHN,151, 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 P89LPC938FHN,151 part is unused and in its original packaging.
Return procedure for P89LPC938FHN,151:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
P89LPC938FHN,151 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…

