NXP Semiconductors P87LPC764FD,512
- Part No.:
- P87LPC764FD,512
- Manufacturer:
- NXP Semiconductors
- Category:
- Microcontrollers
- Package:
- 20-SOIC (0.295", 7.50mm Width)
- Datasheet:
-
P87LPC764FD,512.pdf
- Description:
- IC MCU 8BIT 4KB OTP 20SO
- Quantity:
- Payment:

- Shipping:

Inventory:1,113
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
P87LPC764FD,512 from NXP Semiconductors (formerly Philips) is a 20-pin, low-power, OTP-based 80C51-compatible microcontroller with 4 kbyte on-chip EPROM, 128 byte RAM, dual analog comparators, I²C and UART interfaces, and programmable port configurations - used in cost-sensitive industrial control, sensor interface, and LED-driven appliance modules.
For engineers reviewing the P87LPC764FD,512 datasheet, P87LPC764FD,512 pinout, P87LPC764FD,512 application, or P87LPC764FD,512 equivalent, this page delivers verified technical context, exact pin functions for SO20 package, real-world use cases, and two validated alternative parts with documented functional and application-level differences.
Technical Context
The P87LPC764FD,512 implements an accelerated 80C51 CPU core executing instructions at twice the speed of standard 80C51 devices - achieving 300–600 ns instruction cycles at 20 MHz (VDD = 4.5–6.0 V) or 10 MHz (VDD = 2.7–6.0 V). Its internal architecture integrates dual 16-bit timers, full-duplex UART, hardware I²C controller with arbitration and timeout detection, and two independently configurable analog comparators with selectable inputs (CIN1A/CIN1B/CMPREF/Vref) and interrupt capability.
It supports flexible clocking via external crystal (X1/X2), RC oscillator (±25% tolerance), or external clock input, with on-chip power-on reset, brownout reset (selectable 2.7 V or 3.0 V threshold), and watchdog timer featuring a separate on-chip oscillator - enabling reliable operation across –40 °C to +85 °C without external timing or reset components.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Accelerated 80C51 executing all instructions except MUL/DIV in 300–600 ns at 20 MHz - doubles throughput vs. legacy 80C51 at same frequency. |
| Memory | 4 kbyte on-chip OTP EPROM code memory + 128 byte RAM + 32 byte customer code EPROM - enables device serialization and parameter storage without external EEPROM. |
| Operating Voltage | 2.7 V to 6.0 V digital supply range - supports battery-powered and wide-input industrial rails without level-shifting. |
| Temperature Range | –40 °C to +85 °C - qualified for extended industrial environments including HVAC controls and motor drives. |
| Package | SO20 (SOT163-1), 7.5 mm body width - surface-mount compatible with standard reflow profiles and IPC-compliant PCB layouts. |
| Power Modes | Idle and Power Down modes; typical Power Down current ≤1 µA - extends battery life in wake-on-interrupt sensor nodes. |
| I/O Capability | 15–18 configurable I/O pins with quasi-bidirectional, open-drain, push-pull, or input-only modes - eliminates external buffers for LED drive (20 mA per pin) and keypad scanning. |
Pinout & Package
Package: SO20 (plastic small outline, 20 leads, 7.5 mm body width, SOT163-1).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1 (CMP2/P0.0) | Comparator 2 output / Port 0 bit 0 | Delivers comparator result directly to external circuitry; configured as quasi-bidirectional I/O when not used for analog function. |
| 2–4, 8–12 (P1.x) | Port 1 I/O with special functions | Includes TxD/RxD (UART), INT0/INT1 (external interrupts), T0/T1 (timer inputs), SCL/SDA (I²C bus) - enables mixed-signal communication without external transceivers. |
| 5 (VSS) | Digital ground reference | Single ground connection required; no separate analog ground - simplifies layout in low-noise embedded systems. |
| 6 (X1/P2.1) | Oscillator input / Port 2 bit 1 | Accepts crystal, resonator, or external clock; Schmitt-trigger input ensures robust start-up under noisy conditions. |
| 7 (X2/CLKOUT/P2.0) | Oscillator output / CPU clock divider output | Drives crystal load or provides divided-by-6 clock signal for synchronization of external peripherals. |
| 13–20 (P0.x) | Port 0 I/O with analog comparator inputs | Hosts CIN1A/CIN1B/CIN2A/CIN2B/CMPREF/CMP1/CMP2 - allows direct connection of sensors, references, and comparators without external op-amps. |
| 15 (VDD) | Primary power supply | Supplies entire chip including analog comparators and I/O drivers; operates down to 2.7 V with full functionality. |
Key Features
| Feature | Design Value |
|---|---|
| Configurable port output types | Per-pin selection of quasi-bidirectional, open-drain, push-pull, or input-only mode - eliminates need for external pull-ups or MOSFET drivers in LED or relay control. |
| On-chip watchdog with independent oscillator | Eight selectable timeout values and fail-detect capability - prevents system lockup without external RC network or timing component. |
| Dual analog comparators | Each supports four input configurations (CINnA/CINnB vs. CMPREF/Vref), interrupt-on-change, and operation down to 3.0 V - enables voltage monitoring and zero-crossing detection in power supplies. |
| Integrated I²C master/slave controller | Hardware arbitration, clock stretching, and bus timeout detection - reduces firmware overhead and improves reliability in multi-master sensor networks. |
| LED drive capability | 20 mA sink/source per port pin with controlled slew rate (~10 ns ramp time) - directly drives indicators or small displays while minimizing EMI. |
Applications
| Industrial Sensor Interface | Appliance Keypad Controller |
|---|---|
Use Scenario: Monitoring temperature, voltage, or current thresholds in HVAC controllers using resistive sensors and reference voltages. IC Role / Device Role / Timing Role: P87LPC764FD,512 acts as analog front-end processor, comparing sensor outputs against internal Vref (1.28 V ±10%) or external CMPREF, triggering interrupts on threshold breach. Use Value: Eliminates external comparator ICs and reduces BOM count by integrating dual comparators, 12-bit-equivalent resolution via software oversampling, and wake-on-compare Power Down recovery. |
Use Scenario: Scanning matrix keypads in microwave ovens or washing machines with noise immunity and low standby power. IC Role / Device Role / Timing Role: P87LPC764FD,512 serves as dedicated keypad manager, using eight keypad interrupt inputs (P0.0–P0.7) and debounced scan logic to detect key presses without CPU polling. Use Value: Reduces host MCU interrupt load and enables fast response (<10 ms) while maintaining <1 µA Power Down current during idle periods. |
| LED-Based Status Display Module | Low-Cost Motor Control Interface |
Use Scenario: Driving multi-segment LED indicators in power supplies or test equipment with brightness control and fault signaling. IC Role / Device Role / Timing Role: P87LPC764FD,512 functions as LED driver controller, using push-pull outputs (20 mA per pin) and PWM-capable timers to manage up to 18 LEDs with current limiting. Use Value: Replaces discrete transistor arrays and current-limiting resistors; controlled slew rate minimizes conducted EMI in EMC-sensitive medical or lab equipment. |
Use Scenario: Providing enable, direction, and fault feedback signals for brushed DC motors in garage door openers or window actuators. IC Role / Device Role / Timing Role: P87LPC764FD,512 serves as motor interface co-processor, reading hall-effect feedback via analog comparators and generating timed enable pulses using Timer 0/1 overflow toggles. Use Value: Enables closed-loop commutation without external logic; built-in watchdog ensures safe shutdown on loss of feedback or overcurrent detection. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| P89LPC922FA,518 | Enhanced 80C51 core with 8 kB flash, on-chip debug, and higher ESD rating (4 kV HBM); lacks dual analog comparators but adds PCA and SPI. | Preferred for designs requiring field firmware updates or higher integration (e.g., smart meter UI), but unsuitable where analog comparator inputs are mandatory. | Select P89LPC922FA,518 only if flash reprogrammability and debug support outweigh loss of comparator flexibility. |
| STC15W408AS-35I-SOP20 | 1T 8051 core, 8 kB flash, 512 byte RAM, built-in LDO, and 10-bit ADC; no I²C hardware but includes UART+SPI+PWM; operates down to 2.4 V. | Better suited for ADC-centric sensor nodes or battery-powered devices needing integrated power regulation, but requires software I²C emulation for bus compatibility. | Choose STC15W408AS-35I-SOP20 when ADC resolution and ultra-low-voltage operation are critical, and I²C can be implemented in firmware. |
Compared with P87LPC764FD,512, P89LPC922FA,518 offers superior debug and update capability at the cost of analog comparator functionality, while STC15W408AS-35I-SOP20 trades I²C hardware and comparator precision for ADC integration and wider voltage headroom - making each viable only where their specific strengths align with system-level priorities.
Availability
P87LPC764FD,512 is available at Aetrix Electronics and suitable for industrial sensor interface, appliance keypad control, LED status display, and low-cost motor interface applications requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for P87LPC764FD,512 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 specializing in secure connectivity solutions for automotive, industrial, and IoT markets, with roots in Philips' pioneering microcontroller development.
The P87LPC764FD,512 belongs to NXP's legacy LPC700 family - designed specifically for cost-optimized, low-pin-count embedded control in appliances, power tools, and industrial panels where integration, reliability, and wide operating margins are essential.
FAQ
What is the maximum operating frequency of the P87LPC764FD,512 and under what voltage conditions?
The P87LPC764FD,512 operates at up to 20 MHz when VDD is between 4.5 V and 6.0 V, and up to 10 MHz when VDD is between 2.7 V and 6.0 V. These limits are defined in the AC electrical characteristics section of the official datasheet and reflect guaranteed timing performance across the –40 °C to +85 °C temperature range. The P87LPC764FD,512 achieves this using its accelerated 80C51 core with 6-clock-cycle machine cycles.
Does the P87LPC764FD,512 include hardware I²C support, and how is it implemented?
Yes, the P87LPC764FD,512 includes dedicated hardware I²C support via SFRs I2CON, I2CFG, and I2DAT, with built-in arbitration, clock stretching, and bus timeout detection using Timer I. It supports both master and slave roles and uses P1.2 (SCL) and P1.3 (SDA) pins configured as open-drain outputs. The P87LPC764FD,512's I²C subsystem is functionally compatible with the 87C751/752 but uses different SFR addresses and interrupt enable bits (EI2 in IEN1).
Can the P87LPC764FD,512 operate without external crystal or RC components?
Yes, the P87LPC764FD,512 supports fully on-chip RC oscillator operation - selectable via EPROM configuration bits - eliminating the need for external crystals, capacitors, or resistors. This mode provides ±25% frequency tolerance and enables single-supply, minimal-component designs such as disposable sensors or low-cost remote controls. The P87LPC764FD,512 also includes on-chip power-on reset and brownout detection, removing external reset ICs.
What analog functions does the P87LPC764FD,512 provide, and how are they configured?
The P87LPC764FD,512 integrates two independent analog comparators (CMP1 and CMP2), each with selectable positive inputs (CIN1A/CIN1B or CIN2A/CIN2B), negative inputs (CMPREF pin or internal 1.28 V ±10% Vref), and output routing to dedicated pins (P0.6 and P0.0) or SFR flags (CMF1/CMF2). Configuration is done via CMP1/CMP2 SFRs (addresses ACh/ADh), and digital inputs on analog pins must be disabled using PT0AD register to ensure accuracy. The P87LPC764FD,512 comparators remain functional in Power Down mode and can wake the CPU on output change.
Is the P87LPC764FD,512 pin-compatible with other members of the LPC76x family, such as P87LPC762 or P87LPC767?
No, the P87LPC764FD,512 is not pin-compatible with P87LPC762 or P87LPC767. While all share the 20-pin SO/TSSOP/DIP footprint, pin functions differ significantly - e.g., P87LPC762 lacks I²C and second comparator, and P87LPC767 adds extra I/O and ADC channels with rearranged special-function assignments. The P87LPC764FD,512's pin mapping (e.g., SDA on P1.3, CMPREF on P0.5) is unique to its variant and verified in the official pin description table.
P87LPC764FD,512 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- NXP Semiconductors
- Package/Case:
- 20-SOIC (0.295", 7.50mm Width)
- Series:
- LPC700
- Packaging:
- Tube
- Product Status:
- Obsolete
- Programmable:
- Verified
- Core Processor:
- 8051
- Core Size:
- 8-Bit
- Speed:
- 20MHz
- Connectivity:
- I2C, UART/USART
- Peripherals:
- Brown-out Detect/Reset, LED, POR, WDT
- Number of I/O:
- 18
- Program Memory Size:
- 4KB (4K x 8)
- Program Memory Type:
- OTP
- EEPROM Size:
- -
- RAM Size:
- 128 x 8
- Voltage - Supply (Vcc/Vdd):
- 2.7V ~ 6V
- Data Converters:
- -
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
P87LPC764FD,512 FAQ
1.How can I place an order for P87LPC764FD,512 through Aetrix?
Please submit a Request for Quotation (RFQ) for P87LPC764FD,512 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 P87LPC764FD,512 reliable?
The price and inventory of P87LPC764FD,512 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for P87LPC764FD,512 is usually 5 days.
3.What payment methods are accepted for P87LPC764FD,512?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for P87LPC764FD,512 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for P87LPC764FD,512?
P87LPC764FD,512 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your P87LPC764FD,512 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 P87LPC764FD,512?
For technical support, including P87LPC764FD,512 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your P87LPC764FD,512 requirements.
6.How does Aetrix verify that P87LPC764FD,512 is sourced from the original manufacturer or authorized distributors?
All P87LPC764FD,512 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 P87LPC764FD,512 meets industry standards.
7.What is the process for return or replacement of P87LPC764FD,512?
All P87LPC764FD,512 units undergo pre-shipment inspection (PSI). If there is an issue with P87LPC764FD,512, 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 P87LPC764FD,512 part is unused and in its original packaging.
Return procedure for P87LPC764FD,512:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
P87LPC764FD,512 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…

