PIC18LF24K22-I/SO - 8-bit 64MHz 16KB Flash XLP MCU | Microchip
MPN: PIC18LF24K22-I/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.85 | $2.85 |
| 10 | $2.57 | $25.70 |
| 100 | $2.28 | $228.00 |
| 500 | $1.99 | $995.00 |
| 1,000 | $1.75 | $1,750.00 |
PIC18LF24K22-I/SO Overview
A microcontroller is a single-chip computer that integrates a CPU core, volatile and non-volatile memory, programmable I/O peripherals, and dedicated hardware blocks (timers, ADC, communication peripherals) into one IC. The PIC18 family sits in Microchip's 8-bit MCU lineup with an enhanced RISC architecture and 16-bit-wide instruction words; the "LF24K22" series extends the family with XLP ultra-low-power modes, larger RAM, more peripherals, and a faster 64 MHz internal oscillator pipeline compared with the earlier K20 generation.
Key features of the PIC18LF24K22 include 16KB (8K x 16 words) self-programmable Flash, 768 bytes of RAM, 256 bytes of EEPROM, a 10-bit ADC (with up to 17 channels), three CCP/ECCP modules, two USART (enhanced) modules, two MSSP (I2C/SPI) modules, and 25 general-purpose I/O pins. The device supports 1.8V to 3.6V single-supply operation with nanoWatt XLP Idle, Sleep, and deep-sleep modes that drop current consumption into the nanoampere range - critical for battery-powered and energy-harvesting designs.
The architecture combines a high-performance 16-bit Harvard bus, hardware multiplier, C-compiler-friendly memory map, and on-chip debug via ICD. The 64 MHz oscillator drives a four-clock-per-instruction pipeline, delivering up to 16 MIPS throughput. The device also integrates a mTouch capacitive-touch sensing peripheral and a CTMU module for advanced touch interfaces.
Typical applications include battery-powered wireless sensor nodes, low-power IoT endpoints, portable medical instrumentation, remote controls, e-metering / smart thermostats, and consumer products requiring USB-less general-purpose 8-bit control. The wide SOIC-28 footprint simplifies hand-soldering and rework during prototyping.
When designing with this part, ensure decoupling with 100 nF ceramic capacitors placed within 5 mm of VDD/VSS pairs, and configure the CONFIG registers to enable the lowest-power Sleep mode compatible with the application's wake-up latency budget. Avoid leaving floating analog inputs - tie unused ANx pins to VDD or VSS through a defined resistor to reduce ADC leakage.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found on the manufacturer datasheet, with all data cross-checked against Microchip's PIC18F24K22/LF24K22 datasheet (DS41398) and current distributor listings as of 2026-09-28.
Drop-in alternatives for PIC18LF24K22-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 PIC18LF24K22-I/SO (same form factor and footprint) — differing in Package, ADC, Family, I/O Pins, Communication.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F24K22-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18LF24K22-I/MV
✅ Drop-In✓ In Stock
$1.39 / Unit
View Datasheet →PIC18LF23K22-I/SO
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.51 / Unit
View Datasheet →PIC18LF24K22-E/SO
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.32 / Unit
View Datasheet →PIC18LF24K22T-I/SO
✅ Drop-In✓ In Stock
$1.78 / Unit
View Datasheet →PIC18LF24J11-I/SO
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18LF24K22-I/SO Maximum Ratings & Electrical Characteristics
| Product Family | PIC18F/LF24K22 (8-bit) |
| Core Architecture | Enhanced RISC Harvard, 16-bit instruction |
| CPU Speed (Max) | 64 MHz (16 MIPS) |
| Program Memory (Flash) | 16 KB (8K x 16 words) |
| Data SRAM | 768 bytes |
| Data EEPROM | 256 bytes |
| Operating Voltage Range | 1.8 V to 3.6 V (LF variant) |
| Operating Temperature Range | -40 C to +85 C (Industrial, "I") |
| I/O Pins | 25 |
| ADC | 10-bit, up to 17 channels |
| Timers | Timer0/1/2/3 + 3x CCP/ECCP + WDT |
| Communication Peripherals | 2x EUSART, 2x MSSP (I2C/SPI) |
| Package | SOIC-28 (Wide Body, 7.50 mm) |
| Mounting Type | Surface Mount |
| Special Features | nanoWatt XLP, mTouch, CTMU, on-chip debug |
| RoHS Status | Compliant |
PIC18LF24K22-I/SO Pin Configuration
| Pin 1 | MCLR/RE3 — Master Clear (reset) input or digital input RE3 |
| Pin 2 | RA0/AN0 — PORTA bit 0 / analog input AN0 |
| Pin 3 | RA1/AN1 — PORTA bit 1 / analog input AN1 |
| Pin 4 | RA2/AN2 — PORTA bit 2 / analog input AN2 |
| Pin 5 | RA3/AN3/VREF+ — PORTA bit 3 / AN3 / positive voltage reference |
| Pin 6 | RA4/AN4/T0CKI — PORTA bit 4 / AN4 / Timer0 clock input |
| Pin 7 | RA5/AN5/SS/HLVDIN — PORTA bit 5 / AN5 / SPI SS / HLVD input |
| Pin 8 | VSS — Ground reference |
| Pin 9 | RA7/OSC1/CLKI — PORTA bit 7 / oscillator crystal input / external clock |
| Pin 10 | RA6/OSC2/CLKO — PORTA bit 6 / oscillator crystal output / clock out |
| Pin 11 | RC0/SOSCO — PORTC bit 0 / secondary oscillator output (Timer1) |
| Pin 12 | RC1/SOSCI — PORTC bit 1 / secondary oscillator input (Timer1) |
| Pin 13 | RC2/CCP1 — PORTC bit 2 / Capture-Compare-PWM 1 |
| Pin 14 | RC3/SCK/SCL — PORTC bit 3 / SPI SCK / I2C SCL |
| Pin 15 | RC4/SDI/SDA — PORTC bit 4 / SPI SDI / I2C SDA |
| Pin 16 | RC5/SDO — PORTC bit 5 / SPI SDO |
| Pin 17 | RC6/TX/CK — PORTC bit 6 / EUSART TX / clock |
| Pin 18 | RC7/RX/DT — PORTC bit 7 / EUSART RX / data |
| Pin 19 | VSS — Ground reference |
| Pin 20 | VDD — Positive supply voltage (1.8 V to 3.6 V for LF) |
| Pin 21 | RB0/AN12/INT0 — PORTB bit 0 / AN12 / external interrupt 0 |
| Pin 22 | RB1/AN10/INT1 — PORTB bit 1 / AN10 / external interrupt 1 |
| Pin 23 | RB2/AN8 — PORTB bit 2 / analog input AN8 |
| Pin 24 | RB3/AN9/CCP2 — PORTB bit 3 / AN9 / CCP2 |
| Pin 25 | RB4/AN11 — PORTB bit 4 / analog input AN11 |
| Pin 26 | RB5/AN13 — PORTB bit 5 / analog input AN13 |
| Pin 27 | RB6/PGC — PORTB bit 6 / ICSP clock (programming/debug) |
| Pin 28 | RB7/PGD — PORTB bit 7 / ICSP data (programming/debug) |
Typical Applications
PIC18LF24K22-I/SO is suitable for 6 applications: Battery-Powered Wireless Sensor Node, Portable Glucose / Medical Meter, Smart Thermostat / HVAC Controller, Industrial Sensor Transmitter (4-20 mA), Remote Control / Consumer HID Device, IoT Edge Node with Security Co-Processor.
Battery-Powered Wireless Sensor Node
The PIC18LF24K22-I/SO is well suited for battery-powered wireless sensor endpoints thanks to its nanoWatt XLP technology, which drops Sleep current to tens of nanoamperes while retaining RAM and rapid wake-up. The 1.8 V to 3.6 V supply range matches two- or three-alkaline-cell packs and CR2032 lithium coin cells directly, eliminating boost regulators. With 16 KB Flash, 768 B RAM, and integrated 10-bit ADC, it can run a sensor-sampling loop, buffer data, and drive an SPI-attached radio such as the MRF24J40 or SX1276 without external memory. The 64 MHz core provides 16 MIPS, sufficient to handle radio packet framing, AES-light crypto, and periodic sensor reads.
Recommended
Portable Glucose / Medical Meter
Medical handheld meters benefit from the PIC18LF24K22-I/SO's low-voltage operation, integrated ADC, and EEPROM for storing calibration constants and patient history. The 256-byte EEPROM supports 1M erase/write cycles, ideal for logging strip calibration or test counts, while 16 KB Flash fits a small RTOS or state-machine firmware with USB-CDC or UART output. The mTouch and CTMU peripherals enable capacitive buttons or strip-detection electrodes without dedicated touch hardware. Industrial temperature grade (-40 to +85 C) supports the thermal range of POC diagnostics without requiring the extended-grade variant.
Recommended
Smart Thermostat / HVAC Controller
Smart thermostats and HVAC wall controllers use the PIC18LF24K22-I/SO to read multiple temperature sensors, drive a TFT or segment LCD, handle capacitive touch keys, and communicate with a host network over UART or SPI. The 25 GPIO pins and 17-channel 10-bit ADC support multi-zone temperature sensing, relay drive for HVAC stages, and rotary encoder inputs. XLP low-power modes keep quiescent draw below 100 uA between temperature samples, helping meet ENERGY STAR standby budgets. The SOIC-28 wide-body package simplifies hand-rework during field-service updates and allows easy clip-on programming.
Recommended
Industrial Sensor Transmitter (4-20 mA)
Loop-powered 4-20 mA sensor transmitters leverage the PIC18LF24K22-I/SO's 1.8 V to 3.6 V supply to operate from a precision shunt regulator on the loop, eliminating local power. The 10-bit ADC with up to 17 channels handles multiple sensor inputs (temperature, pressure, flow), while the integrated EEPROM stores calibration coefficients per sensor module. The 16 KB Flash fits sensor-linearization libraries and HART or proprietary framing, and the SOIC-28 wide-body package supports standard industrial module form factors. Industrial -40 to +85 C operation meets process-plant requirements.
Recommended
Remote Control / Consumer HID Device
Universal remote controls, game controllers, and consumer HID devices fit well on the PIC18LF24K22-I/SO thanks to its capacitive touch (mTouch + CTMU) peripherals for buttons and sliders, plus low-power Sleep modes that extend battery life into the multi-year range. The 64 MHz CPU runs IR protocols (RC5, NEC, SIRC), BLE HID bridging, or 2.4 GHz proprietary RF stacks over SPI-attached radios. 16 KB Flash stores device code-tables and configuration, and SOIC-28 wide-body simplifies through-hole-friendly prototyping for hand-soldered early designs.
Recommended
IoT Edge Node with Security Co-Processor
IoT edge nodes use the PIC18LF24K22-I/SO as an application MCU alongside an ATECC608B or similar secure element. The MCU handles sensor sampling, local control loops, and host-side data formatting, while the companion chip performs ECC/HMAC authentication and secure storage. The 16 KB Flash, 64 MHz core, and 25 GPIO comfortably support MQTT-SN or CoAP framing over UART-attached Wi-Fi/BLE modules, and the LF 3.6 V rail aligns with 3.3 V module power domains. Industrial temperature grade supports outdoor enclosure operation.
Recommended
Recommended Products Summary
Engineering reference data for PIC18LF24K22-I/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F24K22-I/SO | PIC18LF23K22-I/SO | PIC18LF24K22-E/SO | PIC18LF24K22T-I/SO |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | SOIC-28 (Wide Body) | SOIC-28 (Wide Body) | SOIC-28 (Wide Body) | SOIC-28 (Wide Body) | SOIC-28 (Wide Body) |
| Flash Memory | 16 KB | 16 KB | 8 KB (-50%) | 16 KB | 16 KB |
| SRAM | 768 bytes | 768 bytes | 512 bytes (-33%) | 768 bytes | 768 bytes |
| Supply Voltage Range | 1.8 V to 3.6 V (LF) | 1.8 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) |
| Operating Temperature | -40 C to +85 C (Industrial) | -40 C to +85 C | -40 C to +85 C | -40 C to +125 C (Extended) | -40 C to +85 C |
| CPU Speed (Max) | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS |
| GPIO Pins | 25 | 25 | 25 | 25 | 25 |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
Key Differentiators
- Lower supply voltage ceiling suits 3.3 V battery designs (vs PIC18F24K22-I/SO)
- 16 KB Flash doubles the smaller-memory variant (vs PIC18LF23K22-I/SO)
- Industrial temperature range sufficient for most consumer / industrial use (vs PIC18LF24K22-E/SO)
Design Notes
Estimated: configuring the PIC18LF24K22-I/SO in Sleep mode with peripherals disabled typically yields <100 nA quiescent current at 3.3 V. Place a 100 nF decoupling capacitor within 5 mm of the VDD pin (pin 20) and a bulk 10 uF tantalum or ceramic near the IC. Tie the MCLR pin to VDD through a 10 kohm resistor for reliable reset unless external reset control is required. For battery applications, route all unused I/O as outputs driven low to minimize digital-input leakage currents that can dominate nanoampere Sleep budgets.
Keep the ICSP programming pins RB6/PGC (pin 27) and RB7/PGD (pin 28) accessible on the PCB or via test points to support field firmware updates. The SOIC-28 wide-body footprint permits easy hand-soldering and rework. When using the internal 16 MHz HFINTOSC with PLL for 64 MHz operation, route oscillator traces away from switching power inductors to avoid jitter. Analog inputs AN0-AN13 should be kept short and guarded with a ground trace to minimize ADC crosstalk on the 17-channel 10-bit ADC.
Estimated: do not exceed 3.6 V on the LF variant - connecting a 5 V rail directly to VDD will damage the part. Verify CONFIG1L register settings for oscillator selection and CONFIG1H for WDT behavior before code release, since PIC18 configuration bits are non-volatile and lock once programmed. When migrating code from PIC18F24K22 to PIC18LF24K22, ensure any 5V-peripheral interfaces are level-shifted; the LF GPIO is not 5V-tolerant on digital inputs above 3.6 V. Finally, leave a 5 mm keep-out under the SOIC pads for the heatsink-less thermal path to the PCB copper.
Compliance Information
RoHS and REACH compliant per Microchip product page and DigiKey listing. Not AEC-Q100 qualified (industrial-grade only).