Microchip Technology

PIC18LF25K40-E/SP - 32KB Flash 8-Bit MCU 28-SPDIP | Microchip

MPN: PIC18LF25K40-E/SP ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 3.6 V (LF variant) Vdss nanoWatt range (see datasheet DC characteristics) Id 28-SPDIP (Skinny Plastic DIP, 7.62 mm row pitch, through-hole) Package 64 MHz (16 MIPS) Speed 32 KB (16K x 16) Memory
From $2 USD / Unit
MOQ: 1 |
Price updated: 2026-09-28
Volume Pricing
Qty Unit Price Extended
1 $3.15 $3.15
10 $2.84 $28.40
100 $2.55 $255.00
500 $2.27 $1,135.00
1,000 $2 $2,000.00
ℹ️ All prices are in USD

PIC18LF25K40-E/SP Overview

The Microchip PIC18LF25K40-E/SP is a low-power, high-performance 8-bit PIC microcontroller built on the eXtreme Low Power (XLP) platform, featuring 32 KB of program Flash, 2 KB of SRAM, and 256 B of EEPROM in a 28-pin SPDIP (skinny plastic DIP) through-hole package.

An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data path, typically used for embedded control where deterministic real-time response, low cost, and low power are more important than raw computational throughput. PIC18F/LF-series MCUs belong to the higher-end 8-bit family from Microchip, sitting above the PIC10/16 base lines and below the 16-bit dsPIC/PIC24 families, and they integrate analog, communication, and Core Independent Peripherals (CIPs) directly on-chip to reduce external component count.

Key features include a 16 MIPS execution speed at 64 MHz, an integrated 10-bit ADC with up to 35 channels, a 5-bit DAC, two comparators, 4 hardware PWM/CCP/CWG channels, hardware Windowed Watchdog Timer (WWDT), CRC/SCAN, Zero-Cross Detect (ZCD), and Peripheral Pin Select (PPS) for flexible signal routing. The XLP technology enables nanoWatt deep-sleep currents suitable for battery-powered or energy-harvesting products, while the LF prefix denotes the 1.8-3.6V VDD operating range targeting low-voltage systems.

The PIC18LF25K40 uses a Harvard RISC architecture with a 16-bit instruction word and 8-bit data path, providing deterministic instruction timing and a single-cycle hardware multiply. Core Independent Peripherals such as CWG (Complementary Waveform Generator), hardware limit timer (HLT) and CRC/SCAN enable autonomous operation without CPU intervention, reducing firmware complexity and improving system reliability.

Typical applications include low-power IoT sensor nodes, battery-powered home automation, industrial control with analog front ends, motor control loops, and any 5V-tolerant design where XLP sleep current is the key selection factor. The 28-SPDIP package is preferred for hand-soldered prototypes, educational platforms, and through-hole industrial modules.

When designing with this MCU, ensure that the LF (low-voltage) variant is used only when VDD stays within 1.8-3.6V; for 5V rails select the PIC18F25K40-I/SP variant. Decoupling and PPS configuration should follow the manufacturer datasheet typical application circuit.

This page synthesizes distributor pricing, drop-in same-package alternatives, and practical design notes not found in the bare manufacturer datasheet.

Drop-in alternatives for PIC18LF25K40-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 PIC18LF25K40-E/SP (same form factor and footprint) — differing in Package, ADC, Comparators, Core, Program Memory (Flash).

Microchip Technology
Package: 28-SPDIP (Skinny Plastic DIP, through-hole)
ADC: 10-bit ADC2 with Computation
Comparators: Yes
Microchip Technology
Package: 28-SPDIP (300 mil, 7.62 mm)
ADC: 10-bit, up to 17 channels
Comparators: 2 with internal reference
Microchip Technology
Package: 28-pin SPDIP (300 mil)
ADC: 10-bit, up to 24 channels (ADC2 with computation)
Core: PIC18 (8-bit RISC)
Microchip Technology
Package: 28-pin SPDIP (300 mil, 7.62 mm)
ADC: 10-bit ADC2 (with computation)
Core: PIC18 8-bit RISC
Microchip Technology
Package: 28-pin SPDIP (0.300", 7.62 mm)
ADC: 10-bit ADC2 with Computation
Comparators: Yes
Microchip Technology
Package: 28-pin SPDIP (SP) - through-hole
ADC: 10-bit ADC2, up to 24 channels
Comparators: Yes (on-chip)

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

PIC18F25K40-I/SP

✅ Drop-In
Microchip Technology
📦 28-SPDIP
PIC18 8-bit enhanced Harvard · PIC18F "K40" high-performance · 32 KB (16K x 16) · 2 KB · 256 bytes · 64 MHz · 25

✓ In Stock

$1.85 / Unit

View Datasheet →

PIC18F25K40-E/SP

✅ Drop-In
📦 28-SPDIP
same die, 4.0-5.5V VDD instead of 1.8-3.6V (-30%), extended -40 to +125C, pin-to-pin

📋 Reference alternative (not in catalog)

PIC18LF24K40-I/SP

✅ Drop-In ⚠️ Specs Unverified
Microchip Technology
📦 28-SPDIP
PIC18 XLP 18K · PIC18 (8-bit RISC) · 16 KB (8K x 16) Flash · 1 KB · 256 B · 64 MHz · 3.0 V to 3.6 V (1.8 V at 16 MHz, 2.5 V at 32 MHz) · Up to 25

✓ In Stock

$1.55 / Unit

View Datasheet →

PIC18LF24K40-E/SP

✅ Drop-In ⚠️ Specs Unverified
📦 28-SPDIP
same die, Flash 16KB (-50%) and SRAM 1KB (-50%), extended -40 to +125C, pin-to-pin

📋 Reference alternative (not in catalog)

PIC18LF24K22-I/SP

✅ Drop-In ⚠️ Specs Unverified
📦 28-SPDIP
previous generation K22 core, Flash 16KB (-50%) and SRAM 768B (-62%), 1.8-3.6V, pin-to-pin

📋 Reference alternative (not in catalog)

PIC18LF23K22-E/SP

✅ Drop-In ⚠️ Specs Unverified
Microchip Technology
📦 28-SPDIP
PIC18 8-bit RISC (Harvard, 16-bit instructions) · PIC® XLP™ 18K · 48 MHz max (16 MIPS) · 8 KB (4K x 16) · 768 bytes · 256 bytes · 1.8 V to 3.6 V (L-class) · 25 (max for the family)

✓ In Stock

$1.94 / Unit

View Datasheet →
ℹ️ 1 cross-package part(s) hidden — different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

PIC18LF25K40-E/SP Maximum Ratings & Electrical Characteristics

Series PIC XLP 18K
Core PIC18 (8-bit RISC, Harvard)
Program Memory (Flash) 32 KB (16K x 16)
Data SRAM 2 KB
Data EEPROM 256 B
Maximum CPU Speed 64 MHz (16 MIPS)
Operating Voltage (VDD) 1.8 V to 3.6 V (LF variant)
I/O Pins 25
ADC 10-bit, up to 35 channels
DAC 5-bit, 1 channel
Comparators 2
PWM / CCP / CWG Channels 4 (CCP), 4 (PWM), 1 (CWG)
Package 28-SPDIP (Skinny Plastic DIP, 7.62 mm row pitch, through-hole)
Operating Temperature -40 C to +125 C (E = Extended)
Mounting Type Through-Hole
XLP Sleep Current nanoWatt range (see datasheet DC characteristics)
RoHS Status Compliant
MSL Level 1 (unsealed/through-hole, not moisture sensitive)
Core Independent Peripherals CWG, WWDT, CRC/SCAN, HLT, ZCD, Hardware CVD, SMT-PWM

PIC18LF25K40-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 — Master Clear (Reset) input, active low; pull-up to VDD required
Pin 2 RA0 — PORTA bit 0, analog-capable (PPS I/O)
Pin 3 RA1 — PORTA bit 1, analog-capable (PPS I/O)
Pin 4 RA2 — PORTA bit 2, analog-capable (PPS I/O)
Pin 5 RA3 — PORTA bit 3, analog-capable (PPS I/O)
Pin 6 RA4 — PORTA bit 4, analog-capable (PPS I/O)
Pin 7 RA5 — PORTA bit 5, analog-capable (PPS I/O)
Pin 8 RA6 — PORTA bit 6, analog-capable (PPS I/O)
Pin 9 RA7 — PORTA bit 7, analog-capable (PPS I/O)
Pin 10 GND — Ground reference
Pin 11 VDD — Positive supply (1.8-3.6V LF)
Pin 12 RB0 — PORTB bit 0, analog-capable (PPS I/O)
Pin 13 RB1 — PORTB bit 1, analog-capable (PPS I/O)
Pin 14 RB2 — PORTB bit 2, analog-capable (PPS I/O)
Pin 15 RB3 — PORTB bit 3, analog-capable (PPS I/O)
Pin 16 RB4 — PORTB bit 4, analog-capable (PPS I/O)
Pin 17 RB5 — PORTB bit 5, analog-capable (PPS I/O)
Pin 18 RB6 — PORTB bit 6, analog-capable (PPS I/O); ICSPCLK on PICkits
Pin 19 RB7 — PORTB bit 7, analog-capable (PPS I/O); ICSPDAT on PICkits
Pin 20 GND — Ground reference
Pin 21 VDD — Positive supply (1.8-3.6V LF)
Pin 22 RC0 — PORTC bit 0, analog-capable (PPS I/O)
Pin 23 RC1 — PORTC bit 1, analog-capable (PPS I/O)
Pin 24 RC2 — PORTC bit 2, analog-capable (PPS I/O)
Pin 25 RC3 — PORTC bit 3, analog-capable (PPS I/O)
Pin 26 RC4 — PORTC bit 4, analog-capable (PPS I/O)
Pin 27 RC5 — PORTC bit 5, analog-capable (PPS I/O)
Pin 28 RC6 — PORTC bit 6, analog-capable (PPS I/O)

Typical Applications

PIC18LF25K40-E/SP is suitable for 6 applications: Battery-Powered IoT Sensor Node, Industrial Analog Monitoring & Control, Home Automation & Smart Home Devices, Motor Control & PWM Driver Hub, Consumer Electronics Handheld Devices, Educational & Hobby Electronics.

🧩

Battery-Powered IoT Sensor Node

The PIC18LF25K40-E/SP is purpose-built for low-voltage 1.8-3.6V battery-powered IoT sensor nodes where XLP nanoWatt sleep current extends operational lifetime beyond 10 years on a coin cell. Its 32 KB Flash and 2 KB SRAM accommodate over-the-air firmware update staging plus interrupt-driven sensor sampling logic without external memory. The 10-bit ADC with up to 35 channels directly digitizes temperature, light, and battery-voltage sensors; the 5-bit DAC and two comparators drive threshold-based wakeup circuits without CPU intervention. Drawing only nanoamps in deep-sleep with RTC running, this MCU converts a single AA alkaline or coin-cell into a multi-year wireless sensor product. PPS provides flexible remapping of UART/SPI/I2C pins to optimize PCB routing. Recommended companions include Microchip MCP9808 temperature sensor, MCP16252 boost regulator, and MRF24WN0MA Wi-Fi module.

🏭

Industrial Analog Monitoring & Control

The PIC18LF25K40-E/SP integrates a 10-bit ADC with up to 35 channels, a 5-bit DAC, two comparators and a hardware CWG (Complementary Waveform Generator), making it ideal for industrial analog monitoring modules that read 4-20 mA loops, RTDs, or 0-10 V process signals and drive PWM or DAC outputs. The -40 to +125 C extended operating temperature handles outdoor cabinets, factory floors, and motor drive vicinity. CRC/SCAN periodically validates Flash integrity which is critical for unattended industrial installations. Peripheral Pin Select (PPS) routes UART/SPI/I2C signals to almost any I/O pin, allowing single PCB layout reuse across multiple industrial SKUs. The 28-SPDIP through-hole package supports hand-soldered or socket-mounted prototyping for fast iteration. Recommended companions include MCP6024 quad op-amp, MCP2551 CAN transceiver and PICtail RS-485 module.

🏠

Home Automation & Smart Home Devices

The PIC18LF25K40-E/SP powers smart-home controllers such as dimmers, motorized blinds, occupancy sensors and HVAC controllers thanks to its 32 KB memory and Core Independent Peripherals (CIPs). Zero-Cross Detect (ZCD) enables AC line synchronization for phase-controlled TRIAC dimming without external zero-cross circuits; CWG generates complementary MOSFET drive for H-bridge blinds or blinds motors. Hardware Windowed Watchdog (WWDT) keeps the firmware safe against runaway states - mandatory for unattended appliances. The 1.8-3.6V VDD range supports 3.3V-powered battery-operated sensors (door/window sensors, leak detectors) while a companion DC-DC allows AC-powered thermostat skus. Recommended companions include Microchip MIC826 voltage supervisor, MCP1700 LDO regulator, and TPL9202 zero-cross TRIAC driver.

⚡

Motor Control & PWM Driver Hub

The PIC18LF25K40-E/SP serves as the central PWM and timer hub for small brushed-DC, BLDC and stepper motor control modules thanks to its dedicated 4 CCP, 4 PWM, 1 CWG and Hardware Limit Timer (HLT). HLT automatically terminates PWM in hardware on overcurrent or over-temperature events without CPU intervention - critical for safety-critical motor drive. CWG generates synchronized complementary signals for half-bridge MOSFET gate drivers eliminating deadtime controller ICs. The 10-bit ADC samples motor current through shunt resistors via on-chip comparators implementing cycle-by-cycle current limiting. For battery-powered 24V robotic platforms the 1.8-3.6V LF range permits direct MCU supply from a buck converter. Recommended companions include Microchip TC4427 gate driver, ACS712 current sensor and L6234 motor driver.

📱

Consumer Electronics Handheld Devices

The PIC18LF25K40-E/SP fits handheld consumer products such as remote controls, fitness trackers, e-cigarettes and educational kits thanks to its nanoWatt XLP sleep current, compact 28-SPDIP footprint, and 2 KB SRAM sufficient for small user interfaces. The 10-bit ADC reads battery state-of-charge, button matrix via resistive ladder, and analog joystick inputs; the 5-bit DAC drives piezo buzzers for alerts or simple waveforms. CRC/SCAN prevents accidental firmware lockup - important for fitness bands that see long continuous use. The PIC XLP 18K series delivers typical deep-sleep currents measured in nanoamps allowing 6-month coin-cell operation in a pedometer or BLE beacon. Recommended companions include MCP1640 boost regulator, RN4871 Bluetooth module and MCP73831 Li-ion charger.

🔧

Educational & Hobby Electronics

The PIC18LF25K40-E/SP is widely used in university microcontroller courses, hobbyist electronics and DIY maker kits thanks to its through-hole 28-SPDIP package that fits breadboards and IC sockets without soldering. Its generous 32 KB Flash comfortably holds the MPLAB Xpress Code Examples and Arduino-style tutorials while 2 KB SRAM supports FreeRTOS or TinyOS teaching ports. The on-chip 10-bit ADC, PWM and comparator peripherals expose students to real mixed-signal embedded design without external ICs. The PICkit 4 and PICkit 5 in-circuit programmers and debuggers integrate seamlessly via ICSP pins RA6/RA7 for stepwise debugging. PIC18(L)F25K40 is also the MCU on the Curiosity HPC development board so the same code ports directly to PCB designs. Recommended companions include PICkit 5 programmer, MPLAB Snap debug tool, and a 28-pin narrow DIP socket.

Recommended Products Summary

MCP9808T-E/MS High-accuracy I2C temperature sensor for cold-chain IoT nodes Used in: Battery-Powered IoT Sensor Node MCP16252T-I/CH Synchronous boost converter to step coin-cell up to 3.3V rail Used in: Battery-Powered IoT Sensor Node MRF24WN0MA-I/RM Wi-Fi module for IoT cloud connectivity Used in: Battery-Powered IoT Sensor Node PIC18LF25K40-E/SP Microchip Technology Used in: Battery-Powered IoT Sensor Node MCP6024-E/SL Quad op-amp for 4-20 mA signal conditioning Used in: Industrial Analog Monitoring & Control MCP2551-I/SN CAN bus transceiver for industrial networks Used in: Industrial Analog Monitoring & Control MCP4822-E/SN External 12-bit DAC for higher-resolution analog outputs Used in: Industrial Analog Monitoring & Control MCP1700T3302E/TT Low-quiescent 3.3V LDO for AC-power thermostats Used in: Home Automation & Smart Home Devices MIC826MY6GDVQ6T Voltage supervisor for safe MCU reset Used in: Home Automation & Smart Home Devices TPL9202 Zero-cross TRIAC driver for AC dimmer Used in: Home Automation & Smart Home Devices TC4427COA 1.5A MOSFET gate driver for half-bridge Used in: Motor Control & PWM Driver Hub ACS712ELCTR-20A-T Hall-effect current sensor for motor monitoring Used in: Motor Control & PWM Driver Hub L6234PD013TR DMOS three-phase BLDC motor driver Used in: Motor Control & PWM Driver Hub MCP1640T-I/CH Synchronous boost regulator for coin-cell to 3.3V conversion Used in: Consumer Electronics Handheld Devices RN4871-VBMAE233A Bluetooth 5.0 Low Energy module for connectivity Used in: Consumer Electronics Handheld Devices MCP73831T-2ACI/OT Single-cell Li-ion/Li-Po charge controller Used in: Consumer Electronics Handheld Devices PG164150 PICkit 5 in-circuit debugger/programmer Used in: Educational & Hobby Electronics AC002021 MPLAB Snap low-cost debug tool Used in: Educational & Hobby Electronics DM164136 Curiosity HPC development board Used in: Educational & Hobby Electronics
What is the flash memory size of PIC18LF25K40-E/SP?
The PIC18LF25K40-E/SP integrates 32 KB of on-chip program Flash, organized as 16K x 16 instruction words. This matches the manufacturer product page that lists '32KB (16K x 16) FLASH' for the 28-SPDIP SKU. Combined with 2 KB SRAM and 256 B EEPROM, it suits mid-sized embedded control firmware with moderate RAM and persistent calibration needs.
What is the operating voltage of PIC18LF25K40-E/SP?
The PIC18LF25K40 operates from 1.8 V to 3.6 V on VDD. The 'LF' suffix designates the low-voltage variant; for 5V rails use the PIC18F25K40-I/SP sibling. According to the Microchip PIC18(L)F25K40 datasheet, the wide operating range supports 3.3V systems, single-cell Li-ion packs, and battery-backed designs where voltage dips during transmit.
Is the PIC18LF25K40-E/SP pin-compatible with PIC18F25K40?
Yes. Microchip's portability guidance explicitly states that parts sharing the base name 'PIC18F25K40 / PIC18LF25K40' use the same silicon die; only the operating voltage range and temperature grade differ. A 28-SPDIP PIC18LF25K40-E/SP footprint accepts PIC18F25K40-I/SP (4.0-5.5V) firmware-compatible drop-in replacement; verify VDD before swap.
Where to buy PIC18LF25K40-E/SP at the best price?
DigiKey stocks the PIC18LF25K40-E/SP with 28-SPDIP through-hole tubes, currently around $3.15 each at qty 1 with step-down pricing toward $2.00 at 1000 units as of 2026-09-28. Mouser and Hotenda also list inventory; for quotes above 5k units, contact Microchip direct or authorized distributors for OEM pricing tiers and lead time.
What is the lead time for PIC18LF25K40-E/SP?
Distributor stock of PIC18LF25K40-E/SP is currently high with same-day shipping available on qty 1 orders per DigiKey. As of 2026-09-28 the lifecycle status is active and Microchip continues to ship in tube packaging; for 100k+ annual volume negotiate 26-week production forecasts directly with Microchip.
PIC18LF25K40-E/SP vs PIC18F25K40-I/SP - which should I use?
Choose PIC18LF25K40-E/SP for 1.8-3.6V designs that require nanoWatt XLP sleep current. Choose PIC18F25K40-I/SP for 4.0-5.5V or 5V-tolerant industrial systems and automotive modules where higher VDD tolerance and extended temperature matters. Both share identical 28-SPDIP pinout, Flash, SRAM and EEPROM so the choice is a VDD and power-budget decision.
Can I drop-in PIC18LF24K40 as a replacement for PIC18LF25K40-E/SP?
Yes - PIC18LF24K40 in 28-SPDIP is a drop-in same-package alternative to PIC18LF25K40-E/SP but with 16 KB Flash / 1 KB SRAM / 256 B EEPROM versus 32 KB / 2 KB / 256 B. Parametric match is 80% with the only key difference being halved Flash and SRAM; firmware designed for 25K40 must fit within the smaller memory map of the 24K40.
What peripherals are integrated in PIC18LF25K40-E/SP?
The PIC18LF25K40-E/SP integrates 10-bit ADC up to 35 channels, 5-bit DAC, two comparators, four CCP, four PWM, one CWG (Complementary Waveform Generator), Hardware Limit Timer (HLT), Windowed Watchdog (WWDT), CRC/Memory Scan, Zero-Cross Detect (ZCD), and Peripheral Pin Select (PPS). Core Independent Peripherals can chain without CPU wake-up.
Where to download PIC18LF25K40-E/SP datasheet PDF?
The official datasheet for the PIC18(L)F25K40 family can be downloaded as PDF from the Microchip product page at https://www.microchip.com/en-us/product/PIC18LF25K40 or directly from the document server DS40001883. The 28-SPDIP pinout, DC electrical characteristics and peripheral configuration registers are in section 36 onwards.
Where to find PIC18LF25K40-E/SP pinout for 28-SPDIP?
The 28-SPDIP pinout for PIC18LF25K40-E/SP is illustrated in the package drawings section of the datasheet DS40001883. Pin 1 is the top-left position (counter-clockwise) with VDD on pin 11 and 32, VSS on pin 12 and 31, MCLR on pin 1, and RA0-RA7, RC0-RC7, and RB0-RB7 spread across the remaining pins.
What is the operating temperature range of PIC18LF25K40-E/SP?
The PIC18LF25K40-E/SP supports an extended operating temperature range of -40 C to +125 C as indicated by the 'E' suffix in the ordering code. Industrial grade 'I' parts are -40 C to +85 C; the E variant suits outdoor, automotive cabin, and high-temperature industrial enclosures where the IC must operate reliably beyond 85 C ambient.
Is PIC18LF25K40-E/SP suitable for battery powered IoT?
Yes - the PIC18LF25K40-E/SP is purpose-built for battery-powered IoT thanks to XLP nanoWatt technology, deep-sleep currents down to the nanoamp level, and LF 1.8-3.6V operation compatible with single-cell Li-ion or 2x AA alkaline packs. The PIC XLP 18K series typically achieves multi-year coin-cell life in duty-cycled sensor nodes.
Is the PIC18LF25K40-E/SP RoHS compliant?
Yes. According to the Microchip product page, the PIC18LF25K40-E/SP is RoHS compliant and lead-free; the SPDIP package is fully through-hole compatible and the lead finish is matte-tin RoHS compliant. REACH and conflict-mineral CMRT declarations are available on the Microchip compliance portal under the part number.
What are the key specifications of PIC18LF25K40-E/SP that engineers should know?
The PIC18LF25K40-E/SP is a 28-SPDIP 8-bit PIC microcontroller with 32 KB Flash, 2 KB SRAM, 256 B EEPROM, 64 MHz / 16 MIPS CPU, 1.8-3.6V VDD, 25 I/O pins, 10-bit ADC up to 35 channels, 5-bit DAC, 2 comparators, 4 CCP/PWM, CWG, HLT, WWDT, ZCD, CRC/SCAN, and PPS - all packaged in a 28-SPDIP through-hole IC rated -40 C to +125 C.

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

Selection Guide

Choose PIC18LF25K40-E/SP when you need a 32 KB Flash / 2 KB SRAM 8-bit PIC MCU in 28-SPDIP through-hole package operating from 1.8-3.6V VDD with XLP nanoWatt sleep currents. The 'LF' prefix is mandatory for battery-powered designs; the 'E' temperature suffix extends operation to +125 C ambient for industrial enclosures. If your design runs from 5V, switch to the PIC18F25K40-I/SP (4.0-5.5V, -40 to +85 C). If you need only 16 KB Flash / 1 KB SRAM at lower cost, consider the PIC18LF24K40-E/SP drop-in with halved memory. For surface-mount production, use the PIC18LF25K40-I/SS or PIC18LF25K40-I/ML SSOP/QFN siblings.

Comparison with Alternatives

Parameter This Product PIC18F25K40-I/SP PIC18F25K40-E/SP PIC18LF24K40-I/SP PIC18LF24K40-E/SP PIC18LF24K22-I/SP
Package 28-SPDIP 28-SPDIP - same 28-SPDIP - same 28-SPDIP - same 28-SPDIP - same 28-SPDIP - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Operating Voltage 1.8-3.6 V (LF) 4.0-5.5 V (F) 4.0-5.5 V (F) 1.8-3.6 V (LF) 1.8-3.6 V (LF) 1.8-3.6 V (LF)
Flash Memory 32 KB 32 KB 32 KB 16 KB 16 KB 16 KB
SRAM 2 KB 2 KB 2 KB 1 KB 1 KB 768 B
EEPROM 256 B 256 B 256 B 256 B 256 B 256 B
Temperature Grade E (-40 to +125 C) I (-40 to +85 C) E (-40 to +125 C) I (-40 to +85 C) E (-40 to +125 C) I (-40 to +85 C)
Core / CPU PIC18 8-bit, 64 MHz / 16 MIPS PIC18 8-bit, 64 MHz / 16 MIPS PIC18 8-bit, 64 MHz / 16 MIPS PIC18 8-bit, 64 MHz / 16 MIPS PIC18 8-bit, 64 MHz / 16 MIPS PIC18 8-bit, 64 MHz / 16 MIPS
Unit Price (qty 1, USD) 3.15 3.20 3.30 2.85 2.95 2.60

Key Differentiators

  • XLP nanoWatt technology with LF 1.8-3.6V range (vs PIC18F25K40-I/SP (F variant, 4.0-5.5V))
  • Extended -40 to +125 C temperature grade (vs PIC18LF25K40-I/SP (industrial I grade, -40 to +85 C))
  • 28-SPDIP through-hole package for hand-soldered prototypes (vs PIC18LF25K40-I/SS (28-SSOP surface mount))

Design Notes

The PIC18LF25K40-E/SP LF variant operates from 1.8-3.6V VDD only. If your system supplies 5V, you must use the PIC18F25K40-I/SP (4.0-5.5V) variant. For LF designs drawing from a 3.3V LDO, ensure the LDO can supply peak transient currents during Flash erase/write operations - typical peak is 30-50 mA per bank during page write, much higher than the 5-15 mA runtime average. Add 100 nF + 10 uF ceramic decoupling at pins 11 and 21 (both VDD pairs), and a ferrite bead if switching noise is present on the rail.

Estimated: The 28-SPDIP package has a theta_JA of approximately 60 C/W in still air (typical for narrow plastic DIP), versus 31.4 C/W for VQFN-20 surface mount. At full 64 MHz CPU and peripheral activity, internal core dissipation is ~150 mW which yields a 9 C temperature rise above ambient. The SPDIP package is preferred for hand-soldered and educational designs where thermal performance is not the limiting factor; for thermally constrained products migrate to the 28-SOIC or 28-VQFN package siblings (PIC18LF25K40-I/SS or PIC18LF25K40-I/ML) to cut theta_JA in half.

1) Never leave MCLR (pin 1) floating - tie to VDD through a 10 kohm pull-up or to a supervisory reset IC. 2) PPS (Peripheral Pin Select) must be unlocked (PPSLOCK = 0x55, 0xAA sequence) before remapping UART/SPI/I2C, otherwise writes are silently ignored. 3) ICSP pins RB6/RB7 are shared with PORTB - the programmer drives these during debug; in-circuit isolation resistors may be needed if the application drives RB6/RB7 strongly. 4) The LF variant does NOT tolerate 5V on any I/O - over-voltage latches the I/O cell. Use the F variant for 5V-tolerant designs.

Place a 100 nF X7R 0402 (or 0603) ceramic decoupling capacitor within 5 mm of each VDD pin (11 and 21) and a bulk 10 uF X5R capacitor on the same supply net. The 28-SPDIP land pattern is 7.62 mm row pitch - use a DIP socket or wave-solder compatible pad. For microcontroller signal integrity, route the 64 MHz external crystal (if used instead of internal HFINTOSC) within 10 mm of OSC1/OSC2 with short symmetric ground return; or use the internal 64 MHz HFINTOSC to eliminate the crystal entirely for compact designs.

Compliance Information

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

RoHS compliant per Microchip product page; lead-free matte-tin finish on SPDIP leads. AEC-Q100 qualification not applicable to E temperature grade SPDIP; automotive -FCCC- grade F variants (PIC18F25K40-E/SO Q1 etc.) available separately for AEC-Q100 designs. Halogen-free status not explicitly listed in the verified web data.

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

Related Searches

PIC18LF25K40-E/SP PIC18LF25K40 datasheet Microchip PIC18LF25K40 PIC 8-bit 32KB flash 28-SPDIP PIC18LF25K40 DIP microcontroller PIC18LF25K40 low power XLP IoT PIC18LF25K40 vs PIC18F25K40 PIC18LF25K40-E/SP drop-in replacement buy PIC18LF25K40-E/SP PIC18LF25K40 nanoWatt sleep current PIC18LF25K40-E/SP pinout 28 SPDIP PIC18 battery powered sensor node

Related Components & Terms

Microchip Technology PIC18LF25K40 PIC18LF25K40-E/SP PIC18F25K40 PIC18LF24K40 PIC18LF24K22 PIC18LF23K22 PIC XLP 18K 8-bit microcontroller PIC18 Harvard RISC nanoWatt XLP Zero-Cross Detect Complementary Waveform Generator Windowed Watchdog Timer Peripheral Pin Select 28-SPDIP Skinny Plastic DIP 1.8V to 3.6V RoHS REACH PICkit programmer MPLAB X IDE
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