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

- Shipping:

Inventory:2,353
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
P87LPC768FD,512 from NXP Semiconductors (formerly Philips) is a 20-pin, low-power 8-bit microcontroller based on an accelerated 80C51 core, featuring 4 kB OTP EPROM, 128-byte RAM, four-channel 8-bit A/D converter, and four-channel PWM - deployed in industrial sensor interfaces and embedded motor control systems.
For engineers reviewing the P87LPC768FD,512 datasheet, P87LPC768FD,512 pinout, P87LPC768FD,512 application, or P87LPC768FD,512 equivalent, key selection criteria include its –45 °C to +85 °C industrial temperature grade, SO package footprint, integrated I²C and UART peripherals, and power-down current of 1 µA.
Technical Context
The P87LPC768FD,512 implements an enhanced 80C51 CPU executing instructions at twice standard speed (300–600 ns @ 20 MHz), with dual 16-bit timers, full-duplex UART, and I²C master/slave interface. Its analog subsystem includes two independent comparators and a multiplexed 8-bit A/D with ratiometric reference tied to VDD/VSS.
Power management integrates on-chip power-on reset, selectable brownout detection (2.7 V or 3.6 V), oscillator fail detect via dedicated watchdog oscillator, and three operational modes: normal, idle, and Power Down - where wake-up occurs on low-level external interrupt with typical 1 µA quiescent current.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Accelerated 80C51 architecture; executes all instructions except MUL/DIV in 6 or 12 clocks - delivers 2× throughput vs. legacy 8051 at same frequency. |
| Memory | 4 kB on-chip OTP EPROM code memory + 128-byte RAM + 32-byte customer code space - supports serialization and configuration storage without external EEPROM. |
| A/D Converter | Four-channel 8-bit successive-approximation ADC; conversion time 9.3 µs @ 20 MHz CPU clock; ratiometric operation referenced to VDD/VSS. |
| PWM Outputs | Four independent PWM channels (PWM0–PWM3); configurable duty cycle and frequency; includes dedicated brake input (BRAKE) for motor control safety. |
| Operating Voltage | 2.7 V to 6.0 V digital supply range - enables direct battery operation (e.g., 3 V Li-ion or 4.5–6 V alkaline packs) without LDO regulation. |
| Package & Temp | 20-pin SO (SOT163–1); industrial temperature range –45 °C to +85 °C - qualified for harsh environments including HVAC actuators and industrial PLC I/O modules. |
| Low-Power Modes | Power Down mode draws 1 µA typical; wake-up triggered by external interrupt on any of 15 configurable I/O pins - ideal for battery-powered remote sensors. |
Pinout & Package
20-pin Small Outline (SO) package per SOT163–1; 7.5 mm × 12.8 mm body, 1.27 mm pitch; lead-free compatible; thermal pad not present.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1 (P0.0) | CMP2 output / PWM3 | Dual-function pin: comparator 2 output or PWM channel 3 signal - supports closed-loop analog feedback or timing-critical actuator drive. |
| 2 (P1.7) | PWM2 | Dedicated PWM output with programmable slew rate - reduces EMI in motor gate-drive applications. |
| 3 (P1.6) | PWM1 | Independent PWM channel synchronized to system clock - used for LED dimming or fan speed control with precise duty-cycle resolution. |
| 4 (P1.5) | RST (active-low) | Reset input or Schmitt-trigger port pin; configured via EPROM bits - eliminates need for external RC reset circuitry. |
| 5 (VSS) | Ground | 0 V reference for analog and digital domains; shared return path requires careful PCB layout to avoid noise coupling into A/D inputs. |
| 6 (X1) | Oscillator input | Crystal/resonator or RC network input; internal oscillator configuration allows full operation with no external components. |
| 7 (X2/CLKOUT) | Oscillator output / clock divider | Crystal drive output or CPU clock divided-by-6 signal - enables trace clock for logic analyzers or synchronous peripheral timing. |
| 8 (INT1) | External interrupt 1 | Edge-sensitive input supporting wake-up from Power Down - used for emergency stop or limit switch detection in motion control. |
| 9 (SDA/INT0) | I²C data / interrupt 0 | Open-drain bidirectional I²C bus line or external interrupt source - enables multi-drop sensor networks with minimal pin count. |
| 10 (SCL/T0) | I²C clock / timer 0 input | Open-drain I²C clock or external event counter - supports synchronized communication and pulse counting from encoders or flow meters. |
| 13 (P0.1) | CIN2B / PWM0 | Comparator 2 positive input B or PWM0 output - allows analog threshold detection or high-efficiency DC-DC gate control. |
| 14 (P0.2) | CIN2A / BRAKE | Comparator 2 positive input A or hardware PWM brake signal - provides fast motor shutdown on overcurrent or fault condition. |
| 15 (VDD) | Power supply | 2.7–6.0 V main supply; powers digital logic, A/D reference, and comparators - eliminates separate analog rail requirement. |
| 16 (P0.6) | CMP1 / AD3 | Comparator 1 output or A/D channel 3 input - enables simultaneous analog monitoring and decision-making without external op-amps. |
| 17 (P1.0) | TxD | UART transmit output with configurable drive strength - supports RS-232 level-shifting or direct TTL-level serial debug interface. |
| 18 (P0.7) | T1 | Timer 1 external count input or overflow output - used for precise pulse-width measurement or generating periodic interrupts. |
| 19 (P1.1) | RxD | UART receive input with Schmitt trigger - ensures robust serial communication in electrically noisy industrial settings. |
| 20 (P0.3) | CIN1B / AD0 | Comparator 1 positive input B or A/D channel 0 input - supports dual-mode analog front-end for thermistor or potentiometer sensing. |
Key Features
| Feature | Design Value |
|---|---|
| Configurable port outputs | Each I/O supports quasi-bidirectional, open-drain, push-pull, or input-only mode - enables direct LED drive (20 mA), I²C compliance, and noise-immune digital inputs. |
| On-chip oscillator options | Programmable crystal, resonator, or RC oscillator - removes external timing components and reduces BOM cost in cost-sensitive designs. |
| Integrated watchdog timer | Dedicated on-chip oscillator with 8 selectable timeout values - prevents firmware lockup without external components or timing drift. |
| LED drive capability | All 15+ I/O pins sink/source up to 20 mA - eliminates discrete drivers for status indicators, panel displays, or simple segment drivers. |
| Slew-rate controlled outputs | Minimum 10 ns ramp time on all port outputs - suppresses radiated emissions to meet Class B EMC requirements without added filtering. |
Applications
| Industrial Sensor Node | Smart HVAC Actuator |
|---|---|
Use Scenario: Battery-powered temperature/humidity node with local A/D sampling and I²C sensor expansion. IC Role / Device Role / Timing Role: Central controller managing sensor reads, PWM fan control, and UART diagnostics - uses Power Down mode between samples to extend battery life. Use Value: 1 µA Power Down current and integrated 8-bit A/D eliminate external ADC and sleep-controller ICs, reducing bill-of-materials by two components. | Use Scenario: Motorized damper control in commercial HVAC systems requiring position feedback and thermal protection. IC Role / Device Role / Timing Role: Real-time PWM motor driver with BRAKE pin assertion on overtemperature, using comparator inputs for thermal cutoff. Use Value: Integrated PWM + comparator + brake input enables single-chip motor safety logic - avoids discrete comparator and MOSFET gate driver. |
| Embedded Power Supply Monitor | Low-Cost Industrial PLC I/O Module |
Use Scenario: AC/DC power supply with brownout detection, output voltage monitoring, and fault logging via UART. IC Role / Device Role / Timing Role: Supervisor MCU sampling VOUT via AD0–AD3, triggering low-voltage reset at 2.7 V, and storing fault codes in customer EPROM space. Use Value: On-chip brownout reset and 32-byte customer EPROM allow field-programmable trip points and nonvolatile event logging without external memory. | Use Scenario: DIN-rail mounted I/O module converting 24 V digital inputs to Modbus RTU over RS-485. IC Role / Device Role / Timing Role: Protocol translator with UART-to-Modbus framing, 15-channel opto-isolated input scanning, and watchdog supervision. Use Value: 15 configurable I/O pins + UART + watchdog + 4 kB code space enable full Modbus slave implementation in 20-pin footprint - no external logic required. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| PCA9306D,118 | Level-shifting I²C buffer IC - not a microcontroller; lacks CPU, memory, A/D, PWM, or timers. | Used only for voltage translation between I²C buses; cannot replace P87LPC768FD,512 in control or sensing roles. | Select only when interfacing mixed-voltage I²C peripherals - never as functional substitute. |
| ATMEGA8A-AU | 8-bit AVR core; 8 kB Flash (not OTP); 10-bit A/D; no integrated comparators or dedicated PWM brake; operates down to 1.8 V. | Requires external reset IC and crystal; higher pin count (28-pin TQFP); better for Flash-reprogrammable designs but less integrated for fixed-function cost targets. | Choose for field-upgradable firmware or lower-voltage operation; avoid when OTP security, comparator integration, or SO-20 footprint are mandatory. |
Compared with PCA9306D,118 and ATMEGA8A-AU, the P87LPC768FD,512 uniquely combines OTP security, analog comparators with brake logic, and industrial-temp SO packaging in a 20-pin footprint - making it optimal for cost-constrained, fixed-function embedded controllers where component count and layout area are critical.
Availability
P87LPC768FD,512 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart HVAC actuators, embedded power supply monitors, and low-cost PLC I/O modules requiring stable component supply across extended temperature ranges.
Supply support for P87LPC768FD,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 - formed from the spin-off of Philips Semiconductors in 2006.
The P87LPC768FD,512 belongs to NXP's legacy LPC700 family of low-pin-count 80C51-based MCUs, designed specifically for cost-sensitive, space-constrained embedded control applications demanding high integration and industrial reliability.
FAQ
What is the maximum operating frequency of the P87LPC768FD,512 and under what voltage conditions?
The P87LPC768FD,512 operates up to 20 MHz when VDD is 4.5 V to 6.0 V, and up to 10 MHz when VDD is 2.7 V to 6.0 V. This dual-frequency specification enables flexible power/performance trade-offs - for example, running at 10 MHz from a 3.3 V supply in battery-powered applications while maintaining full peripheral functionality. The P87LPC768FD,512 achieves this through its configurable on-chip oscillator and accelerated 80C51 core.
Does the P87LPC768FD,512 support in-system programming, and what security features protect firmware?
Yes, the P87LPC768FD,512 supports serial EPROM programming for in-circuit production coding. It includes two EPROM security bits that prevent reading of sensitive application programs - ensuring intellectual property protection during manufacturing and field deployment. These security bits are one-time programmable and permanently disable code readback once set. The P87LPC768FD,512 does not support Flash reprogramming; its 4 kB OTP memory is intended for final, validated firmware images.
How many analog input channels does the P87LPC768FD,512 A/D converter support, and what is its resolution and reference scheme?
The P87LPC768FD,512 integrates a four-channel, 8-bit successive-approximation A/D converter. Inputs AD0–AD3 map to P0.3–P0.6 respectively. It uses a ratiometric reference tied directly to VDD and VSS - meaning the full-scale value is proportional to the supply voltage. This eliminates need for external voltage references but requires stable VDD for accurate measurements. Conversion time is 9.3 µs at 20 MHz CPU clock.
Can the P87LPC768FD,512 generate PWM signals with hardware-controlled braking, and how is this implemented?
Yes, the P87LPC768FD,512 supports hardware PWM braking via the dedicated BRAKE input on P0.2. When asserted low, it immediately disables all PWM outputs (PWM0–PWM3), providing fail-safe motor shutdown. This function operates independently of CPU execution - critical for safety-critical motion control. The BRAKE signal is asynchronous and overrides PWM register states, ensuring deterministic response. This feature is unique to the P87LPC768FD,512 within its family and is documented in the PWMCON1 register (BKCH/BKEN bits).
What are the power management capabilities of the P87LPC768FD,512, and how does it achieve ultra-low current in Power Down mode?
The P87LPC768FD,512 offers Idle and Power Down modes. In Power Down mode, typical current consumption is 1 µA - achieved by halting the CPU, disabling the main oscillator, and shutting down most peripherals while retaining RAM contents and allowing wake-up via external interrupt. Wake-up is edge-triggered on any of 15 I/O pins and resumes execution within microseconds. The P87LPC768FD,512 also includes on-chip power-on reset and selectable brownout detection (2.7 V or 3.6 V) to ensure reliable startup and graceful shutdown.
P87LPC768FD,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, PWM, 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:
- A/D 4x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
P87LPC768FD,512 FAQ
1.How can I place an order for P87LPC768FD,512 through Aetrix?
Please submit a Request for Quotation (RFQ) for P87LPC768FD,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 P87LPC768FD,512 reliable?
The price and inventory of P87LPC768FD,512 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for P87LPC768FD,512 is usually 5 days.
3.What payment methods are accepted for P87LPC768FD,512?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for P87LPC768FD,512 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for P87LPC768FD,512?
P87LPC768FD,512 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your P87LPC768FD,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 P87LPC768FD,512?
For technical support, including P87LPC768FD,512 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your P87LPC768FD,512 requirements.
6.How does Aetrix verify that P87LPC768FD,512 is sourced from the original manufacturer or authorized distributors?
All P87LPC768FD,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 P87LPC768FD,512 meets industry standards.
7.What is the process for return or replacement of P87LPC768FD,512?
All P87LPC768FD,512 units undergo pre-shipment inspection (PSI). If there is an issue with P87LPC768FD,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 P87LPC768FD,512 part is unused and in its original packaging.
Return procedure for P87LPC768FD,512:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
P87LPC768FD,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…

