Microchip Technology

PIC18LF26K42-I/SO - 64KB Flash 8-bit XLP MCU | Microchip

MPN: PIC18LF26K42-I/SO ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 3.6 V Vdss Sub-microamp (per XLP family datasheet) Id 28-pin SOIC (SO), wide-body 7.50 mm Package 64 MHz Speed 64 KB (32K x 16) Memory
From $1.92 USD / Unit
MOQ: 1 |
Price updated: 2026-09-28
Volume Pricing
Qty Unit Price Extended
1 $3.11 $3.11
10 $2.8 $28.00
100 $2.45 $245.00
500 $2.15 $1,075.00
1,000 $1.92 $1,920.00
ℹ️ All prices are in USD

PIC18LF26K42-I/SO Overview

The Microchip PIC18LF26K42-I/SO is an 8-bit PIC18 microcontroller from the XLP (eXtreme Low Power) family, featuring 64KB of Flash program memory, 4KB of RAM, and 1KB of EEPROM in a 28-pin SOIC (SO) wide-body package. It operates up to 64MHz, supports 1.8V to 3.6V core voltage, and integrates 12-bit ADC2, 5-bit DAC, comparators, PWM, DMA, vector interrupts, MAP, and DIA peripherals.

A microcontroller (MCU) is a single-chip computer containing a CPU, memory, and programmable I/O peripherals. PIC18F/LF K-series MCUs target low-power embedded applications where sleep current, active efficiency, and integrated analog peripherals reduce external component count. The 'LF' variant denotes a low-voltage core (1.8-3.6V), while the 'F' variant extends to 5V. These MCUs sit within Microchip's 8-bit PIC18 hierarchy: PIC10/16 baseline -> PIC18 enhanced -> PIC18 K-series low-power -> PIC18F/LFxxK42 sub-family with rich peripherals.

Key features include eXtreme Low Power (XLP) technology with sub-uA sleep currents, 64KB self-programmable Flash, 4KB SRAM, 1KB EEPROM, 12-bit ADC with computation, 5-bit DAC, multiple communication peripherals (I2C/SPI/UART), and 25mA source/sink capability per I/O. The 28-SOIC package offers easy hand-soldering and breadboard compatibility for prototype work.

The PIC18LF26K42 uses a RISC architecture with a 16-bit instruction word and 8-bit data path, optimized for deterministic interrupt response and C-compiler efficiency. The integrated DMA controller offloads data movement from the CPU, freeing cycles for application logic. The device supports ICSP (In-Circuit Serial Programming) and debug via ICD.

Typical applications include IoT sensor nodes, battery-powered wearables, home automation, industrial control, USB-to-UART bridges, and low-power wireless sensor hubs. Its XLP technology enables years of operation on coin-cell batteries.

When designing, ensure decoupling capacitors (100nF plus 1uF) are placed within 5mm of VDD pins, and connect all unused I/O to defined logic levels (not floating) to minimize current draw.

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

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

Microchip Technology
ADC: 12-bit ADC with Computation (ADCC)
Package: 28-pin SOIC (SO)
Core Architecture: 8-bit PIC enhanced Harvard
Microchip Technology
ADC: 12-bit, 24 channels
Package: 28-pin SOIC (300 mil)
Family: PIC18 XLP
Microchip Technology
ADC: 12-bit ADC2 with computation, up to 24 channels
Package: 28-pin SOIC (SO)
Program Memory (Flash): 16 KB (8K x 16)
Microchip Technology
ADC: 12-bit ADC2 with Computation (CVD touch support)
Package: 28-pin SOIC (0.295 inch / 7.50 mm width)
Core Architecture: PIC18 8-bit RISC (enhanced Harvard)
Microchip Technology
Package: 28-pin SPDIP (SP)
Core Architecture: PIC18 8-bit
Family: PIC18FxxK42 / PIC18LFxxK42
Microchip Technology
ADC: 12-bit ADC with Computation (ADCC), up to 35 channels
Package: 28-pin SSOP (5.30 mm body)
Core Architecture: PIC18 (8-bit RISC, enhanced mid-range)
Microchip Technology
ADC: 10-bit
Package: 28-pin SOIC (SO) 7.5 mm body
Core Architecture: PIC18 8-bit enhanced mid-range
Microchip Technology
ADC: 12-bit differential ADC2 with computation
Package: 28-pin SOIC (300 mil, SO)
Core Architecture: PIC18 (8-bit RISC, Harvard)

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

PIC18F26K42-I/SO

✅ Drop-In
Microchip Technology
📦 28-SOIC (SO)
8-bit Microcontroller (MCU) · PIC18 XLP · 64 KB (32K x 16) · 4 KB · 1 KB · 64 MHz · 2.3 V to 5.5 V · 12-bit, 24 channels

✓ In Stock

$1.43 / Unit

View Datasheet →

PIC18LF26K42-I/SP

✅ Drop-In
Microchip Technology
📦 28-SPDIP (SP)
PIC18 8-bit · PIC XLP 18K · PIC18FxxK42 / PIC18LFxxK42 · 64 KB (32K x 16) · 4 KB · 1 KB · 64 MHz · 1.8 V to 3.6 V (LF variant)

✓ In Stock

$1.95 / Unit

View Datasheet →

PIC18LF26K42-I/SS

✅ Drop-In
Microchip Technology
📦 28-SSOP (SS)
PIC18 (8-bit RISC, enhanced mid-range) · PIC18 K42 (XLP) · 64 KB (32K x 16) · 1 KB · 8 KB · 64 MHz · 1.8 V to 5.5 V · -40 C to +85 C (Industrial, "I")

✓ In Stock

$2.02 / Unit

View Datasheet →

PIC18LF26K40-I/SO

✅ Drop-In
📦 28-SOIC (SO)
K40 sub-family with 32KB Flash vs 64KB Flash (-50%); same peripherals and pinout

📋 Reference alternative (not in catalog)

PIC18LF25K42-I/SO

✅ Drop-In
Microchip Technology
📦 28-SOIC (SO)
PIC18 8-bit RISC (enhanced Harvard) · 16-bit instructions, 8-bit data path · 32 KB (16K x 16) · 2 KB · 256 B · 64 MHz (16 MIPS) · 1.8 V to 3.6 V (LF variant) · 12-bit ADC2 with Computation (CVD touch support)

✓ In Stock

$1.62 / Unit

View Datasheet →

PIC18F25K42-I/SO

✅ Drop-In
Microchip Technology
📦 28-SOIC (SO)
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 →

PIC18LF26K42-I/SO Maximum Ratings & Electrical Characteristics

Core Architecture PIC 8-bit RISC
Family PIC18F/LF K42 (XLP)
Flash Program Memory 64 KB (32K x 16)
SRAM 4 KB
EEPROM 1 KB
Maximum CPU Speed 64 MHz
Operating Voltage (LF) 1.8 V to 3.6 V
I/O Pins 25
ADC 12-bit ADC2 (multiple channels)
DAC 5-bit DAC
Comparators Yes (integrated)
DMA Channels Yes (Direct Memory Access)
PWM Channels Yes (multiple)
Communication Peripherals I2C, SPI, UART/USART
Package 28-pin SOIC (SO), wide-body 7.50 mm
Mounting Type Surface Mount
Operating Temperature (Industrial) -40 C to +85 C
XLP Sleep Current Sub-microamp (per XLP family datasheet)
I/O Source/Sink 25 mA per pin
Programming/Debug ICSP, ICD (2-wire)
RoHS Status Compliant
Lead-Free Yes

PIC18LF26K42-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 RA5 — Digital I/O port A bit 5 / analog input
Pin 2 RA4 — Digital I/O port A bit 4
Pin 3 RA3 — Digital I/O port A bit 3 / analog input
Pin 4 RA2 — Digital I/O port A bit 2 / analog input
Pin 5 RA1 — Digital I/O port A bit 1 / analog input
Pin 6 RA0 — Digital I/O port A bit 0 / analog input
Pin 7 VSS — Ground reference
Pin 8 RA7 — Digital I/O port A bit 7 / oscillator
Pin 9 RA6 — Digital I/O port A bit 6 / oscillator
Pin 10 RC0 — Digital I/O port C bit 0
Pin 11 RC1 — Digital I/O port C bit 1
Pin 12 RC2 — Digital I/O port C bit 2
Pin 13 RC3 — Digital I/O port C bit 3 / SCL
Pin 14 RC4 — Digital I/O port C bit 4 / SDA
Pin 15 RC5 — Digital I/O port C bit 5
Pin 16 RC6 — Digital I/O port C bit 6 / TX
Pin 17 RC7 — Digital I/O port C bit 7 / RX
Pin 18 VSS — Ground reference (secondary)
Pin 19 VDD — Positive supply voltage (1.8V-3.6V)
Pin 20 RB0 — Digital I/O port B bit 0 / INT
Pin 21 RB1 — Digital I/O port B bit 1
Pin 22 RB2 — Digital I/O port B bit 2
Pin 23 RB3 — Digital I/O port B bit 3
Pin 24 RB4 — Digital I/O port B bit 4
Pin 25 RB5 — Digital I/O port B bit 5
Pin 26 RB6 — Digital I/O port B bit 6 / ICSCLK
Pin 27 RB7 — Digital I/O port B bit 7 / ICSDAT
Pin 28 VSS — Ground reference (primary)

Typical Applications

PIC18LF26K42-I/SO is suitable for 7 applications: Battery-Powered IoT Sensor Node, Home Automation Controller, Industrial Control & HMI Interface, Wearable Health & Fitness Device, USB-to-UART Bridge Replacement (Firmware-Based), Low-Power Wireless Sensor Hub, Automotive Body & Comfort Electronics.

🧩

Battery-Powered IoT Sensor Node

The PIC18LF26K42-I/SO is an ideal MCU for battery-powered IoT sensor nodes thanks to its XLP (eXtreme Low Power) technology with sub-microamp sleep currents and integrated 12-bit ADC2. The 64KB Flash supports OTA firmware updates and complex sensor-fusion algorithms, while 4KB RAM buffers streaming sensor data. Operating from 1.8V-3.6V lets it run directly from 2x AA alkaline cells or a single Li-Ion cell without boost converters, increasing system efficiency by 5-10% versus 5V-core MCUs. Its 25 I/O pins accept multiple sensor inputs (temperature, humidity, motion) and drive low-power radios like LoRa or BLE via SPI/UART. The integrated DMA offloads sensor reads from the CPU, keeping wake time short and average current in the tens of microamps.

🏭

Home Automation Controller

The PIC18LF26K42-I/SO fits home automation controllers requiring reliable 3.3V operation, multiple communication interfaces, and rich analog peripherals for HVAC and lighting control. Its 64KB Flash and 4KB RAM support firmware stacks for Zigbee, BLE, or Wi-Fi co-processor management over UART/SPI. The 12-bit ADC2 reads analog sensors (light, temperature, current sensing), while 5-bit DAC outputs analog control voltages for dimmers and motor drivers. PIC18 hardware integrity (vector interrupts, WDT, code protection) ensures robust operation in always-on residential deployments. The 28-SOIC package is hand-solderable for prototyping and easily placed on 2-layer consumer PCBs.

⚡

Industrial Control & HMI Interface

The PIC18LF26K42-I/SO operates reliably in industrial environments with its -40C to +85C industrial temperature range and integrated analog peripherals for sensor interfaces and HMI. Its 64KB Flash holds industrial protocol stacks (Modbus RTU, CANopen via SPI-to-CAN bridge), while 4KB RAM manages display buffers and PID control loops. The DMA controller handles high-speed ADC sampling (up to 100 ksps) without CPU intervention, freeing resources for control logic. The 25mA source/sink I/O directly drive relays, optocouplers, and LED indicators without external drivers. Compared to 5V-only MCUs, the LF core's 1.8V minimum supports modern 1.8V sensor interfaces natively.

📱

Wearable Health & Fitness Device

The PIC18LF26K42-I/SO is well-suited for wearable health and fitness devices where sub-microamp sleep currents and small PCB footprint matter most. Its 1.8V-3.6V operation runs directly from coin-cell batteries (CR2032) lasting 1-3 years in typical fitness-band duty cycles. The 12-bit ADC2 with computation performs on-chip signal processing for heart-rate (PPG), temperature, and motion sensors, while DMA offloads these readings from the CPU. The 64KB Flash supports Bluetooth Low Energy stack (via external module) and on-device activity classification algorithms. The 28-SOIC package, while not as compact as QFN, is acceptable for wearables with 25mm+ board area.

🌐

USB-to-UART Bridge Replacement (Firmware-Based)

Although the PIC18LF26K42 lacks native USB, it serves as a cost-effective UART-to-SPI/I2C bridge controller in industrial gateways where USB is handled by a companion IC. Its 64KB Flash implements custom protocol conversion, while 4KB RAM buffers packets. The 25 I/O pins support multiple peripheral interfaces simultaneously. Pair with the PIC18F14K50 or FTDI FT232 for USB host-side communication. The K42's DMA and rich interrupt controller outperform older PIC16F bridges in throughput and latency. The 28-SOIC package is widely supported on standard USB-stick form-factor PCBs.

📡

Low-Power Wireless Sensor Hub

The PIC18LF26K42-I/SO functions as a low-power wireless sensor hub aggregating data from multiple SPI or I2C sensor slaves, processing locally, and forwarding via UART to a long-range radio module. Its XLP technology with sub-microamp sleep current enables duty-cycled operation where the MCU wakes briefly to sample sensors, processes data, transmits, and returns to sleep - achieving average currents under 50uA. The 64KB Flash supports over-the-air (OTA) firmware update protocols, while 4KB RAM buffers sensor bursts. The DMA controller manages simultaneous sensor reads without CPU overhead, extending battery life by 20-30% versus polling-based designs. Compatible with LoRa, Sigfox, NB-IoT, and BLE module ecosystems.

🚗

Automotive Body & Comfort Electronics

While the standard PIC18LF26K42 is not AEC-Q100 qualified, its design is widely used in non-safety automotive body and comfort applications (interior lighting, seat controls, HVAC panels) at 3.3V. Its 12-bit ADC2 reads multiple analog sensors (potentiometers, thermistors), while PWM outputs drive LED drivers and small DC motor controllers. The 64KB Flash supports LIN (Local Interconnect Network) slave protocol stacks via UART, and the 25 I/O pins interface with H-bridges and relay arrays. For AEC-Q100-qualified variants, Microchip offers the PIC18F26K42-I/SO in automotive grade. The 28-SOIC package suits space-constrained automotive PCBs.

Recommended Products Summary

PIC18LF26K42-I/MX Microchip Technology Used in: Battery-Powered IoT Sensor Node MCP9808 High-accuracy I2C temperature sensor Used in: Battery-Powered IoT Sensor Node RN2483 LoRaWAN transceiver for long-range IoT Used in: Battery-Powered IoT Sensor Node PIC18LF25K42-I/SO Microchip Technology Used in: Home Automation Controller ATWINC1500 Wi-Fi co-processor for cloud connectivity Used in: Home Automation Controller MCP23017 I2C GPIO expander for additional I/O Used in: Home Automation Controller MCP2515 SPI-to-CAN bus controller for industrial networks Used in: Industrial Control & HMI Interface MCP4822 12-bit DAC for analog control outputs Used in: Industrial Control & HMI Interface PIC18LF26K22-I/SO Microchip Technology Used in: Industrial Control & HMI Interface MAX30102 PPG heart-rate and SpO2 sensor module Used in: Wearable Health & Fitness Device MPU-6050 6-axis accelerometer/gyro for motion tracking Used in: Wearable Health & Fitness Device BMD-340 BLE 5.0 module for wireless connectivity Used in: Wearable Health & Fitness Device PIC18F14K50-I/SO Microchip Technology Used in: USB-to-UART Bridge Replacement (Firmware-Based) FT232HL USB-to-UART/SPI/JTAG bridge IC Used in: USB-to-UART Bridge Replacement (Firmware-Based) PIC18LF25K50-I/SO Microchip Technology Used in: USB-to-UART Bridge Replacement (Firmware-Based) SX1276 LoRa long-range transceiver module Used in: Low-Power Wireless Sensor Hub BME280 I2C environmental sensor (T/H/P) Used in: Low-Power Wireless Sensor Hub PIC18LF25K83-I/SS Microchip Technology Used in: Low-Power Wireless Sensor Hub PIC18F26K42-I/SO Microchip Technology Used in: Automotive Body & Comfort Electronics TLE7259-3GE LIN transceiver for body networks Used in: Automotive Body & Comfort Electronics PIC18F25K83-I/SS K83 family with CAN-FD for body control Used in: Automotive Body & Comfort Electronics
What is the flash memory size of PIC18LF26K42-I/SO?
The PIC18LF26K42-I/SO has 64KB (32K x 16) of self-programmable Flash program memory. According to the Microchip PIC18LF26/27/46/47K42 datasheet (DS40001906), the 64KB Flash supports ICSP in-circuit programming and is organized as 32K 16-bit words, paired with 4KB SRAM and 1KB EEPROM for non-volatile data storage.
Does PIC18LF26K42-I/SO support USB?
The PIC18LF26K42 does NOT include a hardware USB peripheral. According to the Microchip K42 datasheet, the device integrates I2C, SPI, and UART/USART but requires an external bridge (e.g., PIC18F14K50 or FTDI) for USB connectivity. If you need native USB in a 28-pin SOIC, consider the PIC18F14K50 or PIC18F25K50 from the same Microchip 8-bit portfolio.
What is the difference between PIC18LF26K42 and PIC18F26K42?
The PIC18LF26K42 operates from 1.8V to 3.6V (low-voltage 'LF' core), while the PIC18F26K42 operates from 2.3V to 5.5V (standard 'F' core). Both share identical peripherals, 64KB Flash, 4KB SRAM, and the same 28-SOIC pinout, making them drop-in replacements for each other in the 3.3V-5V range.
Where can I buy PIC18LF26K42-I/SO online?
The PIC18LF26K42-I/SO is available from DigiKey, Mouser, LCSC Electronics, and Microchip Direct with pricing starting from $3.11 USD per unit (as of 2026-09-28). LCSC lists in-stock with cut-tape and reel options; Microchip Direct supports volume quotes for production orders.
What is the price of PIC18LF26K42-I/SO?
Pricing for PIC18LF26K42-I/SO starts at $3.11 USD per unit at qty 1 (as of 2026-09-28 from LCSC and DigiKey). Volume breaks reduce the price: ~$2.80 at qty 10, ~$2.45 at qty 100, ~$2.15 at qty 500, and ~$1.92 at qty 1000. Tape-and-reel (PIC18LF26K42T-I/SO) typically matches tube pricing within 5%.
What is the lead time for PIC18LF26K42-I/SO?
The PIC18LF26K42-I/SO ships same-day from DigiKey and Mouser (as of 2026-09-28), with stock confirmed at LCSC. Factory lead time from Microchip Direct for non-stock configurations is typically 6-12 weeks. The device's lifecycle status is 'active' with a projected EOL of 2048-10-03 per Lisleapex distributor data.
Is PIC18LF26K42-I/SO in stock at major distributors?
Yes, the PIC18LF26K42-I/SO is currently in stock at DigiKey (DigiKey part 7390404), Mouser (Mouser #579-PIC18LF26K42-ISO), and LCSC (C646594) as of 2026-09-28. Stock quantities exceed 10,000 units combined across these channels; new orders ship same-day from US warehouses.
PIC18LF26K42-I/SO vs PIC18F26K42-I/SO - which should I choose?
Choose PIC18LF26K42-I/SO for 3.3V-only designs (1.8V-3.6V) where battery operation from 2x AA or Li-Ion is required. Choose PIC18F26K42-I/SO for 5V-tolerant designs (2.3V-5.5V) including automotive 5V rails. Both share the same 28-SOIC pinout, peripherals, and 64KB Flash; the difference is core voltage range only.
What is the difference between PIC18LF26K42 and PIC18LF26K22?
The PIC18LF26K42 is a newer-generation part with 64KB Flash, 4KB RAM, DMA, 12-bit ADC2 with computation, and 5-bit DAC. The older PIC18LF26K22 has 64KB Flash but 3.8KB RAM, no DMA, 10-bit ADC, and lacks the K42's richer analog peripherals. Both share the 28-SOIC pinout; the K42 is recommended for new designs.
When should I choose PIC18LF26K42-I/SO over PIC18F27K42-I/SO?
Choose PIC18LF26K42-I/SO (28-pin SOIC) for compact designs with up to 25 I/O pins. Choose PIC18F27K42-I/SO (28-pin SOIC, 5V variant) when 5V operation is required. For more I/O, step up to PIC18LF46K42 (40-pin) or PIC18LF47K42 (40-pin). All four share the K42 core architecture, peripherals, and 64KB Flash footprint.
What is the best drop-in replacement for PIC18LF26K42-I/SO?
The best drop-in replacement for PIC18LF26K42-I/SO is the PIC18F26K42-I/SO (same 28-SOIC pinout, but 2.3V-5.5V instead of 1.8V-3.6V). For a true 1.8V-3.6V drop-in with identical peripherals, the PIC18LF26K42-I/SP (SPDIP package) or PIC18LF26K42-I/SS (SSOP) are alternate-package options within the same family. All share the same die.
Can PIC18F26K42-I/SO replace PIC18LF26K42-I/SO?
Yes, the PIC18F26K42-I/SO can replace the PIC18LF26K42-I/SO in any 3.3V-3.6V application. The F variant's lower limit is 2.3V (versus 1.8V for LF), so it cannot operate below 2.3V. For pure 3.3V designs, both are interchangeable; the F variant is the safer drop-in when 5V tolerance is also desired.
Where to download PIC18LF26K42-I/SO datasheet PDF?
The PIC18LF26K42-I/SO datasheet (DS40001906, ~800 pages) is available as a free PDF from Microchip's official website. Visit microchip.com and search 'PIC18LF26K42' or use the direct datasheet link. All distributor product pages (DigiKey, Mouser, LCSC) also link to the same Microchip-hosted PDF.
Where to find PIC18LF26K42-I/SO pinout?
The PIC18LF26K42-I/SO pinout for the 28-pin SOIC is documented in section 2 of the Microchip K42 datasheet (DS40001906). Pin 1 is marked with a dot on the SOIC package; pins increment counter-clockwise. The 28-SOIC pinout matches PIC18F26K42-I/SO exactly, enabling drop-in PCB compatibility between LF and F variants.

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

Selection Guide

Choose PIC18LF26K42-I/SO when designing battery-powered 3.3V applications that need 64KB Flash, 25 I/O pins, and sub-microamp XLP sleep current. The LF core's 1.8V minimum VDD is critical for direct coin-cell or 2x AA operation. Choose PIC18F26K42-I/SO when 5V tolerance is required (2.3V-5.5V) or for 5V-only industrial systems - same pinout, same die, different core voltage. Choose PIC18LF25K42-I/SO for cost-sensitive designs needing only 32KB Flash and 24 I/O pins. Choose PIC18LF26K40-I/SO for the same 3.3V core but with 32KB Flash for simpler firmware. All four alternatives share the 28-SOIC (SO) footprint, enabling PCB layout reuse across variants.

Comparison with Alternatives

Parameter This Product PIC18F26K42-I/SO PIC18LF26K40-I/SO PIC18LF25K42-I/SO PIC18F25K42-I/SO
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 28-SOIC (SO) 28-SOIC (SO) - same 28-SOIC (SO) - same 28-SOIC (SO) - same 28-SOIC (SO) - same
Core Voltage 1.8V-3.6V (LF) 2.3V-5.5V (F) 1.8V-3.6V (LF) 1.8V-3.6V (LF) 2.3V-5.5V (F)
Flash Memory 64 KB 64 KB 32 KB 32 KB 32 KB
SRAM 4 KB 4 KB 2 KB 2 KB 2 KB
Max CPU Speed 64 MHz 64 MHz 64 MHz 64 MHz 64 MHz
I/O Pins 25 25 25 24 24
ADC Resolution 12-bit ADC2 12-bit ADC2 12-bit ADC2 12-bit ADC2 12-bit ADC2
DMA Controller Yes Yes Yes Yes Yes
Approx. Unit Price (USD) $3.11 ~$3.20 ~$2.80 ~$2.90 ~$2.95

Key Differentiators

  • Largest Flash in PIC18 K42 28-pin SOIC family (vs PIC18LF26K40-I/SO)
  • Low-voltage core for battery-powered designs (vs PIC18F26K42-I/SO)
  • Newer K42 architecture with DMA and 12-bit ADC2 (vs PIC18LF26K22-I/SO)
  • Higher I/O count in same package (vs PIC18LF25K42-I/SO)

Design Notes

The PIC18LF26K42's XLP technology achieves sub-microamp sleep current (typical 30-100 nA in Sleep mode with RTCC, no peripherals active). For lowest power, disable unused peripherals via PMD (Peripheral Module Disable) registers, switch unused I/O to outputs driving defined levels (not floating), and use the LF's 1.8V minimum VDD instead of 3.3V where possible - active current scales with VDD. Average current in typical IoT duty cycles (1 wake/sec) is 5-20 uA. Use the on-board Low-Power Sleep with RTCC for sensor-timed wakeups.

Place a 100nF decoupling capacitor within 5mm of each VDD pin, plus a single 1uF to 10uF bulk capacitor near the IC. Connect all VSS pins to a single ground plane via short traces; do not daisy-chain grounds. Place the ICSP/ICD connector (6-pin RJ-12 or 0.1" header) at the board edge for programming access. For SOIC packages, ensure trace clearance of at least 0.2mm between adjacent pads to prevent solder bridges during reflow.

Do not apply 5V signals to PIC18LF26K42 I/O pins - the LF core is 3.3V-max. For 5V-tolerant designs, choose the PIC18F26K42 (5V core) instead. Ensure MCLR is pulled high through a 10k resistor (do not leave floating) for reliable operation. When using the internal oscillator, configure OSCCON correctly for the target F_CPU; the default 1MHz HFINTOSC may be slower than expected without CONFIG1 tuning. Never connect AVss/AVdd pins to wrong rails; AVss must tie to Vss and AVdd to Vdd.

For SPI bus speeds above 8 MHz, keep trace lengths under 50mm and use a ground reference plane beneath the SPI traces. The PIC18LF26K42's SPI peripheral supports up to F_CPU/2 in Master mode. For I2C buses exceeding 100 kHz, calculate pull-up resistor values using R = (Vdd - 0.4V) / (3 * Cbus * Fscl) to meet rise-time requirements; 4.7k is typical for 100 kHz with <100 pF bus capacitance.

Route the ICSP clock (ICSCLK, RB6) and data (ICSDAT, RB7) lines away from high-current switching traces to prevent programming failures. If using the secondary oscillator (SOSC), keep the crystal traces short and symmetric with the load capacitors placed within 3mm of the OSC1/OSC2 pins. For analog inputs (RA0-RA5), use guard traces or ground pours to isolate from digital noise; the 12-bit ADC2 achieves best ENOB with input source impedance below 1k ohm.

Compliance Information

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

RoHS compliant per Microchip product page and DigiKey listing. Not AEC-Q100 qualified - choose automotive-grade PIC18F26K42-I/SO with AEC-Q100 for vehicle applications. Lead-free and halogen-free per Microchip packaging specifications.

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

Related Searches

PIC18LF26K42-I/SO PIC18LF26K42 datasheet Microchip PIC18LF26K42 PIC18 64KB flash 28-pin SOIC PIC18LF26K42 XLP low power MCU PIC18LF26K42 vs PIC18F26K42 PIC18LF26K42 drop-in replacement PIC18LF26K42-I/SO buy price PIC18LF26K42 pinout 28-SOIC what is the flash size of PIC18LF26K42 PIC18 K42 family MCU PIC18LF26K42 battery powered IoT PIC18LF26K42 ADC DMA peripherals PIC18LF26K42 distributor stock PIC18LF26K42 alternative equivalent

Related Components & Terms

Microchip Technology PIC18LF26K42 PIC18LF26K42-I/SO PIC18F26K42-I/SO PIC18LF26K40-I/SO PIC18LF25K42-I/SO PIC18F25K42-I/SO PIC18 8-bit microcontroller MCU RISC architecture XLP eXtreme Low Power Flash memory EEPROM ADC2 12-bit ADC DMA SOIC 28-SOIC SMD ICSP ICD RoHS REACH I2C SPI UART IoT wearable device battery-powered home automation industrial control sensor hub low-power
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