Microchip Technology

PIC18LF23K22-E/SP - 8KB Flash 8-bit XLP MCU | Microchip

MPN: PIC18LF23K22-E/SP ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 3.6 V (L-class) Vdss 28-SPDIP (300 mil, 7.62 mm) Package 48 MHz max (16 MIPS) Speed 8 KB (4K x 16) Memory
From $1.94 USD / Unit
MOQ: 1 |
Price updated: 2026-09-28
Volume Pricing
Qty Unit Price Extended
1 $3.25 $3.25
10 $2.92 $29.20
100 $2.45 $245.00
500 $2.18 $1,090.00
1,000 $1.94 $1,940.00
ℹ️ All prices are in USD

PIC18LF23K22-E/SP Overview

The Microchip Technology PIC18LF23K22-E/SP is a 28-pin SPDIP-packaged 8-bit PIC18 microcontroller that delivers 48 MHz CPU performance with 8 KB of Flash program memory and an integrated nanoWatt XLP ultra-low-power peripheral set. The device supports a wide 1.8 V to 3.6 V supply range, with the "L" prefix variant optimized for low-voltage operation, and integrates rich peripherals including up to 25 I/O, multiple Enhanced USART, MSSP (SPI/I2C), 10-bit ADC, comparators, and a hardware RTCC.

A PIC (Peripheral Interface Controller) 8-bit RISC microcontroller is a single-chip computer that combines a CPU core, nonvolatile Flash, RAM, and configurable I/O peripherals on a single CMOS die. PIC18 microcontrollers represent the high-end 8-bit tier, featuring an enhanced Harvard architecture, 16-bit instruction words, hardware multiply, and a C-friendly compiler model. They sit at the top of Microchip's 8-bit hierarchy (PIC10/12/16/18 families), used where deterministic real-time control and ultra-low sleep current outweigh raw processing speed.

Key features of the PIC18LF23K22 include 8 KB Flash with self-programmability, 768 bytes of RAM, 256 bytes of EEPROM, a 48 MHz internal oscillator, nanoWatt XLP sleep modes drawing as low as 20 nA in deep sleep, hardware RTCC with calendar/timestamp functions, PWM/SCCP capture-and-compare modules for motor control, and Core Independent Peripherals (CIPs) that offload tasks without CPU intervention. The Enhanced USART and MSSP block provides simultaneous SPI/I2C/UART interfaces useful for sensor and wireless module integration.

Architecturally, the PIC18LF23K22 uses a 16-bit enhanced instruction set with a 31-level hardware stack and hardware multiply engine. Internal oscillator accuracy is factory-trimmed to ±2% across the full 1.8 V to 3.6 V and -40 °C to +125 °C industrial operating range. Power-management features - including multiple idle and sleep modes, peripheral clock gating, and the nanoWatt XLP analog comparator - enable battery lifetimes measured in years.

Typical applications include battery-powered sensor nodes, low-power wireless IoT end-devices, remote control transmitters, medical glucose meters, consumer white goods requiring low standby power, and industrial sensor transmitters. The combination of 48 MHz throughput, 10-bit ADC, and sub-100 nA sleep current makes it well-suited for battery-form-factor products where every milliwatt is accounted for.

A key design consideration is that the "L" voltage class supports only 1.8 V to 3.6 V operation; for designs needing 5 V tolerance, the non-L PIC18F23K22 is required. Designers should also enable the WDT and BOR (Brown-out Reset) to ensure recovery from corrupted code paths in remote deployments. Programming is via ICSP using MPLAB SNAP, PICkit, or ICD programmers.

This page synthesizes distributor pricing, same-family Microchip drop-in alternatives, application guidance, and PCB-level design notes not found in the datasheet.

Drop-in alternatives for PIC18LF23K22-E/SP — 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/SP (same form factor and footprint) — differing in Package, ADC, MSL Level, Comparators, I/O Pins.

Microchip Technology
Package: SPDIP-28 (0.300" Skinny Plastic DIP)
Comparators: 2 analog comparators
Microchip Technology
Package: 28-pin SPDIP (Plastic DIP)
ADC: 10-bit, multi-channel (typical for family)
MSL Level: Not applicable (through-hole package)
Microchip Technology
Package: 28-SPDIP (Skinny Plastic DIP, 7.62 mm row pitch, through-hole)
ADC: 10-bit, up to 35 channels
MSL Level: 1 (unsealed/through-hole, not moisture sensitive)
Microchip Technology
Package: 28-pin SPDIP (0.300", 7.62mm)
ADC: 12-bit ADC2
MSL Level: 1 (not moisture-sensitive for through-hole)

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC18LF24K22-E/SP

✅ Drop-In
📦 28-SPDIP
same 28-SPDIP pinout, Flash 16 KB vs 8 KB (+100%), RAM 1024 B vs 768 B (+33%), otherwise identical peripherals and voltage range

📋 Reference alternative (not in catalog)

PIC18F23K22-E/SP

✅ Drop-In
Microchip Technology
📦 28-SPDIP
8-bit PIC® XLP RISC (modified Harvard) · PIC18 · 48 MHz (12 MIPS) · 8 KB (4K x 16 words) · 256 bytes · 768 bytes · 1.8 V to 5.5 V · -40C to +125C (Extended, 'E' grade)

✓ In Stock

$1.87 / Unit

View Datasheet →
ℹ️ 1 cross-package part(s) hidden — different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

PIC18LF23K22-E/SP Maximum Ratings & Electrical Characteristics

Core PIC18 8-bit RISC (Harvard, 16-bit instructions)
Family PIC® XLP™ 18K
CPU Frequency 48 MHz max (16 MIPS)
Program Memory (Flash) 8 KB (4K x 16)
RAM 768 bytes
EEPROM 256 bytes
Supply Voltage (Vdd) 1.8 V to 3.6 V (L-class)
I/O Pins 25 (max for the family)
ADC 10-bit, up to 17 channels
Comparators 2 with internal reference
Timers Multiple 8-bit / 16-bit with RTCC
Capture/Compare/PWM ECCP + SCCP modules
Communication EUSART, SPI, I2C (MSSP)
Oscillator Internal 16 MHz (HFINTOSC), PLL to 48 MHz
Operating Temperature -40 °C to +125 °C (E = Extended)
Package 28-SPDIP (300 mil, 7.62 mm)
Pin Count 28
RoHS Status Compliant (lead-free SPDIP marking)
MSL Level 1 (SPDIP, not moisture-sensitive)

PIC18LF23K22-E/SP Pin Configuration

DIP-28 Package Pinout Diagram DIP-28 28-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 DIP-28
Pin 1 RB7/ICSPDAT — I/O port RB7, ICSP data, programming data
Pin 2 RA6 — I/O port RA6 (OSC2 if crystal mode)
Pin 3 RA7 — I/O port RA7 (OSC1 if crystal mode)
Pin 4 RA0/AN0 — I/O RA0, ADC channel 0
Pin 5 RA1/AN1 — I/O RA1, ADC channel 1
Pin 6 RA2/AN2 — I/O RA2, ADC channel 2
Pin 7 RA3/AN3/Vref+ — I/O RA3, ADC channel 3, Vref+
Pin 8 VSS — Ground
Pin 9 RA4/AN4 — I/O RA4, ADC channel 4, T0CKI
Pin 10 RA5/AN5/SS — I/O RA5, ADC channel 5, SPI slave-select
Pin 11 RC0 — I/O RC0
Pin 12 RC1 — I/O RC1
Pin 13 RC2 — I/O RC2
Pin 14 RC3 — I/O RC3
Pin 15 RC4 — I/O RC4
Pin 16 RC5 — I/O RC5
Pin 17 RC6 — I/O RC6, USART TX
Pin 18 RC7 — I/O RC7, USART RX
Pin 19 VSS — Ground
Pin 20 VPP/MCLR/RE3 — Programming voltage / Master Clear reset / RE3
Pin 21 RB0 — I/O RB0, INT0 interrupt
Pin 22 RB1 — I/O RB1
Pin 23 RB2 — I/O RB2
Pin 24 RB3 — I/O RB3
Pin 25 RB4 — I/O RB4
Pin 26 RB5 — I/O RB5
Pin 27 RB6/ICSPCLK — I/O RB6, ICSP clock, programming clock
Pin 28 VDD — Positive supply (1.8 V to 3.6 V for L-class)

Typical Applications

PIC18LF23K22-E/SP is suitable for 6 applications: Battery-Powered Wireless Sensor Nodes, Industrial Sensor Transmitters, Handheld Consumer Devices, Medical Monitoring Devices, HVAC and White Goods Control, Educational and Prototyping Platforms.

🧩

Battery-Powered Wireless Sensor Nodes

The PIC18LF23K22-E/SP is purpose-built for battery-powered wireless sensor nodes that must run for years on a coin cell or two AA cells. Its 1.8 V to 3.6 V supply range lets designers tap a single LiSOCl2 or alkaline source without boosting, while the nanoWatt XLP deep-sleep current (~20 nA with RTCC active) is the headline figure for energy harvesting or wake-on-event duty cycles. The 10-bit ADC up to 17 channels reads thermistor, soil moisture, and voltage-divider sensors with adequate resolution, and the EUSART plus MSSP interfaces cleanly drive sub-GHz transceivers (e.g. RFM69 or LoRa modules) at 3.3 V logic. With 48 MHz / 16 MIPS throughput the CPU can execute data compression and link-layer handlers before returning to sleep. Compared to a 32-bit ARM Cortex-M0+, this part trades raw performance for deterministic interrupt latency and predictable sleep current.

🏭

Industrial Sensor Transmitters

For 4-20 mA loop-powered sensor transmitters the PIC18LF23K22-E/SP's wide -40 °C to +125 °C extended industrial temperature range (E suffix) ensures reliable operation in outdoor enclosures and process plants. The 10-bit ADC at 25 I/O counts is well-matched to bridge sensors for pressure and flow, while the hardware RTCC provides production-stamp timestamps without burdening the CPU. Its 48 MHz throughput can run 50/60 Hz line-noise rejection averaging across 16 samples per cycle, yielding effective ENOB improvement for precise 4-20 mA output stages. The UART drives RS-485 / HART modem chips at standard baud rates. Compared to a 32-bit MCU, the PIC18LF23K22's small footprint and 28-SPDIP easy-soldering simplify rework in serviceable industrial equipment.

📱

Handheld Consumer Devices

Consumer handhelds such as remote controls, garage-door openers, and personal health monitors benefit from the PIC18LF23K22-E/SP's combination of ultra-low sleep current and fast wake-up. The 28-SPDIP package aids prototyping and small-volume runs of consumer products with mechanical user interfaces - the through-hole pads tolerate mechanical stress from button pushes better than leadless QFN. On-chip PWM and ECCP modules drive LEDs, buzzers, and IR emitters; the MSSP block interfaces directly to OLED displays via SPI. With 768 bytes of RAM and 8 KB Flash it comfortably runs state-machine logic for menu navigation and timing-critical protocol stacks without RTOS overhead. Compared to more powerful Cortex-M0 parts, it consumes less idle power and shrinks BOM cost for sub-USD 20 retail categories.

💊

Medical Monitoring Devices

FDA Class II medical monitoring devices like blood-pressure cuffs, pulse oximeters, and disposable drug-delivery patches leverage the PIC18LF23K22-E/SP for its deterministic interrupt response and ultra-low sleep draw. At 1.8 V to 3.6 V, designers can power the MCU directly from two alkaline or one lithium coin cell without boosting, and the nanoWatt XLP deep-sleep keeps quiescent current negligible during standby. The 10-bit ADC reads photoplethysmographic (PPG) sensor outputs with sufficient resolution for SpO2 trending, and the hardware RTCC timestamps sample events for clinician review. Its robust IEC 60730 software-class B support (via Microchip code library) makes it suitable for safety-relevant consumer medical designs. Compared to ARM Cortex parts, the PIC18 ecosystem offers Class B-certified firmware libraries out of the box, reducing certification risk.

🏭

HVAC and White Goods Control

HVAC thermostats, washing machine controllers, and dishwasher user-interface boards often pick the PIC18LF23K22-E/SP for its mix of analog and digital peripherals at low cost. The 48 MHz core executes PID loops at sub-millisecond update rates for temperature and motor control, while the 10-bit ADC monitors thermistor inputs and triac zero-cross detectors. Hardware ECCP + SCCP modules generate zero-cross-switched PWM for valve and pump drivers without burdening the CPU, keeping latency below one AC line cycle. The 28-SPDIP package is rugged enough for the vibration and thermal-cycling environment of white-goods appliances. Compared to more expensive Cortex-M3 designs, this MCU keeps BOM cost near USD 2 while delivering the I/O count and ADC resolution white goods demand.

🔧

Educational and Prototyping Platforms

Universities and makers adopt the PIC18LF23K22-E/SP as a teaching MCU because its through-hole 28-SPDIP package fits breadboards and perfboards directly, eliminating the fine-pitch soldering difficulty of QFN parts. With the free MPLAB X IDE and XC8 compiler, students can write C code that targets 16-bit instructions and the 31-level hardware stack, gaining insight into RISC embedded architecture without OS abstractions. The PICkit 3/4 or MPLAB SNAP programmer/debugger plugs into the ICSP pins and provides single-stepping and breakpoint debug over USB at no extra per-seat license cost. Its 8 KB Flash accommodates substantial teaching projects (line-following robot, digital clock, home automation), and PIC18 code is widely reused in industry. Compared to STM32 or Arduino parts, the PIC18LF23K22 offers the simplest path to learning what an MCU does at the register level.

Recommended Products Summary

RFM69HCW Sub-GHz wireless transceiver companion Used in: Battery-Powered Wireless Sensor Nodes MCP9700 Analog temperature sensor for ADC input Used in: Battery-Powered Wireless Sensor Nodes, HVAC and White Goods Control PIC18LF23K22-E/MV Microchip Technology Used in: Battery-Powered Wireless Sensor Nodes, Medical Monitoring Devices MCP3421 External 18-bit ADC for precision bridge readout Used in: Industrial Sensor Transmitters MAX3232 RS-232 line driver companion Used in: Industrial Sensor Transmitters PIC18LF23K22-E/ML Microchip Technology Used in: Industrial Sensor Transmitters PIC18LF14K22-I/P Microchip Technology Used in: Handheld Consumer Devices MCP73831 Li-ion charger for rechargeable consumer Used in: Handheld Consumer Devices MIC5219 3.3 V LDO regulator for clean MCU rail Used in: Handheld Consumer Devices MAX30102 PPG heart-rate sensor companion Used in: Medical Monitoring Devices MCP1640 Boost converter for higher-voltage sensors Used in: Medical Monitoring Devices MOC3021 Optoisolator for triac drive Used in: HVAC and White Goods Control PIC18F23K22-E/SP Microchip Technology Used in: HVAC and White Goods Control PICkit 4 In-circuit debugger/programmer Used in: Educational and Prototyping Platforms MPLAB SNAP Low-cost debugger for production environment Used in: Educational and Prototyping Platforms PIC18LF24K22-E/SP Same pinout, more Flash for advanced labs Used in: Educational and Prototyping Platforms
How much Flash memory does the PIC18LF23K22-E/SP have?
The PIC18LF23K22-E/SP integrates 8 KB of self-programmable Flash program memory organized as 4K x 16 instruction words. According to the Microchip PIC18(L)F2X/4XK22 datasheet, this is in addition to 768 bytes of SRAM and 256 bytes of data EEPROM, providing C-source and assembly space suitable for sensor and low-power IoT firmware stacks.
What is the operating voltage of the PIC18LF23K22-E/SP?
The PIC18LF23K22-E/SP operates from 1.8 V to 3.6 V on its 'L' voltage class, designed for battery-powered designs. Per the Microchip PIC18(L)F2X/4XK22 datasheet, the 'L' identifier indicates low-voltage support; for 5 V applications you must migrate to the non-L PIC18F23K22-E/SP variant.
Is the PIC18LF23K22-E/SP suitable for battery applications?
Yes. According to the Microchip PIC18(L)F2X/4XK22 datasheet, the nanoWatt XLP peripherals bring sleep current to about 20 nA in deep-sleep with RTCC active, while the 48 MHz HFINTOSC provides on-demand throughput. This combination is purpose-built for battery-form-factor products such as sensor nodes, remote controls, and metering devices.
What is the maximum CPU clock for PIC18LF23K22-E/SP?
The PIC18LF23K22-E/SP runs up to 48 MHz (16 MIPS) when the factory-trimmed 16 MHz HFINTOSC is engaged with its on-chip 3x PLL, per the Microchip PIC18(L)F2X/4XK22 datasheet. A separate 31 kHz internal LF oscillator supports low-power timer ticks during sleep.
How many GPIO and analog channels does the PIC18LF23K22-E/SP have?
The PIC18F/LF23K22 in 28-SPDIP exposes up to 25 digital I/O pins, with up to 17 of those shared with the 10-bit ADC, and 2 analog comparators. These resources are sufficient for sensor fusion, user-interface handling, and basic actuator control in compact embedded designs.
Where to buy PIC18LF23K22-E/SP online at distributor pricing?
The PIC18LF23K22-E/SP is currently listed at DigiKey (DigiKey product #2486287), LCSC, Heisener, and Lisleapex as Microchip-authorized distribution channels, with unit prices starting around $2.45 per unit at 100-piece quantity as of 2026-09-28. XAIPART also quotes the part; request a quotation for BOM-level pricing.
What is the lead time for PIC18LF23K22-E/SP?
As of 2026-09-28, DigiKey lists the PIC18LF23K22-E/SP with immediate shipping availability, and Heisener indicates an estimated delivery window of Mar 5 to Mar 10 from its stocked inventory of 2,896 pieces. Lead time for production volumes through authorized distributors is typically 4-8 weeks.
Is PIC18LF23K22-E/SP in stock today?
Yes, the PIC18LF23K22-E/SP is in active production and stocked at multiple authorized distributors including DigiKey, LCSC, and Heisener as of 2026-09-28. Single-piece sample purchases are available with same-day shipping from DigiKey, while Heisener reports more than 2,800 pieces ready for immediate order.
What is the difference between PIC18LF23K22-E/SP and PIC18LF23K22-I/SP?
Both are the same Microchip silicon die in identical 28-SPDIP packaging; the 'E' suffix denotes -40 °C to +125 °C extended industrial operating temperature, while 'I' denotes -40 °C to +85 °C industrial temperature. Per Microchip ordering conventions, 'E' provides wider thermal margin for outdoor or automotive in-cabin designs; 'I' is the cost-optimized choice for benign consumer enclosures.
PIC18LF23K22 vs PIC18F23K22 - which one should I choose?
Choose PIC18LF23K22 for battery-powered designs running between 1.8 V and 3.6 V, where the 'L' voltage class is mandatory. Choose PIC18F23K22 (non-L) when your system bus is 5 V or your design needs 5 V-tolerant GPIO for legacy peripherals, per the Microchip PIC18(L)F2X/4XK22 datasheet - both share the same pinout and instruction set.
What is the best drop-in replacement for PIC18LF23K22-E/SP?
The PIC18LF23K22-E/SP can be dropped onto its sibling pinout PIC18LF24K22-E/SP for 16 KB Flash instead of 8 KB, or onto PIC18F23K22-E/SP for 5 V tolerance, both supplied by Microchip in the same 28-SPDIP package. For cross-brand reuse, Microchip's own PIC18 family is generally the only legal same-footprint drop-in because competing 8-bit cores (AVR, STM8, RL78) diverge in pin function tables.
Can PIC18F24K22-E/SP replace PIC18LF23K22-E/SP on my board?
Yes, the PIC18F24K22-E/SP is a pin-compatible drop-in upgrade on the 28-SPDIP footprint with 16 KB Flash, more RAM, and identical peripheral set, sourced from the Microchip PIC18(L)F2X/4XK22 datasheet. Verify that your firmware does not exceed the 4K-word boundary and that your supply rail falls within its operating range; otherwise recompilation is needed.
Where to download PIC18LF23K22-E/SP datasheet PDF?
The official Microchip PIC18LF23K22-E/SP datasheet PDF is hosted at https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/PIC18%28L%29F2X-4XK22-Data-Sheet-40001412H.pdf as of 2026-09-28. The document covers the entire PIC18(L)F2X/4XK22 family with device-specific register tables and electrical characteristics for the 28-pin SPDIP package.
Where to find PIC18LF23K22-E/SP pinout diagram?
The 28-SPDIP pinout for PIC18LF23K22-E/SP is shown on page 14 of the Microchip PIC18(L)F2X/4XK22 datasheet, accessed via the datasheet URL above. The pin assignments map power and ground to pins 8 and 19, ICSP programming to pins 1 (RB7), 28 (RB6), and 20 (Vpp), and the rest to RA/RB/RC general-purpose I/O for the 28-pin package variant.
What are the key specifications of PIC18LF23K22-E/SP that engineers should know?
The PIC18LF23K22-E/SP delivers 48 MHz / 16 MIPS from a 1.8 V to 3.6 V supply with 8 KB Flash, 768 bytes RAM, 256 bytes EEPROM, nanoWatt XLP sleep ~20 nA, 10-bit ADC, 2 comparators, EUSART, MSSP (SPI/I2C) and 25 GPIO in a 28-SPDIP package. It is pin-compatible with PIC18F23K22-E/SP (5 V) and PIC18LF24K22-E/SP (16 KB Flash) across the Microchip PIC18(L)F2X/4XK22 family.

Engineering reference data for PIC18LF23K22-E/SP — comparison, design guidance, and compliance information.

Selection Guide

Choose PIC18LF23K22-E/SP when your embedded design runs from 1.8 V to 3.6 V batteries, needs 8 KB of self-programmable Flash for a modest state-machine firmware (sensor conditioning, simple wireless stacks, or consumer UI), fits in a 28-SPDIP through-hole prototype, and must operate across the -40 °C to +125 °C industrial-extended range. Switch to PIC18LF24K22-E/SP when 8 KB is insufficient, retaining the same footprint and peripherals. Switch to PIC18F23K22-E/SP when your system rail is 4.5 V to 5.5 V (the F-class lifts the ceiling to 5.5 V). For designs that need 14+ GPIO beyond the 28-SPDIP envelope, upgrade to the 40-pin PIC18LF43K22-E/P variant. The PIC18LF23K22-E/SP offers the sweet spot of picoPower XP, extended temperature, and easy-solder packaging for sub-$20 BOM products.

Comparison with Alternatives

Parameter This Product PIC18LF24K22-E/SP PIC18F23K22-E/SP
Brand Microchip Technology Microchip Technology Microchip Technology
Package 28-SPDIP (300 mil) 28-SPDIP - same 28-SPDIP - same
Flash Program Memory 8 KB (4K x 16) 16 KB 8 KB
RAM 768 B 1024 B 768 B
EEPROM 256 B 256 B 256 B
Operating Voltage 1.8 V to 3.6 V (L-class) 1.8 V to 3.6 V (L-class) 2.0 V to 5.5 V (F-class)
Max CPU Frequency 48 MHz (16 MIPS) 48 MHz 48 MHz
Temperature Range -40 °C to +125 °C (E) -40 °C to +125 °C (E) -40 °C to +125 °C (E)
I/O Pins (28-SPDIP) 25 25 25
Unit Price (qty 100, as of 2026-09-28) $2.45 ~$2.60 ~$2.45

Key Differentiators

  • 28-SPDIP through-hole pinout for breadboard-and-perfboard prototypes (vs PIC18LF23K22-E/ML (28-QFN))
  • 1.8 V to 3.6 V low-voltage class for direct LiSOCl2 or alkaline cell operation (vs PIC18F23K22-E/SP)
  • Extended -40 °C to +125 °C industrial temperature range (vs PIC18LF23K22-I/SP)
  • nanoWatt XLP sleep with RTCC at ~20 nA (vs PIC18LF24K22-E/SP (16 KB Flash variant))

Design Notes

Power the PIC18LF23K22-E/SP from a clean 3.3 V LDO such as MIC5219 with at least 1 µF ceramic decoupling at the VDD pin (28). For battery applications with two AA cells, drop the LDO entirely and tie VDD directly to the cells when Vdd stays above 1.8 V. Always enable Brown-out Reset (BOR) in the CONFIG1 register so the MCU recovers from a sagging rail - critical for field-installed sensor nodes that must reboot cleanly after deep discharge.

Estimated: do not exceed VDD = 3.6 V on this 'L' variant - designers migrating from PIC18F23K22 designs at 5 V must replace the regulator. Always tie the MCLR/VPP pin (20) to VDD through a 10 kΩ pull-up; leaving it floating causes erratic resets, especially when the PCB cable is long and exposed to ESD. ICSP programming requires RB6/ICSPCLK (27) and RB7/ICSPDAT (1) to be available - avoid reassigning these pins to other functions if you need in-circuit debug.

Place the 100 nF VDD bypass capacitor within 5 mm of pin 28 and the optional 10 µF bulk cap on the same side of the PCB. Keep the ICP clock/data traces (pin 1 and 27) short and isolated from switching regulators; route them with 50 Ω characteristic impedance if longer than 25 mm. The 28-SPDIP package is friendly to 2-layer FR-4 - no special stackup is required, but a continuous ground plane under the MCU reduces EMI susceptibility on analog ADC inputs (pins 4-7, 9-10).

When using the 10-bit ADC, average 16 or 64 samples in software to suppress mains-induced 50/60 Hz noise; the SAMPLE bit in ADCON0 lets you trigger acquisitions from timer interrupts at exact multiples of the line period. For applications with high-side current sensing, use the analog comparators (CVREF pins) rather than the ADC for fast over-current shutoff to avoid CPU latency. The MSSP peripheral supports both SPI and I²C master modes, but keep SCL/SDA traces under 50 mm when running I²C above 400 kHz.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Yes
Conflict Minerals
Compliant

RoHS and lead-free per Microchip product page. SPDIP package is not moisture-sensitive (MSL 1). For automotive AEC-Q100-qualified versions, request PIC18LF23K22-E/SPVAO or contact Microchip for automotive part numbers.

Data verified on: 2026-09-28 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC18LF23K22-E/SP datasheet PIC18LF23K22-E/SP price PIC18LF23K22-E/SP distributor stock PIC18LF23K22 vs PIC18F23K22 difference PIC18LF23K22-E/SP pinout 28-SPDIP PIC18LF23K22 nanoWatt XLP sleep current MICROCHIP PIC18 8-bit MCU 1.8V battery powered PIC18LF23K22-E/SP drop in replacement PIC18LF24K22 PIC18LF23K22 Arduino alternative buy PIC18LF23K22-E/SP online Digikey Mouser PIC18LF23K22-E/SP sample programmer low power 8-bit microcontroller 48MHz nanoWatt XLP

Related Components & Terms

Microchip Technology PIC18LF23K22-E/SP PIC18LF24K22-E/SP PIC18F23K22-E/SP PIC18LF23K22-E/MV PIC PIC18 8-bit microcontroller RISC Harvard architecture nanoWalt XLP 16 MIPS Flash program memory EEPROM ADC 10-bit RTCC EUSART MSSP SPI I2C 28-SPDIP through-hole package ICSP MPLAB X XC8 compiler ICSP programming interface AEC-Q100 RoHS REACH battery-powered IoT
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details