NXP Semiconductors P87LPC764BDH,512
- Part No.:
- P87LPC764BDH,512
- Manufacturer:
- NXP Semiconductors
- Category:
- Microcontrollers
- Package:
- 20-TSSOP (0.173", 4.40mm Width)
- Datasheet:
-
P87LPC764BDH,512.pdf
- Description:
- IC MCU 8BIT 4KB OTP 20TSSOP
- Quantity:
- Payment:

- Shipping:

Inventory:3,924
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
P87LPC764BDH,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. It operates from 2.7 V to 6.0 V, supports up to 20 MHz at 5 V, and targets cost-sensitive embedded control in industrial sensors, LED lighting drivers, and appliance subsystems.
For engineers reviewing the P87LPC764BDH,512 datasheet, P87LPC764BDH,512 pinout, P87LPC764BDH,512 application, or P87LPC764BDH,512 equivalent, this page delivers verified technical context, validated pin functions, confirmed operating parameters, real-world use scenarios, and two rigorously cross-checked alternative parts for direct design evaluation.
Technical Context
The P87LPC764BDH,512 implements an accelerated 80C51 core executing instructions in 6 or 12 clock cycles - delivering twice the throughput of standard 80C51 at identical clock frequencies. Its internal architecture integrates dual 16-bit timers, full-duplex UART, hardware I²C controller with bus timeout detection, and two independent analog comparators with selectable inputs (CIN1A/CIN1B, CIN2A/CIN2B), reference options (CMPREF or internal 1.28 V ±10% Vref), and interrupt-on-change capability.
Power management includes Idle and Power Down modes with typical 1 µA current draw in Power Down, wake-up via external interrupt or comparator output change, and on-chip power-on reset plus configurable brownout detection. The device uses a user-programmable on-chip RC oscillator (±10% tolerance) or external crystal/resonator, eliminating need for external timing components in many applications.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Accelerated 80C51 executing all instructions in 6–12 clocks; 2× speed vs. standard 80C51 at same frequency. |
| Memory | 4 kbyte on-chip OTP EPROM code memory + 32 byte customer code space + 128 byte RAM. |
| Operating Voltage | 2.7 V to 6.0 V digital supply range; supports battery-powered and wide-input industrial systems. |
| Max Clock Frequency | 20 MHz at VDD = 4.5–6.0 V; 10 MHz at VDD = 2.7–6.0 V - enables high-speed serial comms and real-time control. |
| Analog Peripherals | Dual analog comparators with 8 configuration modes, internal 1.28 V ±10% reference, and interrupt-on-output-change. |
| Communication Interfaces | Full-duplex UART + hardware I²C master/slave interface with built-in arbitration, clock stretching, and bus timeout protection. |
| Power Modes | Idle mode and Power Down mode with 1 µA typical current; wake-up via external interrupt, timer overflow, or comparator event. |
Pinout & Package
TSSOP20 package (plastic thin shrink small outline, 20 leads, body width 4.4 mm, SOT360-1); 20-pin layout compatible with DIP20 and SO20 footprints but with reduced footprint and thermal resistance.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1, 13–20 (P0.0–P0.7) | Configurable I/O port with analog comparator functions | Port 0 provides 8 bidirectional pins; P0.0=CMP2 output, P0.1–P0.4=CIN2B/CIN2A/CIN1B/CIN1A inputs, P0.5=CMPREF, P0.6=CMP1 output, P0.7=T1 input/overflow. |
| 2–4, 8–12 (P1.0–P1.7) | Configurable I/O port with serial and interrupt functions | Port 1 provides 8 bidirectional pins; P1.0=TxD, P1.1=RxD, P1.2=SCL/T0, P1.3=SDA/INT0, P1.4=INT1, P1.5=RST (Schmitt trigger when used as I/O). |
| 6–7 (P2.0–P2.1) | Oscillator/clock interface | P2.0=X2/CLKOUT (oscillator output or divided CPU clock), P2.1=X1 (oscillator input); supports crystal, resonator, or RC configuration. |
| 5 (VSS) | Ground reference | 0 V return path for all digital and analog circuitry; must be low-impedance connection for stable comparator operation. |
| 15 (VDD) | Power supply input | Main supply for core, peripherals, and I/O; supports 2.7–6.0 V operation without external regulators in many designs. |
Key Features
| Feature | Design Value |
|---|---|
| Programmable port output types | Each pin independently configurable as quasi-bidirectional, open-drain, push-pull, or input-only - enabling direct LED drive (20 mA) and noise-immune bus interfacing. |
| On-chip oscillator options | User-configurable RC oscillator (±10%) or external crystal/resonator support - eliminates external capacitors and reduces BOM count. |
| Watchdog timer with fail-safe detection | Dedicated on-chip oscillator ensures watchdog continues functioning during main oscillator failure; 8 selectable timeout values. |
| LED drive capability | All 15+ I/O pins rated for 20 mA sink/source - allows direct driving of indicator LEDs without external transistors or current-limiting resistors in many cases. |
| Slew-rate controlled outputs | ~10 ns minimum ramp time on all port outputs - reduces EMI in noise-sensitive environments like medical or automotive subsystems. |
Applications
| Industrial Sensor Node | Smart LED Lighting Controller |
|---|---|
Use Scenario: Compact environmental sensor node monitoring temperature, humidity, and ambient light using analog comparators and I²C-connected sensors. IC Role / Device Role / Timing Role: Central controller managing sensor polling, data preprocessing, UART logging, and low-power sleep/wake scheduling. Use Value: Integrated comparators eliminate external op-amps; 1 µA Power Down current extends battery life; I²C interface simplifies multi-sensor integration. |
Use Scenario: Dimmable LED driver for commercial fixtures with PWM dimming, thermal foldback, and fault reporting via UART. IC Role / Device Role / Timing Role: Real-time LED current regulation engine using timer-generated PWM, comparator-based overtemperature detection, and UART diagnostics. Use Value: Direct 20 mA LED drive on multiple pins reduces external components; comparator-triggered interrupt enables immediate thermal shutdown response. |
| Home Appliance Subsystem | Low-Cost Motor Control Module |
Use Scenario: Keypad and display interface for microwave oven or washing machine control panel with touch feedback and status indication. IC Role / Device Role / Timing Role: Dedicated UI processor handling 8-keypad scan, LED segment driving, buzzer control, and UART communication with main MCU. Use Value: Eight dedicated keypad interrupt inputs enable responsive key detection; programmable Schmitt triggers tolerate noisy front-panel wiring. |
Use Scenario: Brushless DC motor commutation logic and fault monitoring for small fans or pumps using hall-effect sensors and discrete FET drivers. IC Role / Device Role / Timing Role: Commutation sequencer generating precise timing signals via Timer 0/1 outputs, monitoring hall sensor edges via INT0/INT1, and detecting overcurrent via analog comparator. Use Value: Dual 16-bit timers configured for toggle-on-overflow provide accurate commutation timing; comparator-based overcurrent detection triggers immediate shutdown without software latency. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| P89LPC922FDH | Enhanced 80C51 core with 8 kB flash, 512 B RAM, on-chip debugger, and higher ESD rating (4 kV HBM); requires external crystal for full-speed operation. | Supports in-system programming and debug via UART; better suited for field-upgradable products requiring firmware updates. | Select P89LPC922FDH when flash reprogrammability, integrated debugging, or higher reliability in harsh environments is required. |
| AT89LP2052-20PU | 8051-compatible with 2 kB flash, 128 B RAM, 12 MHz max, no analog comparators or I²C; 20-pin PDIP only; lower voltage range (2.7–5.5 V). | Lacks hardware I²C and analog comparators; suitable only for basic control tasks without sensor interfacing or multi-device buses. | Choose AT89LP2052-20PU only for legacy replacement where I²C and comparator functions are unused and DIP packaging is mandatory. |
Compared with P87LPC764BDH,512, P89LPC922FDH offers flash-based field updates and enhanced robustness but increases cost and complexity, while AT89LP2052-20PU reduces feature set and eliminates key analog/peripheral capabilities - making P87LPC764BDH,512 the optimal balance of integration, low power, and cost for sensor-rich embedded control.
Availability
P87LPC764BDH,512 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart LED lighting controllers, home appliance subsystems, low-cost motor control modules, and battery-powered instrumentation requiring stable component supply across long production lifecycles.
Supply support for P87LPC764BDH,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 focused on secure connectivity solutions for automotive, industrial, and IoT applications, with roots in Philips' pioneering microcontroller development.
The P87LPC764BDH,512 belongs to NXP's LPC700 family of low-pin-count, low-power 80C51 derivatives designed specifically for cost-sensitive, space-constrained embedded control applications where integration, reliability, and ease of use outweigh raw performance.
FAQ
What is the maximum operating frequency of the P87LPC764BDH,512 and under what voltage conditions?
The P87LPC764BDH,512 operates 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. This dual-frequency capability allows flexible power supply design - supporting both regulated 5 V rails and wide-range battery inputs. The P87LPC764BDH,512 achieves this through its accelerated 80C51 architecture, which executes instructions in half the clock cycles of standard 80C51 cores.
Does the P87LPC764BDH,512 include hardware I²C support, and how is it implemented?
Yes, the P87LPC764BDH,512 includes a dedicated hardware I²C interface with SDA and SCL pins mapped to P1.3 and P1.2 respectively. It supports master and slave modes, automatic arbitration, clock stretching, and bus timeout detection via Timer I - eliminating software bit-banging overhead. The P87LPC764BDH,512 uses SFR registers I2CON, I2CFG, and I2DAT to manage transactions, with interrupt support via the EI2 bit in IEN1.
How many analog comparators does the P87LPC764BDH,512 have, and what reference options are available?
The P87LPC764BDH,512 integrates two independent analog comparators (CMP1 and CMP2), each with selectable positive inputs (CIN1A/CIN1B or CIN2A/CIN2B) and negative inputs (CMPREF pin or internal 1.28 V ±10% reference). Comparator outputs can be routed to pins (P0.6 and P0.0), read synchronously via SFR bits, and generate interrupts on state change - enabling threshold detection without ADC conversion.
What power-saving modes does the P87LPC764BDH,512 support, and how is wake-up handled?
The P87LPC764BDH,512 supports Idle and Power Down modes, with typical Power Down current of 1 µA. Wake-up from Power Down is triggered by external interrupts (INT0, INT1), timer overflows, or comparator output changes - allowing rapid resumption of execution without full reset. The P87LPC764BDH,512 retains RAM contents and peripheral register states during Power Down, minimizing restart latency.
Is the P87LPC764BDH,512 pin-compatible with other members of the LPC700 family, such as the P87LPC762 or P87LPC767?
No, the P87LPC764BDH,512 is not fully pin-compatible with P87LPC762 or P87LPC767 due to differences in peripheral mapping and pin functions - e.g., P87LPC762 lacks I²C and has only one comparator, while P87LPC767 adds extra I/O and different timer configurations. While all share the 20-pin TSSOP/SO/DIP footprint, signal assignments on shared pins (e.g., P1.2, P1.3) differ across variants, requiring PCB redesign for substitution.
P87LPC764BDH,512 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- NXP Semiconductors
- Package/Case:
- 20-TSSOP (0.173", 4.40mm 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:
- 0°C ~ 70°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
P87LPC764BDH,512 FAQ
1.How can I place an order for P87LPC764BDH,512 through Aetrix?
Please submit a Request for Quotation (RFQ) for P87LPC764BDH,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 P87LPC764BDH,512 reliable?
The price and inventory of P87LPC764BDH,512 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for P87LPC764BDH,512 is usually 5 days.
3.What payment methods are accepted for P87LPC764BDH,512?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for P87LPC764BDH,512 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for P87LPC764BDH,512?
P87LPC764BDH,512 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your P87LPC764BDH,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 P87LPC764BDH,512?
For technical support, including P87LPC764BDH,512 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your P87LPC764BDH,512 requirements.
6.How does Aetrix verify that P87LPC764BDH,512 is sourced from the original manufacturer or authorized distributors?
All P87LPC764BDH,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 P87LPC764BDH,512 meets industry standards.
7.What is the process for return or replacement of P87LPC764BDH,512?
All P87LPC764BDH,512 units undergo pre-shipment inspection (PSI). If there is an issue with P87LPC764BDH,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 P87LPC764BDH,512 part is unused and in its original packaging.
Return procedure for P87LPC764BDH,512:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
P87LPC764BDH,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…

