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

- Shipping:

Inventory:2,102
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
P87LPC764BD,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 P87LPC764BD,512 datasheet, P87LPC764BD,512 pinout, P87LPC764BD,512 application, or P87LPC764BD,512 equivalent, this page delivers verified technical context, validated pin functions, confirmed operating voltage and frequency limits, real-world use cases for analog comparator–driven monitoring, and two rigorously cross-referenced alternative microcontrollers with documented functional and packaging differences.
Technical Context
The P87LPC764BD,512 implements an accelerated 80C51 CPU executing instructions in 6 or 12 clock cycles (vs. standard 12/24), delivering 2× throughput at identical clock rates. Its internal oscillator supports crystal, resonator, or RC modes - with ±25% accuracy for this variant - and includes independent watchdog timing with 8 selectable timeout values.
Dual analog comparators (CMP1/CMP2) feature configurable inputs (CIN1A/B, CIN2A/B, CMPREF, internal 1.28 V reference), interrupt-on-change capability, and operation down to 3.0 V. Port I/O supports quasi-bidirectional, open-drain, push-pull, and input-only modes, with Schmitt-trigger inputs and 20 mA LED drive per pin.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Accelerated 80C51 architecture executing all instructions in 6–12 clocks; 2× speed vs. legacy 80C51 at same frequency. |
| Memory | 4 kbyte OTP EPROM code memory + 128 byte RAM + 32 byte customer code space for serialization or calibration data. |
| Operating Voltage | 2.7 V to 6.0 V digital supply range; enables direct battery operation (e.g., 3× AA) without regulation. |
| Max Clock Frequency | 20 MHz at VDD = 4.5–6.0 V; 10 MHz at VDD = 2.7–6.0 V - defines real-time response ceiling for timer/counters and UART baud rates. |
| Analog Comparators | Two independent comparators with selectable inputs (external pins or internal 1.28 V ±10% reference) and interrupt-on-output-change. |
| I/O Flexibility | 15–18 configurable I/O pins; each port pin supports quasi-bidirectional, open-drain, push-pull, or input-only mode via SFR settings. |
| Power Modes | Idle and Power Down modes; typical Power Down current is 1 µA - critical for battery-backed sensor nodes. |
Pinout & Package
Package: SO20 - plastic small outline package, 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 | Active-low comparator result routed to pin; also functions as configurable I/O with LED drive (20 mA). |
| 2 / P1.7 | Port 1 bit 7 | Configurable I/O; supports keypad interrupt, Schmitt-trigger input, or push-pull output for load switching. |
| 3 / P1.6 | Port 1 bit 6 | Configurable I/O; usable as external interrupt input (INT1) or general-purpose signal line. |
| 4 / RST/P1.5 | Reset input / Port 1 bit 5 | Active-low hardware reset; when configured as port pin, operates as Schmitt-trigger input only. |
| 5 / VSS | Ground reference | 0 V return path for all digital and analog circuits; must be low-impedance for stable comparator operation. |
| 6 / X1/P2.1 | Oscillator input / Port 2 bit 1 | Crystal/resonator or RC network connection point; also serves as configurable I/O when oscillator disabled. |
| 7 / X2/CLKOUT/P2.0 | Oscillator output / Clock out / Port 2 bit 0 | Drives crystal; alternatively outputs CPU clock ÷6 for system timing verification or peripheral sync. |
| 8 / INT1/P1.4 | External interrupt 1 / Port 1 bit 4 | Edge-triggered wake-up source from Power Down; doubles as general I/O when interrupt unused. |
| 9 / SDA/INT0/P1.3 | I²C data / External interrupt 0 / Port 1 bit 3 | Open-drain I²C bus node; also provides keypad interrupt or level-sensitive external trigger. |
| 10 / SCL/T0/P1.2 | I²C clock / Timer 0 input / Port 1 bit 2 | Open-drain I²C clock line; alternatively accepts external event pulses for counter/timer capture. |
| 13 / P0.1/CIN2B | Port 0 bit 1 / Comparator 2 positive input B | Analog input pin; digital I/O disabled via PT0AD register to prevent noise coupling into comparator. |
| 14 / P0.2/CIN2A | Port 0 bit 2 / Comparator 2 positive input A | Primary analog input for comparator 2; requires digital input disable for accurate 1.28 V reference comparison. |
| 16 / P0.3/CIN1B | Port 0 bit 3 / Comparator 1 positive input B | Secondary analog input for comparator 1; used with CMPREF or internal reference for threshold detection. |
| 17 / P0.4/CIN1A | Port 0 bit 4 / Comparator 1 positive input A | Main analog sensing node; commonly connected to thermistor or potentiometer wiper for closed-loop control. |
| 18 / P0.5/CMPREF | Port 0 bit 5 / Comparator reference input | External negative reference input; accepts voltage divider output or precision reference for ratiometric sensing. |
| 15 / VDD | Power supply | Single-supply rail powering core logic, analog comparators, and I/O drivers; supports brownout reset at 2.7 V. |
| 19 / P0.6/CMP1 | Port 0 bit 6 / Comparator 1 output | Direct comparator result output; drives LEDs or logic-level signals without software polling overhead. |
| 20 / P0.7/T1 | Port 0 bit 7 / Timer 1 external count input | Accepts pulse trains (e.g., from encoder or flow meter); toggles port output on overflow for simple PWM generation. |
| 11 / P1.0/TxD | Port 1 bit 0 / UART transmit | Asynchronous serial output; supports RS-232 level-shifting or direct TTL-level communication with modems. |
| 12 / P1.1/RxD | Port 1 bit 1 / UART receive | Asynchronous serial input; includes framing error detection and supports software-controlled baud rate generation. |
Key Features
| Feature | Design Value |
|---|---|
| On-chip watchdog timer | Separate RC oscillator eliminates external components; 8 selectable timeout intervals enable precise fail-safe recovery timing. |
| Configurable port outputs | Per-pin selection of quasi-bidirectional, open-drain, push-pull, or input-only mode - simplifies interface to diverse loads (relays, LEDs, I²C buses). |
| LED drive capability | 20 mA sink/source per port pin - directly drives indicator LEDs or small displays without external drivers. |
| Slew-rate controlled outputs | ~10 ns minimum ramp time reduces EMI emissions - critical for CE/FCC compliance in consumer electronics. |
| Low-voltage reset | Selectable brownout threshold (two preset levels) allows graceful shutdown or safe state retention during power sag. |
| Keypad interrupt inputs | Eight dedicated port 0 pins support matrix scanning with hardware debounce - cuts firmware overhead in HMI applications. |
Applications
| Industrial Sensor Node | Smart Appliance Control |
|---|---|
|
Use Scenario: Standalone temperature/humidity monitor with local display and I²C sensor interface. IC Role / Device Role / Timing Role: Main controller executing sensor polling, analog comparator–based threshold alerts, and UART logging. Use Value: Dual comparators detect overtemp/overhumidity without ADC or CPU polling; 1 µA Power Down extends battery life to >5 years. |
Use Scenario: Microwave oven control panel with keypad, LED indicators, and safety interlock monitoring. IC Role / Device Role / Timing Role: System supervisor managing user input, display updates, door switch validation, and thermal cutoff. Use Value: Eight keypad interrupt pins eliminate scan loops; 20 mA LED drive powers status indicators directly; brownout reset prevents erratic behavior during line dips. |
| LED Lighting Driver | Embedded Power Supply Monitor |
|
Use Scenario: Constant-current LED driver with dimming control and overvoltage protection. IC Role / Device Role / Timing Role: Analog comparator monitors output voltage against reference; UART configures dimming level via host MCU. Use Value: CMPREF pin accepts feedback divider; comparator output toggles P0.6 to shut down MOSFET gate driver within 10 µs of overvoltage. |
Use Scenario: DC-DC converter supervisory circuit detecting input undervoltage and output overcurrent. IC Role / Device Role / Timing Role: Dual comparator compares scaled input/output voltages against internal 1.28 V reference; triggers fault latch and UART alert. Use Value: Internal 1.28 V ±10% reference eliminates external precision reference IC; comparator interrupt wakes CPU from Power Down to log fault timestamp. |
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, and built-in ISP; operates up to 18 MHz at 3.0–5.5 V; lacks dual analog comparators. | Requires external comparator IC for voltage monitoring; better suited for firmware-upgradable systems needing field updates. | Choose when in-system programming and larger code space outweigh need for integrated analog threshold detection. |
| AT89LP51RC2-SU | 8051-compatible with 8 kB flash, 512 B RAM, and 10-bit ADC; operates 2.4–5.5 V; no I²C or analog comparators. | ADC replaces comparator-based sensing but adds conversion latency; UART-only comms limit multi-device bus topology. | Prefer when analog measurement resolution > comparator hysteresis is required, and I²C peripheral expansion is unnecessary. |
Compared with P87LPC764BD,512, the P89LPC922FDH offers flash reprogrammability and higher memory but removes integrated analog comparators, while the AT89LP51RC2-SU adds ADC precision at the cost of I²C compatibility and comparator responsiveness - making P87LPC764BD,512 optimal for deterministic, low-latency threshold detection in resource-constrained systems.
Availability
P87LPC764BD,512 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart appliance control panels, LED lighting drivers, and embedded power supply monitors requiring stable component supply across extended production lifecycles.
Supply support for P87LPC764BD,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, formerly Philips Semiconductors, designs high-integration, low-pin-count microcontrollers for cost-sensitive embedded applications.
The P87LPC764BD,512 belongs to the LPC700 family - engineered for minimal external components, wide voltage operation, and analog-digital integration in appliances, lighting, and industrial controls.
FAQ
What is the maximum operating frequency of the P87LPC764BD,512 and under what voltage conditions?
The P87LPC764BD,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. These limits are defined by its accelerated 80C51 core timing and internal oscillator stability - exceeding them risks instruction corruption or reset instability. The P87LPC764BD,512 datasheet specifies these ranges in the AC Characteristics table, and they are validated for SO20 packaging under commercial temperature conditions (0°C to +70°C).
Does the P87LPC764BD,512 include an internal voltage reference for its analog comparators?
Yes, the P87LPC764BD,512 integrates an internal 1.28 V ±10% reference voltage (Vref) usable as the negative input for either comparator. This eliminates the need for external reference ICs in basic threshold-detection applications. When selected via the CNn bit in CMP1/CMP2 registers, Vref connects directly to the comparator's negative input - confirmed in the Functional Description section and Figure 4 of the official datasheet. The P87LPC764BD,512 also supports external reference via the CMPREF pin for higher precision.
Can the P87LPC764BD,512 wake from Power Down mode using its analog comparators?
Yes, the P87LPC764BD,512 can wake from Power Down mode via comparator output change interrupts. Both comparators remain active in Power Down, and their CMFn flags (in CMP1/CMP2 registers) generate interrupts when enabled (EC1/EC2 bits in IEN1) and prioritized. This enables ultra-low-power sensing - e.g., detecting a door-open event via voltage shift on a reed switch - with typical wakeup latency under 10 µs. The P87LPC764BD,512 datasheet confirms this behavior in the "Comparators and Power Reduction Modes" subsection.
What I/O configuration options does the P87LPC764BD,512 support on its port pins?
The P87LPC764BD,512 supports four per-pin I/O modes: quasi-bidirectional (default reset state), open-drain (for I²C bus compliance), push-pull (for high-speed LED driving), and input-only (to disable digital input noise on analog pins). These are set via P0M1/P0M2, P1M1/P1M2, and P2M1/P2M2 SFRs. For example, configuring P0.4/CIN1A as input-only disables its digital receiver to prevent interference with comparator 1 - a requirement explicitly stated in the Analog Functions section of the P87LPC764BD,512 datasheet.
Is the P87LPC764BD,512 pin-compatible with other members of the LPC700 family?
No, the P87LPC764BD,512 is not fully pin-compatible with other LPC700 variants like the P87LPC762 or P87LPC767 due to differing peripheral allocations on shared pins - e.g., P1.2 is SCL/T0 on the P87LPC764BD,512 but T0/INT2 on the P87LPC767. Pinouts are defined per device in the "Pin Configuration" section of each respective datasheet. While all are 20-pin SO/TSSOP/DIP packages, function mapping varies; PCB layout must be verified against the P87LPC764BD,512-specific pin diagram (Figure 1, SU01149).
P87LPC764BD,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:
- Not 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:
P87LPC764BD,512 FAQ
1.How can I place an order for P87LPC764BD,512 through Aetrix?
Please submit a Request for Quotation (RFQ) for P87LPC764BD,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 P87LPC764BD,512 reliable?
The price and inventory of P87LPC764BD,512 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for P87LPC764BD,512 is usually 5 days.
3.What payment methods are accepted for P87LPC764BD,512?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for P87LPC764BD,512 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for P87LPC764BD,512?
P87LPC764BD,512 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your P87LPC764BD,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 P87LPC764BD,512?
For technical support, including P87LPC764BD,512 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your P87LPC764BD,512 requirements.
6.How does Aetrix verify that P87LPC764BD,512 is sourced from the original manufacturer or authorized distributors?
All P87LPC764BD,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 P87LPC764BD,512 meets industry standards.
7.What is the process for return or replacement of P87LPC764BD,512?
All P87LPC764BD,512 units undergo pre-shipment inspection (PSI). If there is an issue with P87LPC764BD,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 P87LPC764BD,512 part is unused and in its original packaging.
Return procedure for P87LPC764BD,512:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
P87LPC764BD,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…

