NXP Semiconductors P87C51FA-4N,112
- Part No.:
- P87C51FA-4N,112
- Manufacturer:
- NXP Semiconductors
- Category:
- Microcontrollers
- Package:
- 40-DIP (0.600", 15.24mm)
- Datasheet:
-
P87C51FA-4N,112.pdf
- Description:
- IC MCU 8BIT 8KB OTP 40DIP
- Quantity:
- Payment:

- Shipping:

Inventory:3,741
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
P87C51FA-4N,112 from Philips Semiconductors is an 8-bit OTP microcontroller based on the 80C51 architecture, featuring 8 KB on-chip program memory, 256 bytes RAM, programmable PCA (Programmable Counter Array), and full-duplex enhanced UART. It operates at up to 16 MHz across 2.7–5.5 V supply, supporting industrial control, motor drive timing, and embedded instrumentation.
For engineers reviewing the P87C51FA-4N,112 datasheet, P87C51FA-4N,112 pinout, P87C51FA-4N,112 application, or P87C51FA-4N,112 equivalent, this device requires attention to its 40-pin DIP package, PCA-based PWM capability, dual timer/counter interrupt sources, and compatibility with legacy 80C51 toolchains and peripheral drivers.
Technical Context
The P87C51FA-4N,112 implements a static CMOS 80C51 core with instruction-set compatibility and architectural enhancements including a 5-channel PCA for capture/compare/PWM generation, four 8-bit I/O ports, and three 16-bit timers. Its enhanced UART supports framing error detection and automatic address recognition for multiprocessor communication.
It supports low-power operation via Idle and Power-Down modes, with clock stop capability and internal pull-ups on all I/O ports. The device uses external crystal or ceramic resonator via XTAL1/XTAL2, and includes security bits (3-bit OTP protection) and 64-byte encryption array for code confidentiality.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 80C51-compatible 8-bit CPU with static design enabling 0–16 MHz operation |
| Memory | 8 KB OTP program memory + 256 B RAM; supports up to 64 KB external addressing |
| PCA Channels | 5-channel Programmable Counter Array (CEX0–CEX4) for PWM, capture, and high-speed I/O |
| UART | Full-duplex enhanced UART with framing error detection and automatic address recognition |
| Power Supply | 2.7–5.5 V operation; supports single-supply battery or regulated rail designs |
| Interrupts | 4-level priority nested interrupt structure with 6 sources (INT0, INT1, T0, T1, RxD, PCA) |
| Package | 40-pin Plastic Dual In-line Package (SOT129-1), lead-free compliant per datasheet revision |
Pinout & Package
40-pin PDIP (Plastic Dual In-line Package), SOT129-1 footprint, 0.6-inch width, through-hole mount. Pin 1 = T2/P1.0; Pin 40 = VCC; Pin 20 = VSS; no internal connection on pins marked NIC in alternate packages.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0.0–P0.7 (39–32) | Multiplexed AD bus / Port 0 | Open-drain I/O; serves as low-order address/data bus during external memory access; requires external pull-ups |
| P1.0–P1.7 (1–8) | General-purpose I/O with PCA functions | Internal pull-ups; P1.0/T2 and P1.1/T2EX support Timer2; P1.2–P1.7 map to CEX0–CEX4 PCA channels |
| P2.0–P2.7 (21–28) | High-order address bus / Port 2 | Drives A8–A15 during 16-bit external memory access; emits P2 register value during 8-bit MOVX @Ri |
| P3.0–P3.7 (10–17) | Secondary function I/O port | RxD/TxD (serial), INT0/INT1 (external interrupts), T0/T1 (timer inputs), WR/RD (memory strobes) |
| RST (9) | Reset input | Active-high reset requiring ≥2 machine cycles (24 oscillator periods); internal pull-down enables power-on reset with RC network |
| XTAL1 (19), XTAL2 (18) | Oscillator interface | XTAL1 accepts external clock or crystal input; XTAL2 outputs inverted clock signal; supports 0–16 MHz crystals |
| EA/VPP (31) | External access enable | Low = execute from external ROM; high = execute from internal OTP up to 8 KB; also receives 12.75 V during programming |
Key Features
| Feature | Design Value |
|---|---|
| Programmable Clock-Out | Configurable output on P1.0/T2 pin enables system clock distribution without external oscillator |
| Second DPTR Register | DPS bit allows fast switching between two data pointer registers for efficient external memory block transfers |
| Asynchronous Port Reset | Ports 1–3 drive to known state asynchronously upon RST assertion, improving system reliability during brown-out |
| Low EMI Mode | ALE inhibition via AUXR.0 reduces electromagnetic emissions during high-noise industrial operation |
| Security Bits | 3-bit OTP lock prevents unauthorized readout of program memory and disables EA bypass during debug |
Applications
| Motor Control System | Industrial PLC I/O Module |
|---|---|
Use Scenario: Closed-loop DC motor speed regulation using feedback from encoder and real-time PWM output. IC Role / Device Role / Timing Role: Primary controller executing PID algorithm, generating 16-bit resolution PWM via PCA channels CEX0–CEX2, and handling quadrature decode via INT0/INT1 edge-triggered interrupts. Use Value: Enables precise 10–20 kHz PWM carrier frequency with <1 µs jitter, meeting IEC 61800-3 EMC requirements for variable-frequency drives. | Use Scenario: Standalone digital I/O expansion node communicating over RS-485 with master PLC. IC Role / Device Role / Timing Role: Protocol handler and I/O scheduler managing 16-channel opto-isolated inputs/outputs, buffering serial commands, and maintaining deterministic response latency. Use Value: Full-duplex UART with automatic address recognition allows multi-drop RS-485 networks without software address filtering overhead. |
| Energy Meter Firmware Loader | Legacy Equipment Retrofit Controller |
Use Scenario: Field-upgradable firmware loader for electromechanical energy meters using infrared or RS-232 interface. IC Role / Device Role / Timing Role: Secure bootloader verifying signed firmware images stored in external SPI flash, then programming internal OTP via ISP-like sequence. Use Value: 3-bit security lock and 64-byte encryption array prevent cloning and ensure only authorized firmware executes. | Use Scenario: Drop-in replacement for obsolete 8031/8051 controllers in aging test equipment with minimal PCB modification. IC Role / Device Role / Timing Role: Pin- and code-compatible upgrade providing same instruction timing, memory map, and interrupt vector layout while adding PCA-based pulse counting. Use Value: Maintains backward compatibility with existing assembly code and hardware interfaces while enabling new high-speed event capture functionality. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| P87C51FB-4N,112 | 16 KB OTP memory; identical pinout, clock, and peripheral set | Supports larger firmware images without external memory expansion | Select when application firmware exceeds 8 KB and external memory access must be avoided |
| P87C51RA+-4N,112 | 8 KB OTP + 512 B RAM + hardware watchdog timer; same PCA and UART features | Required for safety-critical systems needing periodic reset supervision | Select when IEC 61508 or UL 60730 compliance mandates independent watchdog monitoring |
Compared with P87C51FA-4N,112, P87C51FB-4N,112 offers double program memory without changing layout or firmware timing, while P87C51RA+-4N,112 adds watchdog capability essential for fail-safe embedded control-both retain full 80C51 code compatibility and share the same 40-pin DIP footprint.
Availability
P87C51FA-4N,112 is available at Aetrix Electronics and suitable for industrial automation, motor control, and legacy equipment retrofit requiring stable component supply, long-lifecycle assurance, and RoHS-compliant through-hole packaging.
Supply support for P87C51FA-4N,112 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
Philips Semiconductors (now NXP Semiconductors) is a pioneer in 8-bit microcontroller innovation, delivering robust, industry-proven ICs for automotive, industrial, and consumer applications since the 1980s.
The 8XC51FA family was designed specifically for cost-sensitive, high-reliability embedded control systems requiring OTP security, extended voltage range, and enhanced peripherals beyond baseline 8051-targeting motor drives, power supplies, and instrumentation.
FAQ
What is the maximum operating frequency of the P87C51FA-4N,112?
The P87C51FA-4N,112 supports a maximum crystal frequency of 16 MHz, yielding a 2-MHz internal instruction cycle rate (12-clock mode). It is not rated for 33 MHz operation-that specification applies only to the higher-voltage P87C51FA-IN variant. Operating above 16 MHz may cause timing violations in the PCA or UART modules.
Does the P87C51FA-4N,112 include a hardware watchdog timer?
No, the P87C51FA-4N,112 does not integrate a hardware watchdog timer. That feature is present only in the P87C51RA+/RB+/RC+ variants. For watchdog functionality with the P87C51FA-4N,112, an external supervisor IC such as the MAX813L or equivalent must be used in conjunction with the RST pin.
How is program memory protected on the P87C51FA-4N,112?
The P87C51FA-4N,112 uses three OTP security bits to disable external readout of program memory and prevent EA pin override during debugging. Once programmed, these bits permanently lock the OTP contents-no factory or field reprogramming is possible without erasing the entire chip, which destroys the code.
Can the P87C51FA-4N,112 operate from a 3.3 V supply?
Yes, the P87C51FA-4N,112 is fully specified for 2.7–5.5 V operation, making it compatible with 3.3 V systems. At 3.3 V, maximum operating frequency is reduced to 10 MHz per datasheet limits; all I/O pins remain 5 V tolerant when configured as inputs, simplifying level-shifting in mixed-voltage designs.
What development tools support the P87C51FA-4N,112?
The P87C51FA-4N,112 is supported by Keil µVision2/3 (C51 compiler v7.x+), SDCC open-source toolchain, and Philips/NXP FlashMagic for ISP programming. Hardware debuggers include the Philips UOC-51 and third-party 8051 ICE units compatible with standard 80C51 JTAG or on-chip debug interfaces.
P87C51FA-4N,112 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- NXP Semiconductors
- Package/Case:
- 40-DIP (0.600", 15.24mm)
- Series:
- 87C
- Packaging:
- Tube
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- 8051
- Core Size:
- 8-Bit
- Speed:
- 16MHz
- Connectivity:
- EBI/EMI, UART/USART
- Peripherals:
- POR, PWM
- Number of I/O:
- 32
- Program Memory Size:
- 8KB (8K x 8)
- Program Memory Type:
- OTP
- EEPROM Size:
- -
- RAM Size:
- 256 x 8
- Voltage - Supply (Vcc/Vdd):
- 2.7V ~ 5.5V
- Data Converters:
- -
- Oscillator Type:
- Internal
- Operating Temperature:
- 0°C ~ 70°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Through Hole
- Supplier Device Package:
P87C51FA-4N,112 FAQ
1.How can I place an order for P87C51FA-4N,112 through Aetrix?
Please submit a Request for Quotation (RFQ) for P87C51FA-4N,112 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 P87C51FA-4N,112 reliable?
The price and inventory of P87C51FA-4N,112 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for P87C51FA-4N,112 is usually 5 days.
3.What payment methods are accepted for P87C51FA-4N,112?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for P87C51FA-4N,112 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for P87C51FA-4N,112?
P87C51FA-4N,112 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your P87C51FA-4N,112 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 P87C51FA-4N,112?
For technical support, including P87C51FA-4N,112 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your P87C51FA-4N,112 requirements.
6.How does Aetrix verify that P87C51FA-4N,112 is sourced from the original manufacturer or authorized distributors?
All P87C51FA-4N,112 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 P87C51FA-4N,112 meets industry standards.
7.What is the process for return or replacement of P87C51FA-4N,112?
All P87C51FA-4N,112 units undergo pre-shipment inspection (PSI). If there is an issue with P87C51FA-4N,112, 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 P87C51FA-4N,112 part is unused and in its original packaging.
Return procedure for P87C51FA-4N,112:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
P87C51FA-4N,112 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…

