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

- Shipping:

Inventory:4,307
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
P87C52SBPN,112 from NXP Semiconductors (formerly Philips Semiconductors) is an 8-bit OTP-based microcontroller in the 80C51 architecture family, featuring 8 KB on-chip ROM, 256 B RAM, three 16-bit timers/counters, full-duplex UART, and four 8-bit I/O ports. It operates from 2.7 V to 5.5 V at up to 16 MHz and supports idle and power-down low-power modes - used in industrial control panels requiring deterministic real-time response and firmware persistence without external memory.
For engineers reviewing the P87C52SBPN,112 datasheet, P87C52SBPN,112 pinout, P87C52SBPN,112 application, or P87C52SBPN,112 equivalent, key selection considerations include its 8 KB OTP program memory size, 256-byte internal RAM capacity, dual data pointer support, programmable clock-out capability on P1.0, and compatibility with legacy 8051 toolchains and debug infrastructure.
Technical Context
This device implements a static CMOS 8051 core with full backward instruction-set compatibility, enabling drop-in replacement for earlier 80C51/87C51 designs. Its memory subsystem supports 64 KB external program and 64 KB external data address spaces via multiplexed Port 0 (AD0–AD7) and Port 2 (A8–A15), with ALE-controlled latching for external bus interfacing.
The interrupt system features six sources (INT0, INT1, T0, T1, serial, T2), four priority levels, and nested vectoring - critical for time-critical sensor polling and communication handling. Timer 2 provides capture, auto-reload (up/down), and baud-rate generation modes, with dedicated registers RCAP2H/RCAP2L and control bits in T2CON and T2MOD.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8051-compatible 8-bit CPU with Boolean processor and static design - enables zero-frequency operation and deterministic timing for safety-critical polling loops. |
| Program Memory | 8 KB OTP (One-Time Programmable) ROM - provides non-volatile, tamper-resistant firmware storage without external EPROM or flash. |
| RAM Size | 256 × 8-bit on-chip RAM - sufficient for stack, register banking, and small data buffers without external SRAM dependency. |
| Max Clock Frequency | 16 MHz at 2.7–5.5 V supply - supports real-time control loop execution within sub-100 µs deadlines in motor drive applications. |
| I/O Ports | Four 8-bit bidirectional ports (P0–P3) with Schmitt-trigger inputs and internal pull-ups on P1/P2/P3 - simplifies interface to switches, LEDs, and digital sensors without external biasing. |
| Timers/Counters | Three 16-bit timers: T0/T1 (standard) + T2 (enhanced with capture, reload, and baud-rate modes) - enables simultaneous PWM generation, pulse-width measurement, and UART timing. |
| Serial Interface | Full-duplex UART with framing error detection and automatic address recognition - supports multi-drop RS-485 networks in building automation systems. |
Pinout & Package
Package: Plastic Dual In-line Package (PDIP), 40-pin, SOT129-1, commercial temperature range (0 °C to +70 °C).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC (Pin 40) | Power supply input | Primary 2.7–5.5 V supply rail; powers core, peripherals, and I/O drivers - requires local 100 nF decoupling near pin. |
| VSS (Pin 20) | Ground reference | 0 V return path for all internal circuits and I/O - must be connected to low-impedance system ground plane. |
| P0.0–P0.7 (Pins 39–32) | Multiplexed AD bus | Open-drain port serving as lower 8-bit address/data bus during external memory access - requires external pull-ups for reliable bus operation. |
| P1.0/T2 (Pin 1) | General I/O / Timer 2 input | Configurable as standard I/O or Timer 2 external count input; also supports programmable 50% duty-cycle clock output when T2 is in clock-out mode. |
| P2.0–P2.7 (Pins 21–28) | Upper address bus | Outputs high-order address bits A8–A15 during external memory fetches - enables 64 KB program/data space expansion using external memory chips. |
| P3.0/RxD (Pin 10) | Serial receive input | Asynchronous UART receive pin with Schmitt-trigger input - accepts TTL/CMOS-level serial data; supports framing error detection in hardware. |
| P3.1/TxD (Pin 11) | Serial transmit output | UART transmit output with internal driver - drives RS-232 level shifters or direct TTL-level communication links. |
| RST (Pin 9) | Reset input | Active-high asynchronous reset requiring ≥2 machine cycles (24 oscillator periods); internal weak pull-down permits power-on reset with external RC network. |
| XTAL1 (Pin 19) | Oscillator input | Input to on-chip inverting amplifier - connects to crystal or external clock source; determines system timing base for all peripherals. |
| XTAL2 (Pin 18) | Oscillator output | Output from inverting amplifier - completes crystal oscillator circuit; left unconnected when using external clock input on XTAL1. |
Key Features
| Feature | Design Value |
|---|---|
| Static CMOS design | Enables true zero-frequency operation and instant resume from stop-clock mode - essential for battery-powered metering devices with infrequent wake-up events. |
| Dual Data Pointer (DPTR) | Allows simultaneous access to two independent data memory regions - accelerates table lookups and block memory transfers in protocol stack implementations. |
| Programmable clock-out on P1.0 | Generates precise 61 Hz–4 MHz square wave (at 16 MHz system clock) without CPU intervention - replaces external clock generators in test fixtures and calibration equipment. |
| Security bits (3-bit OTP lock) | Prevents unauthorized readout of on-chip firmware by disabling external program memory access after programming - meets basic IP protection requirements for OEM firmware. |
| Low EMI output control | ALE inhibition and slew-rate-limited outputs reduce radiated emissions - simplifies EMC compliance in industrial environments without added filtering components. |
Applications
| Industrial PLC I/O Module | Legacy Equipment Controller |
|---|---|
|
Use Scenario: Standalone digital I/O expansion module for DIN-rail mounted programmable logic controllers, interfacing with 24 V DC sensors and actuators. IC Role / Device Role / Timing Role: Primary controller executing ladder logic scan cycles, managing discrete input debouncing, and driving relay outputs via opto-isolated drivers. Use Value: 8 KB OTP ensures firmware integrity across decades of field deployment; 256 B RAM accommodates scan state variables and diagnostic counters without external memory overhead. |
Use Scenario: Retrofit controller replacing obsolete 8031-based boards in factory floor CNC machine tool interfaces. IC Role / Device Role / Timing Role: Real-time motion coordination hub synchronizing spindle speed, feed rate, and coolant control using timer-generated PWM and UART-linked HMI updates. Use Value: Pin-compatible 8051 architecture allows reuse of existing PCB layout and assembly tooling; 16 MHz max frequency meets original timing budgets without redesign. |
| Smart Energy Meter Firmware Core | Building Automation Gateway |
|
Use Scenario: Firmware execution engine in Class 0.5S electricity meters performing metrology calculations, tariff switching, and secure data logging. IC Role / Device Role / Timing Role: Host processor for metrology ASIC interface, EEPROM data management, and IR/RS-485 communication stack execution. Use Value: Power-down mode reduces standby current to <10 µA while preserving RAM contents - extends battery life in AMI endpoint backup power scenarios. |
Use Scenario: Protocol translation gateway bridging BACnet MS/TP fieldbus to Modbus TCP over Ethernet in HVAC control systems. IC Role / Device Role / Timing Role: Serial protocol handler managing multiple concurrent UART channels (RS-485, RS-232) and coordinating packet framing, checksum, and retry logic. Use Value: Full-duplex UART with framing error detection and automatic address recognition enables robust multi-drop network operation without software bit-banging overhead. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| AT89C52-24PU | 8 KB Flash (reprogrammable), same 8051 core, 256 B RAM, but lacks Timer 2 and programmable clock-out | Preferred where firmware updates in field are required; unsuitable for applications needing T2-based baud-rate independence from T1 | Select only if reprogrammability outweighs loss of enhanced timer functionality and clock-out capability. |
| STC89C52RC | 8 KB Flash, 512 B RAM, built-in ISP, higher max frequency (35 MHz), but non-Philips pinout and undocumented OTP security model | Suitable for cost-sensitive consumer products; not recommended for legacy 80C51 board replacements due to I/O timing and reset behavior differences | Choose only for new designs targeting lower BOM cost and in-system programming - avoid for drop-in replacement scenarios. |
Compared with AT89C52-24PU and STC89C52RC, P87C52SBPN,112 offers guaranteed OTP firmware immutability and full Timer 2 feature set critical for UART timing isolation and precision clock generation - making it the sole choice for certified industrial control firmware where reprogramming risk and peripheral fidelity are disqualifying factors.
Availability
P87C52SBPN,112 is available at Aetrix Electronics and suitable for industrial control panels, legacy equipment retrofits, smart energy metering modules, and building automation gateways requiring stable component supply and long-term obsolescence management.
Supply support for P87C52SBPN,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, formerly Philips Semiconductors, is a global leader in high-reliability automotive, industrial, and secure connectivity ICs with over 30 years of 8051 architecture leadership.
The P87C52SBPN,112 belongs to the legacy 80C51/87C52 OTP microcontroller product line, designed specifically for cost-sensitive, high-volume industrial applications demanding firmware permanence, long-term supply stability, and full 8051 ecosystem compatibility.
FAQ
What is the maximum operating frequency of the P87C52SBPN,112?
The P87C52SBPN,112 supports a maximum operating frequency of 16 MHz when powered from 2.7 V to 5.5 V. This rating is validated across the full commercial temperature range (0 °C to +70 °C) and applies to both internal oscillator operation (with crystal on XTAL1/XTAL2) and external clock drive on XTAL1. The device remains fully functional down to 0 Hz due to its static CMOS design.
Does the P87C52SBPN,112 include on-chip RAM, and how much is available?
Yes, the P87C52SBPN,112 integrates 256 × 8-bit on-chip RAM. This RAM is directly accessible by the CPU and supports stack operations, register banking, and general-purpose data storage. Unlike the 80C51 variant (128 B), the 80C52/87C52 family doubles RAM capacity - enabling more complex state machines and protocol buffers without external memory expansion.
Can the P87C52SBPN,112 be used as a UART baud-rate generator independent of Timer 1?
Yes, the P87C52SBPN,112 supports UART baud-rate generation using Timer 2 instead of Timer 1. By setting RCLK and/or TCLK bits in T2CON, the serial port's receive and transmit clocks can be sourced from Timer 2 overflow - freeing Timer 1 for other tasks like PWM or interval timing. This capability is exclusive to the 80C52/87C52 family and not available in the base 80C51.
What package type and pin count does the P87C52SBPN,112 use?
The P87C52SBPN,112 uses a 40-pin Plastic Dual In-line Package (PDIP) conforming to SOT129-1 mechanical dimensions. It is rated for commercial temperature operation (0 °C to +70 °C) and features through-hole mounting compatible with legacy wave-solder and hand-solder assembly processes.
Is the P87C52SBPN,112 pin-compatible with the P80C52SBPN?
Yes, the P87C52SBPN,112 is pin-compatible with the P80C52SBPN. Both share identical PDIP-40 packaging (SOT129-1), identical pin functions, and identical electrical characteristics. The primary difference lies in memory technology: P87C52SBPN,112 uses 8 KB OTP ROM, while P80C52SBPN uses 8 KB mask-programmed ROM - making them functionally interchangeable in hardware design.
P87C52SBPN,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
- 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:
P87C52SBPN,112 FAQ
1.How can I place an order for P87C52SBPN,112 through Aetrix?
Please submit a Request for Quotation (RFQ) for P87C52SBPN,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 P87C52SBPN,112 reliable?
The price and inventory of P87C52SBPN,112 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for P87C52SBPN,112 is usually 5 days.
3.What payment methods are accepted for P87C52SBPN,112?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for P87C52SBPN,112 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for P87C52SBPN,112?
P87C52SBPN,112 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your P87C52SBPN,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 P87C52SBPN,112?
For technical support, including P87C52SBPN,112 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your P87C52SBPN,112 requirements.
6.How does Aetrix verify that P87C52SBPN,112 is sourced from the original manufacturer or authorized distributors?
All P87C52SBPN,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 P87C52SBPN,112 meets industry standards.
7.What is the process for return or replacement of P87C52SBPN,112?
All P87C52SBPN,112 units undergo pre-shipment inspection (PSI). If there is an issue with P87C52SBPN,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 P87C52SBPN,112 part is unused and in its original packaging.
Return procedure for P87C52SBPN,112:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
P87C52SBPN,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…

