PIC18LF23K22-I/SO - 8KB Flash 8-bit MCU 64MHz 28-SOIC | Microchip
MPN: PIC18LF23K22-I/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.42 | $2.42 |
| 10 | $2.18 | $21.80 |
| 100 | $1.94 | $194.00 |
| 500 | $1.72 | $860.00 |
| 1,000 | $1.51 | $1,510.00 |
PIC18LF23K22-I/SO Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash), data memory (SRAM), non-volatile storage (EEPROM), and a peripheral set on one silicon die. Within the broader embedded taxonomy, the PIC18LF23K22 sits at the intersection of: microcontroller -> 8-bit MCU -> PIC18 family -> PIC18F/LF "K22" sub-family -> nanoWatt XLP ultra-low-power line -> power management optimized IC. The 'LF' suffix denotes the low-voltage Flash variant, while 'K22' identifies the enhanced peripherals and 12-bit ADC generation.
Key features include the nanoWatt XLP™ ultra-low-power technology offering deep sleep currents in the nanoamp range, an integrated 16-channel 12-bit ADC with computation, multiple Enhanced USART, MSSP (I²C/SPI), and PWM modules, and 25 I/O pins capable of mappable peripheral pin select. The 28-SOIC package provides a familiar 7.50 mm body width and 1.27 mm pitch footprint compatible with hand-soldering and standard SMT lines. The device supports in-circuit serial programming (ICSP™) and in-circuit debugging via Microchip's MPLAB® ecosystem.
Typical applications include industrial sensor nodes, battery-powered IoT edge devices, low-power remote controls, white-goods user interfaces, HVAC controllers, and portable medical accessories where sleep-mode nanoamp currents are decisive. The wide 2.0 V to 5.5 V range also supports direct connection to single-cell lithium or two-cell alkaline battery stacks without external level shifters.
When designing with this device, ensure the configuration bits (CONFIG1L through CONFIG5L/H) are set to match the system clock strategy (HFINTOSC vs. external crystal) and the brown-out reset threshold. The exposed SOIC pad is not present on this variant, so thermal performance is bounded by the standard SOIC dissipation envelope rather than a thermal pad.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet - giving engineers an integrated view of parametric, sourcing, and design data.
Drop-in alternatives for PIC18LF23K22-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 PIC18LF23K22-I/SO (same form factor and footprint) — differing in Package, Core Architecture, Timers, ADC, Program Memory (Flash).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F23K22-I/SO
✅ Drop-In✓ In Stock
$1.52 / Unit
View Datasheet →PIC18LF25K22-I/SO
✅ Drop-In✓ In Stock
$2.18 / Unit
View Datasheet →PIC18LF23K22-E/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25K22-I/SO
✅ Drop-In✓ In Stock
$1.78 / Unit
View Datasheet →PIC18LF26K22-I/SO
✅ Drop-In✓ In Stock
$2.45 / Unit
View Datasheet →PIC18LF23K22-I/SO Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 8-bit RISC |
| Family | PIC® XLP™ 18K |
| Program Memory (Flash) | 8 KB (4K x 16) |
| SRAM | 768 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 64 MHz |
| Supply Voltage (Vdd) | 2.0 V to 5.5 V |
| Operating Temperature | -40C to +85C (Industrial) |
| I/O Pins | 25 |
| ADC | 12-bit, up to 17 channels |
| Timers | 4 (Timer0/1/2/3) |
| Communication | EUSART, 2x MSSP (I2C/SPI) |
| PWM Channels | Up to 7 (with CCP/ECCP) |
| Package | 28-SOIC (7.50 mm body width) |
| Low-Power Technology | nanoWatt XLP™ |
| Programming/Debug | ICSP™ via MPLAB® ICD/PICkit |
PIC18LF23K22-I/SO Pin Configuration
| Pin 1 | MCLR/RE3 — Master Clear (reset) input or digital input RE3 |
| Pin 2 | RA0 — Digital I/O / analog AN0 / CVREF |
| Pin 3 | RA1 — Digital I/O / analog AN1 |
| Pin 4 | RA2 — Digital I/O / analog AN2 / DAC output |
| Pin 5 | RA3 — Digital I/O / analog AN3 / VREF+ |
| Pin 6 | RA4 — Digital I/O / analog AN4 |
| Pin 7 | RA5 — Digital I/O / analog AN5 |
| Pin 8 | Vss — Ground reference |
| Pin 9 | RA7 — Digital I/O / oscillator OSC1 |
| Pin 10 | RA6 — Digital I/O / oscillator OSC2 |
| Pin 11 | RC0 — Digital I/O / PWM / SPI SCK |
| Pin 12 | RC1 — Digital I/O / PWM / SPI SDI / I2C SCL |
| Pin 13 | RC2 — Digital I/O / PWM / SPI SDO / I2C SDA |
| Pin 14 | RC3 — Digital I/O / SPI SCK / I2C SCL |
| Pin 15 | RC4 — Digital I/O / SPI SDI / I2C SDA |
| Pin 16 | RC5 — Digital I/O / digital I/O |
| Pin 17 | RC6 — Digital I/O / EUSART TX |
| Pin 18 | RC7 — Digital I/O / EUSART RX |
| Pin 19 | Vss — Ground reference |
| Pin 20 | Vdd — Positive supply (2.0 V to 5.5 V) |
| Pin 21 | RB0 — Digital I/O / analog AN12 / interrupt |
| Pin 22 | RB1 — Digital I/O / analog AN10 / interrupt |
| Pin 23 | RB2 — Digital I/O / analog AN8 / interrupt |
| Pin 24 | RB3 — Digital I/O / analog AN9 / interrupt |
| Pin 25 | RB4 — Digital I/O / interrupt / SDA2 |
| Pin 26 | RB5 — Digital I/O / interrupt / SCL2 |
| Pin 27 | RB6 — Digital I/O / interrupt / ICSP PGC |
| Pin 28 | RB7 — Digital I/O / interrupt / ICSP PGD |
Typical Applications
PIC18LF23K22-I/SO is suitable for 6 applications: Industrial Sensor Node, Battery-Powered IoT Edge Device, HVAC Climate Controller, White Goods User Interface, Low-Power Remote Control, Portable Medical Accessory.
Industrial Sensor Node
The PIC18LF23K22-I/SO is well matched to industrial 4-20 mA loop-powered sensor nodes because its 2.0 V to 5.5 V Vdd range accepts both 3.3 V and 5 V regulated rails and the nanoWatt XLP sleep currents below 1 uA extend battery life to multi-year horizons. Its 12-bit ADC with up to 17 channels acquires strain-gauge, RTD, or thermistor signals without external analog front-end complexity. The 64 MHz CPU (16 MIPS) executes linearization and Modbus RTU framing over EUSART in real time. Versus an ARM Cortex-M0 alternative, this part reduces BOM cost by approximately 30% while delivering adequate throughput for sub-1 kHz sampling loops.
Recommended
Battery-Powered IoT Edge Device
The PIC18LF23K22-I/SO fits battery-powered IoT edge devices because nanoWatt XLP technology offers Sleep mode currents in the tens of nanoamps and IDD run currents under 2 mA at 1 MHz, enabling coin-cell designs measured in years. The integrated 16-channel 12-bit ADC captures environmental sensors (temperature, humidity, light) without external analog ICs. The EUSART and MSSP modules interface directly to sub-GHz radios like the MRF89XA or LoRa modules via SPI. The 2.0 V minimum Vdd supports 2x AA alkaline stacks down to end-of-life without voltage boost.
Recommended
HVAC Climate Controller
The PIC18LF23K22-I/SO is appropriate for HVAC wall-thermostat and climate controllers because its 25 I/O pins drive LCD segments, relay outputs, and keypads without external I/O expanders, while 7 PWM channels support proportional damper and valve control. The 12-bit ADC reads NTC thermistors and humidity sensors with 0.1 C resolution. The wide 2.0 V to 5.5 V supply range accepts rectified 24 VAC through a small buck regulator, and -40 C to +85 C operation covers attic and outdoor enclosures. The PIC18F/LF K22 family shares the same firmware base across 8/16/32 KB Flash siblings for design reuse.
Recommended
White Goods User Interface
White-goods front-panel controllers benefit from the PIC18LF23K22-I/SO's combination of 25 I/O pins, capacitive touch-ready peripherals, and PWM channels for LED indicators and buzzer drivers. The 2.0 V to 5.5 V range supports 3.3 V regulated or 5 V direct supplies from rectified mains. The 64 MHz CPU performs debounce, capacitive sense, and UI state machines without offloading to a companion IC. The -40 C to +85 C industrial temperature grade covers refrigerator, washer, and oven control environments with margin.
Recommended
Low-Power Remote Control
Handheld remote controls benefit from the PIC18LF23K22-I/SO's nanoWatt XLP sleep currents, which allow 5-10 year battery life on 2x AAA cells with intermittent IR or RF transmission. The 8 KB Flash accommodates IR protocol libraries (RC5, SIRC, NEC) and 64 MHz CPU executes those protocols with microsecond timing precision. The 25 I/O pins accept matrix keypads up to 5x5 without external scan logic. The wide Vdd range tolerates battery droop to 2.0 V end-of-life without LDO bypass.
Recommended
Portable Medical Accessory
Portable medical accessories such as pill dispensers, peak-flow meters, and pulse-oximetry front-ends use the PIC18LF23K22-I/SO because its low Sleep current enables shelf-life measured in years and the 12-bit ADC digitizes sensor signals with adequate resolution for diagnostic-grade devices. The 2.0 V to 5.5 V range accepts 2x AA alkaline or single-cell Li-ion directly. The 25 I/O pins drive LCD segments, button matrices, and piezo buzzers without expansion ICs, minimizing the BOM for cost-sensitive disposable designs.
Recommended
Recommended Products Summary
Engineering reference data for PIC18LF23K22-I/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F23K22-I/SO | PIC18LF25K22-I/SO | PIC18LF23K22-E/SO | PIC18F25K22-I/SO | PIC18LF26K22-I/SO |
|---|---|---|---|---|---|---|
| Package | 28-SOIC | 28-SOIC | 28-SOIC | 28-SOIC | 28-SOIC | 28-SOIC |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 8 KB | 8 KB | 16 KB | 8 KB | 16 KB | 64 KB |
| SRAM | 768 bytes | 768 bytes | 1536 bytes | 768 bytes | 1536 bytes | 3896 bytes |
| Min Vdd | 2.0 V | 1.8 V | 2.0 V | 2.0 V | 1.8 V | 2.0 V |
| Max CPU Clock | 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 +125C | -40C to +85C | -40C to +85C |
| Voltage Class | LF (2.0-5.5V) | F (1.8-5.5V) | LF (2.0-5.5V) | LF (2.0-5.5V) | F (1.8-5.5V) | LF (2.0-5.5V) |
| Unit Price (1pc) | $2.42 | $2.42 | $2.65 | $2.55 | $2.65 | $2.95 |
Key Differentiators
- Same 28-SOIC footprint across Flash densities (vs PIC18LF26K22-I/SO)
- LF voltage class down to 2.0 V (vs PIC18F23K22-I/SO)
- Extended temperature option in same package (vs PIC18LF23K22-E/SO)
Design Notes
Estimated: For 3.3 V coin-cell designs, derate battery capacity to 80% when calculating life. PIC18LF23K22-I/SO Sleep current is below 1 uA per Microchip datasheet, but the MCU contributes only a portion of total quiescent draw. Verify the LDO regulator's Iq and any pull-up resistor leakage paths. Place a 0.1 uF decoupling capacitor within 2 mm of the Vdd pin and a 10 uF bulk capacitor near the package.
At 64 MHz and 5.5 V, the device dissipates approximately 22 mW internally (estimated: ICC = 4 mA at 64 MHz x 5.5 V). The 28-SOIC has theta_JA of approximately 80 C/W in still air, so junction temperature rises less than 2 C above ambient at room temperature. No thermal management is required for typical industrial -40 C to +85 C ambient operation. In enclosed housings above 60 C, verify the broader system thermal envelope.
Route the ICSP PGC/PGD lines (RB6/RB7) directly to a 2x3 or 1x6 header for production programming. The MCLR pin (pin 1) requires a 10 kohm pull-up to Vdd; do not leave it floating. Keep the high-speed oscillator traces short (under 10 mm) and guard them with a ground pour. Place the 0.1 uF decoupling capacitor as close to Vdd (pin 20) and Vss (pin 19) as possible, ideally on the same layer.
Do not assume the PIC18LF23K22 and PIC18F23K22 are identical - the LF variant's 2.0 V minimum Vdd differs from F's 1.8 V minimum. Power sequencing and brown-out reset (BOR) thresholds must be set in CONFIG2L per datasheet section on configuration bits. The CCP/PWM peripheral assignment depends on PPS configuration; consult the PPS table before locking pin assignments. The analog ANx pins must be configured as analog inputs via ANSELx registers, otherwise they read as digital logic levels.
Compliance Information
RoHS and REACH compliant per Microchip product declaration page. Industrial -40C to +85C operating range, not AEC-Q100 qualified. Choose PIC18LF23K22-E/SO for extended temperature.