PIC18LF23K22T-I/SO - 8KB Flash 8-bit MCU 64MHz XLP SOIC-28
MPN: PIC18LF23K22T-I/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.85 | $2.85 |
| 10 | $2.55 | $25.50 |
| 100 | $2.18 | $218.00 |
| 500 | $1.92 | $960.00 |
| 1,000 | $1.7 | $1,700.00 |
| 2,600 | $1.55 | $4,030.00 |
PIC18LF23K22T-I/SO Overview
A microcontroller (microcontroller unit, MCU) is a single-chip computer containing a CPU core, program memory (Flash/ROM), data memory (RAM), EEPROM, peripherals, and I/O. The PIC18 family uses an enhanced 8-bit RISC architecture with hardware multiplier, single-cycle hardware stack, and C-friendly instruction set. The PIC18LF sub-family is the F-variant's low-voltage twin optimized for nanoWatt XLP (eXtreme Low Power) operation, with deep sleep currents below 50 nA typical.
Key features include 25 analog channels supporting 10-bit ADC, two comparators, a 5-bit DAC, Capture/Compare/PWM (CCP/ECCP) modules, MSSP for SPI/I2C, Enhanced USART, mTouch capacitive sensing, and 25 mA source/sink capable I/O. The wide SOIC-28 footprint provides 23 usable I/O pins, making this part well-suited for mixed-signal embedded applications where board space is at a premium.
The PIC18LF23K22 is built on Microchip's high-performance 8-bit core with 16-bit instruction word, single-cycle ALU, and 31-level hardware stack, enabling deterministic interrupt latency. NanoWatt XLP peripherals such as RTCC, deep-sleep brown-out reset (DSBOR), and ultra-low-power watchdog timer allow battery lifetimes measured in years, which is the core differentiator versus the 5V-only PIC18F23K22 sibling.
Typical applications include handheld battery-powered instruments, IoT sensor nodes, home automation controls, low-power wireless companion MCUs, and industrial sensor interface boards. The industrial temperature grade makes it usable in factory and outdoor environments.
When designing with this part, place a 100 nF decoupling capacitor as close as possible to VDD and a bulk capacitor (1–10 uF) near the IC. Configure unused I/O as outputs tied low to minimize current draw in sleep modes, and follow Microchip application note AN1523 for nanoWatt XLP sleep current optimization.
This page synthesizes distributor pricing, drop-in tape-and-reel / package variants, cross-family pin-compatible equivalents, and practical low-power design notes not found in the manufacturer datasheet alone.
Drop-in alternatives for PIC18LF23K22T-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 PIC18LF23K22T-I/SO (same form factor and footprint) — differing in ADC, Package, I/O Pins, Operating Temperature, Program Memory (Flash).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18LF23K22T-I/MV
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.65 / Unit
View Datasheet →PIC18LF23K22T-I/ML
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.92 / Unit
View Datasheet →PIC18LF23K22-I/SO
✅ Drop-In✓ In Stock
$1.51 / Unit
View Datasheet →PIC18F23K22T-I/SO
✅ Drop-In✓ In Stock
$1.34 / Unit
View Datasheet →PIC18LF25K22T-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F26K22-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18LF23K22T-I/SO Maximum Ratings & Electrical Characteristics
| Product Family | PIC® XLP™ 18K |
| Core Architecture | 8-bit PIC RISC |
| Program Memory (Flash) | 8 KB (4K x 16 words) |
| Data Memory (SRAM) | 768 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Frequency | 64 MHz |
| Instruction Throughput | 16 MIPS |
| Supply Voltage (VDD) | 1.8 V to 3.6 V |
| I/O Pins | 23 (25 mA source/sink) |
| ADC | 10-bit, up to 28 channels |
| Comparators | 2 |
| DAC | 5-bit |
| PWM Modules | 2 CCP, 1 ECCP |
| Communication Peripherals | 1x EUSART, 1x MSSP (SPI/I2C) |
| Package | 28-pin SOIC (0.295 in / 7.50 mm body width, JEDEC SO) |
| Operating Temperature | -40C to +85C (Industrial, 'I' suffix) |
| Mounting Type | Surface Mount |
| MSL Level | 1 (unlimited floor life) |
| RoHS Status | Compliant |
| Lead Free | Yes (Matte Tin finish) |
PIC18LF23K22T-I/SO Pin Configuration
| Pin 1 | RA3/AN3/C1IN+/C2IN+/VREF+ — GPIO/analog input/comparator input/ADC reference |
| Pin 2 | RA4/T0CKI/C1OUT — GPIO/Timer0 clock input/comparator output |
| Pin 3 | RA5/AN4/C2OUT/HLVDIN — GPIO/analog input/comparator 2 output/high-low voltage detect |
| Pin 4 | RA6/OSC2/CLKO — GPIO/crystal oscillator output/system clock output |
| Pin 5 | RA7/OSC1/CLKI — GPIO/crystal oscillator input/external clock input |
| Pin 6 | VSS — Ground reference |
| Pin 7 | VDD — Positive supply voltage (1.8V to 3.6V) |
| Pin 8 | RB0/AN12/INT0/FLT0 — GPIO/analog input/external interrupt 0/PWM fault |
| Pin 9 | RB1/AN10/C1INC/INT1 — GPIO/analog input/comparator input/external interrupt 1 |
| Pin 10 | RB2/AN8/C2INC/P1B — GPIO/analog input/comparator input/ECCP PWM output |
| Pin 11 | RB3/AN9/C3IN+/CCP2 — GPIO/analog input/comparator input/CCP2 I/O |
| Pin 12 | RB4/AN11/C3IN-/KBI0 — GPIO/analog input/comparator input/keyboard interrupt 0 |
| Pin 13 | RB5/AN13/C3OUT/KBI1 — GPIO/analog input/comparator 3 output/keyboard interrupt 1 |
| Pin 14 | RB6/PGC — GPIO/In-Circuit Serial Programming clock |
| Pin 15 | RB7/PGD — GPIO/In-Circuit Serial Programming data |
| Pin 16 | RC0/SOSCO — GPIO/secondary oscillator output (Timer1) |
| Pin 17 | RC1/SOSCI/CCP2 — GPIO/secondary oscillator input/CCP2 I/O |
| Pin 18 | RC2/AN14/C2IN+/P1D — GPIO/analog input/comparator input/ECCP PWM output |
| Pin 19 | RC3/AN15/C1IN+/SCL1 — GPIO/analog input/comparator input/I2C1 clock |
| Pin 20 | RC4/AN16/C1OUT/SDA1 — GPIO/analog input/comparator output/I2C1 data |
| Pin 21 | RC5/AN17/C2OUT/CCP1 — GPIO/analog input/comparator output/CCP1 I/O |
| Pin 22 | RC6/AN18/C3OUT/TX1/CK1 — GPIO/analog input/comparator output/EUSART TX/CK |
| Pin 23 | RC7/AN19/RX1/DT1 — GPIO/analog input/EUSART RX/DT |
| Pin 24 | RD0/PSP0 — GPIO/parallel slave port data 0 |
| Pin 25 | RD1/PSP1 — GPIO/parallel slave port data 1 |
| Pin 26 | RD2/PSP2 — GPIO/parallel slave port data 2 |
| Pin 27 | RD3/PSP3 — GPIO/parallel slave port data 3 |
| Pin 28 | VSS — Ground reference |
Typical Applications
PIC18LF23K22T-I/SO is suitable for 6 applications: Battery-Powered IoT Sensor Nodes, Handheld Test & Measurement Instruments, Home Automation & Lighting Control, Industrial Sensor Interface Boards, Low-Power Wireless Companion MCU, Automotive Interior Accessory Controllers.
Battery-Powered IoT Sensor Nodes
The PIC18LF23K22T-I/SO is exceptionally well suited for battery-powered IoT sensor nodes thanks to its nanoWatt XLP deep-sleep currents below 50 nA typical and its 1.8V-3.6V VDD range. Placed between a CR2032 coin cell (3V) and a low-power sensor cluster, the MCU wakes periodically via RTCC to take measurements and transmit via UART or SPI to a wireless companion module. The 8KB Flash is sufficient for sensor conditioning code and a small BLE/Zigbee driver, while 768B SRAM handles in-flight data buffers. Compared to higher-frequency Cortex-M0 parts, the PIC18LF23K22 extends battery life 3-5x at the cost of lower throughput.
Recommended
Handheld Test & Measurement Instruments
The PIC18LF23K22T-I/SO is ideal for handheld multimeters, signal generators, and field service tools because its 1.8V-3.6V supply allows direct Li-ion / 2xAA battery operation and its nanoWatt XLP sleep current extends runtime. The 10-bit ADC with up to 28 channels digitizes voltage, current, and temperature inputs, while the 5-bit DAC drives reference currents or LCD contrast bias. The 64 MHz CPU executes 16 MIPS - sufficient for RMS calculation and basic DSP. The wide SOIC-28 package is hand-solderable for prototypes and survives harsh shop environments. Compared to 32-bit MCUs, it offers lower BOM cost and longer battery life at comparable performance for sub-MHz signal work.
Recommended
Home Automation & Lighting Control
The PIC18LF23K22T-I/SO fits home automation and LED lighting control boards requiring capacitive touch sensing, PWM dimming, and wireless bridging via UART/SPI. Its mTouch capacitive sensing peripherals support up to 12 touch buttons, while 3 PWM channels drive LED drivers or motor speed control. Operating from 3.3V allows direct rail connection to Wi-Fi/BLE companion modules without level shifters. The 23 I/O pins handle multiple switch inputs, RGB outputs, and indicator LEDs on a smart wall switch. Compared to discrete logic, this MCU reduces part count by 50% and adds firmware configurability for multi-region SKUs.
Recommended
Industrial Sensor Interface Boards
The PIC18LF23K22T-I/SO serves industrial sensor interface boards (4-20 mA loops, RTD bridges, process controllers) that need industrial -40C to +85C operation, 10-bit ADC resolution, and robust on-chip peripherals. Its EUSART supports RS-232/RS-485 communication to PLCs and HMIs, while MSSP SPI/I2C connects to digital sensors and EEPROMs. The 256-byte EEPROM stores calibration coefficients and serial numbers that survive firmware updates. Compared to PLC backplanes, the PIC18LF23K22 provides similar reliability at 10% the cost for distributed I/O modules.
Recommended
Low-Power Wireless Companion MCU
The PIC18LF23K22T-I/SO is frequently used as a low-power host MCU alongside wireless modules such as LoRa, Sub-GHz, or proprietary RF transceivers. The MCU handles application logic, sensor aggregation, and protocol stack layers while the radio handles physical transmission. The 1.8V-3.6V supply allows sharing a single Li-ion or 2xAA battery with the radio module without LDO overhead. Sleep current of 50 nA means the MCU contributes negligible load when the radio is idle. Compared to integrated SoCs, this two-chip architecture allows independent radio and MCU upgrades.
Recommended
Automotive Interior Accessory Controllers
The PIC18LF23K22T-I/SO is suitable for non-safety automotive interior accessories such as ambient lighting, USB charging ports, and seat controllers when paired with automotive-grade power conditioning. Its industrial -40C to +85C range covers cabin environments, and the 10-bit ADC reads potentiometers and current sensors. The 28-pin SOIC package is easily inspected and reworked. For under-hood or safety-critical applications, migrate to AEC-Q100 qualified variants. Compared to mechanical switches, this MCU enables software-configurable behaviors and OTA-tunable parameters.
Recommended
Recommended Products Summary
Engineering reference data for PIC18LF23K22T-I/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18LF23K22-I/SO | PIC18F23K22T-I/SO | PIC18LF25K22T-I/SO | PIC18F26K22-I/SO | PIC18LF23K22T-I/ML | PIC18LF23K22T-I/MV |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-pin SOIC (SO) | 28-pin SOIC (SO) - same | 28-pin SOIC (SO) - same | 28-pin SOIC (SO) - same | 28-pin SOIC (SO) - same | 28-pin QFN (ML) - different | 28-pin UQFN (MV) - different |
| Flash Memory | 8 KB | 8 KB | 8 KB | 16 KB | 64 KB | 8 KB | 8 KB |
| SRAM | 768 B | 768 B | 768 B | 1.5 KB | 3.8 KB | 768 B | 768 B |
| Operating Voltage | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 2.3 V to 5.5 V | 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 |
| Max CPU Frequency | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| EEPROM | 256 B | 256 B | 256 B | 256 B | 1 KB | 256 B | 256 B |
| I/O Pins | 23 | 23 | 23 | 23 | 23 | 23 | 23 |
| Package Type | Tape & Reel | Tube | Tape & Reel | Tape & Reel | Tube | Tape & Reel | Tape & Reel |
| Lifecycle | Active | Active | Active | Active | Active | Active | Active |
Key Differentiators
- nanoWatt XLP deep-sleep below 50 nA (vs PIC18F23K22T-I/SO)
- 1.8V minimum VDD operation (vs PIC18F23K22T-I/SO)
- Identical 28-pin SOIC footprint across LF family (vs PIC18LF26K22-I/SO)
Design Notes
Place a 100nF ceramic decoupling capacitor as close as possible to the VDD pin (pin 7), with a 1-10 uF bulk capacitor within 1 cm. For battery-powered designs, add a 100nF cap on AVCC/VREF+. Configure unused I/O as outputs driving low to minimize current draw in deep-sleep modes; an input pin floating can draw 1 uA leakage. Estimated: with VDD=3V, supply current at 64 MHz active is ~6 mA, sleep at 25 MHz is ~0.25 mA, and deep sleep with WDT off is below 50 nA typical per Microchip AN1523.
The PIC18LF23K22T-I/SO in 28-pin SOIC has junction-to-ambient thermal resistance theta_JA of approximately 80 C/W. At maximum 64 MHz and 3.6V, active supply current is around 8 mA yielding ~29 mW dissipation. Estimated junction temperature rise at 25C ambient is only ~2.3 C - well within safe limits. No heatsinking required. For solder reflow, the SOIC package is rated MSL 1 (unlimited floor life); standard JEDEC J-STD-020 reflow profile at 245 C peak is acceptable.
Route the ICSP signals PGD (pin 15) and PGC (pin 14) as a short differential-style pair away from analog and high-current traces. Place the ICSP connector on the same board edge for easy programming access. Use a 4-pin header (PGD, PGC, VDD, GND) to allow PICkit 3/4/MPLAB Snap connection. Place a 100nF cap adjacent to VDD for noise suppression. For mixed-signal designs, separate analog ground (AGND) from digital ground (DGND) under the IC and join at a single point near the VDD bulk capacitor. Keep crystal traces (RA6/OSC2, RA7/OSC1) short and symmetric.
Do not exceed 3.6V on VDD - the LF variant is rated only to 3.6V maximum and 4.0V absolute maximum; the PIC18F (5V) variant is the correct choice for 5V systems. Configure the Configuration bits for proper oscillator selection (HS for >4 MHz crystal, INTOSC for internal), disable unused peripherals to prevent accidental wake-ups, and always include a 1k pull-up on MCLR for proper reset. Failure to do so can cause intermittent brown-out resets or locked-up firmware. Verify configuration bits match MPLAB X IDE project settings before programming.
The MSSP SPI/I2C pins (RC3/SCL1, RC4/SDA1) require external pull-up resistors (typically 4.7k ohm for 100 kHz I2C, 2.2k for 400 kHz) per I2C specification. Keep SPI traces short (<5 cm) with 33 ohm series resistors near the driver for impedance control. The 10-bit ADC accuracy depends on clean AVCC; use an RC filter on AVCC (10 ohm + 100nF) to reject switching noise from digital circuits. Avoid routing digital signals adjacent to AN0-AN15 analog pins to prevent crosstalk.
Compliance Information
RoHS and REACH compliant per Microchip material declarations. Not AEC-Q100 qualified - industrial grade only. Lead-free matte-tin finish. Halogen-free molding compound. Microchip participates in the Conflict-Free Procurement program aligned with OECD Due Diligence Guidance.