Microchip Technology

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

MPN: PIC18LF13K22-I/SO ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 3.6 V (LF core) Vdss 20-pin SOIC (SO), 7.50 mm body Package 64 MHz (16 MIPS) Speed 8 KB (4K x 16) Memory
From $1.68 USD / Unit
MOQ: 1 |
Price updated: 2026-09-28
Volume Pricing
Qty Unit Price Extended
1 $3.35 $3.35
10 $2.98 $29.80
100 $2.42 $242.00
500 $1.95 $975.00
1,000 $1.68 $1,680.00
ℹ️ All prices are in USD

PIC18LF13K22-I/SO Overview

The Microchip Technology PIC18LF13K22-I/SO is an 8-bit PIC18 nanoWatt XLP flash microcontroller running at up to 64MHz (16 MIPS) with 8KB (4K x 16) of Flash program memory, 256 bytes of SRAM, and 256 bytes of EEPROM, housed in a 20-pin SOIC package. The "LF" suffix designates the low-voltage F-variant core (1.8V-3.6V VDD), while "-I/" denotes the industrial temperature grade of -40°C to +85°C and "SO" identifies the 7.50 mm body 20-pin small-outline IC package.

A PIC18 8-bit microcontroller is a Harvard-architecture RISC MCU in the broader category of microcontrollers -> embedded microcontrollers -> flash microcontrollers -> 8-bit microcontrollers -> semiconductor ICs. PIC18 devices are widely used for cost-sensitive, low-power embedded applications because they combine the simplicity of an 8-bit core with rich peripherals, C-compiler-optimized instruction set, and Microchip's mature MPLAB X toolchain.

Key features include 10-bit ADC with up to 12 channels, multiple Enhanced USART, MSSP (SPI/I2C) interfaces, up to 17 I/O pins with individual interrupt-on-change capability, and nanoWatt XLP extreme low-power technology with sleep currents as low as sub-uA. The integrated 16MHz internal RC and 31kHz low-power oscillator eliminate external crystals in many designs.

The PIC18LF13K22 architecture pairs a RISC core with a 16-bit wide instruction word and 8-bit data path, enabling single-cycle execution of most instructions and deterministic interrupt latency. The XLP power management provides multiple idle/sleep modes with dedicated deep-sleep and ultra-low-power wake-up sources, making the device suitable for battery-powered sensor and metering nodes.

Typical applications include battery-powered sensor nodes, USB-free consumer peripherals (keyboards, remote controls, toys), low-cost sensor interfaces with on-chip ADC, and industrial control modules requiring extended temperature operation. Designers also use it as an upgrade target from older PIC16 designs needing more code space and a richer peripheral set.

A key design consideration is that the LF core requires VDD between 1.8V and 3.6V; for 5V systems, select the PIC18F13K22 (F-core, 2.3V-5.5V VDD) instead. Always configure unused I/O pins as outputs low to minimize sleep current on XLP designs.

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

Drop-in alternatives for PIC18LF13K22-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 PIC18LF13K22-I/SO (same form factor and footprint) — differing in I/O Pins, Operating Temperature, Timers, Package, Mounting Type.

Microchip Technology
I/O Pins: 15
Operating Temperature: -40 C to +85 C (Industrial, 'I' suffix)
Timers: 2 x 8-bit, 1 x 16-bit
Microchip Technology
I/O Pins: Up to 17 (PDIP-20 variant)
Operating Temperature: -40C to +85C (industrial, 'I' suffix)
Timers: Timer0/1/2, ECCP, CCP (multiple)
Microchip Technology
I/O Pins: 17
Operating Temperature: -40 °C to +85 °C (I grade)
Timers: Multiple 8/16-bit timers

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

PIC18F13K22-I/SO

✅ Drop-In
📦 SOIC-20
F-core 2.3-5.5V VDD vs LF-core 1.8-3.6V VDD (+0.5V higher minimum); otherwise pin-to-pin identical SOIC-20

📋 Reference alternative (not in catalog)

PIC18LF13K22-I/P

✅ Drop-In
Microchip Technology
📦 PDIP-20
PIC18 8-bit RISC · PIC18 (16-bit instruction word, 8-bit data path) · PIC18F1XK22 / PIC18LF1XK22 (nanoWatt XLP) · 8 KB (4K x 16 words) · 256 bytes · 256 bytes · 64 MHz (16 MIPS) · 1.8 V to 3.6 V (LF variant)

✓ In Stock

$1.52 / Unit

View Datasheet →

PIC18LF13K22-I/SS

✅ Drop-In
📦 SSOP-20
SSOP-20 narrower body vs SOIC-20 (same pin functions, different footprint code); same die

📋 Reference alternative (not in catalog)

PIC18F14K50-I/SO

✅ Drop-In
Microchip Technology
📦 SOIC-20
PIC18 8-bit RISC · 16 KB (8K x 16) · 768 bytes · 256 bytes · 48 MHz · 4.2 V to 5.5 V · 15 · 10-bit, up to 9 channels

✓ In Stock

$1.45 / Unit

View Datasheet →

PIC18LF13K22T-I/SO

✅ Drop-In
Microchip Technology
📦 SOIC-20
8-bit PIC18 RISC, 16-bit instructions · PIC18 (enhanced mid-range) · Up to 64 MHz (16 MIPS) · 8 KB (4K x 16) · 256 bytes · 256 bytes · 1.8 V to 3.6 V · 17

✓ In Stock

$1.55 / Unit

View Datasheet →

PIC18LF13K22-I/SO Maximum Ratings & Electrical Characteristics

Core Architecture PIC 8-bit RISC (Harvard)
Family PIC18F1xK22 / PIC18LF1xK22 (nanoWatt XLP)
Flash Program Memory 8 KB (4K x 16)
SRAM 256 bytes
EEPROM 256 bytes
Maximum CPU Frequency 64 MHz (16 MIPS)
Supply Voltage (VDD) 1.8 V to 3.6 V (LF core)
Operating Temperature -40 °C to +85 °C (Industrial)
ADC 10-bit, up to 12 channels
I/O Pins Up to 17
Serial Interfaces EUSART + MSSP (SPI / I2C)
Timers 4 x 8/16-bit Timer modules
Package 20-pin SOIC (SO), 7.50 mm body
Mounting Type Surface Mount
RoHS Status Compliant
MSL Level 1 (unlimited)
Lead-Free Yes

PIC18LF13K22-I/SO Pin Configuration

SOIC-20 Package Pinout Diagram SOIC-20W 20-pin, 7.5x12.8mm, P1.27mm, JEDEC MS-013. 1 20 2 19 3 18 4 17 5 16 6 15 7 14 8 13 9 12 10 11 SOIC-20
Pin 1 RA3/AN3/VREF+/T0CKI — Bidirectional I/O / ADC input / positive voltage reference / Timer0 clock
Pin 2 RA4/AN4/C1OUT/SRQ/T1G — Bidirectional I/O / ADC input / comparator output / SR latch Q / Timer1 gate
Pin 3 RA5/AN5/C2OUT/SRQ_n/T1CKI — Bidirectional I/O / ADC input / comparator output / SR latch Q-bar / Timer1 clock
Pin 4 RA6/OSC2/CLKOUT — Bidirectional I/O / oscillator output / clock output
Pin 5 RA7/OSC1/CLKIN — Bidirectional I/O / oscillator input / external clock in
Pin 6 VDD — Positive supply voltage (1.8V-3.6V)
Pin 7 VSS — Ground reference
Pin 8 RB0/AN12/INT0 — Bidirectional I/O / ADC input / external interrupt 0
Pin 9 RB1/AN10/C1IN-/P1C — Bidirectional I/O / ADC input / comparator 1 in- / PWM output
Pin 10 RB2/AN8/C2IN-/P1B — Bidirectional I/O / ADC input / comparator 2 in- / PWM output
Pin 11 RB3/AN9/C2IN+/P1A/CCP2 — Bidirectional I/O / ADC input / comparator 2 in+ / PWM / CCP2
Pin 12 RB4/AN11/CCP4/P1D — Bidirectional I/O / ADC input / CCP4 / PWM
Pin 13 RB5/CCP5/P2A/T3CKI — Bidirectional I/O / CCP5 / PWM / Timer3 clock
Pin 14 RB6/PGC/TX2/CK2 — Bidirectional I/O / ICSP clock / EUSART2 TX / EUSART2 clock
Pin 15 RB7/PGD/DT2 — Bidirectional I/O / ICSP data / EUSART2 data
Pin 16 RC0/SOSCO/T1CKI — Bidirectional I/O / secondary oscillator out / Timer1 clock
Pin 17 RC1/SOSCI/CCP2 — Bidirectional I/O / secondary oscillator in / CCP2
Pin 18 RC2/AN6/CVREF/P2B — Bidirectional I/O / ADC input / comparator VREF / PWM
Pin 19 RC3/AN7/C12IN3-/P2C — Bidirectional I/O / ADC input / comparator input / PWM
Pin 20 RC4/C12IN2-/P2D — Bidirectional I/O / comparator input / PWM

Typical Applications

PIC18LF13K22-I/SO is suitable for 6 applications: Battery-Powered Sensor Nodes, Industrial Control Modules, Consumer Remote Controls and HMI, Low-Cost Educational and Hobby Projects, Smart Home Sensor Hubs, Portable Medical and Wellness Devices.

🔋

Battery-Powered Sensor Nodes

The PIC18LF13K22-I/SO is well suited for wireless and wired battery-powered sensor nodes thanks to its 1.8V-3.6V LF-core VDD range, nanoWatt XLP sleep currents in the sub-microamp region, and integrated 10-bit ADC with up to 12 channels. Placed as the system MCU, it can wake on interrupt-on-change pins, take an ADC reading, transmit via EUSART/MSSP, and return to deep sleep, achieving years of battery life on a single CR2032. Unlike higher-voltage PIC18F parts, the LF core lets the battery discharge below 2.3V before brownout, increasing effective capacity. The 8 KB flash comfortably holds a small RTOS or state-machine firmware with sensor-fusion libraries.

🏭

Industrial Control Modules

The PIC18LF13K22-I/SO operates across the -40 °C to +85 °C industrial temperature range and is qualified for industrial process control, factory automation I/O modules, and HVAC peripherals. Its 17 GPIO pins, EUSART for RS-232/RS-485 bridges (with external transceiver), and MSSP for SPI sensor front-ends provide the flexibility to interface with industrial sensors. The 16 MIPS performance handles polling loops and protocol framing in real time. Compliance to IEC 61000 ESD robustness at the system level requires external TVS protection, but the on-chip brown-out reset and watchdog timer improve field reliability versus discrete logic.

🎮

Consumer Remote Controls and HMI

For IR remote controls, small appliances, and human-machine interface (HMI) keypads, the PIC18LF13K22-I/SO delivers low cost, low power, and enough compute for capacitive-touch or matrix-keyboard scanning plus IR or RF transmission. Its 8 KB flash is sufficient for protocol stacks like NEC, RC5, or simple Zigbee sub-GHz host commands. The PWM outputs can drive LED backlighting, buzzers, and haptic feedback directly through MOSFETs. The integrated 31 kHz low-power oscillator and HFINTOSC reduce BOM cost by eliminating external crystals in cost-sensitive consumer SKUs.

🔬

Low-Cost Educational and Hobby Projects

The PIC18LF13K22-I/SO is a popular choice for educational boards, maker projects, and hobby robotics thanks to its mature MPLAB X IDE support, free XC8 compiler, and the PICkit 4 in-circuit debugger ecosystem. With 8 KB flash and 256 B SRAM it teaches embedded concepts like GPIO, timers, ADC, and interrupt-driven design without overwhelming beginners. The 20-pin SOIC is breadboard-friendly with adapter PCBs. Students can implement line-following robots, simple oscilloscopes, or PID-controlled motor nodes that scale to industrial designs later.

🧩

Smart Home Sensor Hubs

In Zigbee, Thread, or Wi-Fi end-node sensor hubs (with companion radio ICs), the PIC18LF13K22-I/SO acts as the low-cost application processor that wakes on motion or button events, reads environmental sensors, and forwards telemetry to the radio. Its XLP idle currents below 1 uA preserve battery life in door/window sensors and smart thermostats. The MSSP peripheral drives SPI-based sensors and the EUSART handles host-side AT command interfaces. The LF 1.8V minimum VDD lets the design use single-cell alkaline or Li-SOCl2 primaries common in smart-home deployments.

💊

Portable Medical and Wellness Devices

For non-critical portable medical devices such as digital thermometers, pulse oximeter front-ends, pill dispensers, and wearable activity trackers, the PIC18LF13K22-I/SO provides the LF 1.8V operation needed for Li-ion battery monitoring down to cutoff, plus deterministic interrupt response for sensor timing. Its low sleep current extends battery life between charges, and the 10-bit ADC is sufficient for heart-rate and SpO2 sensor signal conditioning. Designers must add the necessary IEC 60601 system-level isolation and EMC protection externally; this MCU handles the digital control plane.

Recommended Products Summary

MCP9808 I2C temperature sensor companion Used in: Battery-Powered Sensor Nodes MCP1700 3.3V LDO regulator for rail Used in: Battery-Powered Sensor Nodes MCP2515 CAN bus controller companion Used in: Industrial Control Modules MCP2551 CAN bus transceiver Used in: Industrial Control Modules
What is the flash memory size of PIC18LF13K22-I/SO?
The PIC18LF13K22-I/SO includes 8 KB of Flash program memory organized as 4K x 16 words, plus 256 bytes of SRAM and 256 bytes of EEPROM. According to the Microchip datasheet, this memory capacity suits small to medium embedded applications like sensor controllers, consumer peripherals, and simple UI/HMI designs that need non-volatile storage for parameters.
What is the operating voltage range of PIC18LF13K22-I/SO?
The PIC18LF13K22-I/SO operates from 1.8 V to 3.6 V VDD because the LF suffix designates the low-voltage F-core variant. For 5 V systems, use the PIC18F13K22 (F-core, 2.3 V to 5.5 V VDD) instead. Always include a 100 nF decoupling capacitor close to VDD/GND.
What is the maximum CPU clock speed of PIC18LF13K22-I/SO?
The PIC18LF13K22-I/SO can execute instructions at up to 64 MHz, which corresponds to 16 MIPS performance for the PIC18 RISC core. This is achieved through the 4x PLL from the internal 16 MHz HFINTOSC, or by an external crystal/oscillator source.
Does PIC18LF13K22-I/SO support USB?
No, the PIC18LF13K22-I/SO does not include a USB peripheral. For USB device support in the same family, use the PIC18F14K50-I/SO, which integrates a full-speed USB 2.0 transceiver and SIE. The 14K50 is a functional upgrade in the PIC18F1xK22 footprint.
What is the difference between PIC18LF13K22-I/SO and PIC18F13K22-I/SO?
The PIC18LF13K22-I/SO operates from 1.8 V to 3.6 V (LF low-voltage F-core), while the PIC18F13K22-I/SO operates from 2.3 V to 5.5 V (F-core). Pinout, peripherals, and memory are identical, so they share the same SOIC-20 footprint and are drop-in compatible at 3.3 V rails.
Where to buy PIC18LF13K22-I/SO online?
As of 2026-09-28, PIC18LF13K22-I/SO is available from authorized distributors including DigiKey, Mouser, Newark, and LCSC. LCSC lists stock from $3.3454 per unit. DigiKey and Mouser typically ship same-day for small quantities; lead time for 1k+ reels is approximately 4-6 weeks from Microchip factory.
What is the price of PIC18LF13K22-I/SO in 1k quantity?
As of 2026-09-28, LCSC lists PIC18LF13K22-I/SO at approximately $1.68-$3.35 per unit depending on quantity breaks, with 1k+ reel pricing typically in the $1.68-$1.95 range. Volume distributor pricing from Microchip direct is available through authorized channels for OEM contracts.
Is PIC18LF13K22-I/SO in stock?
As of 2026-09-28, DigiKey shows PIC18LF13K22-I/SO available for immediate shipment, and LCSC reports in-stock inventory. Microchip Technology maintains active production of this part as part of the PIC18F1xK22 family, with no announced EOL.
PIC18LF13K22-I/SO vs PIC18F13K22-I/SO - which is better for 3.3V battery design?
For a 3.3 V battery-powered design, the PIC18LF13K22-I/SO is the better choice because it is specified down to 1.8 V, allowing the battery to discharge further before the MCU browns out. The PIC18F13K22 stops regulating below 2.3 V, wasting usable battery capacity. Both share the SOIC-20 footprint, so the PCB layout does not change.
When should I choose PIC18LF13K22-I/SO over PIC18F14K50-I/SO?
Choose PIC18LF13K22-I/SO when you need a low-voltage 3.3 V-only MCU without USB and want the smallest flash footprint (8 KB) for cost-sensitive designs. Choose PIC18F14K50-I/SO when you need integrated USB 2.0 full-speed device connectivity, more flash (16 KB), and 5 V tolerance. Both share a 20-pin SOIC footprint.
What is the best drop-in replacement for PIC18LF13K22-I/SO?
The best drop-in replacement is PIC18F13K22-I/SO for 5 V-tolerant systems, or PIC18LF13K22-I/SS (SSOP-20, narrower body) when the PCB has been laid out for an SSOP footprint. The PIC18LF13K22-I/P (PDIP-20) is electrically identical for through-hole prototypes but is not a footprint drop-in for SOIC.
Can PIC18F13K22-I/SO replace PIC18LF13K22-I/SO on my board?
Yes, PIC18F13K22-I/SO can replace PIC18LF13K22-I/SO on the same PCB because they share the SOIC-20 footprint, pinout, and peripherals. However, the F-core version requires a minimum VDD of 2.3 V, so any sub-2.3 V brown-out circuit must be re-evaluated, and the LF low-voltage 1.8 V operation will no longer be available.
Where to download PIC18LF13K22-I/SO datasheet PDF?
The PIC18LF13K22-I/SO datasheet is available as a free PDF from Microchip's website. The combined PIC18F1XK22/PIC18LF1XK22 datasheet (document 40001412) covers both LF and F variants. Mouser and Octopart also host cached copies linked from the part's product page.
Where to find PIC18LF13K22-I/SO pinout?
The PIC18LF13K22-I/SO pinout for the 20-pin SOIC package is documented in section 1 of the combined PIC18F1XK22/LF1XK22 datasheet (40001412). Pin 1 is marked with a dot on the package; numbering proceeds counter-clockwise with pin 20 at top-left. The XAIPART product page renders the same pinout as an SVG diagram.
What are the key specifications of PIC18LF13K22-I/SO that engineers should know?
Engineers should know: 8 KB Flash / 256 B SRAM / 256 B EEPROM; 64 MHz / 16 MIPS PIC18 core; 1.8-3.6 V VDD; 10-bit ADC up to 12 channels; EUSART + MSSP; 17 I/O; nanoWatt XLP low power; -40 to +85 °C industrial; SOIC-20 package. Source: Microchip datasheet 40001412.

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

Selection Guide

Choose PIC18LF13K22-I/SO when you need a small (SOIC-20), low-voltage (1.8V-3.6V) 8-bit PIC18 microcontroller for battery-powered or 3.3V-only designs that need 8 KB flash, 256 B SRAM, and nanoWatt XLP low-power sleep. Choose PIC18F13K22-I/SO if your system runs at 5V or needs 2.3V minimum VDD. Choose PIC18F14K50-I/SO when USB 2.0 full-speed device connectivity is required. Choose PIC18LF13K22-I/P (PDIP) for through-hole prototypes, or PIC18LF13K22-I/SS (SSOP-20) for space-constrained layouts. All five parts share identical silicon behavior; they differ only in core voltage rating, USB presence, and package footprint code (SOIC vs PDIP vs SSOP).

Comparison with Alternatives

Parameter This Product PIC18F13K22-I/SO PIC18LF13K22-I/P PIC18LF13K22-I/SS PIC18F14K50-I/SO
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package SOIC-20 SOIC-20 PDIP-20 SSOP-20 SOIC-20
Flash Program Memory 8 KB 8 KB 8 KB 8 KB 16 KB
SRAM 256 B 256 B 256 B 256 B 768 B
EEPROM 256 B 256 B 256 B 256 B 256 B
Maximum CPU Frequency 64 MHz (16 MIPS) 64 MHz (16 MIPS) 64 MHz (16 MIPS) 64 MHz (16 MIPS) 48 MHz (12 MIPS)
Supply Voltage (VDD) 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
USB 2.0 FS Support No No No No Yes (integrated FS SIE)

Key Differentiators

  • Lowest operating voltage in PIC18F1xK22 family (vs PIC18F13K22-I/SO)
  • No USB peripheral but lowest BOM cost in 20-pin class (vs PIC18F14K50-I/SO)
  • 20-pin SOIC industrial-grade with full nanoWatt XLP (vs PIC16F1824-I/SO)

Design Notes

For battery-powered designs, configure the PIC18LF13K22-I/SO's VREG to use the LF low-voltage regulator (VREGPM=0) so the part can operate down to 1.8V. Use the BOR (Brown-Out Reset) module to set a brown-out threshold appropriate to your battery chemistry (e.g. 2.0V for 2xAA alkaline systems). Estimated: at typical 3V VDD and 16 MHz HFINTOSC, active current is ~4 mA and deep sleep current is <100 nA, so a 1000 mAh CR2032 could power 1 wake/second duty cycle for years.

Place a 100 nF ceramic decoupling capacitor as close as possible to the VDD pin (pin 6) and the VSS pin (pin 7). For noise-sensitive analog designs, add a 10 uF bulk tantalum or ceramic capacitor on VDD as well. Keep the VSS trace short and direct to a low-impedance ground plane to minimize digital switching noise coupling into the ADC reference.

Route the ICSP signals (PGC/RB6, PGD/RB7) away from high-frequency signals to prevent programming glitches. If you use the internal oscillator instead of a crystal, leave OSC1/OSC2 as GPIO (RA6/RA7) for general use, but configure them as outputs in firmware to minimize sleep current. Estimated: floating OSC pins can add several uA of leakage current per pin in XLP sleep modes.

Do not apply 5V to any I/O pin when the LF variant is operating at 3.3V - the absolute maximum VDD is 3.6V. Voltage spikes above this can latch-up the part. Always verify that VDD does not exceed 3.6V during power-up transients; add a TVS diode or in-rush limiter if your upstream supply is unstable.

Compliance Information

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

RoHS and REACH compliant per Microchip product page. Industrial temperature grade -40C to +85C. Not AEC-Q100 qualified - choose PIC18F1xK22 automotive variants (suffix V) for automotive applications.

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

Related Searches

PIC18LF13K22-I/SO PIC18LF13K22-I/SO datasheet Microchip PIC18LF13K22 8-bit PIC microcontroller SOIC-20 PIC18LF13K22 vs PIC18F13K22 nanoWatt XLP microcontroller PIC18LF13K22-I/SO buy price PIC18LF13K22-I/SO in stock PIC18LF13K22-I/SO lead time PIC18LF13K22-I/SO battery powered sensor what is the flash memory of PIC18LF13K22 PIC18LF13K22-I/SO pinout SOIC-20

Related Components & Terms

Microchip Technology PIC18LF13K22 PIC18F13K22 PIC18F14K50 PIC18LF1xK22 PIC18F1xK22 PIC microcontroller 8-bit MCU Harvard architecture RISC nanoWatt XLP flash microcontroller EEPROM SOIC-20 PDIP-20 SSOP-20 ADC EUSART MSSP RoHS REACH battery-powered sensor node industrial control module smart home sensor hub MPLAB X
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