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

- Shipping:

Inventory:1,977
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
P87C51RB2BN,112 from NXP Semiconductors (formerly Philips) is an 8-bit OTP microcontroller based on the 80C51 architecture, featuring 16 KB on-chip OTP program memory, 512 B RAM, four 8-bit I/O ports, three 16-bit timers (T0/T1/T2), a full-duplex enhanced UART with framing error detection, and a Programmable Counter Array (PCA) supporting PWM and capture/compare functions. It operates at 2.7–5.5 V and delivers up to 33 MHz performance in 12-clock mode - ideal for motor control, industrial timing, and embedded instrumentation requiring deterministic real-time I/O.
For engineers reviewing the P87C51RB2BN,112 datasheet, P87C51RB2BN,112 pinout, P87C51RB2BN,112 application, or P87C51RB2BN,112 equivalent, this page provides verified technical context, validated pin-level circuit roles, confirmed low-power operating modes (Idle/Power-down), exact OTP memory mapping, and direct alternative options with documented functional alignment and known trade-offs in clock configuration and peripheral availability.
Technical Context
The P87C51RB2BN,112 implements a static CMOS 80C51 core with full instruction set compatibility and adds hardware enhancements including a 5-level nested interrupt structure (7 sources, 4 priority levels), dual data pointers, security bits (3-bit encryption array), and programmable clock-out via Timer 2. Its PCA module supports five independent CEX channels (CEX0–CEX4) for simultaneous PWM generation and edge-triggered capture.
It supports selectable 6-clock or 12-clock operation via OTP bit OX2 (factory-programmed default: 12-clock) and SFR bit X2 (CKCON.0), enabling software-switchable throughput scaling. Clock-out frequency ranges from 61 Hz to 4 MHz (12-clock) or 122 Hz to 8 MHz (6-clock) at 16 MHz crystal, derived from RCAP2H/L reload values without interrupt generation.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 80C51-compatible 8-bit CPU with Boolean processor and fully static operation |
| OTP Memory | 16 KB - non-volatile program storage; programmed once via parallel programmer |
| Data RAM | 512 bytes - internal volatile memory; expandable externally to 64 KB via MOVX |
| Operating Voltage | 2.7 V to 5.5 V - enables single-supply operation across battery-powered and industrial rails |
| Max Clock Frequency | 33 MHz at 5 V in 12-clock mode; 30 MHz at 3 V - defines real-time I/O response limits |
| Timer Resources | Three 16-bit timers (T0/T1/T2); T2 supports capture/compare, baud-rate generation, and clock-out |
| Serial Interface | Full-duplex enhanced UART with automatic address recognition and framing error detection |
| Low-Power Modes | Idle mode (CPU halted, peripherals active) and Power-down mode (oscillator stopped, RAM retained down to 2 V) |
Pinout & Package
Package: 40-pin Plastic Dual In-Line Package (PDIP), SOT129-1, commercial temperature range (0 °C to +70 °C).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0.0–P0.7 (AD0–AD7) | Multiplexed address/data bus | Open-drain I/O; outputs low-order address + data during external memory access; requires external pull-ups |
| P1.0–P1.7 | General-purpose I/O with PCA functions | T2/T2EX/ECI/CEX0–CEX4 alternate functions enable PWM output and input capture on five channels |
| P2.0–P2.7 (A8–A15) | High-order address bus / I/O | Outputs upper address byte during 16-bit external memory access; bidirectional with internal pull-ups |
| P3.0–P3.7 | Multi-function I/O with serial/peripheral signals | RxD/TxD (UART), INT0/INT1 (level-sensitive interrupts), T0/T1 (timer inputs), WR/RD (external memory strobes) |
| RST | Reset input | Active-high asynchronous reset; requires ≥2 machine cycles (24 oscillator periods in 12-clock mode) |
| XTAL1/XTAL2 | Oscillator interface | Connects to crystal/resonator; XTAL1 accepts external clock source when XTAL2 left unconnected |
| EA/VPP | External access enable / programming voltage | High = execute from internal OTP; low = fetch from external program memory; latched at RST release |
| ALE/PROG | Address latch enable / programming pulse | Outputs address latch pulse during external memory access; disabled via AUXR.0 for timing-critical applications |
Key Features
| Feature | Design Value |
|---|---|
| Programmable Counter Array (PCA) | Five independent CEX channels support simultaneous PWM generation, input capture, and software-timed events without CPU overhead |
| Selectably configurable clock mode | 6-clock or 12-clock operation - doubles effective throughput in 6-clock mode while maintaining full 80C51 code compatibility |
| Enhanced UART with framing detection | Detects invalid stop bits and triggers RI flag only on valid frames - reduces false interrupt load in noisy industrial environments |
| Security and encryption | Three programmable security bits and 64-byte encryption array prevent unauthorized firmware readout and cloning |
| Low EMI design | 6-clock mode, slew-rate-controlled outputs, and ALE inhibit reduce radiated emissions for CE/FCC compliance in compact layouts |
| Asynchronous port reset | Port pins enter defined state immediately upon RST assertion - eliminates glitch-induced peripheral activation during power-up |
Applications
| Motor Control System | Industrial Data Logger |
|---|---|
Use Scenario: Closed-loop DC motor speed regulation using feedback from optical encoder and analog current sensing. IC Role / Device Role / Timing Role: Real-time PWM generation (via PCA CEX0–CEX2), quadrature decoding (T0/T1 edge capture), and UART-based telemetry reporting. Use Value: Precise 16-bit timer resolution and dedicated PCA channels eliminate software timing jitter, enabling ±0.5% speed accuracy at 20 kHz PWM carrier. |
Use Scenario: Standalone environmental sensor node logging temperature, humidity, and voltage at 10-second intervals to SPI EEPROM. IC Role / Device Role / Timing Role: Low-power scheduler (Timer 2 auto-reload), I²C/SPI interface controller (bit-banged via Port 1), and UART debug interface. Use Value: Power-down mode draws <10 µA while retaining RAM contents, enabling >1-year battery life on two AA cells with periodic wake-up. |
| Legacy Equipment Controller | Embedded Test Fixture |
Use Scenario: Retrofit controller replacing obsolete 8051-based PLC I/O modules in factory automation panels. IC Role / Device Role / Timing Role: Pin-compatible replacement with identical Port 0–3 signal timing, supporting existing 8-bit data bus and address decoding logic. Use Value: Full 80C51 instruction compatibility and identical PDIP-40 footprint allow drop-in replacement without PCB revision or firmware rework. |
Use Scenario: Production-line functional tester verifying analog/digital board responses under controlled stimulus sequences. IC Role / Device Role / Timing Role: ONCE™ mode-enabled on-circuit emulation host; generates precise timing waveforms via PCA and captures response edges via CEX inputs. Use Value: ONCE mode allows real-time register inspection and breakpoint debugging without removing the device - reducing test fixture calibration time by 40%. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| AT89C51RC2-24PU | 16 KB Flash (reprogrammable), same 40-pin PDIP, no PCA module; UART lacks framing error detection | Requires firmware rework for PWM timing; unsuitable for high-noise UART links where framing errors must be flagged | Choose for prototyping or field-upgradable systems where reprogramming outweighs need for hardware capture/PWM precision |
| P89V51RD2BN,112 | 64 KB Flash, 1 KB RAM, same PCA and UART features; supports ISP via UART; higher max frequency (60 MHz) | Pin-compatible but larger memory footprint may require linker script updates; ISP eliminates need for parallel programmer | Choose for new designs needing field firmware updates or extended code space, accepting minor toolchain adaptation |
Compared with AT89C51RC2-24PU and P89V51RD2BN,112, the P87C51RB2BN,112 offers optimal balance of OTP security, deterministic PCA timing, and legacy system compatibility - making it preferred for cost-sensitive, fixed-function industrial controllers where code immutability and EMI resilience are critical.
Availability
P87C51RB2BN,112 is available at Aetrix Electronics and suitable for motor control systems, industrial data loggers, legacy equipment retrofits, and embedded test fixtures requiring stable component supply, long-term obsolescence management, and traceable sourcing.
Supply support for P87C51RB2BN,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 acquired Philips Semiconductors in 2006 and continues to support legacy 80C51 derivatives with documentation, cross-reference tools, and authorized distribution channels.
The P87C51RB2BN,112 belongs to the P87C51RA2/RB2/RC2/RD2 OTP microcontroller family, designed specifically for cost-sensitive, high-reliability embedded applications demanding low-voltage operation, deterministic real-time I/O, and long-lifecycle availability in industrial and instrumentation markets.
FAQ
What is the maximum operating frequency of the P87C51RB2BN,112 at 5 V?
The P87C51RB2BN,112 supports up to 33 MHz in 12-clock mode and 30 MHz in 6-clock mode at 5 V. The actual achievable frequency depends on the selected clock mode (configured via OTP bit OX2 and SFR bit X2), with 6-clock mode delivering twice the instruction throughput per MHz compared to standard 80C51 devices. This makes the P87C51RB2BN,112 suitable for time-critical motor control loops requiring sub-microsecond response.
Does the P87C51RB2BN,112 support in-system programming (ISP)?
No, the P87C51RB2BN,112 uses One-Time-Programmable (OTP) memory and requires parallel programming via a dedicated programmer before soldering. It does not support in-system programming or UART-based firmware updates. Programming is performed through the standard 87C51-compatible interface using VPP (EA pin) and control signals - a key differentiator from Flash-based alternatives like the P89V51RD2BN,112. This ensures firmware integrity in safety-critical deployments.
How many PWM channels does the P87C51RB2BN,112 provide, and how are they implemented?
The P87C51RB2BN,112 provides five independent PWM outputs via its Programmable Counter Array (PCA) module - CEX0 through CEX4 on Port 1 pins P1.3–P1.7. Each channel supports 16-bit resolution, configurable polarity, and edge-aligned or center-aligned modes. PWM generation is hardware-autonomous and does not consume CPU cycles, enabling concurrent execution of communication tasks and real-time control algorithms within the P87C51RB2BN,112.
Can the P87C51RB2BN,112 operate from a 3 V supply, and what is its minimum guaranteed frequency?
Yes, the P87C51RB2BN,112 is fully specified for operation from 2.7 V to 5.5 V. At 3 V, its maximum guaranteed frequency is 16 MHz in both 6-clock and 12-clock modes, as confirmed in the Selection Table. This enables reliable operation in battery-powered instrumentation where supply voltage sags below 3.3 V, while maintaining sufficient timing resolution for UART communication and sensor sampling at 9600–115200 baud.
What low-power modes are supported by the P87C51RB2BN,112, and how is wake-up achieved from Power-down mode?
The P87C51RB2BN,112 supports Idle mode (CPU halted, peripherals active) and Power-down mode (oscillator stopped, RAM retained). Wake-up from Power-down requires either a hardware reset or a level-sensitive external interrupt on INT0 or INT1. The interrupt pin must be held low to restart the oscillator and then brought high to complete exit - ensuring synchronized resumption of code execution after RETI. This behavior is explicitly defined in the Power-Down Mode section of the P87C51RB2BN,112 datasheet.
P87C51RB2BN,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, PWM, WDT
- Number of I/O:
- 32
- Program Memory Size:
- 16KB (16K x 8)
- Program Memory Type:
- OTP
- EEPROM Size:
- -
- RAM Size:
- 512 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:
P87C51RB2BN,112 FAQ
1.How can I place an order for P87C51RB2BN,112 through Aetrix?
Please submit a Request for Quotation (RFQ) for P87C51RB2BN,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 P87C51RB2BN,112 reliable?
The price and inventory of P87C51RB2BN,112 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for P87C51RB2BN,112 is usually 5 days.
3.What payment methods are accepted for P87C51RB2BN,112?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for P87C51RB2BN,112 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for P87C51RB2BN,112?
P87C51RB2BN,112 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your P87C51RB2BN,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 P87C51RB2BN,112?
For technical support, including P87C51RB2BN,112 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your P87C51RB2BN,112 requirements.
6.How does Aetrix verify that P87C51RB2BN,112 is sourced from the original manufacturer or authorized distributors?
All P87C51RB2BN,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 P87C51RB2BN,112 meets industry standards.
7.What is the process for return or replacement of P87C51RB2BN,112?
All P87C51RB2BN,112 units undergo pre-shipment inspection (PSI). If there is an issue with P87C51RB2BN,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 P87C51RB2BN,112 part is unused and in its original packaging.
Return procedure for P87C51RB2BN,112:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
P87C51RB2BN,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…

