PIC18LF24K22-I/MV - 8-bit XLP MCU 16KB Flash 28-UQFN | Microchip
MPN: PIC18LF24K22-I/MV ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.31 | $2.31 |
| 10 | $2.08 | $20.80 |
| 100 | $1.85 | $185.00 |
| 500 | $1.62 | $810.00 |
| 1,000 | $1.39 | $1,390.00 |
PIC18LF24K22-I/MV Overview
A microcontroller (MCU) is a single-chip computer containing a CPU, program memory (Flash), data memory (RAM), and programmable peripherals. The PIC18 family sits in Microchip's 8-bit hierarchy: PIC10/12/16/18 -> 8-bit MCU -> microcontroller -> embedded computing IC -> semiconductor. The 'LF' subfamily specifically targets ultra-low-power applications through nanoWatt XLP technology, enabling sleep currents in the nanoamp range.
Key features include 16KB Flash self-programmable memory, 256 bytes of EEPROM, 10-bit ADC up to 17 channels, multiple PWM modules, EUSART, MSSP (SPI/I2C), and ultra-low-power sleep modes. The integrated 16MHz internal oscillator eliminates external crystals in many designs, while the 28-pin UQFN package provides compact 4x4 mm footprint with exposed thermal pad suitable for space-constrained applications. CIP (Core Independent Peripherals) reduce CPU overhead by handling tasks autonomously in hardware.
The PIC18LF24K22 architecture uses an enhanced Harvard RISC core with 49 instructions and hardware multiplier, executing most instructions in a single cycle for predictable deterministic performance. CIP features like CLC, PPS, and NCO enable complex signal routing without CPU intervention, making it suitable for real-time sensor processing and motor control loops.
Typical applications include low-power IoT sensor nodes, battery-powered medical devices, industrial control modules, consumer electronics HMI, USB peripherals, and automotive body electronics. The wide peripheral set and low-power modes also suit remote controls, smart metering, and wearable health monitoring. The industrial -40C to +85C temperature range supports harsh environment deployment.
When designing with this device, configure the PPS (Peripheral Pin Select) module early to avoid pin conflicts. Use the internal 16MHz HFINTOSC to save BOM cost and board space, but verify timing margins against your application. Review the PIC18(L)F24K22 datasheet for current consumption tables under different clock and sleep configurations before finalizing power budgets.
Drop-in alternatives for PIC18LF24K22-I/MV — 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/MV (same form factor and footprint) — differing in Package, Timers, ADC, Program Memory (Flash), Communication.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F24K22-I/MV
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.96 / Unit
View Datasheet →PIC18LF25K22-I/MV
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18LF23K22-I/MV
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.42 / Unit
View Datasheet →PIC18LF24K22-I/MV
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.39 / Unit
View Datasheet →PIC18LF26K22-I/MV
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18LF24K22-E/MV
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F25K22-I/MV
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18LF24K22-I/MV Maximum Ratings & Electrical Characteristics
| Core | PIC18 (8-bit enhanced Harvard RISC) |
| Family | PIC18LF (Low-Voltage variant) |
| Program Memory (Flash) | 16 KB (8K x 16) |
| RAM | 768 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Frequency | 64 MHz |
| Operating Voltage (VDD) | 1.8 V to 3.6 V |
| I/O Pins | 24 (multiplexed with peripherals) |
| ADC | 10-bit, up to 17 channels |
| Package | 28-UQFN (4x4 mm) with exposed pad |
| Mounting Type | Surface Mount |
| Operating Temperature | -40C to +85C (Industrial) |
| Low-Power Technology | nanoWatt XLP |
| Internal Oscillator | 16 MHz HFINTOSC + 31 kHz LFINTOSC |
| Communication | EUSART, MSSP (SPI/I2C) |
| RoHS Status | Compliant |
| MSL Level | 1 (unlimited) |
PIC18LF24K22-I/MV Pin Configuration
| Pin 1 | RA2 — PORTA I/O pin 2 / analog input |
| Pin 2 | RA3 — PORTA I/O pin 3 / analog input |
| Pin 3 | RA4 — PORTA I/O pin 4 / analog input |
| Pin 4 | RA5 — PORTA I/O pin 5 / analog input |
| Pin 5 | VDD — Positive power supply |
| Pin 6 | VSS — Ground reference |
| Pin 7 | RA7 — PORTA I/O pin 7 / analog input |
| Pin 8 | RA6 — PORTA I/O pin 6 / analog input |
| Pin 9 | RC0 — PORTC I/O pin 0 |
| Pin 10 | RC1 — PORTC I/O pin 1 |
| Pin 11 | RC2 — PORTC I/O pin 2 |
| Pin 12 | RC3 — PORTC I/O pin 3 |
| Pin 13 | RC4 — PORTC I/O pin 4 |
| Pin 14 | RC5 — PORTC I/O pin 5 |
| Pin 15 | RC6 — PORTC I/O pin 6 |
| Pin 16 | RC7 — PORTC I/O pin 7 |
| Pin 17 | RB7 — PORTB I/O pin 7 |
| Pin 18 | RB6 — PORTB I/O pin 6 |
| Pin 19 | RB5 — PORTB I/O pin 5 |
| Pin 20 | RB4 — PORTB I/O pin 4 |
| Pin 21 | RB3 — PORTB I/O pin 3 |
| Pin 22 | RB2 — PORTB I/O pin 2 |
| Pin 23 | RB1 — PORTB I/O pin 1 |
| Pin 24 | RB0 — PORTB I/O pin 0 |
| Pin 25 | AVDD — Analog positive power supply |
| Pin 26 | AVSS — Analog ground reference |
| Pin 27 | RA1 — PORTA I/O pin 1 / analog input |
| Pin 28 | RA0 — PORTA I/O pin 0 / analog input |
Typical Applications
PIC18LF24K22-I/MV is suitable for 6 applications: Battery-Powered IoT Sensor Node, Industrial Control Module, Portable Medical Device, USB HID Peripheral Device, Consumer Home Appliance HMI, Smart Metering and Energy Monitor.
Battery-Powered IoT Sensor Node
The PIC18LF24K22-I/MV excels in battery-powered IoT sensor nodes due to its 1.8V to 3.6V operating range matching single-cell Li-ion or 2x AA batteries directly, plus nanoWatt XLP technology delivering sub-100nA sleep currents. Its 16KB Flash handles Zigbee/BLE stack or LoRaWAN libraries, while 17 10-bit ADC channels read multiple sensors (temperature, humidity, motion) without external multiplexer ICs. The integrated 16MHz HFINTOSC eliminates external crystals, reducing BOM cost and board space in space-constrained wearable or remote sensor designs. The 28-UQFN 4x4 mm footprint fits inside small sensor housings, and CIP peripherals (CLC, NCO) handle sensor signal conditioning autonomously without waking the CPU.
Recommended
Industrial Control Module
The PIC18LF24K22-I/MV provides reliable industrial control capabilities with its -40C to +85C operating range and comprehensive peripheral set. The 17-channel 10-bit ADC interfaces directly with 4-20mA current loop sensors and resistive bridges for pressure/temperature monitoring. PWM/CCP modules drive motor speed controllers and solenoid valves with hardware-generated timing independent of CPU load. The EUSART supports RS-232/RS-485 communication via external transceivers for Modbus RTU or proprietary protocols. CIP (Core Independent Peripherals) enable safety-critical timing functions like windowed watchdog and PWM fault shutdown without CPU intervention. The 64MHz CPU handles complex control loops at high update rates while maintaining deterministic response times required for PLC-style applications.
Recommended
Portable Medical Device
The PIC18LF24K22-I/MV is well-suited for portable medical devices such as glucose meters, pulse oximeters, and portable nebulizers. Its 1.8V-3.6V operation enables direct use of 2x AAA batteries, while nanoWatt XLP sleep modes extend battery life to multi-year levels in intermittent-use applications. The 17-channel ADC reads multiple sensor inputs (SpO2, temperature, impedance) with hardware averaging and threshold interrupts, reducing CPU wake events. PIC18 instruction set simplicity and 49-instruction RISC core provide deterministic real-time response critical for medical timing accuracy. The compact 28-UQFN 4x4 mm package fits inside small handheld enclosures. CIP peripherals handle sensor signal processing autonomously, freeing the CPU for measurement calculations.
Recommended
USB HID Peripheral Device
The PIC18LF24K22-I/MV supports USB device applications through PIC18F variants with USB peripheral (PIC18LF24K22 does not include USB hardware; for USB choose PIC18F14K50 or PIC18F25K50), or it can function as an HID-class controller via external USB-serial bridge. Its MSSP module provides SPI master capability for fast sensor reads, while EUSART handles debug output or external radio communication. The 16KB Flash accommodates USB stack and HID report descriptors with room for application logic. PPS allows flexible pin assignment of USB interrupt and wake signals. The compact 28-UQFN package suits dongle-style form factors such as wireless presenters, custom keyboards, or industrial configuration tools.
Recommended
Consumer Home Appliance HMI
The PIC18LF24K22-I/MV drives HMI interfaces in consumer appliances such as coffee makers, washing machines, and microwave ovens. Its 17 ADC channels read multiple touch/proximity sensors via capacitive sensing techniques using the ADCC peripheral with hardware averaging. PWM modules drive LED indicators, buzzer tones, and motor speeds with hardware-generated timing independent of firmware execution. EUSART interfaces with main control board or external displays. The industrial -40C to +85C temperature range supports appliance environments including near heating elements. The 28-UQFN package provides compact mounting for tight enclosure geometries. PPS simplifies PCB layout by allowing peripheral reassignment to avoid routing congestion.
Recommended
Smart Metering and Energy Monitor
The PIC18LF24K22-I/MV integrates well in smart electricity, water, or gas meters where low power consumption and accurate measurement matter. Its 10-bit ADC with hardware accumulation averages current-sense signals for kWh calculation, while the EUSART interfaces with PLC or RF modules for AMI (Advanced Metering Infrastructure) communication. Sleep currents under 100nA enable multi-year battery life in gas and water meters without mains power. The wide 1.8V-3.6V VDD range supports direct connection to lithium thionyl chloride primary cells. Hardware RTC with calendar mode keeps time during sleep periods for time-of-use metering schedules. The 256-byte EEPROM stores calibration constants and tamper flags without external memory.
Recommended
Recommended Products Summary
Engineering reference data for PIC18LF24K22-I/MV — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F24K22-I/MV | PIC18LF25K22-I/MV | PIC18LF23K22-I/MV | PIC18LF26K22-I/MV | PIC18LF24K22-E/MV |
|---|---|---|---|---|---|---|
| Package | 28-UQFN (4x4) | 28-UQFN (4x4) - same | 28-UQFN (4x4) - same | 28-UQFN (4x4) - same | 28-UQFN (4x4) - same | 28-UQFN (4x4) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 16 KB | 16 KB | 32 KB | 8 KB | 64 KB | 16 KB |
| RAM | 768 bytes | 768 bytes | 2 KB | 512 bytes | 3.8 KB | 768 bytes |
| Operating 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 | 1.8 V to 3.6 V | 1.8 V to 3.6 V |
| Maximum CPU Frequency | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| Operating Temperature | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +125C |
| ADC Channels | 17 channels, 10-bit | 17 channels, 10-bit | 17 channels, 10-bit | 17 channels, 10-bit | 17 channels, 10-bit | 17 channels, 10-bit |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 1 KB | 256 bytes |
Key Differentiators
- Low-voltage 1.8V operation enables direct battery connection (vs PIC18F24K22-I/MV)
- Compact 4x4 mm UQFN footprint with exposed thermal pad (vs PIC18LF24K22-I/SP (SPDIP))
- nanoWatt XLP technology with sub-100nA sleep current (vs PIC18LF23K22-I/MV)
- Memory scalability within identical pinout (vs PIC18LF26K22-I/MV)
Design Notes
The PIC18LF24K22-I/MV supports nanoWatt XLP sleep modes with currents under 100nA in deep sleep. Configure the VREGPM (Voltage Regulator Power Mode) bit for low-power regulator mode when VDD is below 3V. Estimated: at VDD=3.0V and 16MHz operation, active current is approximately 7mA; at 1MHz HFINTOSC, active current drops to about 0.5mA. Use the IDLE mode (CPU halted, peripherals running) to reduce current by ~40% while keeping timers and ADC active. Always disable unused peripherals via PMD (Peripheral Module Disable) registers to minimize leakage.
Place decoupling capacitors (100nF ceramic) within 5mm of each VDD pin and one bulk capacitor (1-10uF) per VDD net. The 28-UQFN package has an exposed thermal pad (EP) that MUST be soldered to a ground copper pour for thermal and electrical performance. Route high-speed digital traces (SPI, EUSART) away from analog ADC inputs to minimize digital switching noise coupling. Keep crystal traces short and surrounded by ground guard traces if external crystal is used instead of internal HFINTOSC.
Configure the ADC with adequate acquisition time (ACQT bits) to avoid sample-hold errors at high source impedances. For sensor signals with >10kohm source impedance, add an input buffer op-amp or use the internal CTMU for charge-based measurement. PPS (Peripheral Pin Select) allows flexible peripheral pin assignment, but PPS unlock sequence must be executed after device configuration changes to lock pin mappings against accidental writes. The MSSP module in I2C mode supports both 100kHz Standard and 400kHz Fast modes.
Do not exceed maximum VDD of 3.6V on the 'LF' variant; permanent damage will result. Use the 'F' variant for 5V systems. The ICSP programming pins (PGEC1/PGED1) must not be left floating during normal operation; add 100kohm pull-ups if unused to prevent spurious Reset conditions. After power-up, allow at least 1ms delay before switching the HFINTOSC frequency to ensure clock stability. The WDT (Watchdog Timer) is enabled by default after configuration word programming - either disable it in FWDT or service it periodically to prevent unintended reset.
Compliance Information
RoHS and REACH compliant per Microchip product page. Standard -40C to +85C industrial grade; AEC-Q100 automotive qualification is NOT standard - contact Microchip for AEC-Q100 qualified variants of the K22 family. Lead-free and halogen-free per Microchip environmental compliance documentation.