Microchip Technology

PIC18LF13K22-I/ML - 8-bit MCU, 8KB Flash, 64MHz, QFN-20 | Microchip

MPN: PIC18LF13K22-I/ML ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 3.6 V (LF variant) Vdss 20-pin QFN (ML) 4x4 mm Package 64 MHz Speed 8 KB Memory
From $1.72 USD / Unit
MOQ: 1 |
Price updated: 2026-09-28
Volume Pricing
Qty Unit Price Extended
1 $2.71 $2.71
10 $2.43 $24.30
100 $2.16 $216.00
500 $1.94 $970.00
1,000 $1.72 $1,720.00
ℹ️ All prices are in USD

PIC18LF13K22-I/ML Overview

The Microchip PIC18LF13K22-I/ML is an 8-bit PIC18 flash microcontroller with 8KB of program memory, 256 bytes of RAM, and 256 bytes of EEPROM, operating at up to 64 MHz in a 20-pin QFN package. It belongs to the PIC18F1XK22 nanoWatt XLP family, which balances high computational performance with very low power consumption for battery-sensitive designs. The device supports an operating voltage range suitable for both 3.3V and 5V rails, while the "LF" prefix designates the low-voltage core variant optimized for applications powered from 1.8V to 3.6V supplies.

An 8-bit microcontroller (MCU) is a small computer on a single integrated circuit that combines a CPU core, program memory (Flash), data memory (RAM), non-volatile storage (EEPROM), and programmable peripherals. Within the broader taxonomy, PIC18LF13K22 belongs to: PIC18 family -> 8-bit PIC microcontroller -> microcontroller (MCU) -> embedded processor -> semiconductor device. Compared with 32-bit Cortex-M0+ or MSP430 parts, the PIC18LF13K22 trades raw processing throughput for extreme energy efficiency and a much smaller instruction footprint in C, making it ideal for cost- and power-constrained node devices.

Key features include nanoWatt XLP technology for sub-uA sleep currents, an integrated 10-bit ADC with up to 12 channels, enhanced USART, MSSP (SPI/I2C), multiple 8/16-bit timers, and a wide set of power-managed modes including Idle, Sleep, and Deep Sleep. The chip also exposes internal oscillator options that allow designs to operate without an external crystal, reducing BOM cost and board area.

The PIC18LF13K22 uses a Harvard-architecture 8-bit data path with a 16-bit instruction word, executing most instructions in one cycle through a two-stage pipeline. Its C-optimized instruction set simplifies code generation with the MPLAB XC8 compiler, while CIP (Core Independent Peripheral) blocks let timing-critical functions run without CPU intervention, freeing the core for application logic and lowering overall active-mode current.

Typical applications include battery-powered sensor nodes, wearable fitness bands, IoT endpoints, low-energy remote controls, and small consumer appliances where long battery life is critical. It is also commonly used in industrial control modules that need deterministic timing combined with low standby current.

When designing with this part, ensure decoupling capacitors are placed within 5 mm of VDD and that the MCLR reset pin uses the recommended pull-up network. For deep sleep operation, verify the wake-up sources are configured correctly to avoid unintended resets and to achieve the lowest possible sleep current.

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

Microchip Technology
Operating Temperature: -40 C to +125 C
Package: 20-pin QFN (4x4) with exposed thermal pad (ML)
Program Memory (Flash): 8 KB (4K x 16)
Microchip Technology
Operating Temperature: -40C to +85C (industrial, 'I' suffix)
Package: 20-pin PDIP (P)
Program Memory (Flash): 8 KB (4K x 16 words)

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

PIC18F13K22-I/ML

✅ Drop-In
📦 20-pin QFN (ML)
F (5V) variant: same QFN-20 footprint, peripherals, and Flash/RAM; wider VDD 2.0-5.5V instead of 1.8-3.6V (+0.2V Vmin)

📋 Reference alternative (not in catalog)

PIC18LF13K22T-I/ML

✅ Drop-In
📦 20-pin QFN (ML)
Tape-and-reel packaging suffix T only; identical die and pinout, same LF voltage range and memory map (0% param delta)

📋 Reference alternative (not in catalog)

PIC18LF13K22-I/SS

✅ Drop-In
📦 20-pin SSOP (SS)
SSOP-20 industrial grade; identical die, same VDD 1.8-3.6V and memory (0% param delta); footprint differs from QFN but is a documented same-family pin-compatible package code

📋 Reference alternative (not in catalog)

PIC18LF13K22-I/P

✅ Drop-In
Microchip Technology
📦 20-pin PDIP (P)
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/ML Maximum Ratings & Electrical Characteristics

Core Architecture PIC18 8-bit RISC
Program Memory (Flash) 8 KB
Data RAM 256 bytes
Data EEPROM 256 bytes
Maximum CPU Frequency 64 MHz
Operating Voltage Range 1.8 V to 3.6 V (LF variant)
Package 20-pin QFN (ML) 4x4 mm
Mounting Type Surface Mount
ADC 10-bit, multiple channels
Communication Interfaces EUSART, MSSP (SPI/I2C)
Timers 8/16-bit timer modules
Operating Temperature -40 C to +85 C (Industrial)
Power-Saving Modes nanoWatt XLP, Idle, Sleep
RoHS Status Compliant

PIC18LF13K22-I/ML Pin Configuration

QFN-20 Package Pinout Diagram QFN-20 4x4mm, P0.5mm, EP 2.5x2.5mm, JEDEC MO-220. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 QFN-20
Pin 1 RA0/AN0 — Digital I/O / Analog input channel 0
Pin 2 RA1/AN1 — Digital I/O / Analog input channel 1
Pin 3 RA2/AN2 — Digital I/O / Analog input channel 2
Pin 4 RA3/AN3/VREF+ — Digital I/O / Analog input / Voltage reference plus
Pin 5 RA4/AN4 — Digital I/O / Analog input channel 4
Pin 6 RA5/AN5/SS1/HLVDIN — Digital I/O / Analog / SPI slave select / High/Low voltage detect input
Pin 7 VSS — Ground reference
Pin 8 OSC1/CLKIN/RA7 — Crystal oscillator input / External clock input / Digital I/O
Pin 9 OSC2/CLKOUT/RA6 — Crystal oscillator output / Clock output / Digital I/O
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
Pin 14 RC4 — Digital I/O port C bit 4
Pin 15 RC5 — Digital I/O port C bit 5
Pin 16 RC6 — Digital I/O port C bit 6
Pin 17 RC7 — Digital I/O port C bit 7
Pin 18 RB0/INT0 — Digital I/O port B bit 0 / External interrupt 0
Pin 19 RB1/INT1 — Digital I/O port B bit 1 / External interrupt 1
Pin 20 VDD — Positive supply voltage

Typical Applications

PIC18LF13K22-I/ML is suitable for 6 applications: Battery-Powered IoT Sensor Nodes, Wearable Fitness and Health Devices, Industrial Control Modules and Sensor Hubs, Low-Power Remote Controls, Small Consumer Appliances, Automotive Interior Accessories (Non-Safety).

🧩

Battery-Powered IoT Sensor Nodes

The PIC18LF13K22-I/ML's nanoWatt XLP technology delivers sub-uA sleep current while the LF core keeps the MCU running down to 1.8V, extending coin-cell and Li-ion battery life in wireless sensor nodes. With 8KB Flash and 256B RAM it fits lightweight Zigbee/Thread/BLE application profiles (using an external radio). The QFN-20 footprint is small enough for back-of-sensor PCBAs, and the integrated 10-bit ADC supports direct connection to analog sensors without a front-end IC.

📱

Wearable Fitness and Health Devices

Wearable fitness bands demand extreme battery life, small form factor, and just enough MIPS for sensor fusion. The PIC18LF13K22-I/ML runs a step counter, heart-rate sampling loop, and BLE beaconing with a 64MHz internal oscillator while sleeping at sub-uA. The 1.8V VDD matches single-cell Li-ion discharge curves, eliminating boost converters. The 20-pin QFN allows the MCU to fit on a wristband flex PCB alongside a 3-axis accelerometer.

🏭

Industrial Control Modules and Sensor Hubs

Industrial sensor hubs need deterministic timing, robust I/O, and tolerance for 3.3V industrial rails. The PIC18LF13K22-I/ML's EUSART and MSSP provide SPI/I2C links to digital sensors and isolated UART to upstream PLCs, while the 10-bit ADC with multiple channels handles analog field instrumentation. Its -40C to +85C industrial temperature rating covers harsh cabinet environments, and the LF variant supports low-voltage battery-backed telemetry nodes.

🎧

Low-Power Remote Controls

TV/STB remote controls require years of battery life from two AAA cells and minimal cost. The PIC18LF13K22-I/ML drives the IR LED via PWM in active mode and sleeps at sub-uA between button presses, easily achieving 5+ year battery life. Its 8KB Flash holds standard RC5/RC6/Sony IR protocol stacks, and the integrated EUSART supports firmware updates through the IR LED itself in production test fixtures.

🔧

Small Consumer Appliances

Small kitchen appliances, electric toothbrushes, and personal care devices need a low-cost, low-power MCU with PWM, ADC, and timing peripherals. The PIC18LF13K22-I/ML drives a brushless or brushed motor via PWM, reads battery voltage with the 10-bit ADC, and runs user-interface logic in 8KB of C code. The LF voltage range makes it ideal for direct Li-ion cell operation without a boost converter.

🚗

Automotive Interior Accessories (Non-Safety)

Non-safety interior accessories like ambient lighting controllers, USB charging hubs, and seat-heater switches run from 12V automotive rails regulated down to 3.3V. The PIC18LF13K22-I/ML handles PWM dimming, button debouncing, and LIN or UART communication while keeping quiescent current low for key-off battery drain compliance. Note: this part is not AEC-Q100 qualified; for safety-critical or AEC-Q100 needs, select an automotive-grade PIC18 K-series variant.

Recommended Products Summary

MRF24J40MA IEEE 802.15.4 2.4GHz transceiver companion Used in: Battery-Powered IoT Sensor Nodes MCP9700T Low-power analog temperature sensor Used in: Battery-Powered IoT Sensor Nodes, Automotive Interior Accessories (Non-Safety) PIC18LF13K22-I/SS Same-die SOIC variant for hand-solder prototypes Used in: Battery-Powered IoT Sensor Nodes LIS2DH Low-power 3-axis accelerometer Used in: Wearable Fitness and Health Devices MCP1700 3.3V LDO regulator for stable VDD rail Used in: Wearable Fitness and Health Devices, Low-Power Remote Controls PIC18LF13K22-I/ML Microchip Technology Used in: Wearable Fitness and Health Devices MCP2515 Standalone CAN controller for industrial networking Used in: Industrial Control Modules and Sensor Hubs ADM3251E Isolated RS-232/RS-485 transceiver Used in: Industrial Control Modules and Sensor Hubs MCP9808 High-accuracy I2C temperature sensor Used in: Industrial Control Modules and Sensor Hubs TSAL6100 High-power IR LED for transmit Used in: Low-Power Remote Controls TSOP38238 38kHz IR receiver module for two-way remotes Used in: Low-Power Remote Controls DRV8870 Brushed DC motor driver with integrated FETs Used in: Small Consumer Appliances MCP73831 Single-cell Li-ion charge management IC Used in: Small Consumer Appliances PIC18F13K22-I/ML F-variant drop-in if 5V rail is required Used in: Small Consumer Appliances MCP2551 CAN transceiver for body electronics Used in: Automotive Interior Accessories (Non-Safety) TLE4271-2 5V/3.3V automotive LDO Used in: Automotive Interior Accessories (Non-Safety)
What is the operating voltage of PIC18LF13K22-I/ML?
The PIC18LF13K22-I/ML operates from 1.8 V to 3.6 V as the LF (low-voltage) core variant. According to Microchip datasheet document 41375E, the LF suffix indicates the lower VDD range, while the F variant supports 2.0 V to 5.5 V. Use the LF version for battery-powered designs that drop below 2.0 V during discharge.
How much Flash and RAM does the PIC18LF13K22-I/ML have?
The PIC18LF13K22-I/ML integrates 8 KB of Flash program memory, 256 bytes of data RAM, and 256 bytes of data EEPROM. This is the same memory map used across the PIC18F1XK22 family and is sufficient for typical sensor-fusion, control-loop, and IoT-protocol firmware. Source: Microchip PIC18F1XK22 datasheet family specifications.
What is the maximum CPU clock frequency of the PIC18LF13K22-I/ML?
The PIC18LF13K22-I/ML runs at up to 64 MHz of internal oscillator frequency, yielding up to 16 MIPS when the 4x PLL is engaged. According to the Microchip datasheet, this throughput is more than adequate for driving modest display updates, sensor polling, and low-rate wireless protocol stacks.
What package does PIC18LF13K22-I/ML come in?
The PIC18LF13K22-I/ML comes in a 20-pin QFN package (4x4 mm, exposed thermal pad) as indicated by the "/ML" suffix. This compact package suits space-constrained PCB layouts; the exposed pad must be soldered to the ground plane for thermal and electrical performance per Microchip application note guidelines.
Is PIC18LF13K22-I/ML pin-compatible with PIC18F13K22?
Yes. The PIC18LF13K22 and PIC18F13K22 share the same QFN-20 footprint and pinout, differing only in operating voltage range (1.8-3.6 V vs 2.0-5.5 V). For 5 V-only designs the F variant is the correct choice, while for 3.3 V battery operation the LF version delivers lower quiescent current. Both share the same peripherals and instruction set.
Where to buy PIC18LF13K22-I/ML online?
The PIC18LF13K22-I/ML is widely stocked at distributors including Mouser, DigiKey, LCSC, Newark, and Microchip Direct. As of 2026-09-28, LCSC lists a starting price of USD 2.7064 per unit with in-stock availability. For production volumes, Microchip Direct is the recommended source with full traceability and PPAP documentation.
What is the price of PIC18LF13K22-I/ML?
The PIC18LF13K22-I/ML is priced from USD 2.7064 per unit at LCSC as of 2026-09-28. Volume pricing drops to approximately USD 1.72 per unit at 1,000-piece quantities. Pricing at DigiKey/Mouser is typically 10-15% higher than LCSC but offers faster US/EU logistics and RoHS/REACH compliance certificates.
What is the lead time for PIC18LF13K22-I/ML?
Lead time for the PIC18LF13K22-I/ML is typically 6-12 weeks ex-factory and 2-4 weeks at major distributors as of 2026-09-28. Stock is healthy at Mouser, DigiKey, and LCSC. Microchip also recommends the newer PIC18F24Q10 family as a long-term migration path if extended supply continuity is required.
PIC18LF13K22-I/ML vs PIC18F13K22 - which is better for 3.3V battery designs?
For 3.3 V battery-powered designs, the PIC18LF13K22-I/ML is the better choice because its 1.8 V minimum VDD extends usable runtime deeper into battery discharge, and its nanoWatt XLP sleep currents are tuned for the lower voltage domain. The PIC18F13K22 is pin-compatible but only supports down to 2.0 V, so it would brown-out earlier on the same battery.
When should I choose PIC18LF13K22-I/ML over PIC18F24Q10?
Choose the PIC18LF13K22-I/ML when you need a 20-pin QFN, ultra-low-power sleep current, and are committed to the PIC18 8-bit architecture with proven MPLAB XC8 tooling. Choose the PIC18F24Q10 (recommended by Microchip) when you need more memory, peripherals, and longer-term supply commitment, but at the cost of a larger pin count and tool migration.
What is the best drop-in replacement for PIC18LF13K22-I/ML?
The best drop-in replacement for PIC18LF13K22-I/ML is the PIC18F13K22-I/ML: it shares the same QFN-20 footprint, peripherals, and instruction set, but supports a wider VDD range (2.0 V to 5.5 V). For designs that must remain in the LF voltage domain, PIC18LF13K22T-I/ML (tape-and-reel packaging) is functionally equivalent. Both are pin-to-pin drop-in parts.
Where to download PIC18LF13K22-I/ML datasheet PDF?
The official PIC18LF13K22-I/ML datasheet PDF is available from Microchip's product page at ww1.microchip.com/downloads/en/devicedoc/41375e.pdf. Mouser and Octopart also host cached copies and parametric mirrors. Always download directly from Microchip to ensure you get the latest revision with errata updates.
Where can I find the PIC18LF13K22-I/ML pinout?
The PIC18LF13K22-I/ML pinout is in section 1 of the datasheet and is shown in the package diagram for the 20-pin QFN. Key pin assignments: pin 1 is RA0/AN0, pin 20 is RA5/SS1/HLVDIN, and the exposed thermal pad is on the bottom and must be soldered to ground. Full pin descriptions are in the datasheet pinout tables.
What are the key specifications of PIC18LF13K22-I/ML that engineers should know?
Per Microchip datasheet 41375E, the PIC18LF13K22-I/ML has 8 KB Flash, 256 B RAM, 256 B EEPROM, 64 MHz max clock, 1.8-3.6 V VDD, 10-bit ADC, EUSART, MSSP (SPI/I2C), and nanoWatt XLP sleep modes in a 20-pin QFN. It is the LF (low-voltage) member of the PIC18F1XK22 family and is recommended for battery-powered sensor and IoT nodes.

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

Selection Guide

Choose the PIC18LF13K22-I/ML when you need a 20-pin QFN, 8-bit PIC18 core with nanoWatt XLP ultra-low sleep current, and direct operation from a single Li-ion/alkaline cell in the 1.8-3.6 V range. It is ideal for battery-powered IoT nodes, wearables, remote controls, and small consumer appliances. Choose PIC18F13K22-I/ML if your rail is 2.0 V or above and you want the same pinout with a wider VDD window. Choose PIC18LF13K22T-I/ML for tape-and-reel pick-and-place assembly (same die). For designs that need more memory, peripherals, or AEC-Q100 automotive qualification, migrate to the Microchip-recommended PIC18F24Q10 family, accepting a larger pin count and tool migration.

Comparison with Alternatives

Parameter This Product PIC18F13K22-I/ML PIC18LF13K22T-I/ML PIC18LF13K22-I/SS PIC18LF13K22-I/P
Package 20-pin QFN (ML) 20-pin QFN (ML) - same 20-pin QFN (ML) - same 20-pin SSOP (SS) - same pinout 20-pin PDIP (P) - same pinout
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Operating Voltage Range 1.8 V to 3.6 V (LF) 2.0 V to 5.5 V (F) 1.8 V to 3.6 V (LF) 1.8 V to 3.6 V (LF) 1.8 V to 3.6 V (LF)
Flash Memory 8 KB 8 KB 8 KB 8 KB 8 KB
RAM 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes
EEPROM 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes
Max CPU Frequency 64 MHz 64 MHz 64 MHz 64 MHz 64 MHz
AEC-Q100 Qualified No No No No No
1.8 V VDD Operation Yes (LF core) No (2.0V minimum) Yes (LF core) Yes (LF core) Yes (LF core)

Key Differentiators

  • Lowest VDD operation in the PIC18F1XK22 family (vs PIC18F13K22-I/ML)
  • Compact 20-pin QFN for space-constrained designs (vs PIC18LF13K22-I/P (PDIP-20))
  • Long-term Microchip continuity via Q10 family migration path (vs Generic PIC18 LF K22 drop-ins)

Design Notes

Decoupling: place a 100 nF ceramic capacitor within 5 mm of the VDD pin (pin 20) and a 10 uF bulk capacitor on the same rail. For battery-powered designs, add a 1 uF tantalum or ceramic at the MCU VDD node to suppress transient dips when the ADC or PWM peripherals switch on. Per Microchip PIC18F1XK22 datasheet section 2, VDD must rise monotonically; a soft-start RC on VDD is recommended if the supply has a slow ramp.

The 20-pin QFN (ML) package has an exposed thermal pad that MUST be soldered to a grounded copper pour on the PCB for both thermal dissipation and electrical ground reference. A minimum 0.5 sq. in. of 1 oz copper is recommended. Estimated: at 64 MHz active mode and 3.3 V supply, power dissipation is approximately 12 mW; thermal rise above ambient is negligible given the small die, but the exposed pad is still mandatory per IPC-7351 QFN land pattern guidance.

PIC18LF vs PIC18F confusion: the LF (low-voltage) variant supports 1.8-3.6 V while the F variant supports 2.0-5.5 V. Substituting an F-variant into an LF-designed board can cause brown-out failures during low-battery conditions. Conversely, an LF part in a 5 V design will be damaged. Always match the LF/F suffix to your power rail design. The I (industrial) temperature grade suffix is independent and supports -40 C to +85 C.

Place the 32.768 kHz crystal (if used for RTCC) within 5 mm of the SOSCO/SOSCI pins to minimize stray capacitance. Keep ADC analog traces away from PWM and switching signals; use a ground pour under the MCU and route analog references (VREF+/VREF-) with a guard trace tied to analog ground. The MPLAB ICD 3 / ICD 4 / PICkit 4 programming connector should be brought out to a 6-pin header per Microchip debug specification AC244023.

Compliance Information

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

RoHS and lead-free status inferred from Microchip product page packaging materials disclosure; AEC-Q100 not qualified (this is a general-purpose industrial part, not automotive-grade); halogen-free status not explicitly stated in retrieved web data and marked unknown.

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

Related Searches

PIC18LF13K22-I/ML PIC18LF13K22 datasheet Microchip PIC18LF13K22 PIC18 8KB Flash 64MHz QFN-20 PIC18LF13K22 QFN 4x4 mm PIC18LF13K22 IoT sensor node PIC18LF13K22 vs PIC18F13K22 PIC18LF13K22 drop-in replacement PIC18LF13K22-I/ML buy price what is nanoWatt XLP PIC18LF13K22 pinout QFN-20 low power 8-bit microcontroller 1.8V

Related Components & Terms

Microchip Technology PIC18LF13K22 PIC18LF13K22-I/ML PIC18F13K22-I/ML PIC18LF13K22T-I/ML PIC18LF13K22-I/SS PIC18LF13K22-I/P PIC18 microcontroller 8-bit microcontroller MCU Flash memory EEPROM nanoWatt XLP QFN-20 QFN package surface mount AEC-Q100 RoHS REACH lead-free IoT sensor node wearable device battery-powered remote control industrial control
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