Microchip Technology

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

MPN: PIC18F25K22-E/SP ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 5.5 V Vdss 28-pin SPDIP (Skinny Plastic DIP) Package 48 MHz (64 MHz with PLL on internal oscillator) Speed 32 KB (16K x 16 words) Memory
From $2.38 USD / Unit
MOQ: 1 |
Price updated: 2026-09-26
Volume Pricing
Qty Unit Price Extended
1 $4.32 $4.32
10 $3.89 $38.90
100 $3.21 $321.00
500 $2.74 $1,370.00
1,000 $2.38 $2,380.00
ℹ️ All prices are in USD

PIC18F25K22-E/SP Overview

The Microchip PIC18F25K22-E/SP is an 8-bit PIC18F microcontroller from the nanoWatt XLP family, delivering up to 48 MHz CPU performance, 32 KB Flash program memory and 1536 bytes of SRAM in a 28-pin SPDIP through-hole package. The device operates from 1.8 V to 5.5 V (F-variant core range with extended -40C to +125C industrial/automotive-grade E temperature range), integrating 25 general-purpose I/O pins and a rich peripheral set including two Enhanced USART modules, two MSSP (SPI/I2C) ports, two CCP/ECCP modules, a 12-bit ADC with up to 19 channels, and nanoWatt XLP ultra-low-power technology.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, volatile and non-volatile memory, and programmable peripherals on one silicon die. Within the broader taxonomy of semiconductors, MCUs sit below microprocessors (which require external memory) and above basic logic ICs. The PIC18F family specifically represents Microchip's enhanced 8-bit architecture with 16-bit instructions, hardware multiply, and C-friendly Harvard memory layout, bridging classical 8-bit simplicity with modern peripheral integration.

Key features of the PIC18F25K22 family include: 32 KB self-programmable Flash with 1 KB EEPROM data storage, an internal 16 MHz oscillator (configurable via PLL up to 64 MHz), 10-bit and 12-bit ADC modules, up to five timer modules, and CTMU support for capacitive touch sensing. The XLP nanoWatt technology typically enables sleep currents below 50 nA, making the part suitable for battery-powered sensor nodes and remote controls. The on-chip ICSP (In-Circuit Serial Programming) and ICD (In-Circuit Debug) interfaces allow production programming and field firmware upgrades without external bootloaders.

The PIC18F25K22 is the lower-pin-count variant of the 28/40/44-pin PIC18F K22 family; it shares its register set and peripheral IP with PIC18F23K22 (28-pin, 8 KB Flash) and PIC18F46K22 (40/44-pin, 32 KB/64 KB Flash variants). This shared silicon platform simplifies firmware migration between packages and pin counts. Compared to older PIC18F45K20 devices, the K22 generation adds 12-bit ADC, CTMU, and improved low-power sleep modes.

Typical applications include industrial sensor interfaces, HVAC controls, low-power IoT edge nodes, USB-to-UART bridges (when paired with PIC18F25K50 for USB), home appliance control boards, and automotive body modules. The 28-pin SPDIP package makes the part ideal for prototyping, breadboard work, and educational use where a DIP form factor is preferred over surface-mount variants. The development ecosystem includes MPLAB X IDE, MPLAB XC8 compiler, and the MPLAB Snap/PICkit programmers.

When designing with this device, allocate the ICSP/PGD/PGC pins carefully to avoid conflicting with user I/O. Place a 100 nF decoupling capacitor as close as possible to each VDD pin, and a bulk 10 uF capacitor on the supply rail. The -E/SP temperature grade denotes -40C to +125C operation; for commercial-temperature applications the -I/SP variant may be substituted at lower cost with identical pinout.

This page synthesizes real-time distributor pricing, verified drop-in alternatives within the same 28-pin SPDIP footprint, and practical design notes that complement (not duplicate) the Microchip datasheet.

Drop-in alternatives for PIC18F25K22-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 PIC18F25K22-E/SP (same form factor and footprint) — differing in ADC, Package, Timers, Core Architecture, Internal Oscillator.

Microchip Technology
ADC: 17 channels x 10-bit
Timers: 7 (Timer0/1/2/3/4/5/6)
Core Architecture: PIC18 8-bit RISC
Microchip Technology
ADC: 10-bit, up to 10 channels
Package: SPDIP-28 (Skinny Plastic DIP, 0.300")
Timers: 2 x 8-bit, 3 x 16-bit
Microchip Technology
ADC: 10-bit, up to 10 channels
Package: 28-pin SPDIP (0.300 in, 7.62 mm)
Timers: 2 x 8-bit, 3 x 16-bit
Microchip Technology
ADC: 10-bit, up to 14 input channels
Package: 28-pin SPDIP (0.300", 7.62 mm body)
Timers: 2x 8-bit + 3x 16-bit
Microchip Technology
ADC: 10-bit, up to 19 channels
Package: 28-pin SSOP (5.30 mm body)
Timers: 7 (16-bit / 8-bit)
Microchip Technology
ADC: 12-bit ADC2 with computation
Package: 28-SPDIP (0.300", 7.62 mm)
Microchip Technology
ADC: 10-bit, up to 14 channels
Package: 28-pin SPDIP (Skinny Plastic DIP), through-hole
Timers: 4 (8-bit and 16-bit mixed)

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

PIC18F25K22-I/SP

✅ Drop-In
📦 SPDIP-28
Same die, -40C to +85C industrial grade instead of -40C to +125C extended grade; pin-for-pin compatible

📋 Reference alternative (not in catalog)

PIC18F23K22-I/SP

✅ Drop-In
Microchip Technology
📦 SPDIP-28
PIC18 8-bit RISC · 8 KB (4K x 16 words) · 768 bytes · 256 bytes · 64 MHz (16 MIPS) · 1.8 V to 5.5 V · -40 °C to +85 °C (Industrial) · 28-pin SPDIP (Skinny Plastic DIP), through-hole

✓ In Stock

$1.42 / Unit

View Datasheet →

PIC18F25K50-I/SP

✅ Drop-In
📦 SPDIP-28
Same package, adds USB 2.0 Full-Speed peripheral; Flash same 32 KB; pinout differences on RC4/RC5 for D+/D-

📋 Reference alternative (not in catalog)

PIC18F25Q10-I/SP

✅ Drop-In
📦 SPDIP-28
Modernized successor, same SPDIP-28 footprint and core frequency, upgraded Core Independent Peripherals and lower sleep current; firmware migration required

📋 Reference alternative (not in catalog)

PIC18F25K20-E/SP

✅ Drop-In
Microchip Technology
📦 SPDIP-28
PIC18 (8-bit RISC, enhanced Harvard) · 16-bit instruction word, 8-bit data path · 48 MHz (64 MHz oscillator with PLL) · 16 MIPS · 32 KB · 1536 bytes · 256 bytes · 25 digital I/O

✓ In Stock

$2.21 / Unit

View Datasheet →

PIC18F2520-I/SP

✅ Drop-In
Microchip Technology
📦 SPDIP-28
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 →

PIC18F25K22-E/SP Maximum Ratings & Electrical Characteristics

Core Architecture PIC18 (8-bit Harvard, 16-bit instructions)
Maximum CPU Clock 48 MHz (64 MHz with PLL on internal oscillator)
Program Flash Memory 32 KB (16K x 16 words)
SRAM 1536 bytes
EEPROM Data Memory 1 KB
I/O Pins 25
ADC 12-bit, up to 19 channels
Timer Modules Five (Timer0/1/2/3/4)
Capture/Compare/PWM 2 CCP + 1 ECCP module
UART Modules 2 Enhanced USART
SPI / I2C Modules 2 MSSP (SPI + I2C)
Supply Voltage 1.8 V to 5.5 V
Operating Temperature -40C to +125C (E grade, extended)
Package 28-pin SPDIP (Skinny Plastic DIP)
Low-Power Technology nanoWatt XLP
Programming Interface ICSP (In-Circuit Serial Programming) + ICD
Mounting Type Through-Hole (DIP)
MSL Level 1 (unlimited floor life)
RoHS Status Compliant
CTMU (Capacitive Touch) Yes

PIC18F25K22-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 MCLR/RE3 — Master Clear (reset) input or digital input RE3
Pin 2 RA0 — PORTA bit 0 (analog AN0)
Pin 3 RA1 — PORTA bit 1 (analog AN1)
Pin 4 RA2 — PORTA bit 2 (analog AN2)
Pin 5 RA3 — PORTA bit 3 (analog AN3)
Pin 6 RA4 — PORTA bit 4 (analog AN4)
Pin 7 RA5 — PORTA bit 5 (analog AN5)
Pin 8 RA6 — PORTA bit 6 (analog AN6, OSC2)
Pin 9 RA7 — PORTA bit 7 (analog AN7, OSC1)
Pin 10 VSS — Ground reference
Pin 11 VDD — Positive supply voltage (1.8 V to 5.5 V)
Pin 12 VSS — Ground reference
Pin 13 OSC1/CLKI/RA7 — External clock input or crystal pin 1
Pin 14 OSC2/CLKO/RA6 — Crystal pin 2 or clock output
Pin 15 RC0 — PORTC bit 0
Pin 16 RC1 — PORTC bit 1
Pin 17 RC2 — PORTC bit 2
Pin 18 RC3 — PORTC bit 3
Pin 19 RD0 — PORTD bit 0
Pin 20 RD1 — PORTD bit 1
Pin 21 RD2 — PORTD bit 2
Pin 22 RD3 — PORTD bit 3
Pin 23 RC4 — PORTC bit 4
Pin 24 RC5 — PORTC bit 5
Pin 25 RC6 — PORTC bit 6
Pin 26 RC7 — PORTC bit 7
Pin 27 RB7/PGD — PORTB bit 7 / ICSP data
Pin 28 RB6/PGC — PORTB bit 6 / ICSP clock

Typical Applications

PIC18F25K22-E/SP is suitable for 7 applications: Low-Power IoT Sensor Node, Industrial HVAC Controller, Home Appliance Control Board, Automotive Body Module, Educational Microcontroller Platform, USB-to-UART Bridge, Capacitive Touch User Interface.

🧩

Low-Power IoT Sensor Node

The PIC18F25K22-E/SP is well matched to battery-powered IoT sensor nodes because its nanoWatt XLP technology delivers typical sleep currents of 20-50 nA with RTCC and WDT active, while the 12-bit ADC provides up to 19 channels for multi-sensor acquisition. The 1536 bytes of SRAM buffer local sensor data and 1 KB of EEPROM stores calibration parameters without external memory. At 48 MHz the CPU can run FFT or filtering on raw samples in real time. Power budget example: with a 3 V CR2032 (220 mAh) and average current of 10 uA including wake cycles, the node can run for over 2 years on a single cell. The 28-pin SPDIP package simplifies prototyping with through-hole sensors and breakout boards.

🏭

Industrial HVAC Controller

The PIC18F25K22-E/SP suits HVAC control boards where the -40C to +125C extended temperature grade and 5.5 V supply tolerance handle harsh mechanical-room environments. Two Enhanced USART modules let the controller communicate simultaneously with a Modbus master (RS-485 transceiver) and an internal expansion module. Two MSSP ports connect to SPI-based LCD displays and I2C-based EEPROM or sensor arrays, while the 12-bit ADC reads thermistor/resistive temperature sensors with sufficient resolution for setpoint control. The 32 KB Flash supports full Modbus, scheduling, and PID firmware in C without needing external memory. The SPDIP-28 package simplifies field-replaceable maintenance.

🏠

Home Appliance Control Board

The PIC18F25K22-E/SP is commonly deployed in washing machines, dishwashers, and small kitchen appliances where its 12-bit ADC reads motor current and temperature sensors accurately, and the 5 CCP/PWM channels drive triac-controlled heating elements, pumps, and solenoid valves. The 32 KB Flash holds state-machine firmware plus UI libraries for button and LED matrix handling. NanoWatt XLP sleep keeps standby power well below 0.5 W for energy-star compliance. The -E grade (-40C to +125C) handles appliance thermal stress, and the SPDIP package eases service and rework in factory and field.

🚗

Automotive Body Module

The PIC18F25K22-E/SP -40C to +125C extended grade makes it suitable for non-safety automotive body electronics such as interior lighting controllers, seat-position memory, and climate panel sub-modules. Two Enhanced USART modules support LIN bus communication via an external LIN transceiver, while the 12-bit ADC handles potentiometer inputs for trim and switch positions. The 32 KB Flash accommodates CAN/LIN stack and feature firmware. NanoWatt XLP supports low quiescent current when the vehicle is parked, helping meet the <100 uA body-control quiescent targets that OEMs require.

🎓

Educational Microcontroller Platform

The PIC18F25K22-E/SP is widely used in universities and maker training because the 28-pin SPDIP form factor fits breadboards and 0.1-inch perfboard, allowing students to build real circuits without soldering surface-mount parts. The 32 KB Flash accommodates full XC8-based firmware projects, while the 1536 bytes of SRAM and 1 KB EEPROM support meaningful data-acquisition labs. Native ICSP and ICD let instructors program and debug the part in-circuit without removing it from the breadboard. MPLAB X IDE and the free XC8 compiler provide a complete free toolchain, and Microchip's academic discount programs lower per-unit cost for classroom kits.

🔌

USB-to-UART Bridge

Although the PIC18F25K22 itself lacks USB, it can serve as the protocol-conversion companion next to a PIC18F25K50, or in designs that already have a USB-UART bridge chip and need a smart processor for command interpretation. The two Enhanced USARTs allow simultaneous debug UART and application UART (e.g., RS-485), and the 12-bit ADC reads upstream supply or battery telemetry. The 32 KB Flash hosts command parsers and configuration tables. Using the SPDIP package allows through-hole construction of industrial gateway modules where field serviceability matters more than board density.

💡

Capacitive Touch User Interface

The PIC18F25K22-E/SP integrates the CTMU (Charge Time Measurement Unit), which enables hardware-based capacitive touch sensing on up to 25 GPIO pins without external touch controllers. The 12-bit ADC and CTMU together support sliders, wheels, and matrix keypads for white-goods and consumer-electronics front panels. 32 KB Flash stores touch libraries and the UI state machine, and nanoWatt XLP sleep keeps battery-operated remote controls below 1 uA quiescent current. The -E grade supports outdoor and appliance thermal environments where capacitive sensors are increasingly replacing mechanical buttons.

Recommended Products Summary

MCP9808 I2C temperature sensor companion Used in: Low-Power IoT Sensor Node MCP1640 Boost converter for battery power Used in: Low-Power IoT Sensor Node RN2483 LoRaWAN transceiver for wireless uplink Used in: Low-Power IoT Sensor Node MCP2515 CAN controller for HVAC bus Used in: Industrial HVAC Controller MCP9700 Analog temperature sensor for ADC input Used in: Industrial HVAC Controller MAX485 RS-485 transceiver for Modbus Used in: Industrial HVAC Controller MOC3021 Optoisolator for triac gate drive Used in: Home Appliance Control Board MCP23S17 SPI port expander for additional I/O Used in: Home Appliance Control Board, Educational Microcontroller Platform ULN2003 Darlington driver for relay/valve coils Used in: Home Appliance Control Board MCP2021 LIN transceiver with integrated Vreg Used in: Automotive Body Module MCP2551 CAN transceiver for CAN-based body networks Used in: Automotive Body Module BTS723GW Smart high-side driver for lamp loads Used in: Automotive Body Module PICkit 5 In-circuit debugger/programmer for classroom labs Used in: Educational Microcontroller Platform MCP1700 3.3 V LDO for breadboard power rails Used in: Educational Microcontroller Platform, Capacitive Touch User Interface MCP2221 USB-to-UART/I2C bridge companion Used in: USB-to-UART Bridge MAX232 RS-232 level shifter for legacy devices Used in: USB-to-UART Bridge FT232R Alternative USB-UART bridge for firmware update Used in: USB-to-UART Bridge MCP73831 Li-ion charger for rechargeable touch remotes Used in: Capacitive Touch User Interface AT42QT1010 External capacitive touch sensor when more channels are needed Used in: Capacitive Touch User Interface
What is the maximum CPU clock frequency of the PIC18F25K22-E/SP?
The PIC18F25K22-E/SP executes instructions at up to 48 MHz from an external crystal, or up to 64 MHz using the internal 16 MHz oscillator combined with the on-chip 4x PLL. According to Microchip datasheet DS40001378E, the core delivers 8 MIPS at 48 MHz (4-clock instruction cycle) and is fully static for low-frequency sleep operation. This makes it suitable for both high-throughput sensor acquisition and battery-saving low-speed modes.
How much Flash and RAM does the PIC18F25K22 have?
The PIC18F25K22 integrates 32 KB of self-programmable Flash (16K x 16 instruction words), 1536 bytes of SRAM, and 1 KB of EEPROM data memory. According to Microchip datasheet DS40001378E, Flash endurance is rated at 10K erase/write cycles minimum, with data retention of 40 years. The dual-array Flash allows live firmware updates without external bootloaders.
What package and temperature grade does PIC18F25K22-E/SP use?
The /SP suffix indicates a 28-pin SPDIP (Skinny Plastic DIP) through-hole package, while the /E prefix denotes the -40C to +125C extended operating temperature range (industrial/automotive grade). The part is pin-compatible with the /I/SP -40C to +85C industrial variant and with the PIC18F23K22-I/SP (8 KB Flash, same SPDIP-28 footprint). For surface-mount alternatives, see PIC18F25K22-E/SO (SOIC-28) and PIC18F25K22-E/ML (QFN-28).
Does the PIC18F25K22-E/SP support USB?
No, the PIC18F25K22 does not include a USB peripheral. For USB device support in the same 28-pin SPDIP footprint, the PIC18F25K50 family is the recommended drop-in replacement (same pinout, adds USB 2.0 Full-Speed). For USB Host/OTG capability, choose PIC18F46K50 in a 40/44-pin package. The PIC18F25K22 family focuses on low-power sensor and control applications where USB is not required.
Where can I buy the PIC18F25K22-E/SP online?
The PIC18F25K22-E/SP is in stock and shipping today at DigiKey (part number 2342323) and Mouser, with current pricing around $4.32 per unit at quantity 1 as of 2026-09-27. Octopart aggregates 12 distributors for bulk discounts, and RS-Online (stock code 70573190) also carries the part for the EMEA region. For prototype quantities (1-10), DigiKey is generally the fastest channel for North American orders.
What is the lead time for PIC18F25K22-E/SP?
As of 2026-09-27, the PIC18F25K22-E/SP is listed in stock at major distributors with same-day shipping for orders up to 1000 pieces from DigiKey and Mouser. Bulk orders of 10,000+ pieces typically ship within 4-6 weeks directly from Microchip or through authorized distributors. The part is in active production status, so standard lead times apply (no allocation). Microchip's newer PIC18F25Q10 is also available as a forward-compatible alternative with similar or shorter lead time.
PIC18F25K22 vs PIC18F25Q10 - which is better for new designs?
For new designs starting in 2026, Microchip recommends the PIC18F25Q10 as the successor, featuring a more modern core, Core Independent Peripherals (CIPs), and improved low-power performance. The PIC18F25K22 remains fully supported and is preferred for designs that already use the PIC18F K22 ecosystem, mature code libraries, or hardware peripherals like the 12-bit ADC and CTMU. Choose Q10 for new platforms; keep K22 for incremental updates to existing K22-based products.
What is the difference between PIC18F25K22 and PIC18F23K22?
The PIC18F23K22 is the 8 KB Flash variant of the K22 family, sharing the same 28-pin SPDIP footprint, peripheral set, register map, and instruction set as the PIC18F25K22 (32 KB Flash). They are fully pin-to-pin compatible; code compiled for the 23K22 runs unchanged on the 25K22. Choose the 23K22 for cost-sensitive designs needing only 8 KB of firmware, and the 25K22 when firmware size approaches or exceeds 16 KB.
What is the best drop-in replacement for PIC18F25K22-E/SP?
The best drop-in replacement for the PIC18F25K22-E/SP (28-pin SPDIP, -40C to +125C) is the PIC18F25K22-I/SP for designs that only need -40C to +85C, offering identical pinout and electrical specifications at lower cost. For modernized designs, PIC18F25K50-I/SP adds USB 2.0 Full-Speed. For new designs in 2026, Microchip recommends PIC18F25Q10-I/SP as the forward-compatible successor with the same SPDIP-28 footprint and improved peripherals.
Where to download PIC18F25K22 datasheet PDF?
The official PIC18F25K22 datasheet (document DS40001378E, 492 pages) is available as a free PDF download from Microchip's product page at microchip.com/en-us/product/PIC18F25K22. Mirror copies are available on alldatasheet.com and findic.us, but Microchip's official site is the authoritative source for the latest revision, errata documents, and companion files (MPLAB X device packs, code examples). As of 2026-09-27, revision E is current.
What is the PIC18F25K22 pinout in the SPDIP-28 package?
The PIC18F25K22 SPDIP-28 pinout assigns VDD to pin 11 and 32, VSS to pin 12 and 31, with MCLR/RE3 on pin 1, RA0-RA7 on pins 2-7 and 9-10, RB0-RB7 on pins 21-28, RC0-RC7 on pins 11-18 (shared with VDD/VSS), and RE0-RE2 analog inputs on pins 22-24. ICSP uses PGD (pin 27/RB7) and PGC (pin 28/RB6). Refer to the datasheet pinout table for the canonical mapping; XAIPART provides a labelled SVG pinout diagram on this page.
Is PIC18F25K22-E/SP suitable for low-power IoT sensor applications?
Yes, the PIC18F25K22-E/SP is well suited for low-power IoT sensor nodes thanks to nanoWatt XLP technology, which delivers typical sleep currents of around 20-50 nA in deep sleep with the RTCC and WDT active. The 12-bit ADC, 1 KB EEPROM for data logging, and 1536 bytes of SRAM enable on-node signal conditioning before transmission. For battery life of 1+ years on a CR2032, duty-cycle the ADC and use the IDLE/sleep modes between measurements.
What is the best Microchip equivalent for PIC18F25K22 if the part is out of stock?
If the PIC18F25K22-E/SP is unavailable, the best same-package Microchip alternatives are PIC18F25K22-I/SP (commercial temperature, same 28-pin SPDIP) for relaxed-temp designs, or PIC18F25K50-I/SP (adds USB, same pinout). Across the PIC18F K22 family, you can also use PIC18F23K22-I/SP (8 KB Flash) or PIC18F46K22-I/P (40-pin DIP for more I/O). All share the same MPLAB X toolchain and peripheral register model.
What are the key specifications of PIC18F25K22 that engineers should know?
The PIC18F25K22 key specifications are: 8-bit PIC18 core at 48 MHz (64 MHz with internal PLL), 32 KB Flash, 1536 bytes SRAM, 1 KB EEPROM, 25 I/O pins, 12-bit ADC with up to 19 channels, two USART, two MSSP, two CCP + one ECCP, nanoWatt XLP low-power modes, and supply range 1.8 V to 5.5 V. It is housed in a 28-pin SPDIP package with -40C to +125C extended temperature range, making it a versatile mid-range 8-bit MCU.

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

Selection Guide

Choose the PIC18F25K22-E/SP when you need a 28-pin DIP microcontroller for prototyping or field-replaceable designs, with 32 KB Flash for moderate firmware size and the -40C to +125C extended temperature grade for industrial or automotive body applications. For new designs starting in 2026, prefer the PIC18F25Q10-I/SP successor which offers improved Core Independent Peripherals and lower sleep current in the same SPDIP-28 footprint. If you only need 8 KB Flash, drop to PIC18F23K22-I/SP for cost savings. If you need USB 2.0, step up to PIC18F25K50-I/SP. All these parts share the same 28-pin SPDIP pinout, MPLAB X toolchain, and XC8 compiler, making migration straightforward within the PIC18F K22/Q10 family.

Comparison with Alternatives

Parameter This Product PIC18F25K22-I/SP PIC18F23K22-I/SP PIC18F25K50-I/SP PIC18F25Q10-I/SP PIC18F25K20-E/SP
Package SPDIP-28 SPDIP-28 - same SPDIP-28 - same SPDIP-28 - same SPDIP-28 - same SPDIP-28 - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash Memory 32 KB 32 KB 8 KB 32 KB 32 KB 32 KB
SRAM 1536 bytes 1536 bytes 1024 bytes 2048 bytes 2048 bytes 1536 bytes
Maximum CPU Clock 48 MHz (64 MHz w/ PLL) 48 MHz (64 MHz w/ PLL) 48 MHz (64 MHz w/ PLL) 48 MHz 64 MHz 64 MHz
ADC Resolution 12-bit 12-bit 12-bit 10-bit 12-bit 10-bit
USB Support No No No Yes (USB 2.0 FS) No No
Temperature Range -40C to +125C (E grade) -40C to +85C (I grade) -40C to +85C (I grade) -40C to +85C (I grade) -40C to +85C (I grade) -40C to +125C (E grade)
nanoWatt XLP Sleep Current ~20-50 nA typical ~20-50 nA typical ~20-50 nA typical ~20-50 nA typical ~10-30 nA typical (improved) ~50-100 nA typical

Key Differentiators

  • Higher ADC resolution (12-bit) than the older K20 family (10-bit) (vs PIC18F25K20-E/SP)
  • Extended -40C to +125C temperature grade for harsh environments (vs PIC18F25K22-I/SP)
  • Lower sleep current and modern peripherals vs older 2520 generation (vs PIC18F2520-I/SP)
  • No USB peripheral - keep the K22 pure for sensor/control tasks (vs PIC18F25K50-I/SP)

Design Notes

Place a 100 nF ceramic decoupling capacitor as close as possible to each VDD pin (pins 11 and 32 on SPDIP-28). Add a bulk 10 uF tantalum or aluminum polymer capacitor on the main supply rail. For battery-powered designs using nanoWatt XLP sleep modes, ensure the voltage regulator's quiescent current is below 1 uA (e.g., MCP1700 with 1.6 uA Iq). Avoid switching regulators unless their Iq is comparable, otherwise the regulator Iq dominates the sleep budget of the entire node.

Reserve the ICSP pins (RB6/PGC and RB7/PGD) as no-connect or use them only with care - on the PIC18F25K22 these pins are shared with PORTB and are used by ICD. Add test points or a 2x3 ICSP header footprint for production programming even if not used in the final application. The MCLR pin (1) requires a 10 kohm pull-up to VDD; do not leave it floating, or the device will randomly reset. Use a 100 nF cap on MCLR only if in-circuit debugging is needed (MPLAB ICD adds a reset capacitor externally).

For crystal oscillator operation, keep traces from OSC1/OSC2 to the crystal short (under 10 mm), surround them with a ground pour, and place load capacitors (typically 15-33 pF depending on crystal) close to the MCU pins. When using the internal 16 MHz HFINTOSC, the device can be built without external crystal components - this reduces BOM cost and PCB area, but at the expense of absolute frequency accuracy (+/- 2% over temperature). For UART or USB timing accuracy, an external crystal is recommended.

Do not exceed 5.5 V on any pin - the PIC18F25K22 is NOT 5 V tolerant on analog/digital pins above its absolute maximum. For level translation to 3.3 V peripherals, use proper level shifters or rely on the device's 3.3 V operation. The configuration bits (FOSC, WDT, LVP, etc.) must be set correctly or the device will not start; use MPLAB X's configuration bits UI to generate valid values. Forgetting to disable the LVP (Low-Voltage Programming) bit can cause unexpected programming-mode entry during in-circuit reset events.

Compliance Information

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

RoHS compliant per Microchip product page. -E temperature grade is industrial-grade (-40C to +125C) but is not AEC-Q100 qualified; for AEC-Q100 automotive applications consult Microchip's automotive-grade PIC18F portfolio separately.

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

Related Searches

PIC18F25K22-E/SP PIC18F25K22-E/SP datasheet Microchip PIC18F25K22 8-bit microcontroller 32KB flash 28-pin SPDIP PIC18F25K22 SPDIP-28 PIC18F25K22 industrial HVAC controller PIC18F25K22 vs PIC18F23K22 PIC18F25K22 drop-in replacement PIC18F25K22-E/SP buy price stock what is the flash memory of PIC18F25K22 PIC18F25K22 pinout SPDIP-28 low power 8-bit MCU XLP nanoWatt sensor node PIC18F25K22 vs PIC18F25Q10 PIC18F25K22 ICSP programming PIC18F25K22-E/SP lead time distributor

Related Components & Terms

Microchip Technology PIC18F25K22 PIC18F25K22-E/SP PIC18F25K22-I/SP PIC18F23K22-I/SP PIC18F25K50-I/SP PIC18F25Q10-I/SP PIC18F25K20-E/SP PIC18F2520-I/SP PIC18 (8-bit architecture) microcontroller MCU nanoWatt XLP CTMU ICSP SPDIP-28 12-bit ADC IC industrial-grade temperature range MPLAB X IDE XC8 compiler RoHS ICP (in-circuit programming)
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