Microchip Technology

PIC18LF25K42-I/SO - 32KB Flash 8-bit XLP MCU | Microchip

MPN: PIC18LF25K42-I/SO ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 3.6 V (LF variant) Vdss 28-pin SOIC (0.295 inch / 7.50 mm width) Package 64 MHz (16 MIPS) Speed 32 KB (16K x 16) Memory
From $1.62 USD / Unit
MOQ: 1 |
Price updated: 2026-09-28
Volume Pricing
Qty Unit Price Extended
1 $2.85 $2.85
10 $2.62 $26.20
100 $2.18 $218.00
500 $1.85 $925.00
1,000 $1.62 $1,620.00
ℹ️ All prices are in USD

PIC18LF25K42-I/SO Overview

The Microchip Technology PIC18LF25K42-I/SO is a low-power, high-performance 8-bit PIC18 microcontroller featuring 32KB Flash, 2KB SRAM, and 256B EEPROM, housed in a 28-pin SOIC (0.295 inch / 7.50mm width) package. It operates at up to 64MHz with the PIC18 LF (low-voltage) variant rated for 1.8V to 3.6V operation, making it a drop-in member of the PIC18(L)FxxK42 family for energy-constrained designs.

A microcontroller (MCU) is an integrated circuit that combines a CPU core, program memory (Flash), data memory (RAM), and a rich set of peripherals on a single die. The PIC18 family is Microchip's mainstream 8-bit RISC architecture, sitting below the PIC24/dsPIC and above the PIC16 in the 8-bit hierarchy. Within Microchip's product taxonomy, PIC18 -> PIC18FxxK42 -> PIC18LF25K42 belongs to the eXtreme Low Power (XLP) family, which targets battery-powered and energy-harvesting applications where nanoWatt sleep currents are critical. The K42 generation also adds a 12-bit ADC with Computation (ADC2) and Direct Memory Access (DMA), capabilities typically reserved for higher-tier MCUs.

Key differentiating features include 12-bit ADC2 with Capacitive Voltage Divider (CVD) support for touch sensing, an integrated 5-bit DAC, three op-amps, two comparators, DMA controller, vectored interrupt controller with fixed latency, MAP (Memory Address Partitioning), and DIA (Device Information Area) for unique ID and calibration data. The device also integrates Core Independent Peripherals (CIPs) such as Configurable Logic Cells (CLC), Complementary Waveform Generator (CWG), and Numerically Controlled Oscillator (NCO) that offload tasks from the CPU.

The LF silicon uses an enhanced Harvard architecture with a 16-bit instruction word and 8-bit data path, achieving 16 MIPS at 64MHz. The wide array of peripherals and tiny standby currents (as low as nanoamps in deep sleep with RTC running) make this part suitable for IoT sensor nodes, touch user interfaces, and portable medical devices where both analog accuracy and battery life matter.

Typical applications include IoT sensor nodes, consumer appliances with touch interfaces, battery-powered medical monitors, automotive body electronics (sensor interfacing), home automation controllers, and low-power wireless sensor hubs. The combination of a 12-bit ADC2 and CIPs enables sophisticated signal conditioning without an external analog front-end.

When designing with the PIC18LF25K42-I/SO, observe the LF (low-voltage) silicon's maximum VDD of 3.6V. The 'I' suffix denotes the industrial temperature range of -40C to +85C. Designers familiar with the PIC18F25K42-I/SO can use the LF variant interchangeably when operating from a 3.3V (or below) rail; the LF parts draw lower sleep current but require the regulated supply.

This page synthesizes Microchip datasheet specifications, distributor pricing, same-brand drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone.

Drop-in alternatives for PIC18LF25K42-I/SO — 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 PIC18LF25K42-I/SO (same form factor and footprint) — differing in Package, Core Architecture, ADC, Operating Temperature, Program Memory (Flash).

Microchip Technology
Package: 28-pin SOIC (SO)
Core Architecture: 8-bit PIC enhanced Harvard
ADC: 12-bit ADC with Computation (ADCC)
Microchip Technology
Package: 28-pin SOIC (SO)
ADC: 12-bit ADC2 with computation, up to 24 channels
Operating Temperature: -40 C to +85 C (Industrial -I)
Microchip Technology
Package: 28-pin SOIC (SO)
Core Architecture: PIC18 8-bit RISC
ADC: 12-bit, up to 24 channels
Microchip Technology
Package: 28-pin SOIC (SO, 7.5 mil)
Operating Temperature: -40C to +125C (E grade)
Program Memory (Flash): 32 KB
Microchip Technology
Package: 28-pin SOIC (0.295", 7.50 mm width)
Core Architecture: PIC18 8-bit RISC (Harvard)
ADC: 12-bit ADC2 with Computation, up to 24 channels
Microchip Technology
Package: 28-pin SOIC (SO), wide-body 7.50 mm
Core Architecture: PIC 8-bit RISC
ADC: 12-bit ADC2 (multiple channels)
Microchip Technology
Package: 28-pin SPDIP (SP)
Core Architecture: PIC18 8-bit
ADC: 12-bit ADC2 (multiple channels)

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

PIC18F25K42-I/SO

✅ Drop-In
Microchip Technology
📦 28-pin SOIC (7.50 mm)
PIC18FxxK42 · 8-bit PIC enhanced Harvard · 32 KB · 2 KB · 256 B · 64 MHz (16 MIPS or 25 MIPS instruction throughput per family spec) · 1.8 V to 5.5 V · 28-pin SOIC (SO)

✓ In Stock

$1.82 / Unit

View Datasheet →

PIC18LF25K42-I/SP

✅ Drop-In
📦 28-pin SPDIP
same die in 28-pin SPDIP (through-hole) package; pin-compatible but different footprint

📋 Reference alternative (not in catalog)

PIC18LF25K40-I/SO

✅ Drop-In
Microchip Technology
📦 28-pin SOIC (7.50 mm)
PIC18 8-bit RISC · 64 MHz (16 MIPS) · 32 KB · 2 KB · 256 B · 1.8 V to 3.6 V (LF variant) · Up to 25 · 12-bit, up to 24 channels

✓ In Stock

$1.65 / Unit

View Datasheet →

PIC18F24K42-I/SO

✅ Drop-In
📦 28-pin SOIC (7.50 mm)
16 KB Flash (-50%); same F variant 5V silicon; pin-to-pin compatible

📋 Reference alternative (not in catalog)

PIC18LF25K42-E/SO

✅ Drop-In
Microchip Technology
📦 28-pin SOIC (7.50 mm)
PIC18 (8-bit) · 32 KB · 2 KB · 256 B · 64 MHz · 1.8 V to 3.6 V · 25 · 12-bit, up to 24 channels

✓ In Stock

$1.76 / Unit

View Datasheet →

PIC18LF25K42-I/SO Maximum Ratings & Electrical Characteristics

Core Architecture PIC18 8-bit RISC (enhanced Harvard)
Instruction Set 16-bit instructions, 8-bit data path
Program Memory (Flash) 32 KB (16K x 16)
Data Memory (SRAM) 2 KB
EEPROM 256 B
Maximum CPU Speed 64 MHz (16 MIPS)
Operating Voltage (VDD) 1.8 V to 3.6 V (LF variant)
ADC 12-bit ADC2 with Computation (CVD touch support)
DAC 5-bit DAC
Comparators 2
Op-Amps 3
DMA Controller Yes
Vectored Interrupts Yes (fixed latency)
Package 28-pin SOIC (0.295 inch / 7.50 mm width)
Operating Temperature -40C to +85C (Industrial, I suffix)
Mounting Type Surface Mount
MSL Level 1
RoHS Status Compliant
Lead-Free Yes
Family PIC18FxxK42 / PIC18LFxxK42 XLP

PIC18LF25K42-I/SO Pin Configuration

SOIC-28 Package Pinout Diagram SOIC-28W 28-pin, 7.5x17.9mm, P1.27mm, JEDEC MS-013. 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 SOIC-28
Pin 1 MCLR/RE3 — Master Clear (reset) input / RE3 I/O
Pin 2 RA0 — PORTA bit 0 / analog input AN0
Pin 3 RA1 — PORTA bit 1 / analog input AN1
Pin 4 RA2 — PORTA bit 2 / analog input AN2 / DAC output
Pin 5 RA3 — PORTA bit 3 / analog input AN3
Pin 6 RA4 — PORTA bit 4 / analog input AN4
Pin 7 RA5 — PORTA bit 5 / analog input AN5
Pin 8 VSS — Ground reference
Pin 9 RA7/OSC1 — PORTA bit 7 / crystal oscillator input
Pin 10 RA6/OSC2 — PORTA bit 6 / crystal oscillator output
Pin 11 RC0 — PORTC bit 0
Pin 12 RC1 — PORTC bit 1
Pin 13 RC2 — PORTC bit 2
Pin 14 RC3 — PORTC bit 3 / SCL1 (I2C)
Pin 15 RC4 — PORTC bit 4 / SDA1 (I2C)
Pin 16 RC5 — PORTC bit 5
Pin 17 RC6 — PORTC bit 6 / UART TX
Pin 18 RC7 — PORTC bit 7 / UART RX
Pin 19 VSS — Ground reference
Pin 20 VDD — Positive supply voltage (1.8V to 3.6V)
Pin 21 RB0 — PORTB bit 0 / analog input AN12
Pin 22 RB1 — PORTB bit 1 / analog input AN10
Pin 23 RB2 — PORTB bit 2 / analog input AN8
Pin 24 RB3 — PORTB bit 3 / analog input AN9
Pin 25 RB4 — PORTB bit 4
Pin 26 RB5 — PORTB bit 5
Pin 27 RB6/PGC — PORTB bit 6 / ICSP clock (programming/debug)
Pin 28 RB7/PGD — PORTB bit 7 / ICSP data (programming/debug)

Typical Applications

PIC18LF25K42-I/SO is suitable for 7 applications: Battery-Powered IoT Sensor Node, Capacitive Touch User Interface, Portable Medical Monitoring Device, Home Automation and Smart Appliance Controller, Automotive Body Electronics Sensor Interface, Industrial Process Sensor Hub, LED Lighting and Signage Controller.

🧩

Battery-Powered IoT Sensor Node

The PIC18LF25K42-I/SO is a strong fit for battery-powered IoT sensor nodes thanks to its nanoWatt XLP deep sleep current and 1.8V to 3.6V supply range. Its 12-bit ADC2 with CVD, 3 integrated op-amps, and 5-bit DAC support direct interface to analog sensor front-ends (temperature, pressure, gas) without external signal conditioning. The DMA controller moves ADC samples into RAM while the CPU stays asleep, extending battery life on 2xAA or CR2032 cells. The 32 KB Flash and 2 KB SRAM comfortably hold a LoRaWAN/MQTT-SN stack plus application code.

📱

Capacitive Touch User Interface

The PIC18LF25K42-I/SO excels in capacitive touch UI applications because its 12-bit ADC2 supports Capacitive Voltage Divider (CVD) techniques with hardware averaging and threshold detection. According to Microchip's mTouch documentation, the CVD engine delivers robust touch performance even in wet or noisy environments. The integrated Core Independent Peripherals (CLC, CWG) can drive LEDs or haptics in response to touch events without CPU wake-up. With 32 KB Flash, designers can implement multi-touch sliders, buttons, and proximity wake-up within a single chip.

💊

Portable Medical Monitoring Device

The PIC18LF25K42-I/SO fits portable medical devices such as pulse oximeters, glucose meters, and temperature patches where low power and analog accuracy are both required. Its 12-bit ADC2 with hardware oversampling captures photodiode or thermistor signals with minimal noise, while the 3 op-amps implement transimpedance amplifiers for optical sensors. The vectored interrupt controller with fixed latency ensures deterministic response times for safety-critical measurements. XLP sleep currents extend battery life to weeks or months for continuous-wear devices.

🏭

Home Automation and Smart Appliance Controller

The PIC18LF25K42-I/SO is well-suited to home automation controllers and smart appliance front panels due to its mix of analog peripherals, communication interfaces, and robust peripheral set. The K42 core provides UART, SPI, I2C (with SMBus support) for connectivity to Wi-Fi/BLE modules, sensors, and displays. The CWG and PWM peripherals can directly drive LED indicators, motor bridges, or TRIAC control for AC loads. The 28-pin SOIC package is well-priced for high-volume consumer appliances and supports hand-prototyping as well as SMT reflow.

🚗

Automotive Body Electronics Sensor Interface

The PIC18LF25K42-I/SO is appropriate for automotive body electronics sensor interface modules (interior lighting, seat-position sensors, climate controls) when paired with the E variant for -40C to +125C operation. Its 12-bit ADC2 and integrated op-amps provide direct interface to resistive and analog sensors used throughout vehicle body electronics. The CAN-ready peripheral set (ECAN module) simplifies integration with vehicle networks, while the LF silicon's low sleep current is valuable for always-on body modules that must remain responsive without draining the battery.

🏭

Industrial Process Sensor Hub

The PIC18LF25K42-I/SO serves as an industrial process sensor hub where multiple analog and digital sensors are aggregated and reported over a serial fieldbus. Its 12-bit ADC2 with DMA can sample multiple channels continuously without CPU overhead, while the 32 KB Flash supports MODBUS, IO-Link, or proprietary protocol stacks. The industrial -40C to +85C temperature range suits factory floor environments, and the SOIC package is field-repairable. The hardware CLC and PWM peripherals can drive local indicators or actuators directly.

💡

LED Lighting and Signage Controller

The PIC18LF25K42-I/SO functions as a smart LED controller for architectural lighting, signage, or DMX-style fixtures. Its Complementary Waveform Generator (CWG) and PWM peripherals can drive MOSFET bridges for high-current LED strings with precise dimming and dead-time control. The DMA controller offloads repetitive LED pattern updates from the CPU, freeing cycles for communication stacks such as DMX512 or DALI. The 5-bit DAC and op-amps support closed-loop current sensing for accurate brightness control.

Recommended Products Summary

RN2483 LoRaWAN transceiver for low-power wireless uplink Used in: Battery-Powered IoT Sensor Node MCP9808 High-accuracy I2C temperature sensor companion Used in: Battery-Powered IoT Sensor Node, Portable Medical Monitoring Device MCP1700 3.3V LDO regulator for battery applications Used in: Battery-Powered IoT Sensor Node MCP6L92 Op-amp for active guard/shield driver around touch sensors Used in: Capacitive Touch User Interface AT42QT1010 Discrete touch button alternative if simpler approach needed Used in: Capacitive Touch User Interface LM2755 LED driver for backlight feedback on touch events Used in: Capacitive Touch User Interface MCP6L02 Low-noise op-amp for sensor signal conditioning Used in: Portable Medical Monitoring Device MAX30102 Pulse oximeter / heart-rate sensor module Used in: Portable Medical Monitoring Device RN4871 Bluetooth module for smart-home wireless link Used in: Home Automation and Smart Appliance Controller MCP23S17 SPI GPIO expander for additional I/O pins Used in: Home Automation and Smart Appliance Controller MCP2562 CAN transceiver for appliance network backbone Used in: Home Automation and Smart Appliance Controller MCP2561 CAN transceiver for vehicle network Used in: Automotive Body Electronics Sensor Interface MCP9700 Automotive-grade temperature sensor Used in: Automotive Body Electronics Sensor Interface MCP2515 Standalone CAN controller if separate bus interface required Used in: Automotive Body Electronics Sensor Interface, Industrial Process Sensor Hub MAX31865 RTD-to-digital converter for temperature sensors Used in: Industrial Process Sensor Hub MCP4822 12-bit DAC for analog control outputs Used in: Industrial Process Sensor Hub MCP16502 Multi-rail DC-DC for LED driver supply Used in: LED Lighting and Signage Controller MCP4725 External 12-bit DAC for high-resolution dimming Used in: LED Lighting and Signage Controller FAN6300 PFC + flyback controller for AC-DC LED ballast Used in: LED Lighting and Signage Controller
What is the flash memory size of the PIC18LF25K42-I/SO?
The PIC18LF25K42-I/SO integrates 32 KB of Flash program memory organized as 16K x 16, plus 2 KB of SRAM and 256 B of EEPROM. According to the Microchip PIC18(L)F24/25K42 datasheet, this memory configuration matches the larger K42 family members while keeping the LF silicon at a 1.8V to 3.6V supply range. The DMA controller can move data between peripherals and RAM without CPU intervention, which preserves code space for application logic.
What is the maximum operating voltage and CPU speed for PIC18LF25K42-I/SO?
The PIC18LF25K42-I/SO operates from 1.8V to 3.6V (LF low-voltage silicon) and runs at up to 64MHz, delivering 16 MIPS. The 'F' PIC18F25K42 variant is the higher-voltage counterpart at 2.3V to 5.5V. According to the Microchip datasheet, the LF parts draw lower sleep current for nanoWatt XLP applications; designers choosing this part must respect the 3.6V VDD maximum.
Where can I buy the PIC18LF25K42-I/SO and what is the lead time?
The PIC18LF25K42-I/SO is in stock at major authorized distributors including Mouser, DigiKey, and Newark as of 2026-09-28, with typical stock quantities of 1,000+ units and same-day shipping on orders placed before cutoff. Pricing as of 2026-09-28 starts at approximately $2.85 per unit at qty-1, dropping to $1.62 at 1,000-piece reels. Direct factory orders via microchipDIRECT can also be quoted for larger volumes.
Is the PIC18LF25K42-I/SO suitable for battery-powered IoT sensor nodes?
Yes, the PIC18LF25K42-I/SO is designed for low-power applications thanks to the eXtreme Low Power (XLP) technology. According to the Microchip datasheet, the part can achieve nanoamp-level sleep currents in deep sleep with the RTC running, while the integrated 12-bit ADC2 and DMA controller allow duty-cycled sensor reads without waking the CPU. The wide 1.8V to 3.6V supply range also supports 2x AA alkaline, single CR2032, or Li-Ion battery chemistries.
What is the difference between PIC18F25K42-I/SO and PIC18LF25K42-I/SO?
The PIC18F25K42-I/SO is the standard-voltage variant operating from 2.3V to 5.5V, while the PIC18LF25K42-I/SO is the low-voltage variant rated 1.8V to 3.6V. The LF version draws lower sleep current for XLP applications but cannot be used in 5V systems. Both share the same 28-pin SOIC footprint and pinout, making them pin-compatible drop-in replacements when the supply voltage stays within the LF range.
What is the best drop-in replacement for PIC18LF25K42-I/SO?
The best drop-in replacements in the same 28-pin SOIC package include the PIC18F25K42-I/SO (5V variant, pin-compatible), PIC18LF25K40-I/SO (lower Flash, same family), and PIC18F24K42-I/SO (24-pin SOIC if footprint permits). All four parts share the same K42 peripheral set including 12-bit ADC2, DMA, and CLCs. According to Microchip parametric search, these alternatives are listed as same-family drop-in options. For cross-brand alternatives, consult Microchip's Competitor Cross Reference tool.
Does PIC18LF25K42-I/SO support capacitive touch sensing?
Yes, the PIC18LF25K42-I/SO integrates a 12-bit ADC2 (ADC with Computation) module that supports Capacitive Voltage Divider (CVD) techniques for advanced touch sensing. According to the Microchip datasheet, this enables robust touch buttons, sliders, and proximity sensors with automatic averaging, filtering, oversampling, and threshold comparison - all handled in hardware without CPU loading. The mTouch sensing framework is supported by Microchip's MCC code configurator.
What package does PIC18LF25K42-I/SO use and how many pins?
The PIC18LF25K42-I/SO uses a 28-pin SOIC (Small Outline Integrated Circuit) package with 0.295 inch (7.50 mm) body width. The package is a wide-body SOIC ('SO' suffix) suitable for hand-soldering and reflow. Pin pitch is 1.27 mm (50 mil). The same die is also available in 28-pin SPDIP, 28-pin SSOP, 28-pin QFN, 40-pin and 48-pin variants across the PIC18(L)F24/25/26K42 family.
Where can I download the PIC18LF25K42-I/SO datasheet PDF?
The official Microchip datasheet for the PIC18LF25K42-I/SO is available at https://ww1.microchip.com/downloads/en/DeviceDoc/PIC18(L)F24-25K42-Data-Sheet-DS40001982D.pdf (as referenced in Verified Web Data). The datasheet includes electrical characteristics, peripheral configuration, instruction set summary, and package drawings. Microchip also publishes separate 'PIC18FxxK42 Family Silicon Errata' documents that should be reviewed before committing to volume production.
What is the PIC18LF25K42-I/SO pinout?
The PIC18LF25K42-I/SO 28-pin SOIC pinout is: Pin 1 = MCLR/RE3, Pin 2 = RA0, Pin 3 = RA1, Pin 4 = RA2, Pin 5 = RA3, Pin 6 = RA4, Pin 7 = RA5, Pin 8 = VSS (GND), Pin 9 = RA7/OSC1, Pin 10 = RA6/OSC2, Pin 11 = RC0, Pin 12 = RC1, Pin 13 = RC2, Pin 14 = RC3, Pin 15 = RC4, Pin 16 = RC5, Pin 17 = RC6, Pin 18 = RC7, Pin 19 = VSS, Pin 20 = VDD, Pin 21 = RB0, Pin 22 = RB1, Pin 23 = RB2, Pin 24 = RB3, Pin 25 = RB4, Pin 26 = RB5, Pin 27 = RB6/PGC, Pin 28 = RB7/PGD. Refer to the datasheet for full alternate-function assignments.
Can PIC18LF25K42-I/SO be programmed with Microchip MPLAB X IDE?
Yes, the PIC18LF25K42-I/SO is fully supported by Microchip's MPLAB X IDE, MPLAB XC8 compiler, and MCC (MPLAB Code Configurator). According to the Microchip development ecosystem, the device is supported by PICkit programmers and the MPLAB Snap debugger. Code examples, application notes, and the PIC18FxxK42 family support package are available on the Microchip developer help site, including touch sensing libraries for the ADC2/CVD module.
How does PIC18LF25K42-I/SO compare to STM32G030 or ATSAM C20 MCUs?
The PIC18LF25K42-I/SO occupies the 8-bit RISC segment with 32KB Flash, 2KB RAM, and 16 MIPS, while STM32G030 and ATSAM C20 are 32-bit Cortex-M0+ cores with similar Flash/RAM but higher MHz/MIPS. According to Microchip parametric literature, the PIC18 wins on peripheral integration (12-bit ADC2, 3 op-amps, 5-bit DAC, DMA) per dollar and on nanoWatt XLP sleep current; the Cortex-M0+ alternatives win on raw computational throughput and a wider third-party ecosystem. Cross-brand migration requires retooling firmware and toolchain.
What is the RoHS and lead-free compliance of PIC18LF25K42-I/SO?
The PIC18LF25K42-I/SO is RoHS compliant and lead-free (Pb-free) per Microchip product environmental compliance data. The package finish is matte tin (Sn) suitable for lead-free reflow profiles per IPC/JEDEC J-STD-020. Halogen-free status is unknown from verified sources and noted in _validation_note. The part also complies with REACH per Microchip's product compliance statements.
What is the price of PIC18LF25K42-I/SO in 1000-piece quantities?
As of 2026-09-28, the PIC18LF25K42-I/SO is priced at approximately $1.62 per unit at qty-1000 on reel, $1.85 at qty-500, $2.18 at qty-100, $2.62 at qty-10, and $2.85 at qty-1, according to distributor pricing. Volume pricing can be requested directly from Microchip via microchipDIRECT for orders above 10,000 pieces. Pricing is subject to change; verify current quotes on Mouser, DigiKey, or Newark before procurement.
What are the key specifications of PIC18LF25K42-I/SO that engineers should know?
The PIC18LF25K42-I/SO is a 32KB Flash, 2KB SRAM, 256B EEPROM 8-bit PIC18 MCU running at up to 64 MHz (16 MIPS) on a 1.8V to 3.6V supply in a 28-pin SOIC package. It features a 12-bit ADC2 with CVD touch support, 3 op-amps, 2 comparators, 5-bit DAC, DMA, vectored interrupts, and XLP nanoWatt sleep technology. The integrated CIPs (CLC, CWG, NCO, PWM, SMT) offload tasks from the CPU. Industrial temperature range -40C to +85C, RoHS compliant, lead-free, with pricing starting around $2.85 at qty-1 as of 2026-09-28.

Engineering reference data for PIC18LF25K42-I/SO — comparison, design guidance, and compliance information.

Selection Guide

Choose PIC18LF25K42-I/SO when designing a low-voltage (1.8V to 3.6V) battery-powered application that needs 32 KB Flash, 2 KB SRAM, and rich analog peripherals including a 12-bit ADC2 with CVD touch support, three op-amps, two comparators, and a 5-bit DAC. The integrated DMA and XLP nanoWatt technology make this part ideal for energy-constrained IoT and sensor-hub designs. Switch to PIC18F25K42-I/SO if your system runs at 5V or needs the higher-voltage silicon. Switch to PIC18LF25K40-I/SO if 16 KB Flash is sufficient and you want cost savings. Switch to PIC18LF25K42-E/SO for automotive or industrial high-temperature environments. Avoid migrating to 32-bit Cortex-M0+ alternatives unless you need significantly higher MIPS or a wider third-party ecosystem.

Comparison with Alternatives

Parameter This Product PIC18F25K42-I/SO PIC18LF25K42-I/SP PIC18LF25K40-I/SO PIC18F24K42-I/SO PIC18LF25K42-E/SO
Package 28-pin SOIC (7.50 mm) 28-pin SOIC (7.50 mm) - same 28-pin SPDIP (through-hole) 28-pin SOIC (7.50 mm) - same 28-pin SOIC (7.50 mm) - same 28-pin SOIC (7.50 mm) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Core PIC18 8-bit 64 MHz PIC18 8-bit 64 MHz PIC18 8-bit 64 MHz PIC18 8-bit 64 MHz PIC18 8-bit 64 MHz PIC18 8-bit 64 MHz
Flash / RAM / EEPROM 32 KB / 2 KB / 256 B 32 KB / 2 KB / 256 B 32 KB / 2 KB / 256 B 16 KB / 2 KB / 256 B 16 KB / 2 KB / 256 B 32 KB / 2 KB / 256 B
Operating Voltage 1.8 V to 3.6 V (LF) 2.3 V to 5.5 V (F) 1.8 V to 3.6 V (LF) 1.8 V to 3.6 V (LF) 2.3 V to 5.5 V (F) 1.8 V to 3.6 V (LF)
Operating Temperature -40C to +85C (Industrial) -40C to +85C (Industrial) -40C to +85C (Industrial) -40C to +85C (Industrial) -40C to +85C (Industrial) -40C to +125C (Extended)
ADC 12-bit ADC2 (CVD) 12-bit ADC2 (CVD) 12-bit ADC2 (CVD) 12-bit ADC2 (CVD) 12-bit ADC2 (CVD) 12-bit ADC2 (CVD)
DMA Controller Yes Yes Yes Yes Yes Yes
Pin Count 28 28 28 28 28 28

Key Differentiators

  • Low-voltage LF silicon with nanoWatt XLP deep sleep (vs PIC18F25K42-I/SO)
  • 12-bit ADC2 with CVD and DMA for autonomous sensing (vs PIC18LF25K40-I/SO)
  • Extended temperature grade variant available for automotive (vs PIC18LF25K42-E/SO)
  • Integrated op-amps and comparators reduce BOM (vs Lower-tier PIC18FxxK20 series)

Design Notes

The LF silicon of PIC18LF25K42-I/SO must NOT be powered above 3.6V on VDD. Use an LDO such as MCP1700 or TPS78233 to derive 3.3V from a higher source. Place a 10uF bulk capacitor close to VDD pin and a 100nF decoupling cap within 3mm. According to Microchip datasheet, observe VDD rise time between 0.05V/ms and 50V/ms to ensure proper Power-on Reset (POR) behavior; slower or faster ramps may cause unreliable startup.

Route the ICSP pins (RB6/PGC and RB7/PGD) to a 6-pin header with isolation resistors (typically 4.7k) to support in-circuit programming without interfering with the application circuit. Place the crystal or resonator as close as possible to OSC1/OSC2 (pins 9/10) and guard both traces with a ground pour. The 28-pin SOIC has 1.27mm pin pitch which simplifies hand-soldering; ensure the SOIC pads include extended copper length for thermal relief during soldering.

For capacitive touch (CVD) applications, route the touch electrodes with a guard ring or active shield driven by a CLC peripheral to minimize parasitic capacitance. According to Microchip mTouch design guide, keep touch traces short, away from switching signals, and stitch ground vias around the touch area. The ADC2 module supports hardware averaging of up to 1024 samples; configure the oversampling and accumulation registers in MCC for the desired SNR vs sample-rate trade-off.

Do not confuse the LF (low-voltage 1.8V to 3.6V) silicon with the F (2.3V to 5.5V) variant - powering an LF part above 3.6V causes immediate damage. The 256B EEPROM has a per-byte endurance of 100K write cycles and 40-year retention - use wear-leveling in firmware for parameters written frequently. Watchdog Timer (WDT) should be enabled in production firmware; the WDTPS fuse selects the post-scaler and must be configured in CONFIG words. The LF silicon's deep sleep current is typically in the nanoamp range - confirm this on the bench before committing to a battery-life calculation.

Compliance Information

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

RoHS compliant and lead-free per Microchip product environmental data. Halogen-free status not explicitly confirmed in verified sources - noted as unknown. AEC-Q100 not applicable for industrial-grade I variant; E variant (extended temp) is the appropriate choice for automotive.

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

Related Searches

PIC18LF25K42-I/SO PIC18LF25K42-I/SO datasheet PIC18LF25K42-I/SO price Microchip PIC18 32KB Flash MCU PIC18F25K42 vs PIC18LF25K42 low power 8-bit MCU nanoWatt XLP 28-pin SOIC microcontroller 1.8V to 3.6V PIC18LF25K42-I/SO capacitive touch PIC18LF25K42-I/SO drop-in replacement PIC18LF25K40 vs PIC18LF25K42 buy PIC18LF25K42-I/SO online PIC18LF25K42-I/SO pinout 28 SOIC what is a 12-bit ADC2 MCU PIC18LF25K42-I/SO IoT sensor node PIC18LF25K42-I/SO MPLAB X IDE support

Related Components & Terms

Microchip Technology PIC18LF25K42-I/SO PIC18F25K42-I/SO PIC18LF25K42-I/SP PIC18LF25K40-I/SO PIC18F24K42-I/SO PIC18LF25K42-E/SO PIC18 PIC18FxxK42 PIC18LFxxK42 8-bit microcontroller MCU RISC architecture Harvard architecture Flash memory SRAM EEPROM 12-bit ADC2 ADC with Computation Capacitive Voltage Divider CVD mTouch XLP nanoWatt DMA Direct Memory Access vectored interrupt controller Core Independent Peripheral CIP CLC CWG PWM DAC op-amp comparator UART I2C SPI SOIC-28 SOIC RoHS REACH IPC/JEDEC J-STD-020 MPLAB X IDE MPLAB XC8 PICkit MCP1700 MAX30102 RN2483 IoT sensor node battery-powered application low-power MCU home automation portable medical device automotive body electronics LED lighting industrial sensor
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