PIC18LF25K22-E/SS - 32KB Flash 8-bit MCU XLP 28-SSOP | Microchip
MPN: PIC18LF25K22-E/SS ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.42 | $3.42 |
| 10 | $3.1 | $31.00 |
| 100 | $2.78 | $278.00 |
| 500 | $2.51 | $1,255.00 |
| 1,000 | $2.24 | $2,240.00 |
PIC18LF25K22-E/SS Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU, RAM, non-volatile program memory, peripherals, and I/O on one die. Within the broader taxonomy, an MCU belongs to embedded processors -> microcontrollers -> 8-bit microcontrollers. The PIC18LF25K22 family extends this category by adding nanoWatt XLP sleep modes that reduce quiescent current to sub-microampere levels, enabling multi-year battery lifetime in applications such as remote sensors and utility metering.
Key differentiating features include 32 KB self-programmable Flash with 1 KB EEPROM endurance rated at 100k cycles, a 12-channel 10-bit ADC, two CCP/ECCP modules, three 16-bit timers, two MSSP (SPI/I2C) ports, two EUSART (LIN-capable) ports, and a 5-bit DAC. The device also integrates an 8 MHz internal oscillator selectable to 31 kHz via OSCTUNE, supporting flexible clocking without external crystals.
Architecturally, the PIC18LF25K22 uses Microchip's enhanced Harvard RISC core with 16-bit instructions and an 8-bit data path, achieving 16 MIPS at 48 MHz. The on-chip charge-time-measurement-unit (CTMU) provides capacitive-touch sensing, while the EUSARTs natively support LIN bus, simplifying automotive and industrial node design.
Typical applications include low-power wireless sensor nodes (with companion RF transceivers), battery-backed utility metering, consumer wearables, sensor interface boards, and portable instruments. The wide peripheral set also suits HVAC controls and LED lighting controllers where capacitive touch user interfaces are needed.
When designing, ensure Vdd stays within 1.8-3.6V and provide 100 nF decoupling close to each Vdd pin. Use the internal LFINTOSC for sleep-mode wakeup timing to minimize current draw; route analog and digital grounds separately to preserve ADC accuracy.
This page synthesizes real distributor pricing, drop-in alternatives, and application notes not found in the manufacturer datasheet alone - curated to accelerate design-in and second-source decisions for the PIC18LF25K22-E/SS.
Drop-in alternatives for PIC18LF25K22-E/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 PIC18LF25K22-E/SS (same form factor and footprint) — differing in ADC, Core Architecture, Maximum CPU Frequency, Timers, Package.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F25K22-E/SS
✅ Drop-In✓ In Stock
$2.45 / Unit
View Datasheet →PIC18LF25K22-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18LF24K22-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25K22-I/SS
✅ Drop-In✓ In Stock
$1.92 / Unit
View Datasheet →PIC18LF45K22-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18LF25K22-E/SS Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 enhanced Harvard 8-bit RISC |
| Instruction Set | 16-bit instructions, 8-bit data path |
| Max CPU Speed | 48 MHz (16 MIPS) |
| Program Memory | 32 KB Flash (self-programmable) |
| SRAM | 1536 B |
| EEPROM | 256 B |
| Operating Voltage (Vdd) | 1.8 V to 3.6 V (LF variant) |
| I/O Pins | 24 |
| ADC | 10-bit, up to 19 channels |
| DAC | 5-bit, 1 channel |
| Timers | 3 x 16-bit, 4 x 8-bit |
| CCP / ECCP Modules | 2 CCP + 1 ECCP |
| Communication Peripherals | 2x SPI, 2x I2C, 2x EUSART (LIN-capable) |
| Package | 28-pin SSOP (5.30 mm body width) |
| Temperature Range | -40C to +125C (E = Extended) |
| nanoWatt XLP Sleep Current | Typical 20 nA (RTCC + Watchdog) |
| RoHS Status | Compliant |
PIC18LF25K22-E/SS Pin Configuration
| Pin 1 | RA3/AN3 — Digital I/O / Analog input channel 3 |
| Pin 2 | RA4/T0CKI — Digital I/O / Timer0 clock input |
| Pin 3 | RA5/AN4 — Digital I/O / Analog input channel 4 |
| Pin 4 | RA6 — Digital I/O |
| Pin 5 | RA7 — Digital I/O |
| Pin 6 | VSS — Ground reference |
| Pin 7 | VDD — Positive supply voltage (1.8-3.6V) |
| Pin 8 | RB0/INT0 — Digital I/O / External interrupt 0 |
| Pin 9 | RB1/INT1 — Digital I/O / External interrupt 1 |
| Pin 10 | RB2 — Digital I/O |
| Pin 11 | RB3 — Digital I/O |
| Pin 12 | RB4 — Digital I/O |
| Pin 13 | RB5 — Digital I/O |
| Pin 14 | RB6/PGC — Digital I/O / ICSP clock |
| Pin 15 | RB7/PGD — Digital I/O / ICSP data |
| Pin 16 | RC0 — Digital I/O |
| Pin 17 | RC1 — Digital I/O |
| Pin 18 | RC2 — Digital I/O |
| Pin 19 | RC3/SCL1 — Digital I/O / I2C1 clock |
| Pin 20 | RC4/SDA1 — Digital I/O / I2C1 data |
| Pin 21 | RC5 — Digital I/O |
| Pin 22 | RC6/TX1 — Digital I/O / EUSART1 TX |
| Pin 23 | RC7/RX1 — Digital I/O / EUSART1 RX |
| Pin 24 | RE3/MCLR — Master Clear (reset) input |
| Pin 25 | RA0/AN0 — Digital I/O / Analog input channel 0 |
| Pin 26 | RA1/AN1 — Digital I/O / Analog input channel 1 |
| Pin 27 | RA2/AN2/VREF- — Digital I/O / Analog input / ADC negative reference |
| Pin 28 | VDDCORE — Core voltage decoupling (regulated internally) |
Typical Applications
PIC18LF25K22-E/SS is suitable for 7 applications: Battery-Powered Wireless Sensor Node, Capacitive Touch User Interface, Utility Metering Endpoints, Portable Medical Monitoring, Automotive LIN Slave Node, Industrial Sensor Interface Module, HVAC Control Panel.
Battery-Powered Wireless Sensor Node
The PIC18LF25K22-E/SS excels as the host MCU for battery-powered wireless sensor nodes because its 1.8-3.6V Vdd range directly interfaces with single-cell Li-ion, 2x AA alkaline, or 3V coin cells without level shifters. The 20 nA RTCC+Watchdog sleep current enables multi-year lifetime on a CR2032, and the two EUSART (LIN-capable) plus two MSSP (SPI/I2C) ports allow pairing with sub-GHz transceivers such as MRF89XA or Bluetooth modules. The 10-bit ADC with up to 19 channels samples temperature, humidity, and battery voltage directly. Designers place the part between the battery rail and the sensor array, using internal LFINTOSC during sleep to minimize active current draw.
Recommended
Capacitive Touch User Interface
The PIC18LF25K22-E/SS integrates the CTMU (Charge Time Measurement Unit) which enables robust capacitive touch sensing on up to 16 channels with no external touch IC. The 32 KB Flash accommodates Microchip's mTouch libraries including gesture recognition and slider/wheel decoding. Designers pair each electrode with a 1 nF-100 pF reference capacitor and route ground as a hatched pour around the touch pad for noise immunity. The 16 MIPS throughput handles 100 Hz touch sampling plus mainline UART communication. The wide 1.8-3.6V range suits battery-powered remote controls and appliance front panels.
Recommended
Utility Metering Endpoints
The PIC18LF25K22-E/SS is well suited for water, gas, or heat meter endpoints because of its ultra-low sleep current, robust EUSART supporting wired M-Bus or wireless M-Bus links, and 256 B EEPROM that stores meter readings with 100k write endurance. The 10-bit ADC reads flow sensors and battery voltage while the 5-bit DAC drives calibration piezo buzzers. With 32 KB Flash the device accommodates rolling interval logging without external memory. Designers route the meter sensor through an optocoupler and the MCU through a 32.768 kHz crystal for timekeeping, achieving 7-10 year battery life on a single D-cell.
Recommended
Portable Medical Monitoring
Medical-grade portable monitors such as pulse oximeters, spirometers, and single-channel ECG patches leverage the PIC18LF25K22-E/SS for its low-power operation, 10-bit ADC for bioelectric sensors, and 32 KB Flash for waveform processing. The 1.8-3.6V Vdd directly operates from a single Li-ion cell, and the 16 MIPS CPU processes basic FFT and FIR filtering for heart-rate variability. The CTMU drives LED-based PPG or spirometry flow sensors. Designers pair the MCU with an MCP6N11 instrumentation amp and route USB or Bluetooth through the MSSP ports for data upload to a host phone.
Recommended
Automotive LIN Slave Node
The PIC18LF25K22-E/SS EUSART module natively supports LIN 1.3/2.0/2.1 slave protocols with auto-baud detection, making it suitable for non-safety automotive nodes such as seat controllers, mirror adjusters, and ambient lighting. The 32 KB Flash accommodates the LIN stack and the 24 GPIO drive LED matrices, H-bridges, and small actuators. Designers terminate the LIN line with a TJA1027 transceiver and isolate Vdd from the 12V battery through an MCP1755 LDO. The -40 to +125C extended temperature grade supports under-hood and cabin operation.
Recommended
Industrial Sensor Interface Module
Industrial 4-20 mA loop sensors, RTD conditioners, and small PLC I/O modules benefit from the PIC18LF25K22-E/SS wide Vdd tolerance, EUSART for RS-485, and PWM for analog output generation. The 5-bit DAC combined with PWM output can synthesize a 4-20 mA current loop with an external XTR105. The 10-bit ADC reads 4-20 mA inputs via a 250 ohm sense resistor, while the 32 KB Flash supports Modbus RTU and basic PID loops. Designers isolate RS-485 with an ADM2483 or ISL3179 transceiver and protect Vdd with TVS and PTC resettable fuses.
Recommended
HVAC Control Panel
Heating, ventilation, and air-conditioning wall thermostats use the PIC18LF25K22-E/SS for its 32 KB Flash (holding scheduling logic), CTMU capacitive touch for glass-fronted thermostats, and EUSART for BACnet or Modbus connectivity to the HVAC controller. The 10-bit ADC reads onboard NTC temperature sensors and external thermistor inputs. The 5-bit DAC drives a small speaker for audible feedback. Designers route the SSOP-28 device behind a touchscreen PCB and power it from a 24VAC half-wave rectified supply regulated by an MCP1755 LDO.
Recommended
Recommended Products Summary
Engineering reference data for PIC18LF25K22-E/SS — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F25K22-E/SS | PIC18LF25K22-I/SS | PIC18LF24K22-I/SS | PIC18F25K22-I/SS | PIC18LF45K22-I/SS |
|---|---|---|---|---|---|---|
| Package | SSOP-28 | SSOP-28 - same | SSOP-28 - same | SSOP-28 - same | SSOP-28 - same | SSOP-28 - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 32 KB | 32 KB | 32 KB | 16 KB | 32 KB | 64 KB |
| Operating Voltage | 1.8 V to 3.6 V | 2.3 V to 5.5 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 2.3 V to 5.5 V | 1.8 V to 3.6 V |
| Temperature Range | -40C to +125C (Extended) | -40C to +125C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C |
| Max CPU Speed | 48 MHz / 16 MIPS | 48 MHz / 16 MIPS | 48 MHz / 16 MIPS | 48 MHz / 16 MIPS | 48 MHz / 16 MIPS | 48 MHz / 16 MIPS |
| ADC | 10-bit, 19 channels | 10-bit, 19 channels | 10-bit, 19 channels | 10-bit, 19 channels | 10-bit, 19 channels | 10-bit, 30 channels |
| SRAM | 1536 B | 1536 B | 1536 B | 768 B | 1536 B | 3896 B |
| EEPROM | 256 B | 256 B | 256 B | 256 B | 256 B | 1024 B |
Key Differentiators
- Lowest operating voltage in the 25K22 family for direct coin-cell or single-cell Li-ion operation (vs PIC18F25K22-E/SS)
- Extended temperature range for under-hood and industrial environments (vs PIC18LF25K22-I/SS)
- 32 KB Flash with 19-channel ADC in 28-pin SSOP (vs PIC18LF24K22-I/SS)
Design Notes
Decouple each Vdd pin with a 100 nF X7R ceramic capacitor placed within 5 mm of the pin, and add a bulk 10 uF tantalum or ceramic near the package. For battery-powered designs using the LF variant, use MCP1702/MCP1755 LDOs with sub-2 uA quiescent current rather than generic 78xx regulators which waste milliwatts. Estimated: a 100 mAh CR2032 powering a PIC18LF25K22-E/SS in sleep with 20 nA average current would last approximately 5.7 years; active current at 16 MIPS with 3.3V is around 9 mA so duty-cycle the application aggressively.
Route the ICSP pins (RB6/PGC and RB7/PGD) with stubs no longer than 25 mm and place a 4.7 kohm pull-up on MCLR (pin 24) to Vdd through a diode for Vdd ramp protection. Keep analog traces (ANx) short and surrounded by a hatched ground pour to preserve 10-bit ADC accuracy. Place the 32.768 kHz crystal within 5 mm of SOSCO/SOSCI if used, with grounded guard traces on both sides to reduce coupling from switching nodes. Avoid routing the EUSART TX/RX lines parallel to PWM outputs.
Do not exceed 3.6 V on Vdd of the LF variant - this is the most common destruction cause. Configure unused I/O as outputs (not inputs) to avoid Shoot-Through in the input buffer. Enable the Watchdog Timer (WDT) with a long enough timeout to survive bootloader activity. The CTMU requires the A/D converter to be enabled; do not call CTMU functions until ADC is initialized. Finally, when migrating from PIC18F25K22 code, verify the LF device's lower FOSC maximum (48 MHz vs 64 MHz on some F variants).
Compliance Information
RoHS and REACH compliant per Microchip product declaration; lead-free matte-tin finish. Not AEC-Q100 qualified - select PIC18F25K22-E/SS for AEC-Q100 automotive applications.