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

- Shipping:

Inventory:2,615
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
P87C52X2FN,112 from NXP Semiconductors (formerly Philips) is an 8-bit OTP-based microcontroller in the enhanced 80C51 family, featuring 8 KB on-chip OTP ROM, 256 B RAM, three 16-bit timers/counters (T0/T1/T2), full-duplex UART with framing error detection, and support for both 6-clock and 12-clock operation up to 33 MHz at 5 V. It operates across industrial temperature range (–40 °C to +85 °C) in a 40-pin DIP package and is used in legacy industrial control, sensor interface, and embedded instrumentation systems requiring ROM security and low-power static operation.
For engineers reviewing the P87C52X2FN,112 datasheet, P87C52X2FN,112 pinout, P87C52X2FN,112 application, or P87C52X2FN,112 equivalent, key selection considerations include OTP memory size (8 KB), dual clock mode configurability (6/12-clk), power-down/idle mode behavior, T2 capture/compare capability, and DIP-40 packaging with verified pin mapping for legacy board compatibility.
Technical Context
This device implements a static CMOS 80C51 core with extended SFRs including T2CON, RCAP2H/L, and AUXR/AUXR1 for Timer 2 control and low-power configuration. It supports two software-selectable clock modes: 12-clock (default reset state) and 6-clock (via CKCON.X2 bit or OTP OX2 bit), enabling runtime performance scaling without hardware change.
The architecture includes a Boolean processor, dual data pointers, four priority-level nested interrupts (six sources), and programmable clock-out on P1.0 derived from Timer 2 - all operating within 2.7–5.5 V supply range. Its static design permits zero-frequency operation and reliable wake-up from Power-Down via INT0/INT1 when WUPD is enabled.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | Enhanced 80C51 CPU with static CMOS design; fully compatible with MCS-51 instruction set and timing. |
| Memory | 8 KB on-chip OTP ROM + 256 B RAM; supports external code/data memory up to 64 KB each via MOVX/MOVC. |
| Max Clock Frequency | 33 MHz at 5 V in 12-clock mode; 30 MHz in 6-clock mode; 16 MHz at 2.7–5.5 V for wide-voltage operation. |
| Timers/Counters | Three 16-bit timers: T0/T1 (standard 80C51) and T2 (enhanced with capture, compare, auto-reload, and clock-out). |
| Serial Interface | Full-duplex UART with framing error detection, automatic address recognition, and SMOD0/SMOD1 baud rate control. |
| Power Modes | Idle mode (CPU halted, peripherals active); Power-Down mode (oscillator stopped, RAM retained down to 2.0 V); Stop Clock mode (0 Hz operation). |
| I/O & Peripherals | Four 8-bit bidirectional ports (32 pins total); six interrupt sources with four priority levels; programmable clock-out on P1.0. |
Pinout & Package
Package: Plastic Dual In-Line Package (DIP-40), 600 mil width, SOT129-1, industrial temperature range (–40 °C to +85 °C).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1–8 (P1.0–P1.7) | Port 1 I/O | P1.0/T2 and P1.1/T2EX support Timer 2 functions; all pins have internal pull-ups and serve as general-purpose I/O or alternate functions. |
| 9 (RST) | Reset Input | Active-high asynchronous reset; requires ≥2 machine cycles high while oscillator runs; enables power-on reset with external RC network. |
| 10–17 (P3.0–P3.7) | Port 3 I/O + Special Functions | RxD/TxD (serial), INT0/INT1 (level-sensitive interrupts), T0/T1 (timer inputs), WR/RD (external memory strobes). |
| 18 (XTAL2) | Oscillator Output | Output of internal inverting amplifier; connects to crystal/resonator or external clock source when XTAL1 driven. |
| 19 (XTAL1) | Oscillator Input | Input to internal inverting amplifier; forms crystal oscillator with XTAL2; accepts external clock when XTAL2 left unconnected. |
| 20 (VSS) | Ground Reference | 0 V reference plane; must be connected before any other pin to prevent latch-up during power-up. |
| 21–28 (P2.0–P2.7) | Port 2 I/O / High-Address Bus | Outputs A8–A15 during external memory access; retains port function when not used for addressing. |
| 29 (PSEN) | External Program Read Strobe | Active-low output enabling external EPROM/ROM; inactive during internal program fetches. |
| 30 (ALE/PROG) | Address Latch Enable / Programming Pulse | Emits 1/6 (12-clk) or 1/3 (6-clk) oscillator frequency for external latch timing; doubles as EPROM programming pulse. |
| 31 (EA/VPP) | External Access Enable / Programming Voltage | Low = execute from external memory (0000H–0FFFH/1FFFH); high = internal execution unless PC exceeds ROM size; receives 12.75 V during OTP programming. |
| 32–39 (P0.0–P0.7) | Port 0 I/O / AD0–AD7 | Open-drain bidirectional bus; multiplexes low-order address and data during external memory access; requires external pull-ups for proper logic levels. |
| 40 (VCC) | Power Supply | 2.7–5.5 V supply input; powers CPU, RAM, SFRs, and I/O drivers; must stabilize before RST release. |
Key Features
| Feature | Design Value |
|---|---|
| OTP Memory Security | Three OTP security bits prevent unauthorized readout of 8 KB program memory; enables secure firmware deployment in fielded equipment. |
| Configurable Clock Mode | Software-selectable 6-clock or 12-clock operation via CKCON.X2 bit - allows real-time trade-off between throughput (2× speed in 6-clk) and EMI reduction (slower edges in 12-clk). |
| Timer 2 Flexibility | Supports capture, compare, auto-reload, and programmable clock-out (61 Hz–8 MHz) - eliminates need for external timing ICs in motor control or signal generation. |
| Low-Power Static Design | Zero-frequency operation supported; Idle mode preserves RAM/SFRs while halting CPU; Power-Down mode reduces current to µA level with wake-up via INT0/INT1. |
| Enhanced UART | Framing error detection and automatic address recognition enable robust multi-processor communication over shared buses without host intervention. |
| ONCE Emulation Mode | Enables in-circuit debugging by floating Port 0 and weakly pulling other pins high - supports hardware-in-the-loop validation without socket removal. |
Applications
| Industrial PLC I/O Module | Legacy Sensor Signal Conditioning |
|---|---|
Use Scenario: Standalone digital I/O expansion node in distributed control systems with RS-485 backhaul. IC Role / Device Role / Timing Role: Primary controller executing ladder logic scan, managing 32 GPIO lines, and handling UART-based Modbus RTU protocol. Use Value: 8 KB OTP ensures firmware integrity across decades of operation; T2-driven clock-out synchronizes sampling with external ADCs; DIP-40 simplifies replacement in aging panel-mount designs. |
Use Scenario: Analog front-end preprocessing unit converting thermocouple/mV signals to digital via external ADC, then transmitting via UART. IC Role / Device Role / Timing Role: System coordinator managing ADC SPI timing (via bit-banged GPIO), UART framing, and watchdog-triggered fault recovery. Use Value: Dual data pointer accelerates ADC buffer transfers; idle mode reduces average current during sensor polling intervals; industrial temp grade ensures reliability in uncontrolled enclosures. |
| Embedded Test Equipment Controller | Electromechanical Appliance Control |
Use Scenario: Benchtop calibration instrument requiring precise timing, serial command parsing, and nonvolatile setup storage. IC Role / Device Role / Timing Role: Main sequencer executing test routines, generating calibrated pulses via T2, and storing user settings in internal RAM backed by brown-out detection. Use Value: Programmable clock-out provides stable 1 MHz reference for DMM synchronization; 256 B RAM holds calibration coefficients; OTP prevents accidental firmware overwrite during service. |
Use Scenario: Washing machine mainboard controlling motor drive, water valves, display, and safety interlocks. IC Role / Device Role / Timing Role: Real-time supervisor monitoring door lock status (INT0), water level (T0 edge count), and spin cycle timing (T1/T2). Use Value: Power-down mode extends standby life during idle periods; six interrupt sources handle concurrent events without polling; DIP-40 eases manual rework on production line. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| P80C52X2FN,112 | ROM version (mask-programmed) instead of OTP; identical pinout, timing, and SFR map; no field-programmable capability. | Suitable for high-volume, fixed-function deployments where firmware never changes post-manufacture. | Select when cost-per-unit outweighs flexibility; requires mask revision for any firmware update. |
| P87C54X2FN,112 | 16 KB OTP ROM, same 256 B RAM, identical DIP-40 package and peripheral set; higher memory density with no speed or feature penalty. | Preferred for applications needing larger firmware (e.g., protocol stacks, UI logic) without changing PCB layout or toolchain. | Choose when future firmware growth is anticipated; maintains full software compatibility and drop-in hardware replacement. |
Compared with P80C52X2FN,112 and P87C54X2FN,112, the P87C52X2FN,112 offers optimal balance of field-programmable security (OTP), industrial temperature resilience, and legacy DIP-40 compatibility - making it the preferred choice for mid-volume, long-lifecycle embedded systems where firmware updates are infrequent but essential.
Availability
P87C52X2FN,112 is available at Aetrix Electronics and suitable for industrial control, sensor interface, and embedded instrumentation applications requiring stable component supply, long-term lifecycle assurance, and RoHS-compliant through-hole manufacturing.
Supply support for P87C52X2FN,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
NXP Semiconductors (originally Philips Semiconductors) is a global leader in high-reliability microcontrollers, automotive ICs, and secure connectivity solutions, with deep heritage in 8-bit embedded control.
The P87C5xX2 family was designed specifically for industrial and instrumentation applications demanding OTP security, wide voltage operation (2.7–5.5 V), and proven 80C51 software compatibility - enabling seamless migration from legacy MCS-51 platforms.
FAQ
What is the maximum operating frequency of the P87C52X2FN,112 and how does clock mode affect it?
The P87C52X2FN,112 supports up to 33 MHz in 12-clock mode and 30 MHz in 6-clock mode at 5 V ±10%. At wider supply ranges (2.7–5.5 V), max frequency is limited to 16 MHz in both modes. The CKCON.X2 bit or OTP OX2 bit selects the mode; 6-clock mode doubles instruction throughput but increases EMI, while 12-clock mode improves noise immunity and reduces power at same frequency. The P87C52X2FN,112 defaults to 12-clock mode after reset.
Does the P87C52X2FN,112 support in-system programming or field firmware updates?
No, the P87C52X2FN,112 uses one-time-programmable (OTP) ROM, which can only be programmed once using a parallel programmer - not in-circuit. Firmware updates require physical device replacement. For field-upgradable alternatives, consider flash-based successors like the NXP P89V51RD2, but note these are not pin-compatible with the P87C52X2FN,112.
How is the P87C52X2FN,112's Timer 2 different from Timers 0 and 1?
Timer 2 in the P87C52X2FN,112 adds capture, compare, auto-reload, and programmable clock-out capabilities beyond standard 80C51 Timers 0 and 1. It uses RCAP2H/L registers for reload values and supports high-resolution event timing (e.g., PWM edge detection). Unlike T0/T1, T2 can generate a clean 50% duty-cycle clock on P1.0 - a feature unavailable on earlier 8051 variants. This makes the P87C52X2FN,112 uniquely suited for synchronous peripheral interfacing.
Can the P87C52X2FN,112 operate reliably at 3.3 V, and what are the implications?
Yes, the P87C52X2FN,112 is specified for 2.7–5.5 V operation. At 3.3 V, maximum clock frequency drops to 16 MHz in both 6- and 12-clock modes. All I/O pins remain TTL/CMOS compatible, and internal regulators ensure stable SFR and RAM operation. However, the LPEP bit (AUXR.4) should be set to reduce analog circuit current draw - a documented optimization for sub-4 V supplies that directly lowers active power consumption in the P87C52X2FN,112.
What are the power-down wake-up sources for the P87C52X2FN,112, and how is wake-up configured?
The P87C52X2FN,112 supports wake-up from Power-Down mode via hardware reset or external interrupts on INT0 (P3.2) or INT1 (P3.3), provided WUPD (AUXR1.3) is set to 1. Level-sensitive configuration is mandatory: the interrupt pin must be held low to restart the oscillator, then brought high to complete wake-up and enter the ISR. Reset restores SFRs but preserves RAM; interrupt wake-up preserves both RAM and SFRs - a critical distinction for stateful applications using the P87C52X2FN,112.
P87C52X2FN,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:
- 33MHz
- Connectivity:
- EBI/EMI, UART/USART
- Peripherals:
- POR
- 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:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Through Hole
- Supplier Device Package:
P87C52X2FN,112 FAQ
1.How can I place an order for P87C52X2FN,112 through Aetrix?
Please submit a Request for Quotation (RFQ) for P87C52X2FN,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 P87C52X2FN,112 reliable?
The price and inventory of P87C52X2FN,112 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for P87C52X2FN,112 is usually 5 days.
3.What payment methods are accepted for P87C52X2FN,112?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for P87C52X2FN,112 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for P87C52X2FN,112?
P87C52X2FN,112 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your P87C52X2FN,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 P87C52X2FN,112?
For technical support, including P87C52X2FN,112 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your P87C52X2FN,112 requirements.
6.How does Aetrix verify that P87C52X2FN,112 is sourced from the original manufacturer or authorized distributors?
All P87C52X2FN,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 P87C52X2FN,112 meets industry standards.
7.What is the process for return or replacement of P87C52X2FN,112?
All P87C52X2FN,112 units undergo pre-shipment inspection (PSI). If there is an issue with P87C52X2FN,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 P87C52X2FN,112 part is unused and in its original packaging.
Return procedure for P87C52X2FN,112:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
P87C52X2FN,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…

