PIC18F23K22T-I/SO - 8-bit XLP MCU, 64MHz, 8KB Flash | Microchip
MPN: PIC18F23K22T-I/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.18 | $2.18 |
| 10 | $2.04 | $20.40 |
| 100 | $1.78 | $178.00 |
| 500 | $1.56 | $780.00 |
| 1,000 | $1.34 | $1,340.00 |
PIC18F23K22T-I/SO Overview
A microcontroller (MCU) is a single-chip computer containing a CPU core, program and data memory, peripherals, and I/O. The PIC18 family is Microchip's enhanced 8-bit architecture with a 16-bit instruction word, 31-level stack, hardware multiplier, and C-optimized instruction set; XLP (eXtreme Low Power) is Microchip's branding for nanoWatt power-saving modes including deep sleep currents below 50 nA typical. Within the broader taxonomy, PIC18F23K22 sits at: PIC18F23K22 -> PIC18 K2x family -> PIC18 enhanced 8-bit MCU -> Microchip 8-bit microcontroller -> microcontroller -> embedded system -> semiconductor.
Key features include 25 digital I/O pins, three 8-bit timers and four 16-bit timers, two analog comparators, an Enhanced Universal Synchronous/Asynchronous Receiver/Transmitter (EUSART), two MSSP modules supporting SPI and I2C (master and slave), a 14-channel 10-bit ADC, and a charge time measurement unit (CTMU) for capacitive touch sensing. The wide 1.8V to 5.5V supply voltage range supports both 3.3V and 5V system designs, and the XLP Sleep mode draws less than 50 nA typical while retaining RAM.
The device uses a Harvard RISC architecture with a two-stage pipeline, achieving up to 16 MIPS at 64 MHz. The 14-channel ADC with acquisition time as low as 1.7 us enables fast sensor sampling for motor control and instrumentation loops. Self-programmability under firmware control supports in-field updates via bootloader or Microchip's ICD debugger. The K22 series is recommended for new automotive designs via special ordering codes; standard parts serve consumer, industrial, and IoT applications.
Typical applications include low-power IoT sensor nodes, battery-powered handheld instruments, capacitive touch user interfaces, home appliances, automotive body and lighting modules, and industrial control boards that need a small-footprint 8-bit MCU with rich peripherals. The wide SOIC-28 footprint also simplifies hand-soldering and rework on prototype boards.
When designing with the PIC18F23K22, observe the maximum 64 MHz FOSC and ensure the configuration bits (CONFIG1L through CONFIG5H) are set correctly for oscillator, watchdog, brown-out reset, and code protection. The wide SOIC-28 land pattern supports standard 1.27 mm pitch and through-hole or socketed prototyping. For new designs Microchip recommends the PIC18F24Q10 as the recommended successor in their portfolio.
This page synthesizes distributor pricing, SOIC-28 drop-in alternatives, and practical design notes not found in the standalone manufacturer datasheet.
Drop-in alternatives for PIC18F23K22T-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 PIC18F23K22T-I/SO (same form factor and footprint) — differing in ADC, Core Architecture, Package, Operating Temperature, Supply Voltage (VDD).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F23K22-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F24K22-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25K22-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F46K22-I/SO
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F23K22-I/SS
✅ Drop-In✓ In Stock
$1.92 / Unit
View Datasheet →PIC18F23K22T-I/SO Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 (8-bit RISC, Harvard) |
| CPU Speed (max) | 64 MHz (16 MIPS) |
| Program Memory (Flash) | 8 KB (4K x 16) |
| Data SRAM | 512 bytes |
| Data EEPROM | 256 bytes |
| Supply Voltage Range | 1.8 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 10-bit, up to 14 channels |
| Timers | 3 x 8-bit, 4 x 16-bit |
| Communication | 2 x EUSART, 2 x MSSP (SPI/I2C) |
| Analog Comparators | 2 |
| CTMU (Capacitive Touch) | Yes |
| Package | SOIC-28 (7.50 mm wide body) |
| Operating Temperature | -40C to +85C (Industrial) |
| XLP Sleep Current | < 50 nA typical |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
PIC18F23K22T-I/SO Pin Configuration
| Pin 1 | RA3/AN3/VREF+ — Digital I/O / Analog input 3 / ADC positive voltage reference |
| Pin 2 | RA4/T0CKI/AN4 — Digital I/O / Timer0 clock input / Analog input 4 |
| Pin 3 | RA5/AN5/SS1/HLVDIN — Digital I/O / Analog input 5 / SPI1 slave select / High/Low-Voltage Detect input |
| Pin 4 | RA6/OSC2/CLKOUT — Digital I/O / Crystal oscillator output / Clock output |
| Pin 5 | RA7/OSC1/CLKIN — Digital I/O / Crystal oscillator input / External clock input |
| Pin 6 | VSS — Ground reference |
| Pin 7 | VDD — Positive supply voltage |
| Pin 8 | RB0/AN12/INT0/CTED1 — Digital I/O / Analog input 12 / External interrupt 0 / CTMU edge 1 |
| Pin 9 | RB1/AN10/INT1/CTED2 — Digital I/O / Analog input 10 / External interrupt 1 / CTMU edge 2 |
| Pin 10 | RB2/AN8/CTED1/CCP3 — Digital I/O / Analog input 8 / CTMU edge 1 / CCP3 PWM output |
| Pin 11 | RB3/AN9/CTED2/CCP2 — Digital I/O / Analog input 9 / CTMU edge 2 / CCP2 PWM output |
| Pin 12 | RB4/AN11/CCP4/SDA2 — Digital I/O / Analog input 11 / CCP4 / I2C2 data |
| Pin 13 | RB5/AN13/CCP5/SCL2 — Digital I/O / Analog input 13 / CCP5 / I2C2 clock |
| Pin 14 | RB6/PGC — Digital I/O / ICSP clock (programming/debug) |
| Pin 15 | RB7/PGD — Digital I/O / ICSP data (programming/debug) |
| Pin 16 | RC0/SOSCO/T13CKI — Digital I/O / Secondary oscillator output / Timer1 clock input |
| Pin 17 | RC1/SOSCI/CCP2 — Digital I/O / Secondary oscillator input / CCP2 |
| Pin 18 | RC2/AN14/CCP1 — Digital I/O / Analog input 14 / Enhanced CCP1 PWM output |
| Pin 19 | RC3/AN15/SCK1/SCL1 — Digital I/O / Analog input 15 / SPI1 clock / I2C1 clock |
| Pin 20 | RC4/AN16/SDI1/SDA1 — Digital I/O / Analog input 16 / SPI1 data in / I2C1 data |
| Pin 21 | RC5/AN17/SDO1 — Digital I/O / Analog input 17 / SPI1 data out |
| Pin 22 | RC6/AN18/TX1/CK1 — Digital I/O / Analog input 18 / EUSART1 transmit / EUSART1 clock |
| Pin 23 | RC7/AN19/RX1/DT1 — Digital I/O / Analog input 19 / EUSART1 receive / EUSART1 data |
| Pin 24 | RD0/AN20/INT0 — Digital I/O / Analog input 20 / External interrupt 0 (port-D alternate) |
| Pin 25 | RD1/AN21/INT1 — Digital I/O / Analog input 21 / External interrupt 1 (port-D alternate) |
| Pin 26 | RD2/AN22 — Digital I/O / Analog input 22 |
| Pin 27 | RD3/AN23 — Digital I/O / Analog input 23 |
| Pin 28 | VDD/VSS — Positive supply / Ground (note: datasheet pin 28 is VDD; refer to datasheet pinout) |
Typical Applications
PIC18F23K22T-I/SO is suitable for 6 applications: Battery-Powered IoT Sensor Nodes, Capacitive Touch User Interfaces, Automotive Body and Lighting Modules, Home Appliance Control Boards, Industrial Sensor and Instrumentation, Consumer Electronics and Handheld Devices.
Battery-Powered IoT Sensor Nodes
The PIC18F23K22T-I/SO's XLP Sleep mode at under 50 nA typical, 1.8 V to 5.5 V supply range, and on-chip 31 kHz LFINTOSC make it a strong fit for battery-powered wireless sensor nodes that wake periodically to transmit a measurement. The 14-channel 10-bit ADC plus the CTMU allow direct connection to analog sensors and capacitive elements without external signal conditioning. Compared with running the 64 MHz HFINTOSC continuously, XLP Sleep typically reduces average current by 100x or more in a 1 percent duty-cycle wake pattern. The 256-byte EEPROM provides non-volatile storage for calibration constants, sensor IDs, and rolling counters.
Recommended
Capacitive Touch User Interfaces
The PIC18F23K22T-I/SO's integrated Charge Time Measurement Unit (CTMU) plus up to 14 ADC channels support capacitive touch buttons, sliders, and proximity sensors in a single MCU - no external touch controller required. Microchip's mTouch libraries provide proven firmware for water-tolerant and glove-compatible touch panels. The XLP Sleep mode also keeps idle touch-scan current low for mains-powered but energy-budgeted appliances. The 28-pin SOIC provides enough GPIO for typical 4- to 12-key front panels with RGB LED feedback.
Recommended
Automotive Body and Lighting Modules
The PIC18F23K22 family is recommended for new automotive designs when ordered with the appropriate automotive-grade ordering codes, per Microchip's product page. The PIC18F23K22T-I/SO (industrial grade) is widely used in non-safety automotive body electronics such as interior lighting, HVAC keypads, mirror controllers, and door modules where the -40C to +85C industrial range is sufficient. The 25 I/O pins comfortably drive multiple LED strings via PWM (the K22 exposes up to four 16-bit timers with PWM outputs), and the 14-channel ADC reads automotive sensor ratiometric outputs at 5 V with strong noise immunity.
Recommended
Home Appliance Control Boards
White-good appliances such as washing machines, dishwashers, refrigerators, and microwave ovens benefit from the PIC18F23K22T-I/SO's mix of 25 I/O, two EUSARTs for HMI displays, and two MSSP modules for sensor and EEPROM I2C buses. The wide 1.8 V to 5.5 V supply range accepts both rectified 5 V and regulated 3.3 V rails commonly found on appliance boards. The CTMU enables sealed touch-panel front panels without mechanical buttons, improving water resistance. Industrial temperature rating supports unheated garage and laundry-room installations.
Recommended
Industrial Sensor and Instrumentation
Industrial 4 mA to 20 mA loop transmitters, digital panel meters, and process sensor signal conditioners commonly use the PIC18F23K22T-I/SO for its 10-bit ADC, EUSART for RS-485 link, and small SOIC-28 footprint. The 256-byte EEPROM stores calibration constants across decades of operation. Hardware CRC and the Enhanced CCP module simplify digital protocol stacks like Modbus RTU. With the on-chip CTMU, the same MCU also implements simple capacitive level sensing for tank or proximity applications.
Recommended
Consumer Electronics and Handheld Devices
Remote controls, toys, educational electronics, and low-cost handheld devices use the PIC18F23K22T-I/SO for its low Sleep current, integrated peripherals, and SOIC-28 ease of hand-soldering on prototype boards. The wide 1.8 V to 5.5 V supply range allows direct operation from 2xAA alkaline cells or a single Li-ion cell. The CTMU delivers gesture and proximity sensing without external hardware, and the dual EUSART simplifies IR remote transmit/receive plus a wired debug port. The 64 MHz CPU speed supports basic audio playback and synthesized voice prompts in product firmware.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F23K22T-I/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F23K22-I/SO | PIC18F24K22-I/SO | PIC18F25K22-I/SO | PIC18F46K22-I/SO | PIC18F23K22-I/SS |
|---|---|---|---|---|---|---|
| Package | SOIC-28 (wide body) | SOIC-28 (wide body) - same | SOIC-28 (wide body) - same | SOIC-28 (wide body) - same | 40-pin DIP (mechanical mismatch) | SSOP-28 - same pinout, smaller footprint |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 8 KB | 8 KB (same) | 16 KB (+100%) | 32 KB (+300%) | 64 KB (+700%) | 8 KB (same) |
| Data SRAM | 512 bytes | 512 bytes (same) | 768 bytes (+50%) | 1.5 KB (+193%) | 3.8 KB (+643%) | 512 bytes (same) |
| Data EEPROM | 256 bytes | 256 bytes (same) | 256 bytes (same) | 256 bytes (same) | 1 KB (+300%) | 256 bytes (same) |
| Maximum CPU Speed | 64 MHz (16 MIPS) | 64 MHz (same) | 64 MHz (same) | 64 MHz (same) | 64 MHz (same) | 64 MHz (same) |
| Supply Voltage Range | 1.8 V to 5.5 V | 1.8 V to 5.5 V (same) | 1.8 V to 5.5 V (same) | 1.8 V to 5.5 V (same) | 1.8 V to 5.5 V (same) | 1.8 V to 5.5 V (same) |
| XLP Sleep Current | < 50 nA typical | < 50 nA typical (same) | < 50 nA typical (same) | < 50 nA typical (same) | < 50 nA typical (same) | < 50 nA typical (same) |
| CTMU (Capacitive Touch) | Yes | Yes (same) | Yes (same) | Yes (same) | Yes (same) | Yes (same) |
Key Differentiators
- Industrial 8-bit MCU with 64 MHz CPU and integrated CTMU capacitive touch (vs PIC18F23K20-I/SO)
- Direct upward scalability within the same SOIC-28 footprint (vs PIC18F25K22-I/SO)
- Active production status with Microchip lifecycle support (vs PIC18F24Q10-I/SO)
Design Notes
Decouple VDD/VSS with at least one 100 nF X7R ceramic placed within 5 mm of the supply pin; add a 10 uF bulk capacitor on the board VDD rail. The XLP Sleep current is rated below 50 nA typical with WDT and BOR disabled - enable only the peripherals you actually need to wake, and use the Peripheral Disable (PD) registers documented in section 10 of the PIC18(L)F2X/4XK22 datasheet to gate unused module clocks.
For SOIC-28 hand-prototyping, use a 1.27 mm pitch SOIC land pattern compatible with the 7.5 mm wide-body JEDEC MS-013 outline. Keep the ICSP pins RB6/PGD and RB7/PGC accessible for in-circuit serial programming; route the PGD line away from switching power traces to avoid programming glitches. Place the crystal or resonator within 5 mm of OSC1/OSC2 and guard the oscillator traces with a ground ring if the board has switchers.
Do not confuse the 'T' suffix (Tape & Reel packaging) with the temperature grade; this part is industrial -40C to +85C denoted by 'I'. Configuration bits must be set explicitly - leaving them blank in the source code (CONFIG1L through CONFIG5H) results in oscillator or BOR mis-configuration that prevents start-up. The MSSP I2C pins SDA1/SCL1 use open-drain drivers requiring external pull-ups (typically 4.7 kohm at 400 kHz).
If using the ADC for sub-LSB accurate measurements, route analog and digital grounds as separate planes that join at a single point near the VDD decoupling capacitor. Place analog reference bypass (typically 10 nF + 1 uF) at the VREF+/VREF- pins. Avoid running PWM outputs adjacent to analog inputs to minimize digital switching coupling into ADC samples. For CTMU capacitive touch, place a ground ring around each touch pad and route the touch trace in a guarded, short path to the assigned ANx/CTEDx pin.
Compliance Information
RoHS compliant per Microchip product page. AEC-Q100 not applicable for the standard 'I' industrial grade; automotive variants use special ordering codes. Lead-free SOIC-28 wide-body package.