PIC18LF23K22-E/MV - 8KB Flash 16-I/O XLP MCU | Microchip
MPN: PIC18LF23K22-E/MV ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.1 | $3.10 |
| 10 | $2.79 | $27.90 |
| 100 | $2.32 | $232.00 |
| 500 | $1.96 | $980.00 |
| 1,000 | $1.65 | $1,650.00 |
PIC18LF23K22-E/MV Overview
A microcontroller (MCU) is an integrated circuit that combines a CPU core, program memory, data memory, and programmable peripherals on a single die. The PIC18LF23K22-E/MV sits inside Microchip's nanoWatt XLP (eXtreme Low Power) product line - meaning it ships with deep-sleep, sleep, idle, and dozing modes that drop core current into the nanoamp range. As an 'LF' (low-voltage) variant, it is specified for 2.0-5.5V operation, distinguishing it from the 'F' (standard) sibling which starts at 1.8V but targets higher temperatures and slightly different oscillator behavior.
Key features include 8KB self-programmable Flash, 768 bytes SRAM, 256 bytes data EEPROM, 10-bit ADC up to 19 channels, multiple serial peripherals (EUSART, MSSP for SPI/I2C), and nanoWatt XLP power management with claimed sleep currents below 20 nA typical. The 28-pin UQFN EP package with exposed thermal pad offers strong thermal performance and a compact 6 mm x 6 mm footprint suitable for dense PCB layouts.
The architecture is a Harvard-style RISC core with a hardware multiplier, 16-bit instructions, and a deterministic instruction pipeline. The 25 MHz CPU clock combined with a 4-cycle instruction cycle yields an instruction throughput of 6.25 MIPS, with hardware peripheral engines offloading timers, capture/compare, PWM, and 10-bit ADC conversion - giving designers deterministic real-time behavior for motor control, sensor sampling, and power-converter feedback loops.
Typical applications include battery-powered IoT sensor nodes, low-power wireless remote controls, HVAC and smart-building sensors, portable medical monitoring accessories, and industrial metering where extended battery life, deterministic peripheral response, and small PCB footprint matter. The integrated 10-bit ADC, EUSART, and MSSP peripherals cover most sensor-bus and wired-comms requirements without an external bridge chip.
When designing with this device, place the 0.1 uF decoupling capacitor within 2-3 mm of each VDD pin and a bulk capacitor near the exposed pad for ground return, as the QFN's bottom pad is the primary thermal and electrical path to GND. Always configure the LF variant's voltage regulator in full-PLL-bypass mode for sub-3.3V rails to keep sleep current in the nanoWatt XLP regime.
This page synthesizes distributor pricing, drop-in same-package alternatives, and practical design notes that the bare manufacturer datasheet does not present together.
Drop-in alternatives for PIC18LF23K22-E/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 PIC18LF23K22-E/MV (same form factor and footprint) — differing in ADC, Operating Temperature, Package, Program Memory (Flash), Core Architecture.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F23K22-E/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18LF24K22-E/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18LF26K22-E/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18LF23K22-E/ML
✅ Drop-In✓ In Stock
$1.85 / Unit
View Datasheet →PIC18F46K22-E/MV
✅ Drop-In✓ In Stock
$2.72 / Unit
View Datasheet →PIC18LF23K22-E/MV Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 8-bit RISC, Harvard |
| Program Memory (Flash) | 8 KB |
| Data SRAM | 768 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Clock | 25 MHz (16 MIPS) / 48 MHz internal (per datasheet headline) |
| Supply Voltage (VDD) | 2.0 V to 5.5 V |
| Digital I/O Pins | 16 |
| ADC | 10-bit, up to 19 channels |
| Serial Interfaces | 1x EUSART, 1x MSSP (SPI / I2C) |
| Timers | Multiple 8/16-bit timers with CCP/ECCP |
| PWM Channels | Enhanced CCP (ECCP) modules |
| Low-Power Feature | nanoWatt XLP (sleep current typically <20 nA) |
| Operating Temperature | -40C to +125C (extended, 'E' temp) |
| Package | 28-pin UQFN EP (MV), 6 mm x 6 mm |
| Mounting Type | Surface Mount |
| MSL Level | 1 |
| Lead-Free / RoHS | Yes / Compliant |
PIC18LF23K22-E/MV Pin Configuration
| Pin 1 | RA2 — Digital I/O / analog input AN2 / CVREF |
| Pin 2 | RA3 — Digital I/O / analog input AN3 / VREF+ |
| Pin 3 | RA4 — Digital I/O / analog input AN4 / T0CKI |
| Pin 4 | RA5 — Digital I/O / analog input AN5 / HLVDIN |
| Pin 5 | VDD — Positive supply voltage |
| Pin 6 | VSS — Ground reference |
| Pin 7 | RA6 — Digital I/O / OSC2 / CLKOUT |
| Pin 8 | RA7 — Digital I/O / OSC1 / CLKIN |
| Pin 9 | RB0 — Digital I/O / INT0 / FLT0 |
| Pin 10 | RB1 — Digital I/O / INT1 |
| Pin 11 | RB2 — Digital I/O / INT2 |
| Pin 12 | RB3 — Digital I/O / INT3 / ECCP2/P2A |
| Pin 13 | RB4 — Digital I/O / IOC |
| Pin 14 | RB5 — Digital I/O / IOC / PGM |
| Pin 15 | RB6 — Digital I/O / ICSPCLK / PGC |
| Pin 16 | RB7 — Digital I/O / ICSPDAT / PGD |
| Pin 17 | AVDD — Analog positive supply |
| Pin 18 | AVSS — Analog ground |
| Pin 19 | RC0 — Digital I/O / SOSCO |
| Pin 20 | RC1 — Digital I/O / SOSCI |
| Pin 21 | RC2 — Digital I/O / CCP1 / AN14 |
| Pin 22 | RC3 — Digital I/O / SCL / SCK / AN15 |
| Pin 23 | RC4 — Digital I/O / SDA / SDI / AN16 |
| Pin 24 | RC5 — Digital I/O / SDO / AN17 |
| Pin 25 | RC6 — Digital I/O / TX / CK / AN18 |
| Pin 26 | RC7 — Digital I/O / RX / DT / AN19 |
| Pin 27 | RE3 — Digital I/O / MCLR / VPP |
| Pin 28 | EP — Exposed thermal pad (connect to VSS) |
Typical Applications
PIC18LF23K22-E/MV is suitable for 6 applications: Battery-Powered IoT Sensor Nodes, Wireless Remote Controls, Smart HVAC & Building Sensors, Portable Medical Monitoring Accessories, Industrial Metering & Data Loggers, Low-Power Motor Control & PWM Drivers.
Battery-Powered IoT Sensor Nodes
The PIC18LF23K22-E/MV's nanoWatt XLP technology, with typical sleep currents below 20 nA, makes it ideal for wireless IoT sensor nodes that must operate for years on a single coin cell or 2xAAA battery. Its 2.0-5.5V supply matches directly with Li-ion and alkaline chemistries, while the 16 I/O pins and 10-bit ADC (19 channels) handle temperature, humidity, motion, and gas-sensor signal chains. The integrated EUSART and MSSP peripherals expose SPI and I2C for popular sub-GHz radios and digital sensors. Place the MCU in sleep between sensor readings, wake on interrupt, transmit, and return to sleep - the hardware multiplier and 16 MIPS throughput handle protocol stacks without compromising duty cycle.
Recommended
Wireless Remote Controls
Low-power hand-held remote controls (RF or IR) benefit from the PIC18LF23K22-E/MV's nanoWatt XLP deep-sleep mode, where it consumes nanoamps until the user presses a button. The 16 I/O pins drive key-matrix scanning, LED indicators, and a low-power RF or IR transmitter via EUSART or PWM. The 25 MHz CPU clock gives enough headroom for simple protocol encoding (e.g., rolling-code remotes) without requiring an external resonator. The 28-pin UQFN EP package keeps the design pocketable while the exposed pad provides thermal dissipation if the device drives a transmitter continuously.
Recommended
Smart HVAC & Building Sensors
Smart-building sensors - CO2, particulate, temperature, occupancy - run from mains or battery and need deterministic sensor sampling with wireless uplink. The PIC18LF23K22-E/MV's 19-channel 10-bit ADC simultaneously reads multiple analog sensors while ECCP timers drive PWM-controlled HVAC actuators. nanoWatt XLP sleep modes let battery-mounted occupancy sensors stay in deep sleep for months between events. The 2.0-5.5V range covers both battery and 5V-rail-powered HVAC controllers without needing a separate regulator. Industrial-grade -40C to +125C operation handles unconditioned mechanical-room environments.
Recommended
Portable Medical Monitoring Accessories
Wearable and portable medical accessories (e.g., pulse-oximeter dongles, spirometer attachments, single-use diagnostic peripherals) demand low power, deterministic timing, and a small footprint. The PIC18LF23K22-E/MV delivers all three via its nanoWatt XLP, 25 MIPS throughput, and 28-pin UQFN EP 6 mm x 6 mm package. The 10-bit ADC and MSSP peripherals interface with clinical-grade analog front ends and I2C biosensors, while EUSART handles Bluetooth HCI bridges. Sleep current below 20 nA is essential for shelf-life and patient-use battery longevity.
Recommended
Industrial Metering & Data Loggers
Battery-powered industrial metering (gas, water, electric submetering) and remote data loggers require long-term autonomous operation, accurate ADC, and secure EEPROM-backed storage. The PIC18LF23K22-E/MV integrates 256 bytes of true EEPROM for non-volatile setpoints and tamper logs, 8 KB Flash for metering algorithms and calibration, and a 10-bit ADC for analog sensor front ends. nanoWatt XLP sleep modes, combined with internal RTC or WDT wake, support multi-year battery life. The industrial -40C to +125C temperature range survives outdoor and basement installations.
Recommended
Low-Power Motor Control & PWM Drivers
Small DC motors, fans, valves, and pump controllers in battery-powered or energy-harvesting products need deterministic PWM and low quiescent current. The PIC18LF23K22-E/MV's ECCP (Enhanced Capture/Compare PWM) modules deliver multiple PWM channels suitable for brushed DC motor speed control, LED drivers, and small BLDC commutation. The 25 MHz CPU executes field-oriented control loops for low-RPM motors, while nanoWatt XLP drops to sleep when the motor is idle. The 28-pin UQFN EP package dissipates switching losses through the bottom thermal pad.
Recommended
Recommended Products Summary
Engineering reference data for PIC18LF23K22-E/MV — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F23K22-E/MV | PIC18LF24K22-E/MV | PIC18LF26K22-E/MV | PIC18LF23K22-E/ML | PIC18F46K22-E/MV |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | UQFN-28 (MV) 6x6 mm | UQFN-28 (MV) 6x6 mm | UQFN-28 (MV) 6x6 mm | UQFN-28 (MV) 6x6 mm | UQFN-28 (ML) 6x6 mm | UQFN-28 (MV) 6x6 mm |
| Program Memory (Flash) | 8 KB | 8 KB | 16 KB | 64 KB | 8 KB | 64 KB |
| Data SRAM | 768 bytes | 768 bytes | 768 bytes | 3,898 bytes | 768 bytes | 3,898 bytes |
| Data EEPROM | 256 bytes | 256 bytes | 256 bytes | 1,024 bytes | 256 bytes | 1,024 bytes |
| Digital I/O Pins | 16 | 16 | 16 | 16 | 16 | 28 |
| Supply Voltage (VDD) | 2.0 V to 5.5 V | 1.8 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 1.8 V to 5.5 V |
| Low-Power Feature | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP |
| Operating Temperature | -40C to +125C (E) | -40C to +125C (E) | -40C to +125C (E) | -40C to +125C (E) | -40C to +125C (E) | -40C to +125C (E) |
Key Differentiators
- nanoWatt XLP technology with sub-20 nA sleep current (vs PIC18F46K22-E/MV)
- Compact 6 mm x 6 mm UQFN EP footprint (vs PIC18F46K22 in 40-pin PDIP)
- Integrated EUSART + MSSP serial interfaces (vs PIC18LF13K22-I/SO)
Design Notes
To achieve nanoWatt XLP deep-sleep currents below 20 nA typical, disable all unused peripherals before entering Sleep via their PMD bits, switch the system clock to INTOSC (HFINTOSC/LFINTOSC/SOSC) with the appropriate postscaler, and avoid floating digital inputs (configure unused I/O as outputs). Brown-out Reset (BOR) and watchdog (WDT) must be configured for low-power operation. Pull MCLR high through the internal weak pull-up if not using an external reset, and avoid driving MCLR from a logic source that pulls current during sleep.
The 28-pin UQFN EP package dissipates heat primarily through the exposed pad on the underside of the IC. Solder the EP to a copper pad of at least 4 mm x 4 mm with multiple thermal vias to the inner/ground plane - this is the dominant thermal path. At 25 MHz running full activity, the part dissipates roughly 15 mW; the EP keeps junction temperature rise well below 10C above ambient. Do NOT leave the EP floating, as this raises junction temperature and may cause thermal-shutdown-triggered erratic behavior.
Place the 0.1 uF VDD decoupling capacitor within 2-3 mm of the VDD pin, and a 1 uF or larger bulk capacitor near the exposed pad. Place a separate 0.1 uF on AVDD if analog peripherals are used. Route the ICSPDAT/ICSPCLK (PGD/PGC) lines as short as possible to the programming header, and avoid routing them near switching signals or analog traces. Use a star-ground topology with AVDD/AVSS tied to the same ground plane as the digital supply but with single-point connections.
Estimated: At 25 MHz and 5.0V, the PIC18LF23K22-E/MV draws roughly 6 mA active - which can drop a CR2032 coin cell from 3.0V to below its 2.0V minimum in a few hours if the MCU never sleeps. Always use sleep modes between sensor reads. Also note that the 'LF' variant requires VDD >= 2.0V for full-speed operation; if your battery may drop below 2.0V, use the 'F' (PIC18F23K22) variant. Watch out for floating MCLR - if MCLR is unconnected, the device may randomly reset due to noise coupling.
Compliance Information
Lead-free and RoHS compliant per Microchip product page. Industrial temperature range -40C to +125C. Not AEC-Q100 qualified - choose AEC-Q100 qualified PIC18 K22 variants for automotive designs.