NXP Semiconductors P89C664HBA/00,512
- Part No.:
- P89C664HBA/00,512
- Manufacturer:
- NXP Semiconductors
- Category:
- Microcontrollers
- Package:
- 44-LCC (J-Lead)
- Datasheet:
-
P89C664HBA/00,512.pdf
- Description:
- IC MCU 8BIT 64KB FLASH 44PLCC
- Quantity:
- Payment:

- Shipping:

Inventory:2,518
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
P89C664HBA/00,512 from Philips Semiconductors is an 8-bit Flash microcontroller based on the 80C51 architecture, featuring 64 KB ISP/IAP Flash program memory, 2 KB RAM, four 8-bit I/O ports, three 16-bit timers, and a programmable Counter Array (PCA) with PWM and capture/compare capability. It operates at up to 20 MHz in 6-clock mode (40 MHz equivalent performance) and supports In-System and In-Application Programming for remote firmware updates in motor control and embedded industrial systems.
For engineers reviewing the P89C664HBA/00,512 datasheet, P89C664HBA/00,512 pinout, P89C664HBA/00,512 application, or P89C664HBA/00,512 equivalent, key selection criteria include its PLCC-44 package, 6-clock/12-clock timing mode configurability, I²C interface on P1.6/P1.7, enhanced UART with framing error detection, and hardware-assisted Power-Down/Idle low-power modes.
Technical Context
The P89C664HBA/00,512 implements a static CMOS 80C51 core executing instructions in 6 clock cycles by default (configurable to 12-cycle mode via OTP bit), delivering twice the throughput of standard 80C51 devices. Its memory subsystem integrates non-volatile 64 KB Flash with parallel programming support and ROM-resident boot loader enabling UART-based ISP without external loader code.
Peripheral integration includes a full-duplex enhanced UART with automatic address recognition and framing error detection, four-priority nested interrupt structure with eight sources, and a PCA module supporting five independent capture/compare channels and PWM generation - all accessible via dedicated SFRs including CCAPMn, CCON, and CH/CL registers.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 80C51-compatible 8-bit CPU with 100% instruction and timing compatibility |
| Flash Memory | 64 KB ISP/IAP Flash - enables field firmware updates without removing device from system |
| RAM | 2 KB on-chip RAM - sufficient for real-time control stacks and data buffers in motor drive applications |
| Max Operating Frequency | 20 MHz at 6-clock mode (40 MHz effective) - supports high-speed I/O and PWM timing precision |
| I/O Ports | Four 8-bit bidirectional ports (P0–P3) with configurable alternate functions including I²C, PCA, and UART |
| Timers & Counters | Three 16-bit timers (T0/T1/T2) plus PCA with five capture/compare modules - enables simultaneous PWM, input capture, and time-base generation |
| Serial Interfaces | Enhanced UART (framing error detection, auto-address recognition) + I²C (P1.6/SCL, P1.7/SDA, open-drain) |
| Power Modes | Idle mode (CPU halted, peripherals active) and Power-Down mode (oscillator stopped, RAM retained down to 2.0 V) |
Pinout & Package
Package: PLCC-44 (SOT187-2), leaded ceramic chip carrier with 44 pins, suitable for through-hole and surface-mount assembly in industrial control boards.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0.0–P0.7 (AD0–AD7) | Multiplexed address/data bus | Provides low-order address and data during external memory access; open-drain with strong pull-ups when outputting '1' |
| P1.0/T2 | Timer 2 external count input / Clock-out | Configurable as T2 input or 50% duty cycle clock output (122 Hz–8 MHz at 16 MHz crystal) |
| P1.6/SCL & P1.7/SDA | I²C serial interface | Open-drain pins requiring external pull-ups; support master/slave I²C communication per specification |
| P3.0/RxD & P3.1/TxD | Enhanced UART interface | Full-duplex serial I/O with framing error detection and automatic address recognition capability |
| RST | Active-high reset input | Requires ≥2 machine cycles (12/24 oscillator periods) high pulse; internal VSS resistor enables power-on reset with capacitor |
| XTAL1/XTAL2 | Crystal oscillator inputs | Supports quartz crystal or resonator; XTAL1 accepts external clock source when XTAL2 left unconnected |
| EA/VPP | External access enable / programming voltage | Latched at RST release; high = execute from internal Flash, low = fetch from external program memory |
Key Features
| Feature | Design Value |
|---|---|
| In-Application Programming (IAP) | User firmware can erase/reprogram Flash memory using ROM-contained routines - enables over-the-air updates in deployed systems |
| Programmable Counter Array (PCA) | Five independent capture/compare modules support simultaneous PWM generation, input capture, and software timers without CPU overhead |
| Enhanced UART | Framing error detection and automatic address recognition reduce host-side protocol stack complexity in multi-drop networks |
| I²C Interface | Hardware-accelerated I²C (SIO1) on P1.6/P1.7 supports all standard transfer modes - simplifies sensor/EEPROM interfacing with minimal firmware |
| Low-Power Operation | Power-Down mode retains RAM contents down to 2.0 V; exit via INT0/INT1 level-sensitive interrupt preserves state across wake-up |
| OTP Configuration Bit | Selects 6-clock (default, 2× speed) or 12-clock (legacy 80C51 timing) operation - ensures backward compatibility while enabling performance scaling |
Applications
| Motor Control Systems | Industrial PLC I/O Modules |
|---|---|
Use Scenario: Closed-loop DC/BLDC motor control with real-time current sensing and commutation timing. IC Role / Device Role / Timing Role: Primary controller executing PID loops, generating synchronized PWM outputs via PCA, and sampling analog feedback via external ADC interface. Use Value: Five PCA channels allow independent PWM for 3-phase bridge + auxiliary signals; 6-clock mode ensures sub-microsecond timer resolution for precise commutation timing. |
Use Scenario: Distributed digital I/O expansion node communicating with main PLC over RS-485 or I²C. IC Role / Device Role / Timing Role: Local intelligence unit managing 16-channel opto-isolated inputs/outputs, performing debounce, latching, and protocol translation. Use Value: Enhanced UART with framing error detection improves robustness on noisy factory floors; I²C slave mode enables simple configuration via master controller. |
| Embedded Power Supply Controllers | IPMI Baseboard Management |
Use Scenario: Digital AC-DC or DC-DC converter supervisory unit monitoring voltage/current/temperature and adjusting regulation parameters. IC Role / Device Role / Timing Role: System monitor and adaptive controller interfacing with PWM controllers, ADCs, and thermal sensors via GPIO and I²C. Use Value: 2 KB RAM accommodates multiple sensor calibration tables; Power-Down mode reduces quiescent current during standby without losing fault history. |
Use Scenario: Baseboard Management Controller (BMC) companion for server motherboard health monitoring and fan control. IC Role / Device Role / Timing Role: Dedicated IPMI-compliant service processor handling sensor polling, event logging, and watchdog supervision independently of main CPU. Use Value: Four priority-level interrupts ensure timely response to critical thermal/fan-fail events; PCA-based PWM provides precise fan speed control with minimal firmware 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 |
|---|---|---|---|
| AT89C51RD2-RL24 | 64 KB Flash, 1.25 KB RAM, no PCA, no I²C, 33 MHz max (12-clock only) | Lacks hardware PWM and I²C; requires external I²C transceiver or bit-banged implementation | Choose when cost sensitivity outweighs need for integrated PWM/I²C and legacy 12-clock timing suffices |
| P89LV51RD2FA | 64 KB Flash, 1.25 KB RAM, 3.3 V operation, no PCA, no I²C, 20 MHz max | Lower voltage operation but missing PCA and I²C peripherals; incompatible PLCC-44 pinout for direct replacement | Prefer for battery-powered designs needing 3.3 V supply; not suitable for existing P89C664HBA/00,512 PCB layouts |
Compared with AT89C51RD2-RL24 and P89LV51RD2FA, the P89C664HBA/00,512 delivers unique value through its integrated PCA for hardware PWM and capture, native I²C on dedicated open-drain pins, and dual-clock mode flexibility - making it optimal for real-time motor control and industrial I/O where peripheral offload and timing determinism are critical.
Availability
P89C664HBA/00,512 is available at Aetrix Electronics and suitable for motor control systems, industrial PLC I/O modules, embedded power supply controllers, and IPMI baseboard management requiring stable component supply and long-term industrial lifecycle support.
Supply support for P89C664HBA/00,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
Philips Semiconductors (now NXP Semiconductors) is a global semiconductor leader known for high-reliability industrial and automotive ICs, with deep expertise in 8-bit microcontroller architectures and embedded system solutions.
The P89C664HBA/00,512 belongs to the P89C66x Flash microcontroller family designed specifically for cost-sensitive, real-time embedded applications demanding field-upgradable firmware, deterministic timing, and integrated peripherals like PCA and I²C - targeting motor drives, industrial automation, and power management.
FAQ
What is the maximum operating frequency of the P89C664HBA/00,512 and how does clock mode affect performance?
The P89C664HBA/00,512 supports up to 20 MHz in 6-clock mode (delivering 40 MHz equivalent performance vs. standard 80C51) and up to 33 MHz in 12-clock mode. The 6-clock mode is factory-default and provides twice the instruction throughput; the 12-clock mode is optionally configured via EPROM programmer and maintains full 80C51 timing compatibility. Both modes are supported across the full 0–70°C temperature range specified for the P89C664HBA/00,512.
Does the P89C664HBA/00,512 support In-System Programming (ISP) and how is it implemented?
Yes, the P89C664HBA/00,512 supports ISP via its UART interface using a default boot loader stored in ROM. This allows new firmware to be downloaded while the device remains soldered in the target system, without requiring external programming hardware. The process uses standard UART signals (RxD/TxD on P3.0/P3.1) and requires no user code in Flash - making the P89C664HBA/00,512 ideal for remote firmware updates in deployed equipment.
What peripheral interfaces are available on the P89C664HBA/00,512 and which pins do they use?
The P89C664HBA/00,512 provides an enhanced UART (P3.0/RxD, P3.1/TxD), I²C interface (P1.6/SCL, P1.7/SDA - both open-drain), and a Programmable Counter Array (PCA) with five channels accessible via P1.0–P1.5 and P3.4–P3.5. All interfaces are hardware-accelerated and mapped to dedicated SFRs (e.g., S1CON, CCAPMn, CCON), eliminating bit-banging overhead and ensuring deterministic timing for the P89C664HBA/00,512.
How does the Power-Down mode work on the P89C664HBA/00,512 and what conditions are required to exit it?
In Power-Down mode, the P89C664HBA/00,512 stops the oscillator and retains RAM/SFR contents down to 2.0 V. Exit is triggered by either a hardware reset or level-sensitive external interrupt on INT0/INT1. Crucially, VCC must be restored to its minimum operating voltage before the interrupt or reset signal is asserted, and the signal must remain active long enough for oscillator stabilization (typically <10 ms). This ensures reliable wake-up behavior in battery-backed or energy-constrained P89C664HBA/00,512 applications.
Is the P89C664HBA/00,512 pin-compatible with other members of the P89C66x family and what are the memory differences?
Yes, the P89C664HBA/00,512 shares identical PLCC-44 pinout and electrical characteristics with P89C660HBA, P89C662HBA, and P89C668HBA. Memory differs strictly by model: P89C664HBA/00,512 has 64 KB Flash and 2 KB RAM, whereas P89C660HBA offers 16 KB Flash/512 B RAM, P89C662HBA offers 32 KB Flash/1 KB RAM, and P89C668HBA offers 64 KB Flash/8 KB RAM - enabling scalable design reuse across product tiers using the same P89C664HBA/00,512 PCB layout.
P89C664HBA/00,512 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- NXP Semiconductors
- Package/Case:
- 44-LCC (J-Lead)
- Series:
- 89C
- Packaging:
- Tube
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- 8051
- Core Size:
- 8-Bit
- Speed:
- 33MHz
- Connectivity:
- I2C, UART/USART
- Peripherals:
- POR, PWM, WDT
- Number of I/O:
- 32
- Program Memory Size:
- 64KB (64K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 2K x 8
- Voltage - Supply (Vcc/Vdd):
- 4.5V ~ 5.5V
- Data Converters:
- -
- Oscillator Type:
- Internal
- Operating Temperature:
- 0°C ~ 70°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
P89C664HBA/00,512 FAQ
1.How can I place an order for P89C664HBA/00,512 through Aetrix?
Please submit a Request for Quotation (RFQ) for P89C664HBA/00,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 P89C664HBA/00,512 reliable?
The price and inventory of P89C664HBA/00,512 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for P89C664HBA/00,512 is usually 5 days.
3.What payment methods are accepted for P89C664HBA/00,512?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for P89C664HBA/00,512 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for P89C664HBA/00,512?
P89C664HBA/00,512 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your P89C664HBA/00,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 P89C664HBA/00,512?
For technical support, including P89C664HBA/00,512 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your P89C664HBA/00,512 requirements.
6.How does Aetrix verify that P89C664HBA/00,512 is sourced from the original manufacturer or authorized distributors?
All P89C664HBA/00,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 P89C664HBA/00,512 meets industry standards.
7.What is the process for return or replacement of P89C664HBA/00,512?
All P89C664HBA/00,512 units undergo pre-shipment inspection (PSI). If there is an issue with P89C664HBA/00,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 P89C664HBA/00,512 part is unused and in its original packaging.
Return procedure for P89C664HBA/00,512:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
P89C664HBA/00,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…

.jpg)