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

- Shipping:

Inventory:3,822
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
P89V662FA,512 from NXP Semiconductors is an 8-bit 80C51 microcontroller with 32 kB on-chip flash, 512 B RAM, dual I²C-bus interfaces (primary and secondary), SPI, and four 16-bit timers - designed for industrial control and embedded instrumentation requiring firmware-upgradable non-volatile data storage via 128-byte page-erase IAP.
For engineers reviewing the P89V662FA,512 datasheet, P89V662FA,512 pinout, P89V662FA,512 application, or P89V662FA,512 equivalent, this device supports drop-in software compatibility with legacy P89C662, offers 0–40 MHz operation in 12x mode, PLCC44 packaging, and dual I²C/SPI peripheral coexistence for sensor hub and multi-protocol communication designs.
Technical Context
The P89V662FA,512 implements a standard 80C51 CPU core with enhanced memory mapping: 32 kB flash organized in 128-byte erasable pages enables efficient non-volatile data logging via IAP, while 512 B internal RAM and expanded XRAM addressing (enabled by EXTRAM bit) support flexible data buffering. Its dual I²C-bus controllers operate independently at up to 100 kHz, and the SPI interface functions in master/slave modes with programmable clock polarity and phase.
Peripheral integration includes a five-channel Programmable Counter Array (PCA) supporting PWM, capture/compare, and high-resolution timing; three 16-bit timers (T0/T1/T2); and four full I/O ports (P0–P3) plus a dedicated 4-bit Port 4 for SPI/I²C_1 signals. Reset behavior, ALE control (via AO bit), and 6x/12x mode selection are configurable through SFRs including AUXR, AUXR1, and PCON.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 80C51-compatible 8-bit CPU with 12-clock and 6-clock mode selection |
| Flash Memory | 32 kB on-chip flash with 128-byte page erase (30 ms/page) for IAP-based data storage |
| RAM | 512 B internal RAM + expandable XRAM (indirect addressing via MOVX when EXTRAM=1) |
| Operating Frequency | 0–40 MHz in 12x mode; 0–20 MHz in 6x mode - supports crystal/resonator input |
| I²C Interfaces | Dual byte-wide I²C-bus: primary (P1.6/SCL, P1.7/SDA) and secondary (P4.0/SCL_1, P4.1/SDA_1), both 100 kHz max |
| SPI Interface | Full-duplex SPI with master/slave capability, programmable CPOL/CPHA, and dedicated pins (P4.0–P4.3) |
| Timers & PCA | Three 16-bit timers/counters (T0/T1/T2); five-channel PCA with PWM, capture, and compare functions |
| I/O Ports | Four 8-bit ports (P0–P3) + one 4-bit port (P4); all with internal pull-ups except open-drain P0 |
Pinout & Package
Package: PLCC44 (SOT187-2), plastic leaded chip carrier, 44-pin, surface-mount compatible with standard PLCC sockets and reflow profiles.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0[0]–P0[7] | Port 0 bidirectional I/O / AD0–AD7 multiplexed bus | Open-drain port used for external memory address/data bus; requires external pull-ups for GPIO use |
| P1[0]/T2, P1[1]/T2EX | Timer 2 control | T2 input clock and T2EX capture/reload trigger; supports high-speed event timing |
| P1[6]/SCL, P1[7]/SDA | Primary I²C-bus interface | Standard 100 kHz I²C serial clock and data lines; bidirectional with internal pull-ups |
| P2[0]–P2[7] | Port 2 / A8–A15 high-order address bus | Provides upper address byte during external memory access; internal pull-ups enabled |
| P3[0]/RXD, P3[1]/TXD | UART serial interface | Asynchronous full-duplex communication; supports enhanced UART features including SMOD0/SMOD1 |
| P4[0]/SCL_1/SPICLK | Secondary I²C clock / SPI clock | Shared pin for second I²C bus clock or SPI serial clock - function selected by SFR configuration |
| P4[1]/SDA_1/MISO | Secondary I²C data / SPI MISO | Shared pin for second I²C data line or SPI master-in/slave-out - mode determined by peripheral enable bits |
| P4[2]/MOSI, P4[3]/SS | SPI data and slave select | Dedicated MOSI output and SS input for SPI peripheral operation; no alternate functions |
| RST | Active-high reset input | Two-machine-cycle HIGH pulse required for hardware reset; synchronizes internal state machines |
| XTAL1, XTAL2 | Crystal oscillator inputs | Connects to external crystal or resonator (1–40 MHz); internal inverting amplifier drives oscillation |
| EA | External access enable | Strap to VDD for internal code execution; tie to VSS to fetch from external program memory |
| ALE/PROG | Address latch enable / programming pulse | Outputs low-byte address latch strobe; doubles as flash programming pulse during ISP/IAP |
Key Features
| Feature | Design Value |
|---|---|
| 128-byte flash page erase | Enables reliable firmware-managed non-volatile data storage without full-chip erase overhead |
| Dual independent I²C-bus interfaces | Allows concurrent communication with two separate I²C peripheral domains (e.g., sensors + EEPROM) |
| Four additional I/O pins (Port 4) | Provides dedicated SPI and secondary I²C signals without multiplexing conflict on main ports |
| Programmable 6x/12x clock mode | Configurable via ISP/IAP or parallel programmer - eliminates need for hardware mode strapping |
| Second DPTR register | Accelerates data transfers between multiple memory regions using DPS bit in AUXR1 |
| Low EMI ALE inhibit (AO bit) | Reduces radiated emissions by disabling ALE during idle cycles - critical for EMC-compliant designs |
Applications
| Industrial PLC I/O Module | Smart Sensor Hub |
|---|---|
Use Scenario: Localized analog/digital I/O conditioning and protocol translation in DIN-rail mounted controllers. IC Role / Device Role / Timing Role: Central 80C51-based controller managing ADC/DAC peripherals, isolated digital I/O, and fieldbus communication. Use Value: Dual I²C and SPI allow simultaneous connection to local sensors (I²C) and actuator drivers (SPI), while 128-byte IAP pages store calibration coefficients without disrupting runtime. |
Use Scenario: Aggregation and preprocessing of temperature, humidity, and pressure readings from heterogeneous MEMS sensors. IC Role / Device Role / Timing Role: Sensor fusion node executing lightweight filtering algorithms and forwarding fused data over RS-485 or CAN. Use Value: Five PCA channels generate precise PWM for fan control and capture timestamps for sensor event synchronization; 32 kB flash hosts firmware + sensor metadata. |
| Legacy Equipment Retrofit Controller | Energy Meter Communication Interface |
Use Scenario: Drop-in replacement for obsolete P89C662 in aging HVAC or power supply control boards. IC Role / Device Role / Timing Role: Pin- and code-compatible upgrade path preserving PCB layout and firmware binaries. Use Value: Software compatibility ensures zero-modification deployment; added SPI and secondary I²C enable future feature expansion without redesign. |
Use Scenario: Interfacing metrology ICs (e.g., ADE7878) and secure communication modules (e.g., DLMS/COSEM stack) in smart electricity meters. IC Role / Device Role / Timing Role: Secure host processor handling encryption, timekeeping, and HAN/WAN protocol bridging. Use Value: Watchdog Timer and power-down mode with external interrupt wake-up ensure robustness during brownouts; 512 B RAM accommodates cryptographic context buffers. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8051-based microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| AT89C51ED2-RL24 | 20 MHz max, 128 B RAM, single I²C, no SPI, 16 kB flash | Lacks dual I²C and SPI; insufficient RAM for multi-sensor buffering | Select only if design requires strict 8051 binary compatibility without peripheral expansion needs |
| P89LPC9321FDH | Enhanced 80C51 core, 8 kB flash, 768 B RAM, single I²C, no secondary I²C or SPI | No dual I²C or SPI; smaller memory; lacks 128-byte page erase for data logging | Prefer for cost-sensitive, low-pin-count designs where dual protocol support is unnecessary |
Compared with AT89C51ED2-RL24 and P89LPC9321FDH, the P89V662FA,512 uniquely delivers dual I²C + SPI coexistence, 32 kB flash with 128-byte IAP pages, and Port 4 expansion - making it the only option among the three suitable for protocol-agile embedded nodes requiring field-upgradable data storage.
Availability
P89V662FA,512 is available at Aetrix Electronics and suitable for industrial automation, smart metering, and sensor interface applications requiring stable component supply, long-term lifecycle support, and drop-in legacy replacement capability.
Supply support for P89V662FA,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 is a global semiconductor leader focused on secure connectivity solutions for automotive, industrial, and IoT markets, with deep heritage in 80C51 architecture development.
The P89V662FA,512 belongs to NXP's legacy-enhanced 80C51 microcontroller family, engineered specifically to extend the life of industrial control systems through software-compatible upgrades, integrated non-volatile data management, and multi-protocol peripheral flexibility.
FAQ
What is the maximum operating frequency of the P89V662FA,512?
The P89V662FA,512 supports up to 40 MHz in 12x mode and 20 MHz in 6x mode. Frequency selection is controlled via the AO bit in AUXR and can be programmed during ISP or IAP operations - no hardware strapping required. Crystal or ceramic resonator inputs are supported across the full range.
Does the P89V662FA,512 support true pin-to-pin compatibility with the P89C662?
Yes, the P89V662FA,512 is explicitly designed as a drop-in and software-compatible replacement for the P89C662. Pin assignments, reset behavior, memory map, and instruction set are identical. The added peripherals (SPI, secondary I²C, Port 4) use previously unused pins in the PLCC44 package and do not affect legacy signal routing.
How does the 128-byte page erase feature benefit firmware design in the P89V662FA,512?
The 128-byte page erase in the P89V662FA,512 enables efficient use of flash memory for non-volatile data storage - such as calibration tables, device configuration, or event logs - without requiring full-chip erase. Each page erase completes in ≤30 ms, and IAP routines allow runtime updates without halting application execution.
Which pins implement the secondary I²C-bus interface on the P89V662FA,512?
The secondary I²C-bus interface on the P89V662FA,512 is implemented on Port 4: P4[0]/SCL_1 serves as the serial clock line, and P4[1]/SDA_1 serves as the serial data line. These pins are dedicated to I²C_1 functionality and do not share alternate roles with other peripherals like SPI.
Can the P89V662FA,512 execute code from external memory?
Yes, the P89V662FA,512 can execute code from external program memory when the EA pin is strapped to VSS. In this configuration, the device fetches opcodes from external EPROM or Flash via P0 (AD0–AD7) and P2 (A8–A15), with PSEN generating the read strobe. Internal flash remains accessible for data storage even when EA = VSS.
P89V662FA,512 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- NXP Semiconductors
- Package/Case:
- 44-LCC (J-Lead)
- Series:
- 89V
- Packaging:
- Tube
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- 8051
- Core Size:
- 8-Bit
- Speed:
- 40MHz
- Connectivity:
- I2C, SPI, UART/USART
- Peripherals:
- POR, PWM, WDT
- Number of I/O:
- 36
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 1K x 8
- Voltage - Supply (Vcc/Vdd):
- 4.5V ~ 5.5V
- Data Converters:
- -
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
P89V662FA,512 FAQ
1.How can I place an order for P89V662FA,512 through Aetrix?
Please submit a Request for Quotation (RFQ) for P89V662FA,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 P89V662FA,512 reliable?
The price and inventory of P89V662FA,512 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for P89V662FA,512 is usually 5 days.
3.What payment methods are accepted for P89V662FA,512?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for P89V662FA,512 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for P89V662FA,512?
P89V662FA,512 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your P89V662FA,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 P89V662FA,512?
For technical support, including P89V662FA,512 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your P89V662FA,512 requirements.
6.How does Aetrix verify that P89V662FA,512 is sourced from the original manufacturer or authorized distributors?
All P89V662FA,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 P89V662FA,512 meets industry standards.
7.What is the process for return or replacement of P89V662FA,512?
All P89V662FA,512 units undergo pre-shipment inspection (PSI). If there is an issue with P89V662FA,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 P89V662FA,512 part is unused and in its original packaging.
Return procedure for P89V662FA,512:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
P89V662FA,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)