PIC18F23K22-I/SO - 8-bit XLP MCU, 64MHz, 8KB Flash | Microchip
MPN: PIC18F23K22-I/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.36 | $2.36 |
| 10 | $2.13 | $21.30 |
| 100 | $1.9 | $190.00 |
| 500 | $1.71 | $855.00 |
| 1,000 | $1.52 | $1,520.00 |
PIC18F23K22-I/SO Overview
An 8-bit microcontroller (MCU) is a programmable system-on-a-chip that combines a CPU, non-volatile program memory (Flash/ROM), working RAM, and a rich set of peripherals (GPIO, timers, ADC, communication interfaces) on a single silicon die. The PIC18 architecture sits in the middle of Microchip's 8-bit MCU portfolio: more capable than the baseline PIC10/PIC12/PIC16 families, with a richer instruction set, larger address space, and C-friendly hardware stack, while remaining cheaper and lower-power than 16-bit PIC24 or 32-bit parts. XLP (eXtreme Low Power) is Microchip's brand for nanoWatt-class sleep current, targeting battery-powered and energy-harvesting designs.
Key features of the PIC18F23K22 include nanoWatt XLP technology with sub-uA sleep currents, an integrated 10-bit ADC with up to 17 channels, multiple Enhanced USART, MSSP (SPI/I2C), and PWM modules with up to 7 independent outputs. The 28-pin SOIC package exposes 25 I/O pins and supports in-circuit serial programming (ICSP) and ICD debug through two pins, eliminating the need for an external programmer header in many designs.
Architecturally, the PIC18F23K22 uses a Harvard RISC core with 49 instructions and hardware multiply, executes most instructions in one cycle, and integrates a wide peripheral mix aimed at sensor reading, motor/signal timing, and serial communication. It is widely used as the lowest-cost 8-bit option for engineers migrating away from PIC16 designs that need more memory or peripherals.
Typical applications include low-power IoT sensor nodes, battery-powered HVAC and home automation, automotive body and accessory subsystems, white-goods and small appliance control, industrial sensor interfaces, and consumer remote controls. Per Microchip's product page, the part is in production and the recommended migration target is the newer PIC18F24Q10 family.
When designing with this device, place 100 nF decoupling close to each VDD pin and use a 10 uF bulk capacitor near the regulator. Leave RA5/MCLR/VPP accessible for ICSP, and verify the ADC reference is properly bypassed when using external Vref+.
This page synthesizes distributor pricing, same-family drop-in alternatives, and practical design notes not aggregated in the manufacturer datasheet, helping procurement and design engineers evaluate the PIC18F23K22-I/SO against its siblings and newer PIC18 replacements.
Drop-in alternatives for PIC18F23K22-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 PIC18F23K22-I/SO (same form factor and footprint) — differing in ADC, Package, Core Architecture, Timers, Communication.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F24K22-I/SO
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F23K22-I/MV
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.42 / Unit
View Datasheet →PIC18F23K22-E/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F23K20-I/SO
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.55 / Unit
View Datasheet →PIC18F25K22-I/SO
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.78 / Unit
View Datasheet →PIC18F23K22-I/SO Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 (8-bit RISC) |
| Program Memory (Flash) | 8 KB (4K x 16) |
| SRAM | 512 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Clock | 64 MHz (16 MIPS) |
| Supply Voltage | 2.3 V to 5.5 V |
| Operating Temperature | -40C to +85C (Industrial) |
| I/O Pins | 25 |
| Package | 28-pin SOIC (SO) |
| ADC | 10-bit, up to 17 channels |
| Comparators | 2 |
| Timers | 4 (8/16-bit) |
| PWM Outputs | Up to 7 |
| EUSART | Yes (Enhanced USART) |
| MSSP (SPI/I2C) | Yes |
| ICSP/ICD Debug | Yes (2-wire) |
| RoHS Status | Compliant |
| Mounting Type | Surface Mount |
PIC18F23K22-I/SO Pin Configuration
| Pin 1 | RA3/AN3/Vref+ — Port A bit 3 / Analog input 3 / ADC positive voltage reference |
| Pin 2 | RA2/AN2/Vref- — Port A bit 2 / Analog input 2 / ADC negative voltage reference |
| Pin 3 | RA1/AN1/C1IN-/PGM — Port A bit 1 / Analog input 1 / Comparator 1 negative input / LVP programming |
| Pin 4 | RA0/AN0/C1IN+/ICSPDAT — Port A bit 0 / Analog input 0 / Comparator 1 positive input / ICSP data |
| Pin 5 | RA7/OSC1/CLKIN — Port A bit 7 / Crystal oscillator input / external clock input |
| Pin 6 | RA6/OSC2/CLKOUT — Port A bit 6 / Crystal oscillator output / clock output |
| Pin 7 | VDD — Positive supply voltage (2.3 V to 5.5 V) |
| Pin 8 | VSS — Ground reference |
| Pin 9 | RB0/INT0/FLT0/SDA — Port B bit 0 / External interrupt 0 / PWM fault / I2C data |
| Pin 10 | RB1/INT1/SCL — Port B bit 1 / External interrupt 1 / I2C clock |
| Pin 11 | RB2/INT2 — Port B bit 2 / External interrupt 2 |
| Pin 12 | RB3/CCP2 — Port B bit 3 / Capture/Compare/PWM 2 |
| Pin 13 | RB4/CCP1 — Port B bit 4 / Capture/Compare/PWM 1 |
| Pin 14 | RB5/P1B — Port B bit 5 / PWM 1 complementary output B |
| Pin 15 | RB6/PGC — Port B bit 6 / ICSP clock |
| Pin 16 | RB7/PGD — Port B bit 7 / ICSP data |
| Pin 17 | RC0/SOSCO — Port C bit 0 / Secondary oscillator output |
| Pin 18 | RC1/SOSCI — Port C bit 1 / Secondary oscillator input |
| Pin 19 | RC2/CCP1/P1A — Port C bit 2 / CCP1 / PWM 1 output A |
| Pin 20 | RC3/SCL/SCK — Port C bit 3 / I2C clock / SPI clock |
| Pin 21 | RC4/SDA/SDI — Port C bit 4 / I2C data / SPI data in |
| Pin 22 | RC5/SDO — Port C bit 5 / SPI data out |
| Pin 23 | RC6/TX/CK — Port C bit 6 / EUSART transmit / clock |
| Pin 24 | RC7/RX/DT — Port C bit 7 / EUSART receive / data |
| Pin 25 | RD0 — Port D bit 0 (digital only) |
| Pin 26 | RD1 — Port D bit 1 (digital only) |
| Pin 27 | RA5/MCLR/VPP — Port A bit 5 / Master clear reset (active low) / programming voltage |
| Pin 28 | RA4/AN4/T0KI — Port A bit 4 / Analog input 4 / Timer 0 clock input |
Typical Applications
PIC18F23K22-I/SO is suitable for 6 applications: Battery-Powered IoT Sensor Nodes, Industrial Sensor Interfaces, Automotive Body and Accessory Modules, White Goods and Small Appliance Control, Consumer Remote Controls and HMI, Medical and Health Monitoring Devices.
Battery-Powered IoT Sensor Nodes
The PIC18F23K22-I/SO is well-suited to battery-powered IoT sensor nodes thanks to its nanoWatt XLP sleep modes and 2.3 V to 5.5 V supply range. Sub-microamp sleep current combined with the 64 MHz CPU burst for sensor reads means a CR2032 cell can last several years when the node wakes only periodically. The 10-bit ADC with up to 17 channels handles multiple analog sensors without external muxes, and the integrated EUSART/MSSP support direct radio module attachment. The 28-pin SOIC is easy to hand-solder for prototypes and stable for high-volume SMT lines.
Recommended
Industrial Sensor Interfaces
The PIC18F23K22-I/SO fits industrial 4-20 mA loop and Modbus sensor interfaces because of its 5 V-tolerant I/O, EUSART for RS-485, and 10-bit ADC for analog front-ends. The 64 MHz CPU throughput supports deterministic Modbus RTU polling and digital filtering, while the 256-byte EEPROM provides non-volatile calibration storage. Its -40C to +85C industrial temperature rating allows deployment in factory panels and outdoor enclosures with thermal management. Per the PIC18 K22 datasheet, the MSSP peripheral supports both SPI and I2C for digital sensor bridges.
Recommended
Automotive Body and Accessory Modules
The PIC18F23K22-I/SO is widely used in non-safety automotive body modules such as seat controllers, mirror adjusters, ambient lighting, and HVAC blend door actuators. Its 5 V supply tolerance suits 12 V battery rails with simple LDOs, the Enhanced PWM with up to 7 outputs drives small motors and LED strings, and the 25 I/O pins handle switch matrices and H-bridges. Although the -I/SO is industrial grade, Microchip's K22 family also offers AEC-Q100 variants for harsher under-hood modules, making it a proven automotive 8-bit platform.
Recommended
White Goods and Small Appliance Control
The PIC18F23K22-I/SO is a strong fit for washing machines, dishwashers, refrigerators, and small kitchen appliances where cost and reliability dominate. Its hardware multiply and 16 MIPS throughput handle BLDC commutation loops and UI scanning, while the on-chip 10-bit ADC reads multiple temperature, level, and motor current sensors. The ICSP debug over two pins simplifies factory firmware updates, and the 28-pin SOIC is a cost-down vs QFP for high-volume consumer manufacturing. Per the Microchip datasheet, the device tolerates typical household EMI through its robust digital I/O structure.
Recommended
Consumer Remote Controls and HMI
The PIC18F23K22-I/SO works well in remote controls, smart-home keypads, and small HMIs thanks to its low sleep current, integrated EUSART for IR or RF links, and enough I/O for capacitive touch via software or external ICs. The 8 KB Flash comfortably holds IR protocol libraries (NEC, RC5, SIRC) plus custom button maps, and 256 B EEPROM stores paired device IDs reliably across power cycles. Per Microchip's K22 datasheet, the 28-pin SOIC's 25 usable I/O are sufficient for several dozen buttons when scanned via a matrix.
Recommended
Medical and Health Monitoring Devices
Although not a life-critical MCU, the PIC18F23K22-I/SO is used in non-invasive medical accessories like pill dispensers, nebulizers, glucometer accessories, and patient ID programmers. Its nanoWatt XLP keeps battery drain low, and the 10-bit ADC supports thermistor or pulse-oximetry front-ends in low-cost designs. The large ecosystem of Microchip documentation and longevity programs supports long product lifecycles typical of regulated medical markets, while the 28-pin SOIC provides good manufacturability for low-volume regulated builds.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F23K22-I/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F24K22-I/SO | PIC18F23K22-I/MV | PIC18F23K22-E/SO | PIC18F23K20-I/SO | PIC18F25K22-I/SO |
|---|---|---|---|---|---|---|
| Package | 28-SOIC | 28-SOIC - same | 28-SOIC MV variant - same footprint | 28-SOIC - same | 28-SOIC - same | 28-SOIC - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash | 8 KB | 16 KB | 8 KB | 8 KB | 8 KB | 32 KB |
| SRAM | 512 B | 768 B | 512 B | 512 B | 512 B | 1.5 KB |
| Max CPU Clock | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| Supply Voltage | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 1.8 V to 3.6 V | 2.3 V to 5.5 V |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +85C | -40C to +85C | -40C to +125C (Extended) | -40C to +85C | -40C to +85C |
| XLP nanoWatt Sleep | Yes (nanoWatt XLP) | Yes (XLP) | Yes (XLP) | Yes (XLP) | No (K20 older core) | Yes (XLP) |
| ADC Channels | Up to 17 | Up to 19 | Up to 17 | Up to 17 | Up to 13 | Up to 17 |
Key Differentiators
- NanoWatt XLP sleep current extends battery life (vs PIC18F23K20-I/SO)
- Larger memory headroom with same footprint (vs PIC18F23K20-I/SO)
- Industrial temperature range covers most embedded designs (vs PIC18F23K22-E/SO)
Design Notes
Place a 100 nF ceramic decoupling capacitor as close as possible to each VDD pin (pin 7) and a single 10 uF bulk tantalum or ceramic on the supply rail. The PIC18F23K22-I/SO draws microamp-level currents in sleep but can spike to tens of mA on clock transitions; without bulk decoupling the ADC reference can shift by several LSB. For battery designs add a 10 ohm series ferrite bead between the battery and VDD to suppress inrush spikes.
Route the crystal traces (RA6/OSC2 and RA7/OSC1) short and symmetric, with the load capacitors returned to a quiet ground. Keep the ADC analog traces away from PWM or switching signals; the on-chip 10-bit ADC has limited rejection above a few hundred kHz. Per the Microchip datasheet, use a ground plane under the SOIC, and place the Vref+ bypass capacitor directly at the Vref+ pin to reduce ADC offset error.
Do not leave the MCLR pin floating: tie RA5/MCLR/VPP (pin 27) to VDD through a 10 kohm resistor and add a 100 nF cap to ground for noise immunity, otherwise random resets can occur in electrically noisy environments. When using ICSP, isolate the MCLR pull-up so the programmer can drive VPP without contention. Finally, configure the CONFIG registers to enable the PLL and disable unused peripherals to achieve the rated nanoWatt sleep current.
Compliance Information
RoHS and REACH compliance per Microchip product page. -I/SO is industrial temperature grade, not AEC-Q100 qualified; Microchip offers AEC-Q100 variants of the PIC18 K22 family for automotive safety-critical modules.