PIC18F25K22-I/SS - 8-bit 64MHz 32KB Flash MCU 28-SSOP | Microchip
MPN: PIC18F25K22-I/SS ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.45 | $3.45 |
| 10 | $3.1 | $31.00 |
| 100 | $2.75 | $275.00 |
| 500 | $2.45 | $1,225.00 |
| 1,000 | $2.18 | $2,180.00 |
| 3,000 | $1.92 | $5,760.00 |
PIC18F25K22-I/SS Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU, RAM, Flash program memory, peripherals, and I/O. PIC microcontrollers use a RISC architecture with separate program and data buses (Harvard architecture) and are widely used in consumer, industrial, and automotive applications. The PIC18F25K22 family extends that lineage with the nanoWatt XLP™ (eXtra Low Power) technology, allowing deep sleep currents in the nanoamp range while keeping wake-up time short.
Key features include 1536 bytes of SRAM, 256 bytes of EEPROM, 25 digital I/O pins, an integrated 10-bit ADC with up to 17 channels, two analog comparators, two CCP/ECCP modules, two MSSP (SPI/I²C) peripherals, two EUSART modules, and two 8/16-bit timers. Wide operating voltage from 1.8 V to 5.5 V (2.5 V/3.3 V/5 V typical rails) and nanoWatt XLP™ sleep modes (<100 nA typical) make the device suitable for battery-powered applications.
Internally the PIC18F25K22 uses Microchip's enhanced PIC18 core with a hardware multiplier, 16-bit instructions, and a 31-level stack. Programmable peripherals are mapped through Peripheral Pin Select (PPS), which gives designers flexibility to remap digital functions across most I/O pins - a useful feature when laying out mixed-signal boards.
Typical applications include battery-powered sensor nodes, home-automation controllers, low-power industrial sensor signal conditioning, USB HID/CDC bridges (when paired with an external USB transceiver), small appliance controls, and metering instrumentation. The wide Vdd range lets one board design serve multiple product variants running at 2.5 V, 3.3 V, or 5 V.
A key design consideration is decoupling: place a 100 nF ceramic capacitor as close as possible to each Vdd/Vss pin pair, and add a bulk 10 uF capacitor on the main rail. When migrating from the older PIC18F25K20, the PPS, ADC channel count, and core revisions require re-verification of the firmware.
This page synthesizes distributor pricing, drop-in alternatives, and design notes not found in the manufacturer datasheet alone.
Drop-in alternatives for PIC18F25K22-I/SS — 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-I/SS (same form factor and footprint) — differing in ADC, Package, Timers, Operating Temperature, Core.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F25K22T-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25K22-E/SS
✅ Drop-In✓ In Stock
$2.45 / Unit
View Datasheet →PIC18F25K20-I/SS
✅ Drop-In✓ In Stock
$1.92 / Unit
View Datasheet →PIC18F24K22-I/SS
✅ Drop-In✓ In Stock
$1.32 / Unit
View Datasheet →PIC18F25K22-I/SS Maximum Ratings & Electrical Characteristics
| Core | PIC18 8-bit RISC, Harvard architecture |
| Program Memory (Flash) | 32 KB (16K x 16) |
| SRAM | 1536 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Frequency | 64 MHz |
| Supply Voltage (Vdd) | 1.8 V to 5.5 V (typical 2.5 V / 3.3 V / 5 V) |
| Digital I/O Pins | 25 |
| ADC | 10-bit, up to 17 channels |
| Comparators | 2 analog comparators |
| CCP / ECCP Modules | 2 |
| MSSP (SPI / I2C) | 2 |
| EUSART | 2 |
| Timers | 2 x 8-bit, 2 x 16-bit (4 total) |
| Peripheral Pin Select (PPS) | Yes |
| nanoWatt XLP Technology | Yes (sleep current typically <100 nA) |
| Operating Temperature | -40C to +85C (Industrial, -I) |
| Package | 28-pin SSOP (5.30 mm body) |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
PIC18F25K22-I/SS Pin Configuration
| Pin 1 | RA0/AN0/C1IN0-/ULPWU — PORTA bit 0 / analog input 0 / comparator 1 inverting input / ultra-low-power wake-up |
| Pin 2 | RA1/AN1/C1IN1-/PGM — PORTA bit 1 / analog input 1 / comparator 1 inverting input / LVP programming |
| Pin 3 | RA2/AN2/Vref-/CVref — PORTA bit 2 / analog input 2 / ADC Vref- / comparator voltage reference |
| Pin 4 | RA3/AN3/Vref+/C1IN1+ — PORTA bit 3 / analog input 3 / ADC Vref+ / comparator 1 non-inverting input |
| Pin 5 | RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock input / comparator 1 output |
| Pin 6 | RA5/AN4/C2IN3-/SS1/HLVDIN — PORTA bit 5 / analog input 4 / comparator 2 input / SPI1 slave select / HLVD input |
| Pin 7 | RA6/OSC2/CLKO — PORTA bit 6 / oscillator output / clock output |
| Pin 8 | RA7/OSC1/CLKI — PORTA bit 7 / oscillator input / clock input |
| Pin 9 | Vss — Ground reference |
| Pin 10 | VDD — Positive supply voltage |
| Pin 11 | RB0/AN12/INT0/FLT0 — PORTB bit 0 / analog input 12 / external interrupt 0 / PWM fault input |
| Pin 12 | RB1/AN10/P1C — PORTB bit 1 / analog input 10 / PWM1 complementary output |
| Pin 13 | RB2/AN8/P1B — PORTB bit 2 / analog input 8 / PWM1 output B |
| Pin 14 | RB3/AN9/CPP1 — PORTB bit 3 / analog input 9 / charge-pump output |
| Pin 15 | RB4/AN11/P1D — PORTB bit 4 / analog input 11 / PWM1 output D |
| Pin 16 | RB5/AN13/P2C — PORTB bit 5 / analog input 13 / PWM2 complementary output |
| Pin 17 | RB6/PGC/ICSPCLK — PORTB bit 6 / ICSP clock / programming clock |
| Pin 18 | RB7/PGD/ICSPDAT — PORTB bit 7 / ICSP data / programming data |
| Pin 19 | Vss — Ground reference |
| Pin 20 | VDD — Positive supply voltage |
| Pin 21 | RC0/SOSCO — PORTC bit 0 / secondary oscillator output |
| Pin 22 | RC1/SOSCI — PORTC bit 1 / secondary oscillator input |
| Pin 23 | RC2/AN14/P2B — PORTC bit 2 / analog input 14 / PWM2 output B |
| Pin 24 | RC3/AN15/P2A — PORTC bit 3 / analog input 15 / PWM2 output A |
| Pin 25 | RC4/AN16 — PORTC bit 4 / analog input 16 |
| Pin 26 | RC5/AN17 — PORTC bit 5 / analog input 17 |
| Pin 27 | RC6 — PORTC bit 6 / PPS-mappable I/O |
| Pin 28 | RC7 — PORTC bit 7 / PPS-mappable I/O |
Typical Applications
PIC18F25K22-I/SS is suitable for 6 applications: Battery-Powered Wireless Sensor Node, Industrial Sensor Signal Conditioning, Home-Automation Controller, USB HID / CDC Bridge with External Transceiver, Small Appliance Motor Control, Smart Metering and Energy Monitoring.
Battery-Powered Wireless Sensor Node
The PIC18F25K22-I/SS is well suited for battery-powered wireless sensor nodes because its nanoWatt XLP sleep currents drop below 100 nA while still waking the CPU in microseconds. With 32 KB Flash and 1536 bytes SRAM, designers can run Microchip's MiWi or a proprietary sub-GHz stack, plus application logic, on a single chip. Its 1.8 V to 5.5 V Vdd range lets the same PCB accept a single lithium primary (3.0 V) or a 2 x AA alkaline (3.0 V) supply. The integrated 10-bit ADC supports battery voltage monitoring for fuel-gauge functions.
Recommended
Industrial Sensor Signal Conditioning
In industrial process-control loops the PIC18F25K22-I/SS can digitize 4-20 mA or 0-10 V sensor signals through its 10-bit ADC with up to 17 channels and two analog comparators for over-range detection. The 25 I/O pins drive relays, opto-isolators, and local indicator LEDs without external multiplexers. The industrial -40C to +85C temperature grade is rated for cabinet-mounted equipment. RS-485 communication is straightforward via the dual EUSART plus an external transceiver such as MCP2551.
Recommended
Home-Automation Controller
For home-automation hubs the PIC18F25K22-I/SS handles user-interface scanning, relay control, and protocol translation across the 1536-byte SRAM and 32 KB Flash budget. The two MSSP peripherals drive independent SPI/I2C buses for displays and sensors, while PPS routing simplifies PCB layout for shared signals. Its 5 V tolerance allows direct connection to legacy keypad matrices and triac drivers. Low sleep current makes wall-powered devices with battery-backed RTC designs practical.
Recommended
USB HID / CDC Bridge with External Transceiver
The PIC18F25K22-I/SS cannot drive USB directly but works well as a USB HID/CDC bridge when paired with an external USB-to-UART such as the MCP2200 or MCP2221. The two EUSARTs support both the host-facing bridge and an application-side UART simultaneously. This architecture keeps BOM cost low while still providing USB connectivity for configuration and diagnostics. The wide Vdd range allows the same firmware to run on 3.3 V and 5 V hosts.
Recommended
Small Appliance Motor Control
Brush DC, stepper, and small BLDC motors are easily driven by the PIC18F25K22-I/SS using its two CCP/ECCP modules for PWM generation and the 10-bit ADC for back-EMF or current sensing. With 64 MHz FOSC, PWM frequencies can be pushed above 20 kHz for silent operation. The 25 I/O pins allow direct interface to H-bridge drivers and Hall-effect sensors without external logic. Programmable dead-band and auto-shutdown features reduce firmware burden.
Recommended
Smart Metering and Energy Monitoring
Energy and gas metering require precise ADC sampling and long-term EEPROM data retention - both available on the PIC18F25K22-I/SS. The 10-bit ADC combined with an external 16-bit sigma-delta such as MCP3911 yields class-0.5 metering accuracy. The 256 bytes of on-chip EEPROM store calibration coefficients and tamper counters. NanoWatt XLP modes keep quiescent power below regulatory limits for standby consumption in IEC 62053-compliant designs.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F25K22-I/SS — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F25K22T-I/SS | PIC18F25K22-E/SS | PIC18F25K20-I/SS | PIC18F24K22-I/SS |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SSOP (5.30 mm) | 28-SSOP - same | 28-SSOP - same | 28-SSOP - same | 28-SSOP - same |
| Flash Memory | 32 KB | 32 KB | 32 KB | 32 KB | 16 KB |
| SRAM | 1536 bytes | 1536 bytes | 1536 bytes | 1536 bytes | 1536 bytes |
| Maximum CPU Frequency | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| ADC Channels | 17 | 17 | 17 | 11 | 17 |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +85C | -40C to +125C (Extended) | -40C to +85C | -40C to +85C |
| Peripheral Pin Select (PPS) | Yes | Yes | Yes | No | Yes |
| nanoWatt XLP | Yes | Yes | Yes | Yes | Yes |
Key Differentiators
- More ADC channels and dual CCP/ECCP (vs PIC18F25K20-I/SS)
- Peripheral Pin Select (PPS) for flexible layout (vs PIC18F25K20-I/SS)
- Extended temperature grade option available (vs PIC18F25K22-I/SS)
- Lower-power nanoWatt XLP modes vs older PIC16 families (vs PIC18F25J11-I/SP)
Design Notes
Place a 100 nF ceramic decoupling capacitor within 3 mm of every Vdd pin (10 and 20) and a single 10 uF bulk capacitor on the main supply rail. The PIC18F25K22-I/SS can source up to 250 mA total through its I/O pins but the die itself typically draws <30 mA active and <100 nA sleep. Estimated: worst-case active current at 64 MHz FOSC with all peripherals on is ~15 mA at 5 V.
The 28-SSOP package has a 0.65 mm pitch and 5.30 mm body. Reserve copper pours on the GND plane under the IC to act as both thermal dissipation and low-impedance return. For noise-sensitive analog designs keep digital traces away from analog input pins and add a 100 nF + 10 uF capacitor pair at the AVdd pin (regulated with a ferrite bead from Vdd).
Do not write to Flash or EEPROM below 2.5 V - the Microchip datasheet specifies minimum write voltage to prevent data corruption. Below 1.8 V the device enters Brown-out Reset. Always configure the BOR (Brown-out Reset) voltage in CONFIG2 to match your minimum operating rail. Also remember that ICSP pins RB6/RB7 are shared with PORTB; the PPS remap does not apply during programming.
When using the internal oscillator at high FOSC (64 MHz), add a small 10-33 pF capacitor on the CLKI/CLKO pins if external crystal is used to ensure clean oscillation. For long traces (>50 mm) to high-speed peripherals (SPI >10 MHz), add a 33 ohm series resistor at the driver to dampen reflections. PPS-mapped peripherals require careful PJLCSTR (peripheral pin select unlock) sequencing per datasheet section 11.
Compliance Information
RoHS and REACH compliance per Microchip product page. Industrial temperature grade only - choose PIC18F25K22-E/SS for AEC-Q100-like extended testing; pure automotive qualification requires PIC18F K42-Q1 family.