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

- Shipping:

Inventory:2,967
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
P89C668HFA/00,512 from NXP Semiconductors (formerly Philips) is an 8-bit Flash microcontroller based on the 80C51 architecture, featuring 64 KB ISP/IAP Flash program memory and 8 KB RAM. It executes instructions in 6 clock cycles (2× speed vs. standard 80C51), supports up to 20 MHz operation in 6-clock mode, and integrates a Programmable Counter Array (PCA) with PWM, capture/compare, I²C interface, enhanced UART, and four 8-bit I/O ports - deployed in industrial motor control and embedded IPMI systems.
For engineers reviewing the P89C668HFA/00,512 datasheet, P89C668HFA/00,512 pinout, P89C668HFA/00,512 application, or P89C668HFA/00,512 equivalent, key selection criteria include its -40°C to +85°C industrial temperature grade, PLCC-44 package, dual clock-mode configuration (6/12-cycle), Flash reprogrammability via UART boot loader, and hardware-accelerated I²C slave/master support on P1.6/P1.7.
Technical Context
The P89C668HFA/00,512 implements a static CMOS 80C51-compatible CPU core with accelerated 6-clock-per-instruction execution (optionally configurable to 12-clock timing via OTP bit). Its memory subsystem includes non-volatile 64 KB Flash with In-System Programming (ISP) and In-Application Programming (IAP) capability, plus 8 KB on-chip SRAM expandable to 64 KB externally.
Peripherals include three 16-bit timers (T0/T1/T2), a 5-channel PCA supporting PWM generation and edge-capture, full-duplex enhanced UART with framing error detection and automatic address recognition, and dedicated I²C interface (SCL/SDA on P1.6/P1.7) compliant with standard I²C bus specification - all operating under four priority-level nested interrupts and low-power modes (Idle, Power-Down, Stop Clock).
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 MCU from system |
| RAM | 8 KB on-chip SRAM - sufficient for real-time control stacks and buffer-intensive I²C/UART protocols |
| Max Clock Frequency | 20 MHz at 6-clock mode (40 MHz equivalent performance); 33 MHz max in 12-clock mode |
| Operating Voltage | 4.75–5.25 V - tight tolerance supports stable operation in noisy industrial power rails |
| Temperature Range | -40°C to +85°C - qualified for extended industrial environments |
| I/O Pins | 32 programmable I/O lines across four 8-bit ports (P0–P3), including alternate functions for PCA, I²C, UART, and timers |
Pinout & Package
Package: Plastic Leaded Chip Carrier (PLCC), 44-pin, SOT187-2 footprint, lead-free compatible (per historical Philips documentation).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0.0–P0.7 (AD0–AD7) | Multiplexed Address/Data Bus | Open-drain bidirectional port; provides low-order address/data during external memory access |
| P1.0 (T2) | Timer 2 External Input / Clock-Out | Configurable as T2 counter input or 50% duty cycle clock output (122 Hz–8 MHz range) |
| P1.6 (SCL) / P1.7 (SDA) | I²C Serial Interface | Open-drain pins requiring external pull-ups; support full master/slave I²C operation per specification |
| P3.0 (RxD) / P3.1 (TxD) | Enhanced UART Interface | Full-duplex serial I/O with framing error detection and automatic address recognition |
| RST | Active-High Reset Input | Minimum 2-machine-cycle high pulse required; internal weak pull-down enables power-on reset with RC network |
| XTAL1 / XTAL2 | Crystal Oscillator Inputs | Supports quartz crystal (1–20 MHz) or external clock source; oscillator stops in Power-Down mode |
Key Features
| Feature | Design Value |
|---|---|
| In-Application Programming (IAP) | Enables firmware self-update during runtime using ROM-resident Flash routines - critical for remote modem-based updates |
| Programmable Counter Array (PCA) | 5-channel hardware timer subsystem supporting simultaneous PWM generation, input capture, and software-timed events |
| I²C Serial Interface | Dedicated SIO1 peripheral with autonomous byte transfer, status register (S1STA), and interrupt-driven operation on P1.6/P1.7 |
| Enhanced UART | Includes framing error detection, automatic address recognition, and dual-buffered receive - reduces host CPU overhead in multi-drop systems |
| Low-Power Operation | Three power modes: Idle (peripherals active, CPU halted), Power-Down (oscillator stopped, RAM retained), Stop Clock (0 MHz clock, full retention) |
Applications
| Industrial Motor Control | IPMI Baseboard Management |
|---|---|
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 PWM signals via PCA channels, and managing encoder feedback via INT0/INT1. Use Value: Hardware-accelerated PCA PWM (with dead-time insertion via software) and deterministic 6-clock instruction timing ensure sub-microsecond jitter control. |
Use Scenario: Embedded baseboard management controller (BMC) monitoring temperature, fan speed, and power supply health in server chassis. IC Role / Device Role / Timing Role: System monitor interfacing with SMBus/I²C sensors, logging events to Flash, and communicating over UART to host BIOS/IPMI stack. Use Value: Integrated I²C master/slave and 64 KB Flash enable secure firmware storage and sensor polling without external logic. |
| Legacy Industrial PLC I/O Module | Smart Energy Metering Interface |
Use Scenario: DIN-rail mounted I/O expansion module with digital input debouncing, relay drive, and RS-485 communication. IC Role / Device Role / Timing Role: Real-time I/O processor handling edge-triggered interrupts (INT0/INT1), driving opto-isolated outputs via P0/P2, and managing Modbus RTU over UART. Use Value: Four priority-level nested interrupts and 32 GPIO pins allow concurrent handling of 16+ inputs/outputs with deterministic response latency. |
Use Scenario: Two-way communication interface between metrology ASIC and host microprocessor in Class 0.5S electricity meters. IC Role / Device Role / Timing Role: Secure data bridge using I²C to read metering registers and UART to forward encrypted data packets to concentrator. Use Value: On-chip 8 KB RAM buffers burst reads from metrology IC; Flash stores encryption keys and firmware patches independently of host. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| AT89C51ED2-RLTUM | 50 MHz max (12-clock), 64 KB Flash, 2 KB RAM, built-in USB interface; no I²C or PCA | Better suited for USB-hosted firmware update; lacks hardware I²C and advanced PWM timing | Select when USB connectivity is mandatory and I²C peripherals are handled externally |
| STC89C52RC-PD | 8 KB Flash, 512 B RAM, 12-clock only, no ISP/IAP, no I²C, no PCA; lower cost, single-supply 3.3–5.5 V | Limited to simple control tasks; requires external EEPROM for parameter storage | Select for cost-sensitive, non-upgradable embedded functions where Flash size and peripheral count are secondary |
Compared with AT89C51ED2-RLTUM and STC89C52RC-PD, the P89C668HFA/00,512 delivers superior on-chip integration for industrial I²C sensor networks and motor control - retaining 8 KB RAM for protocol stacks and enabling field firmware updates without external programming hardware.
Availability
P89C668HFA/00,512 is available at Aetrix Electronics and suitable for industrial motor control, IPMI baseboard management, legacy PLC I/O modules, and smart energy metering interfaces requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for P89C668HFA/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
NXP Semiconductors (originally Philips Semiconductors) is a global leader in high-reliability microcontrollers and analog solutions, with deep heritage in 80C51 architecture development and industrial-grade qualification.
The P89C668HFA/00,512 belongs to the P89C66x Flash microcontroller family, designed specifically for cost-sensitive yet feature-rich industrial control applications requiring field-upgradable firmware, deterministic real-time response, and mixed-signal peripheral integration.
FAQ
What is the maximum operating frequency of the P89C668HFA/00,512 in 6-clock mode?
The P89C668HFA/00,512 supports up to 20 MHz in 6-clock mode, delivering 3.33 million instructions per second (MIPS) - twice the throughput of a standard 80C51 at the same frequency. This timing mode is factory-default and enables high-speed PWM generation and UART baud rates up to 115.2 kbps with minimal CPU overhead. The P89C668HFA/00,512 maintains full functionality across its specified -40°C to +85°C industrial temperature range at this frequency.
Does the P89C668HFA/00,512 support In-System Programming (ISP) without external hardware?
Yes, the P89C668HFA/00,512 includes a factory-programmed boot ROM containing low-level Flash programming routines that enable serial ISP via the UART (P3.0/RxD and P3.1/TxD) without requiring external programmers. This allows firmware updates directly in the target system using only a standard RS-232 interface and host-side loader software. The P89C668HFA/00,512 does not require a parallel programmer or JTAG adapter for basic ISP operations.
How is I²C functionality implemented on the P89C668HFA/00,512?
The P89C668HFA/00,512 implements a full I²C serial interface (SIO1) using P1.6 (SCL) and P1.7 (SDA) as open-drain pins - requiring external pull-up resistors. It supports all standard I²C transfer modes (master transmitter/receiver, slave transmitter/receiver) with hardware address recognition, status register (S1STA), and interrupt-driven operation. Unlike basic 80C51 derivatives, the P89C668HFA/00,512's I²C peripheral operates autonomously without CPU intervention for byte transfers.
Can the P89C668HFA/00,512 generate multiple independent PWM signals?
Yes, the P89C668HFA/00,512's 5-channel Programmable Counter Array (PCA) supports concurrent PWM generation on up to five output pins (P1.3–P1.7 and P3.4–P3.5), each with individually configurable period and duty cycle. Each channel can operate in PWM mode with 8-bit resolution and auto-reload, enabling precise control of multiple motors, LEDs, or power converters without consuming CPU cycles. The P89C668HFA/00,512 also supports edge-capture and software timers within the same hardware block.
What power-saving modes does the P89C668HFA/00,512 support, and how do they differ?
The P89C668HFA/00,512 offers three low-power modes: Idle (CPU halted, peripherals active, RAM retained), Power-Down (oscillator stopped, RAM/SFRs retained down to 2.0 V), and Stop Clock (clock frequency reduced to 0 MHz while preserving all state). Exit from Idle occurs on any enabled interrupt; Power-Down requires hardware reset or level-sensitive INT0/INT1. The P89C668HFA/00,512 retains full register and RAM contents across all modes, enabling rapid wake-up with deterministic latency.
P89C668HFA/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:
- 8K x 8
- Voltage - Supply (Vcc/Vdd):
- 4.75V ~ 5.25V
- Data Converters:
- -
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
P89C668HFA/00,512 FAQ
1.How can I place an order for P89C668HFA/00,512 through Aetrix?
Please submit a Request for Quotation (RFQ) for P89C668HFA/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 P89C668HFA/00,512 reliable?
The price and inventory of P89C668HFA/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 P89C668HFA/00,512 is usually 5 days.
3.What payment methods are accepted for P89C668HFA/00,512?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for P89C668HFA/00,512 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for P89C668HFA/00,512?
P89C668HFA/00,512 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your P89C668HFA/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 P89C668HFA/00,512?
For technical support, including P89C668HFA/00,512 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your P89C668HFA/00,512 requirements.
6.How does Aetrix verify that P89C668HFA/00,512 is sourced from the original manufacturer or authorized distributors?
All P89C668HFA/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 P89C668HFA/00,512 meets industry standards.
7.What is the process for return or replacement of P89C668HFA/00,512?
All P89C668HFA/00,512 units undergo pre-shipment inspection (PSI). If there is an issue with P89C668HFA/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 P89C668HFA/00,512 part is unused and in its original packaging.
Return procedure for P89C668HFA/00,512:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
P89C668HFA/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)