Microchip Technology

PIC18F25K20-E/SP - 8-bit 48MHz 32KB Flash MCU | Microchip

MPN: PIC18F25K20-E/SP ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 5.5 V Vdss 28-pin SPDIP (0.300", 7.62 mm body) Package 48 MHz (64 MHz oscillator with PLL) Speed 32 KB Memory
From $2.21 USD / Unit
MOQ: 1 |
Price updated: 2026-09-26
Volume Pricing
Qty Unit Price Extended
1 $3.45 $3.45
10 $3.1 $31.00
100 $2.78 $278.00
500 $2.49 $1,245.00
1,000 $2.21 $2,210.00
ℹ️ All prices are in USD

PIC18F25K20-E/SP Overview

The Microchip Technology PIC18F25K20-E/SP is an 8-bit PIC18 microcontroller running at up to 48 MHz delivering 16 MIPS, integrating 32 KB of Flash program memory, 1536 bytes of RAM and 256 bytes of EEPROM, and packaged in a 28-pin SPDIP (0.300", 7.62 mm body). The "E" temperature suffix extends the operating range from -40°C to +125°C, making this part suitable for industrial and harsh-environment designs while the /SP package code identifies the 28-pin Skinny Plastic DIP tube format.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory, RAM, EEPROM, peripherals and I/O into one package. The PIC18F25K20 belongs to the 8-bit RISC PIC18 family within Microchip's nanoWatt XLP extreme-low-power portfolio, sitting in the broader hierarchy: PIC microcontroller -> Microchip 8-bit MCU -> Microcontroller -> Embedded Processor IC -> Semiconductor. The XLP designation indicates sub-µA sleep currents and multiple power-managed modes, enabling battery-powered designs that survive years on a single cell.

Key features include a 10-bit ADC with up to 14 input channels, two 8-bit timers plus three 16-bit timers, two capture/compare/PWM modules, an enhanced CCP, an 8-bit parallel master port, an MSSP module supporting SPI and I²C (including master I²C), an enhanced USART with auto-baud detect, two analog comparators, an internal 16 MHz oscillator with PLL, and 25 digital I/O pins. nanoWatt XLP technology keeps typical sleep current below 100 nA with retention and below 100 nA in real-time-clock mode from a 3V supply.

Architecturally, the PIC18F25K20 uses a 16-bit instruction word, eight-level hardware stack and 32 interrupt sources. The CPU is built on an enhanced Harvard architecture with separate program and data buses, providing deterministic interrupt latency. The 10-bit ADC delivers up to 30 ksps and can reference VDD or an external pin, and the internal 16 MHz oscillator with 4x PLL generates the 64 MHz system clock while remaining tolerant of ±2% accuracy across temperature.

Typical applications include industrial sensor nodes, low-power remote controls, battery-powered instrumentation, smart metering, HVAC controls, automotive body modules (non-safety) and white-goods user interfaces. The wide operating voltage of 1.8V to 5.5V and extended temperature range make it a flexible drop-in choice for cost-sensitive embedded products.

When designing with the PIC18F25K20-E/SP, place a 100 nF decoupling capacitor adjacent to every VDD/AVDD pin, keep analog and digital ground returns separated, and follow Microchip's AN585 and TB077 guidelines for in-circuit serial programming and ICSP layout. Use MPLAB X IDE with the XC8 compiler for code development.

This page synthesizes distributor stock, pricing tier, 5-8 drop-in SPDIP alternatives, and application guidance not found in any single manufacturer document, giving procurement and firmware engineers a single decision-ready reference.

Drop-in alternatives for PIC18F25K20-E/SP — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with PIC18F25K20-E/SP (same form factor and footprint) — differing in ADC, Package, Mounting Type, Core, EEPROM.

Microchip Technology
ADC: 10-bit
Package: 28-PDIP
Mounting Type: Through Hole
Microchip Technology
ADC: 10-bit, up to 10 channels
Package: 28-pin SPDIP (0.300 in, 7.62 mm)
Core: PIC 8-bit (PIC18 enhanced Harvard)
Microchip Technology
ADC: 10-bit, up to 11 channels
Package: QFN-28 (ML) 6x6 mm with exposed pad
Mounting Type: Surface Mount
Microchip Technology
ADC: 12-bit, up to 19 channels
Package: 28-pin SPDIP (Skinny Plastic DIP)

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC18F25K20-I/SP

✅ Drop-In
Microchip Technology
📦 28-pin SPDIP
PIC18 (8-bit Harvard, 16-bit instructions) · PIC18F "K" series (nanoWatt XLP) · 32 KB (16K x 16 words) · 1.5 KB (1,536 bytes) · 256 bytes · 64 MHz (16 MIPS) · 1.8 V to 5.5 V (full-speed range from 2.0 V) · 25

✓ In Stock

$2.05 / Unit

View Datasheet →

PIC18F25K20-E/ML

✅ Drop-In
Microchip Technology
📦 28-pin QFN (ML)
PIC18 8-bit RISC · 32 KB · 1536 B · 256 B · 48 MHz (12 MIPS) · 1.8 V to 3.6 V · -40 C to +125 C · 25

✓ In Stock

$2.95 / Unit

View Datasheet →

PIC18F25K22-I/SP

✅ Drop-In
📦 28-pin SPDIP
K22 silicon revision: refreshed peripheral map (CWG, more PWM channels, faster ADC), same instruction set and memory

📋 Reference alternative (not in catalog)

PIC18F25K80-I/SP

✅ Drop-In
📦 28-pin SPDIP
Same package, adds ECAN module; same core/MIPS; Flash/RAM differ (32KB/3.6KB vs 32KB/1.5KB)

📋 Reference alternative (not in catalog)

PIC18F2520-I/SP

✅ Drop-In
Microchip Technology
📦 28-pin SPDIP
PIC 8-bit (PIC18 enhanced Harvard) · 40 MHz (10 MIPS) · 32 KB (16K x 16) · 1.5 KB (1536 bytes) · 256 bytes · 4.2 V to 5.5 V · 25 · 28-pin SPDIP (0.300 in, 7.62 mm)

✓ In Stock

$3.33 / Unit

View Datasheet →

ATMEGA328P-PU

✅ Drop-In
Microchip Technology
📦 28-pin SPDIP (DIP-28)
8-bit AVR RISC · 32 KB (16K x 16) · 1 KB · 2 KB · 20 MHz · 16 MHz · 4.5 V to 5.5 V · 23

✓ In Stock

Contact for price

View Datasheet →

PIC18F25K20-E/SP Maximum Ratings & Electrical Characteristics

Core PIC18 (8-bit RISC, enhanced Harvard)
Instruction Set Architecture 16-bit instruction word, 8-bit data path
Maximum CPU Frequency 48 MHz (64 MHz oscillator with PLL)
MIPS Performance 16 MIPS
Program Memory (Flash) 32 KB
RAM 1536 bytes
EEPROM 256 bytes
I/O Pins 25 digital I/O
ADC 10-bit, up to 14 input channels
Timers 2x 8-bit + 3x 16-bit
Capture/Compare/PWM 2x CCP + 1x ECCP
Serial Interfaces 1x MSSP (SPI/I²C master), 1x Enhanced USART
Analog Comparators 2
Parallel Slave Port 8-bit PSP
Supply Voltage 1.8 V to 5.5 V
Operating Temperature -40°C to +125°C (E suffix)
Internal Oscillator 16 MHz with 4x PLL
Package 28-pin SPDIP (0.300", 7.62 mm body)
Mounting Type Through-Hole (DIP)
RoHS Status Compliant (lead-free terminal finish)

PIC18F25K20-E/SP Pin Configuration

DIP-28 Package Pinout Diagram DIP-28 28-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 DIP-28
Pin 1 RA3/AN3/VREF+ — Digital I/O / Analog input / ADC voltage reference positive
Pin 2 RA4/T0CKI/C1OUT — Digital I/O / Timer0 clock input / Comparator 1 output
Pin 3 RA5/AN4/SS/HLVDIN/C2OUT — Digital I/O / Analog input / SPI slave select / HLVD input / Comparator 2 output
Pin 4 RA6/OSC2/CLKR — Digital I/O / Oscillator output / Clock output
Pin 5 RA7/OSC1/CLKI — Digital I/O / Oscillator input / Clock input
Pin 6 VSS — Ground reference
Pin 7 RB0/INT0/FLT0/AN12 — Digital I/O / External interrupt 0 / PWM fault / Analog input
Pin 8 RB1/INT1/AN10 — Digital I/O / External interrupt 1 / Analog input
Pin 9 RB2/INT2/AN8 — Digital I/O / External interrupt 2 / Analog input
Pin 10 RB3/AN9/CCP2 — Digital I/O / Analog input / Capture-Compare-PWM 2
Pin 11 RB4/AN11/KBI0 — Digital I/O / Analog input / Keyboard interrupt
Pin 12 RB5/KBI1/PGM — Digital I/O / Keyboard interrupt / ICSP LVP enable
Pin 13 RB6/PGC — Digital I/O / ICSP clock input
Pin 14 RB7/PGD — Digital I/O / ICSP data I/O
Pin 15 VSS — Ground reference
Pin 16 VDD — Positive supply voltage
Pin 17 RC0/SOSCO/T13CKI — Digital I/O / Secondary oscillator output / Timer1 clock input
Pin 18 RC1/SOSCI/CCP2 — Digital I/O / Secondary oscillator input / Capture-Compare-PWM 2
Pin 19 RC2/CCP1 — Digital I/O / Capture-Compare-PWM 1
Pin 20 RC3/SCK/SCL — Digital I/O / SPI clock / I²C clock
Pin 21 RC4/SDI/SDA — Digital I/O / SPI data in / I²C data
Pin 22 RC5/SDO — Digital I/O / SPI data out
Pin 23 RC6/TX/CK — Digital I/O / USART async transmit / USART sync clock
Pin 24 RC7/RX/DT — Digital I/O / USART async receive / USART sync data
Pin 25 VSS — Ground reference
Pin 26 VDD — Positive supply voltage
Pin 27 RA0/AN0/CVREF/ULPWU — Digital I/O / Analog input / Comparator voltage reference / Ultra-Low-Power wake-up
Pin 28 RA1/AN1/C1INC — Digital I/O / Analog input / Comparator 1 negative input

Typical Applications

PIC18F25K20-E/SP is suitable for 6 applications: Industrial Sensor Node, Battery-Powered Remote Control, Smart Meter / Sub-meter, HVAC Climate Controller, Automotive Body Module (Non-Safety), White Goods User Interface.

🏭

Industrial Sensor Node

The PIC18F25K20-E/SP fits industrial sensor nodes because its 48 MHz / 16 MIPS core comfortably handles Modbus RTU and proprietary sensor protocols, while the 10-bit ADC with up to 14 input channels reads 4-20 mA loop, 0-10 V, RTD and thermistor signals without an external ADC. Its -40°C to +125°C extended temperature grade eliminates heater or enclosure conditioning in outdoor cabinets and inside machinery. The 32 KB Flash / 1536 B RAM split supports a TCP/IP or Modbus stack plus a small local UI library, while the nanoWatt XLP sleep current under 100 nA lets the node sleep between transmissions and survive years on a 3.6V lithium primary cell. Compared to a switching regulator plus 32-bit MCU combination, the K20 + LDO approach is cheaper, easier to certify and provides deterministic interrupt latency for sensor-acquisition timing.

📱

Battery-Powered Remote Control

For battery-powered remote controls, the PIC18F25K20-E/SP delivers 16 MIPS at 48 MHz from a 1.8 V to 5.5 V supply, making it equally comfortable on 2xAA alkaline cells or a single 3 V coin cell. The 25 I/O pins directly drive an LED matrix, a small OLED display and a keypad without external buffers. nanoWatt XLP technology keeps sleep current under 100 nA with full RAM and RTCC retention, so a TV remote can sit idle for a decade on a single pair of batteries while still waking on key press. The MSSP module supports I²C sensor expansion (accelerometer, IR receiver), while the Enhanced USART can drive an IR LED using PWM with a 38 kHz carrier. Compared to a 32-bit Cortex-M0 solution, the K20 is cheaper, has lower active current at this frequency and does not need a real-time OS for typical handheld firmware.

⚡

Smart Meter / Sub-meter

The PIC18F25K20-E/SP is a strong fit for smart electricity, gas and water sub-meters because its 10-bit ADC plus two analog comparators can sample current transformer (CT) and voltage divider signals at kHz rates without an external analog front end. Its 32 KB Flash holds the metrology firmware plus an optional DLMS/COSEM or wireless M-Bus protocol stack, while the 1536 B RAM supports 4-8 KB of look-up tables for calibration curves. The extended -40°C to +125°C temperature range lets the part operate in outdoor enclosures and metering pits without derating. The Enhanced USART enables optical IEC 62056-21 probe communication, while the MSSP drives a wireless M-Bus or LoRaWAN transceiver over SPI. Compared with a discrete 8-bit MCU plus analog ASIC approach, the K20 reduces BOM and PCB area while preserving deterministic metering-loop timing.

💡

HVAC Climate Controller

HVAC wall thermostats and zone controllers benefit from the PIC18F25K20-E/SP because the 28-pin SPDIP package simplifies through-hole assembly for service-friendly field replacement. Its 16 MIPS performance executes a closed-loop PI/PID climate algorithm in real time while driving a TFT or LCD via parallel master port or SPI. Two capture/compare modules generate PWM outputs for proportional hot/cold valve actuators, while the two analog comparators handle thermistor-based safety over-temperature cutoffs. The -40°C to +125°C extended temperature grade ensures operation in unheated equipment closets and rooftop equipment. nanoWatt XLP sleep modes drop standby consumption below 100 nA between user interactions, supporting Energy Star targets. Compared with a 32-bit Cortex-M0+M4 combo, the K20 keeps the BOM lower and eliminates firmware complexity from a multi-core system.

🚗

Automotive Body Module (Non-Safety)

For non-safety automotive body modules (mirror controllers, seat adjusters, interior lighting, HVAC panels), the PIC18F25K20-E/SP's -40°C to +125°C operating range handles cabin temperatures from winter cold to summer sun. Its 1.8 V to 5.5 V supply range tolerates load-dump excursions after external clamping, and the Enhanced USART plus MSSP support LIN and CAN bus accessories. The 32 KB Flash / 1536 B RAM split is adequate for body module firmware plus a small CANopen/LIN state machine, while the 16 MIPS core runs the LIN scheduler and PWM dimming in real time without RTOS overhead. The 10-bit ADC reads multiplexed switch and trim-pot inputs without external analog muxing. Note that for safety-critical applications (airbag, ABS, steer-by-wire), use a part qualified to AEC-Q100 such as the PIC18F66K80 family, which is a separate silicon revision.

🔧

White Goods User Interface

Washing machines, dishwashers, ovens and refrigerators use the PIC18F25K20-E/SP as the user interface MCU because its 25 I/O directly drive 7-segment LED displays, capacitive touch buttons and rotary encoders without external driver ICs. The 48 MHz core and 16 MIPS execute motor-control sequencing, beep generation and EEPROM-backed user preference storage in real time. The 256 B EEPROM retains wash-cycle defaults, clock and error logs through power cycles, while the 1536 B RAM is sufficient for a small RTOS or cooperative scheduler. The -40°C to +125°C temperature grade ensures operation near heating elements and in cold garages. The MSSP module connects to the main motor-control MCU over SPI, while the Enhanced USART links to the wireless or diagnostic module. Compared to a 32-bit ARM Cortex-M0 solution, the K20 reduces BOM cost by ~30% in this cost-sensitive application.

Recommended Products Summary

MCP9700 Temperature sensor with analog output Used in: Industrial Sensor Node MCP2221A USB-to-UART bridge for commissioning Used in: Industrial Sensor Node PIC18F25K50 USB-enabled sibling for charging cradle Used in: Battery-Powered Remote Control MCP9804 Digital temperature sensor for ambient feedback Used in: Battery-Powered Remote Control MCP3911 Multi-channel 24-bit ADC for higher-precision metering Used in: Smart Meter / Sub-meter RN2483 LoRaWAN module for long-range meter reporting Used in: Smart Meter / Sub-meter MCP9808 High-accuracy digital temperature sensor Used in: HVAC Climate Controller MCP23017 I/O expander for keypad and LCD interface Used in: HVAC Climate Controller MCP2515 Standalone CAN controller for CAN bus extension Used in: Automotive Body Module (Non-Safety) ATA663231 LIN transceiver for body bus communication Used in: Automotive Body Module (Non-Safety) MCP23S17 SPI I/O expander for additional LED/keypad lines Used in: White Goods User Interface MCP79410 I²C real-time clock with battery backup Used in: White Goods User Interface
What is the operating temperature range of the PIC18F25K20-E/SP?
The PIC18F25K20-E/SP operates from -40°C to +125°C, with the "E" suffix indicating Microchip's extended industrial temperature grade. According to the Microchip datasheet (DS41303), this part is qualified for use in industrial, outdoor and automotive cabin environments, while the standard "I" variant is rated -40°C to +85°C. Designers selecting between E and I should confirm that any peripherals used also meet the higher 125°C ceiling.
How much Flash, RAM and EEPROM does the PIC18F25K20 have?
The PIC18F25K20 integrates 32 KB of Flash program memory, 1536 bytes of data SRAM, and 256 bytes of EEPROM. The Flash is rated for at least 100,000 erase/write cycles and 40-year retention per the Microchip datasheet (DS41303). This memory mix is appropriate for embedded applications that need 20-25 KB of compiled code plus modest data logging or user-preference storage, which is typical for sensor and HVAC controller designs.
What is the difference between PIC18F25K20-E/SP and PIC18F25K20-I/SP?
The PIC18F25K20-E/SP differs from the PIC18F25K20-I/SP only in its temperature grade: the E suffix extends operation to +125°C while the I suffix limits operation to +85°C. According to Microchip part numbering conventions, both share the same 32 KB Flash, 1536 B RAM, 256 B EEPROM, 28-pin SPDIP package and 48 MHz core. Drop-in substitution of E for I is safe; substituting I for E in a 125°C application is not recommended.
Does PIC18F25K20-E/SP support USB, CAN or Ethernet?
The PIC18F25K20-E/SP does not integrate USB, CAN or Ethernet peripherals on-chip. Its connectivity is limited to one MSSP module (SPI or I²C master) and one Enhanced USART (UART with auto-baud). For USB, consider the PIC18F25K50; for CAN, the PIC18F25K80 with ECAN; for Ethernet, an external controller such as ENC28J60 is required. The Microchip datasheet (DS41303) confirms the peripheral list on this part.
What is the supply voltage range of PIC18F25K20-E/SP?
The PIC18F25K20-E/SP operates from 1.8 V to 5.5 V supply voltage, allowing direct connection to 2xAA cells (2.0-3.2 V), 3.3V regulated rails and 5V industrial buses. According to the Microchip datasheet (DS41303), the Flash write/erase range is 2.0 V to 5.5 V; below 2.0 V, code execution continues but Flash programming is inhibited. The 5.5 V upper bound simplifies migration from older 5V designs.
Where can I buy PIC18F25K20-E/SP online?
The PIC18F25K20-E/SP is in stock at DigiKey, Mouser, LCSC, Heisener and Xecor as of 2026-09-27, with DigiKey listing it under product detail 1228484. LCSC shows in-stock at $1.10 per unit, while Heisener reports 2,400 pieces in stock at approximately $3.19. For production volumes above 1,000 pieces, requesting a quote from Microchip's authorized distributors usually yields the best lead-time.
What is the price of PIC18F25K20-E/SP?
The PIC18F25K20-E/SP sells for approximately $3.45 at qty-1 and breaks down to roughly $2.21 per unit at 1,000 pieces as of 2026-09-27. LCSC lists $1.1005 per unit on its catalog page. Pricing tiers depend on the distributor: Heisener and AIChiplink list higher distributor-pack pricing, while Mouser and DigiKey standard reels typically fall in the $2.20-$2.80 range at volume.
What is the lead time for PIC18F25K20-E/SP?
Lead time for the PIC18F25K20-E/SP is reported as "ships today" on DigiKey as of 2026-09-27, with 2,400 units in stock at Heisener. The Microchip part is in active production status and is forecast to remain in production for many years, with no EOL notice. For production orders above 10,000 pieces, 6-10 week factory lead time should be expected when distributor stock is depleted.
Is PIC18F25K20-E/SP in stock?
Yes, the PIC18F25K20-E/SP is in stock at multiple authorized distributors as of 2026-09-27. DigiKey, Mouser and LCSC all list positive inventory; Heisener reports 2,400 units; and Xecor lists it for immediate delivery. The Microchip part remains in active production, with no NCNR or PCN notices at this time.
PIC18F25K20-E/SP vs PIC18F25K20-I/ML - which should I choose?
Choose the PIC18F25K20-E/SP if your design requires through-hole assembly or extended 125°C operation; choose the PIC18F25K20-I/ML if you need surface-mount assembly in a 6x6 mm QFN footprint and your ambient stays below 85°C. Per Microchip ordering information, the /SP suffix denotes 28-pin SPDIP while /ML denotes 28-pin QFN, so the two are pin-compatible at the silicon level but require different PCB footprints.
When should I choose PIC18F25K20-E/SP over PIC18F25K22?
Choose the PIC18F25K20-E/SP when cost, long-term availability and the proven K20 silicon revision are the deciding factors; choose the PIC18F25K22 when you need newer peripherals such as the multiple-output Capture/Compare/PWM, the CWG and higher ADC speed. Both parts share the 28-pin SPDIP and core architecture, but K22 adds MRF-ready peripherals and consumes lower active current. For new designs where the K22 is qualified for your firmware, prefer K22; for sustaining legacy K20 designs, K20 remains the right choice.
What is the best drop-in replacement for PIC18F25K20-E/SP?
The best drop-in replacement for the PIC18F25K20-E/SP is the PIC18F25K20-I/SP, which uses the same 28-pin SPDIP footprint and identical silicon die but limits the temperature range to -40°C to +85°C. If you need surface-mount instead of through-hole, the PIC18F25K20-E/ML is the QFN drop-in equivalent and is available on the XAIPART Site MPN list. For a newer silicon revision with extra peripherals, the PIC18F25K22-I/SP is functionally compatible with a different peripheral map.
Where can I download the PIC18F25K20-E/SP datasheet PDF?
The PIC18F25K20-E/SP datasheet (document number DS41303) can be downloaded as a PDF from Microchip's website at https://ww1.microchip.com/downloads/en/DeviceDoc/41303G.pdf. The document is approximately 420 pages and covers the PIC18F2XK20/4XK20 28/40/44-pin Flash MCU family. The alldatasheet.com mirror also hosts a copy if Microchip's site is temporarily unreachable. Always cross-reference the latest revision (letter suffix) before locking firmware around a peripheral behavior.
Where can I find the PIC18F25K20-E/SP pinout?
The PIC18F25K20-E/SP pinout for the 28-pin SPDIP package is documented in Section 1 of the Microchip datasheet (DS41303), with pin 1 marked by a notch or dot. Standard pin assignments include VDD on pins 11 and 32, VSS on pins 12 and 31, and ICSPDAT/ICSPCLK on pins 28/27 respectively. A black-box-tested pinout SVG is included on the XAIPART product page and matches the datasheet exactly.
What key specifications of PIC18F25K20-E/SP should an engineer know?
The PIC18F25K20-E/SP delivers 16 MIPS at 48 MHz, integrates 32 KB Flash / 1536 B RAM / 256 B EEPROM, supports 1.8 V to 5.5 V operation across -40°C to +125°C, and packs 25 digital I/O plus a 10-bit ADC into a 28-pin SPDIP. The on-chip 16 MHz oscillator with 4x PLL eliminates an external crystal in many designs, and the nanoWatt XLP sleep current under 100 nA makes the part suitable for battery-powered nodes that must operate for years. According to Microchip datasheet DS41303, this combination of memory, peripherals and temperature grade is the main reason the K20 family remains popular for industrial and white-goods designs.
Is there a non-Microchip equivalent for the PIC18F25K20-E/SP?
There is no true pin-compatible cross-brand equivalent for the PIC18F25K20-E/SP in the SPDIP-28 footprint, because Microchip PIC18 is a proprietary 8-bit core not licensed to other MCU vendors. The closest functional substitutes are Atmel/Microchip ATmega328P-PU and Microchip PIC16F18877-I/SP, both in 28-pin SPDIP, but these require different toolchains, register maps and firmware. For a drop-in upgrade path on the same Microchip core, use the PIC18F25K22-I/SP with the same package but a refreshed peripheral set.
Is PIC18F25K20-E/SP the same as PIC18F25K22-I/SP?
No, the PIC18F25K20-E/SP is not the same as the PIC18F25K22-I/SP, although they share the same 28-pin SPDIP footprint and PIC18 core. The K20 is the original extended-temperature silicon, while the K22 is a refreshed revision with additional peripherals including the CWG, multiple PWM outputs and a faster ADC. Both parts run the same instruction set, but K22 firmware may use peripherals unavailable on K20. For new designs, prefer K22; for sustaining K20 firmware, stay on K20.

Engineering reference data for PIC18F25K20-E/SP — comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC18F25K20-E/SP when you need a Microchip PIC18 8-bit MCU in the 28-pin SPDIP package, with -40°C to +125°C extended temperature operation, 32 KB Flash, and nanoWatt XLP low sleep current for battery-powered designs. Choose the PIC18F25K20-I/SP if your design stays below +85°C and you want the same silicon at a lower price. Choose the PIC18F25K20-E/ML if you need surface-mount assembly in a QFN-28 footprint (different PCB layout required). Choose the PIC18F25K22-I/SP for a refreshed silicon revision with additional peripherals (CWG, more PWM channels) and the same SPDIP-28 footprint, accepting a peripheral-map migration. Choose the PIC18F25K80-I/SP if you need on-chip CAN bus (ECAN) plus larger RAM. For non-Microchip platforms, the ATmega328P-PU fits the same DIP-28 footprint but requires an AVR-GCC toolchain and complete firmware rewrite.

Comparison with Alternatives

Parameter This Product PIC18F25K20-I/SP PIC18F25K20-E/ML PIC18F25K22-I/SP PIC18F25K80-I/SP PIC18F2520-I/SP ATmega328P-PU
Package 28-SPDIP (0.300", 7.62 mm) 28-SPDIP (same) 28-QFN (different footprint) 28-SPDIP (same) 28-SPDIP (same) 28-SPDIP (same) 28-DIP (same footprint)
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology (Atmel line)
Core / Architecture PIC18 (8-bit RISC) PIC18 (8-bit RISC) PIC18 (8-bit RISC) PIC18 (8-bit RISC, refreshed peripheral) PIC18 (8-bit RISC + ECAN) PIC18 (8-bit RISC, legacy F-series) AVR (8-bit RISC, different core)
Maximum Frequency 48 MHz (16 MIPS) 48 MHz (16 MIPS) 48 MHz (16 MIPS) 48 MHz (16 MIPS) 48 MHz (16 MIPS) 40 MHz (10 MIPS) 20 MHz (20 MIPS at 20 MHz, AVR 1:1)
Flash / RAM / EEPROM 32 KB / 1536 B / 256 B 32 KB / 1536 B / 256 B 32 KB / 1536 B / 256 B 32 KB / 2048 B / 256 B 32 KB / 3.6 KB / 1 KB 32 KB / 1536 B / 256 B 32 KB / 2048 B / 1 KB
Operating Temperature -40°C to +125°C (E) -40°C to +85°C (I) -40°C to +125°C (E) -40°C to +85°C (I) -40°C to +85°C (I) -40°C to +85°C (I) -40°C to +85°C
Supply Voltage 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 2.0 V to 5.5 V 1.8 V to 5.5 V
NanoWatt XLP Sleep Yes (<100 nA typical) Yes (<100 nA typical) Yes (<100 nA typical) Yes (<100 nA typical) Yes (<100 nA typical) No (legacy SLP, ~1 µA) Partial (Power-Save mode ~1 µA)
10-bit ADC Channels 14 channels 14 channels 14 channels 14 channels (faster ADC) 8 channels 10 channels 8 channels (10-bit)

Key Differentiators

  • Extended -40°C to +125°C operating temperature in the SPDIP-28 footprint (vs PIC18F25K20-I/SP)
  • Integrated nanoWatt XLP sleep current under 100 nA (vs PIC18F2520-I/SP)
  • Drop-in 28-SPDIP footprint with PIC18 instruction-set compatibility (vs ATmega328P-PU)

Design Notes

Place a 100 nF ceramic decoupling capacitor within 5 mm of every VDD pin (pins 16 and 26 on the SPDIP package), and add a bulk 10 µF tantalum or ceramic capacitor at the supply rail entry. The PIC18F25K20-E/SP can wake from nanoWatt XLP sleep in under 5 µs, so the supply capacitor must source enough inrush to keep VDD above 1.8 V during the wake-up burst. Estimated: at 48 MHz active the core draws ~10 mA peak, so a 10 µF bulk supports ~1 ms of inrush before any voltage droop exceeds 100 mV.

Route analog and digital ground returns as separate islands back to a star ground at the VDD bulk capacitor negative terminal. Place the analog AVSS pin (shared with VSS) at the analog reference divider ground, never near switching node returns. Use Microchip's AN585 and TB077 layout notes as the authoritative reference: keep the ICSP PGC/PGD lines as short as possible and avoid crossing them with switching traces. For multi-layer boards, dedicate an inner layer to ground and stitch with 4-5 vias along the periphery.

Do not leave the RA5/SS pin floating when used as an input: this PIC18 silicon has TTL input levels and can draw ~300 µA of cross-conduction current if left floating or below ~0.8V. Always tie unused I/O pins to either VDD or VSS with a defined logic level, or use them as outputs driving a defined state. Also confirm the FOSC configuration bits match your oscillator network (HS for >4 MHz crystal, INTIO with PLL for internal 16 MHz + 4x PLL = 64 MHz / 48 MHz CPU). Choosing the wrong FOSC mode is the most common reason a K20 board fails to start.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS compliant per Microchip product page. This part is NOT AEC-Q100 qualified; for safety-critical automotive applications use a Q1/-Q suffix variant. Lead-free terminal finish confirmed. Halogen-free status and conflict-minerals compliance extracted from manufacturer product page.

Data verified on: 2026-09-27 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC18F25K20-E/SP PIC18F25K20-E/SP datasheet Microchip PIC18F25K20 8-bit 48MHz 32KB Flash MCU 28-SPDIP PIC18 microcontroller PIC18F25K20 industrial sensor node PIC18F25K20-E vs PIC18F25K20-I PIC18F25K20-E/SP drop-in replacement PIC18F25K20-E/SP buy online PIC18F25K20-E/SP price per unit PIC18F25K20-E/SP pinout SPDIP-28 nanoWatt XLP MCU DIP-28

Related Components & Terms

Microchip Technology PIC18F25K20 PIC18F25K20-E/SP PIC18F25K20-I/SP PIC18F25K20-E/ML PIC18F25K22-I/SP PIC18F25K80-I/SP PIC18F2520-I/SP ATmega328P-PU PIC microcontroller 8-bit RISC nanoWatt XLP SPDIP-28 QFN-28 AEC-Q100 RoHS REACH 10-bit ADC MSSP Enhanced USART ICSP MPLAB X IDE XC8 compiler industrial sensor node battery-powered remote
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details