PIC18F23K22-I/SS - 8KB Flash MCU, 64MHz, 28-SSOP | Microchip
MPN: PIC18F23K22-I/SS ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.95 | $2.95 |
| 10 | $2.66 | $26.60 |
| 100 | $2.36 | $236.00 |
| 500 | $2.13 | $1,065.00 |
| 1,000 | $1.92 | $1,920.00 |
PIC18F23K22-I/SS Overview
A PIC microcontroller (Programmable Integrated Circuit) is a Harvard-architecture RISC MCU widely used in embedded systems; the PIC18 family targets 8-bit applications that demand higher code density, richer peripheral sets, and lower power consumption than earlier PIC16 generations. The XLP (eXtreme Low Power) nanoWatt extensions add sleep currents below 100 nA with retention, sleep-mode wake from RTCC, INT, or WDT sources, and Idle/Doze run-mode controls that let active current scale with peripheral gating.
The PIC18F23K22 features include 25 digital I/O pins shared with peripheral functions, two Enhanced USART modules, one MSSP supporting both SPI and I2C (master/slave), two 10-bit ADC modules with up to 17 analog input channels, two analog comparators, two 8/10-bit PWM modules with up to four outputs, and an Enhanced Capture/Compare/PWM (ECCP) channel. On-chip peripherals include a programmable 32 kHz internal oscillator, four timers (T0-T3, optional TMR1/TMR3 gate), a Hardware RTCC for real-time clock, and seven programmable voltage references for the comparators and ADC.
Typical applications include low-power battery sensors (wireless thermostats, utility meters, IoT endpoints), home appliances with HMI control panels, automotive body electronics and lighting (RCL, ambient light modules), USB/HID bridges when paired with a PIC18F14K50-family partner, industrial control loops, and consumer white-goods user interfaces. The wide 2.5V-5.5V supply range lets one part cover both 3.3V and 5V rails without modification.
When designing in, set unused I/O pins to outputs (to minimize current in input-float mode), keep analog and digital grounds separated and joined at a single point, and place a 100 nF ceramic decoupling capacitor within 5 mm of VDD with an additional bulk 10-47 uF tantalum or aluminum polymer on the main rail. Estimated: the 28-SSOP version dissipates approximately 0.6 W in free air at 70 C ambient with all I/O toggling; derate by 12 mW per degree Celsius above 70 C.
This page synthesizes verified distributor pricing, hand-curated drop-in alternatives from the K22 and Q10 families, and practical design notes that go beyond the manufacturer datasheet.
Drop-in alternatives for PIC18F23K22-I/SS — 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 PIC18F23K22-I/SS (same form factor and footprint) — differing in ADC, Package, Timers, Operating Temperature, Program Memory (Flash).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F24K22-I/SS
✅ Drop-In✓ In Stock
$1.32 / Unit
View Datasheet →PIC18F25K22-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F24Q10-I/SS
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F26K22-I/SS
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F23K22-E/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F23K20-I/SS
✅ Drop-In✓ In Stock
$1.65 / Unit
View Datasheet →PIC18F23K22-I/SS Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit PIC18 RISC (Harvard) |
| Core Processor | PIC18 |
| Family | PIC XLP 18K (K22 series, nanoWatt XLP) |
| Program Memory (Flash) | 8 KB (4K x 16 words) |
| SRAM | 768 bytes |
| EEPROM | 256 bytes |
| Maximum Clock Speed | 64 MHz |
| Supply Voltage (VDD) | 2.5 V to 5.5 V |
| Number of I/O Pins | 25 |
| Package | 28-SSOP (Skinny Small Outline, 5.30 mm body) |
| Mounting Type | Surface Mount |
| Operating Temperature | -40 C to +85 C (Industrial -I suffix) |
| Connectivity / Communication | I2C, SPI, UART/USART (two Enhanced USART, one MSSP) |
| Peripherals | Brown-out Detect/Reset, HLVD, POR, PWM, ECCP, Comparators, RTCC, ADC |
| ADC | 10-bit, two modules, up to 17 analog channels (device-dependent) |
| PWM Channels | 2 modules, up to 4 outputs total |
| Timers | 4 (Timer0-Timer3) plus ECCP 16-bit capture/compare |
| MSL Level | 1 (unlimited floor life, per JEDEC J-STD-020) |
| RoHS Status | Compliant |
| Lead-Free / Halogen-Free | Yes / Yes (per Microchip product page) |
PIC18F23K22-I/SS Pin Configuration
| Pin 1 | RA2/AN2 — Bidirectional I/O / analog channel 2 |
| Pin 2 | RA3/AN3/VREF+ — Bidirectional I/O / analog channel 3 / ADC Vref+ |
| Pin 3 | RA4/T0CKI — Bidirectional I/O / Timer0 clock input |
| Pin 4 | RA5/AN4/CCP5 — Bidirectional I/O / analog channel 4 / CCP5 PWM/capture |
| Pin 5 | GND — Ground reference |
| Pin 6 | RA7/OSC1/CLKIN — Bidirectional I/O / oscillator in / external clock |
| Pin 7 | OSC2/CLKOUT/RA6 — Oscillator out / clock out / I/O |
| Pin 8 | RC0/P2A — Digital I/O / PWM2 enhanced output |
| Pin 9 | RC1/P2B — Digital I/O / PWM2 enhanced output |
| Pin 10 | RC2/P2C — Digital I/O / PWM2 enhanced output |
| Pin 11 | RC3/P2D — Digital I/O / PWM2 enhanced output |
| Pin 12 | RC4/SDI/SDA — Digital I/O / SPI data in / I2C data |
| Pin 13 | RC5/SDO — Digital I/O / SPI data out |
| Pin 14 | RC6/TX1/CK1 — Digital I/O / EUSART1 transmit / clock |
| Pin 15 | RC7/RX1/DT1 — Digital I/O / EUSART1 receive / data |
| Pin 16 | RB0/AN12/INT0 — Digital I/O / analog 12 / external interrupt 0 |
| Pin 17 | RB1/AN10/P1C — Digital I/O / analog 10 / PWM1 enhanced output |
| Pin 18 | RB2/AN8/P1B — Digital I/O / analog 8 / PWM1 enhanced output |
| Pin 19 | RB3/AN9/CCP2 — Digital I/O / analog 9 / CCP2 input |
| Pin 20 | RB4/AN11/P1D — Digital I/O / analog 11 / PWM1 enhanced output |
| Pin 21 | RB5/AN13/CCP3 — Digital I/O / analog 13 / CCP3 input |
| Pin 22 | RB6/ICSGC/CCP4 — Digital I/O / ICD debug clock / CCP4 input |
| Pin 23 | RB7/ICSGD/CCP6 — Digital I/O / ICD debug data / CCP6 input |
| Pin 24 | VDD — Power supply +2.5 V to +5.5 V |
| Pin 25 | RA0/AN0 — Bidirectional I/O / analog channel 0 |
| Pin 26 | RA1/AN1 — Bidirectional I/O / analog channel 1 |
| Pin 27 | VREF-/CVREF-/AN7 — ADC Vref- / comparator CVref- / analog channel 7 |
| Pin 28 | RA2-Shared-Out-of-Family-Reserved — Not connected (per datasheet) |
Typical Applications
PIC18F23K22-I/SS is suitable for 6 applications: Battery-Powered Sensor Nodes (IoT, Utility Meters), Home Appliance HMI Control Panels, Automotive Body Electronics and Lighting, Industrial Control Loops and Sensor Aggregation, Consumer White Goods and Small Appliances, Test and Measurement Handheld Instruments.
Battery-Powered Sensor Nodes (IoT, Utility Meters)
The PIC18F23K22-I/SS is a strong fit for battery-powered sensor nodes because its nanoWatt XLP technology yields sleep currents below 100 nA with full data RAM retention, while the 64 MHz core wakes in microseconds to process and transmit sensor bursts. The 2.5 V-5.5 V supply range lets designers use a single AA/AAA stack or a 3.3 V coin-cell boost, eliminating regulator stages. The two EUSART and one MSSP (SPI/I2C) attach to radios (LoRa, sub-GHz) and digital sensors (temp, humidity, accelerometer), and the two 10-bit ADC modules digitize analog sensors at up to 17 channels without an external ADC. Estimated: at a typical duty cycle of 1 transmission every 10 s with 64 MHz active during the burst, the MCU averages roughly 30-80 uA over the cycle, delivering 3-5 year life from a single 2400 mAh AA pair with proper sleep-current discipline.
Recommended
Home Appliance HMI Control Panels
Washing machines, dishwashers, ovens and air-conditioner HMI panels use PIC18F23K22-I/SS because its 25 I/O lines can drive 7-segment LEDs, scan key matrices and toggle triac opto-isolators without an external I/O expander. The two ECCP/PWM modules generate audio chime tones and dim motor-control LEDs directly, while the Hardware RTCC keeps real-time clock across brown-outs (the on-chip HLVD supervises 2.7 V-5.0 V thresholds). The 7 programmable voltage references and two comparators simplify zero-crossing detection for triac firing. Pin compatibility with PIC18F24K22/25K22 lets brands use one PCB across product tiers and ship different firmware via the Flash read/write block that the K22 datasheet documents for in-application self-programming.
Recommended
Automotive Body Electronics and Lighting
Indoor automotive body controllers and lighting modules (RCL, ambient light, puddle lamps, seat-fan trim) deploy PIC18F23K22-I/SS because its 5 V I/O tolerance survives 12 V battery transients through 5.6 V clamps and the -40C-+125C rating survives under-dash temperature extremes. The two PWM modules (CCPx/CCP2) drive MOSFETs for LED current regulation, and the two 10-bit ADC channels read LIN/switch inputs and sense battery voltage with the on-chip HLVD. Two EUSARTs give one LIN slave (via external transceiver) and one debug UART to the service tool. For active/OBD applications that demand AEC-Q100, Microchip offers the automotive PIC18F25K22 variant with the same SSOP footprint and pin-to-pin compatibility for the F23K22 footprint.
Recommended
Industrial Control Loops and Sensor Aggregation
Industrial PLC analog-input boards, isolated sensor hubs and HVAC dampers select PIC18F23K22-I/SS for its combination of two differential-channel 10-bit ADCs (up to 17 inputs), seven programmable voltage references for ratiometric sensor excitation, and 64 MHz core loop time that closes PID at sub-millisecond cycle rates. The Hardware RTCC timestamps log events across mains power cycles via Supercap or CR2032 backup. The MSSP can run SPI to industrial ADC companions (such as 24-bit delta-sigma converters) or I2C to EEPROM memories for data logging. The 28-SSOP package minimizes vertical clearance on through-the-air sensor cards stacked inside enclosures.
Recommended
Consumer White Goods and Small Appliances
Coffee makers, blenders, rice cookers and humidifiers use PIC18F23K22-I/SS as a low-cost main controller because its 28-SSOP footprint, $1.92 unit price at qty 1000, and XLP nanoWatt sleep modes (<100 nA) deliver wall-wart-friendly standby compliance. The 25 GPIO lines directly drive 7-segment displays, scan capacitive touch pads, switch triacs and drive buzzers via the two PWM modules - one PWM keeps the switching element modulated, the other plays the alarm tone through a piezo speaker. The Hardware Limit Timer (HLT) and CCP capture mode handle motor RPM feedback from a hall sensor without external counters. The 2.5 V-5.5 V range lets a single chip run directly from a resistor-capacitor mains dropper.
Recommended
Test and Measurement Handheld Instruments
Handheld multimeters, network cable testers and HVAC service tools deploy PIC18F23K22-I/SS because its 64 MHz core computes RMS / peak detection / wiremap checks in real time, its 2.5 V-5.5 V range runs directly from 2x AA cells without a boost regulator, and the seven programmable voltage references ratio battery voltage and reference tenors in the same ADC pass. The two PWM outputs drive LCD glass contrast and LCD bias generation, while the MSSP SPI bus attaches to a small TFT LCD or OLED module. The Hardware RTCC timestamps measurement logs against UTC; comparator 1 + CVref on the K22 trigger on detection of an open-circuit condition for cable testing. With proper sleep discipline the entire handheld runs 80-150 hours per AA pair.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F23K22-I/SS — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F24K22-I/SS | PIC18F25K22-I/SS | PIC18F26K22-I/SS | PIC18F23K22-E/SS | PIC18F23K20-I/SS |
|---|---|---|---|---|---|---|
| Package | 28-SSOP | 28-SSOP | 28-SSOP | 28-SSOP | 28-SSOP | 28-SSOP |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory (Flash) | 8 KB | 16 KB | 32 KB | 64 KB | 8 KB | 8 KB |
| SRAM | 768 bytes | 768 bytes | 1536 bytes | 3896 bytes | 768 bytes | 512 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 1024 bytes | 256 bytes | 256 bytes |
| Maximum Clock Speed | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| Operating Voltage | 2.5 V - 5.5 V | 2.5 V - 5.5 V | 2.5 V - 5.5 V | 2.5 V - 5.5 V | 2.5 V - 5.5 V | 1.8 V - 5.5 V (K22 -I variant 2.5 V - 5.5 V) |
| Operating Temperature | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C | -40 C to +125 C | -40 C to +85 C |
| Approximate Unit Price (qty 1000) | $1.92 | approximately $2.10 at qty 1000 | approximately $2.30 at qty 1000 | approximately $2.50 at qty 1000 | approximately $2.30 at qty 1000 | approximately $1.85 at qty 1000 |
Key Differentiators
- 30+ peripherals for $1.92 unit cost in qty 1000 (vs PIC18F26K22-I/SS)
- Optional Extended temperature grade on same die (vs PIC18F23K22-E/SS)
- Mature K22 register map keeps PicStart Plus / MPLAB 8 heritage support (vs PIC18F24Q10-I/SS)
Design Notes
Estimated: The PIC18F23K22-I/SS nanoWatt XLP deep-sleep current is specified below 100 nA with full RAM retention at 3.0 V supply. For long battery life, use the MSSP, ADC, comparators, and PWM in their module-level disable states when not in use, and gate the system clock via OSCCON when the CPU has nothing to do. Set unused I/O pins to outputs rather than inputs - input pins float at unpredictable threshold and sink 20-200 uA combined supply leakage. Place a 100 nF ceramic decoupling capacitor within 5 mm of VDD; add a bulk 10-47 uF tantalum or aluminum polymer cap on the input rail to absorb relay/solenoid inductive transients in white-goods designs.
Keep all SSOP-28 traces under 50 ohms impedance with attention to the analog AN0-AN13 routes - guard them with a digital ground that joins the analog ground at a single point close to the package's GND pin. For PCB layout, do not run clock lines (OSC2/CLKOUT) parallel to analog lines for longer than 5 mm, and ensure the analog Vref signal traces have surrounding ground-fill on both sides. Estimated: typical 28-SSOP thermal resistance in still air is 80 C/W; designing for 200 mW internal dissipation is realistic only with a 4-layer board or 2-layer board with at least 1 sq-inch copper pour connected to the GND pin.
Three common PIC18F23K22-I/SS pitfalls to avoid: (1) Configuring a pin as analog input without setting TRISx properly - analog inputs read ambient noise and double your ADC conversion jitter if their digital input buffer is enabled. Use ANSELA/ANSELB/ANSELC to digital-only disable on analog pins; (2) forgetting to clear the GIE global interrupt flag when entering deep sleep - the chip will immediately wake on the first pending interrupt; (3) using the HF-INTOSC default at 16 MHz when C compilers expect 64 MHz - verify FOSC bits and OSCTUNE are set correctly in MPLAB X for a stable instruction rate before measuring timing-critical interfaces like UART or I2C slave mode at sub-microsecond tolerances.
Compliance Information
RoHS and lead-free compliant per Microchip product page; AEC-Q100 - see PIC18F25K22 automotive variant for AEC-Q100-qualified derivatives; -E variant extends industrial temp range to -40C-+125C.