PIC18F26K22-E/SP - 64KB Flash 8-bit MCU, SPDIP-28 | Microchip
MPN: PIC18F26K22-E/SP ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $5.2 | $5.20 |
| 10 | $4.68 | $46.80 |
| 100 | $4.16 | $416.00 |
| 500 | $3.74 | $1,870.00 |
| 1,000 | $3.32 | $3,320.00 |
PIC18F26K22-E/SP Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash/ROM), working memory (RAM), non-volatile data memory (EEPROM) and a rich set of peripherals such as timers, ADC, communication interfaces and GPIO onto one IC. Within the broader taxonomy, the PIC18F26K22 sits in the 8-bit PIC18 family, which is a sub-family of Microchip's PIC microcontrollers, which themselves belong to the microcontroller category under integrated circuits. The 'K' series ('K22') specifically implements nanoWatt XLP extreme low-power technology for battery-friendly designs.
Key differentiating features include 25 general-purpose I/O lines, a 12-bit ADC with up to 19 channels, multiple communication peripherals (2x I2C/SPI, 2x UART with LIN), 4 CCP/ECCP modules, a 16-bit timer and the nanoWatt XLP sleep modes. The 28-pin SPDIP package is through-hole friendly, easing prototype and breadboard development where socketed parts are preferred. The 'E' suffix designates the extended temperature grade (-40C to +125C).
Architecturally, the part uses a Harvard RISC core with a modified instruction set optimized for C-compiled code, and supports wide operating voltages from 1.8V to 5.5V via its on-chip voltage regulator. Internal self-programmability allows in-application firmware updates without an external programmer. The 64KB Flash / 3896B RAM / 1024B EEPROM triplet positions the part squarely between small PIC16 mid-range controllers and high-pin-count PIC18 parts, fitting 30-80kB-of-code projects.
Typical applications include industrial sensor interface boards, low-power remote data loggers, HVAC controls, white-goods user interfaces, automotive body controllers and battery-powered IoT sensor nodes. Designers pick this part when they need substantial memory with extreme low power (XLP nanoWatt) and a DIP footprint for easy rework.
Design consideration: pair this MCU with the MPLAB X IDE, MPLAB XC8 compiler and the MPLAB Snap (or PICkit 4) programmer/debugger. The 28-pin SPDIP footprint allows the part to be socketed, simplifying prototype iteration versus QFN variants.
Drop-in alternatives for PIC18F26K22-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 PIC18F26K22-E/SP (same form factor and footprint) — differing in Operating Temperature, Package, ADC, Mounting Type, Data EEPROM.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F26K22-I/SP
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25K22-E/SP
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$2.38 / Unit
View Datasheet →PIC18F46K22-E/P
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F26K20-E/SP
✅ Drop-In✓ In Stock
$2.85 / Unit
View Datasheet →PIC18F26Q10-I/SP
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F26K22-E/SP Maximum Ratings & Electrical Characteristics
| Core | PIC18 8-bit RISC |
| Program Memory (Flash) | 64 KB (32K x 16) |
| Data SRAM | 3896 bytes |
| Data EEPROM | 1024 bytes |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Operating Voltage | 1.8 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 12-bit, up to 19 channels |
| Timers | 16-bit and 8-bit timers, 4 CCP/ECCP modules |
| Communication | 2x I2C/SPI, 2x EUSART (LIN capable) |
| Package | 28-pin SPDIP |
| Operating Temperature | -40 C to +125 C (E grade) |
| Low-Power Technology | nanoWatt XLP |
| Mounting Type | Through-hole |
| RoHS Status | Compliant |
PIC18F26K22-E/SP Pin Configuration
| Pin 1 | MCLR/VPP/RE3 — Master Clear (reset) input / programming voltage / Port E bit 3 |
| Pin 2 | RA0/AN0/C1IN0-/CVREF — PORTA bit 0 / Analog input 0 / Comparator input / CV reference output |
| Pin 3 | RA1/AN1/C1IN1-/C2IN3-/C1OUT — PORTA bit 1 / Analog input 1 / Comparator |
| Pin 4 | RA2/AN2/VREF-/CVREF — PORTA bit 2 / Analog input 2 / negative voltage reference |
| Pin 5 | RA3/AN3/VREF+/C1IN1+ — PORTA bit 3 / Analog input 3 / positive voltage reference |
| Pin 6 | RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock input / Comparator output |
| Pin 7 | RA5/AN4/SS1/C2OUT — PORTA bit 5 / Analog input 4 / SPI slave select / Comparator output |
| Pin 8 | VSS — Ground reference |
| Pin 9 | OSC1/CLKIN/RA7 — Oscillator crystal input / external clock input / PORTA bit 7 |
| Pin 10 | OSC2/CLKOUT/RA6 — Oscillator crystal output / clock output / PORTA bit 6 |
| Pin 11 | RC0/SOSCO/SCL1 — PORTC bit 0 / secondary oscillator / I2C1 clock |
| Pin 12 | RC1/SOSCI/SDA1 — PORTC bit 1 / secondary oscillator / I2C1 data |
| Pin 13 | RC2/CCP1/P1A — PORTC bit 2 / Capture/Compare/PWM1 / PWM output |
| Pin 14 | RC3/CCP2/P1B/SCK1 — PORTC bit 3 / CCP2 / SPI1 clock |
| Pin 15 | RC4/CCP3/P1C/SDI1 — PORTC bit 4 / CCP3 / SPI1 data in |
| Pin 16 | RC5/CCP4/P1D/SDO1 — PORTC bit 5 / CCP4 / SPI1 data out |
| Pin 17 | RC6/TX1/CK1 — PORTC bit 6 / EUSART1 transmit / clock |
| Pin 18 | RC7/RX1/DT1 — PORTC bit 7 / EUSART1 receive / data |
| Pin 19 | VSS — Ground reference |
| Pin 20 | VDD — Positive supply voltage (1.8V to 5.5V) |
| Pin 21 | RB0/AN12/INT0/FLT0 — PORTB bit 0 / Analog input 12 / External interrupt 0 / PWM fault |
| Pin 22 | RB1/AN10/INT1 — PORTB bit 1 / Analog input 10 / External interrupt 1 |
| Pin 23 | RB2/AN8/INT2 — PORTB bit 2 / Analog input 8 / External interrupt 2 |
| Pin 24 | RB3/AN9/CCP5 — PORTB bit 3 / Analog input 9 / CCP5 |
| Pin 25 | RB4/AN11/KBI0 — PORTB bit 4 / Analog input 11 / keyboard interrupt |
| Pin 26 | RB5/AN13/KBI1/CCP6 — PORTB bit 5 / Analog input 13 / KBI / CCP6 |
| Pin 27 | RB6/PGC/KBI2 — PORTB bit 6 / ICD clock / keyboard interrupt |
| Pin 28 | RB7/PGD/KBI3 — PORTB bit 7 / ICD data / keyboard interrupt |
Typical Applications
PIC18F26K22-E/SP is suitable for 7 applications: Industrial Sensor Interface Board, Battery-Powered IoT Sensor Node, HVAC Control Module, Automotive Body Electronics, White-Goods User Interface, Low-Power Remote Data Logger, Educational and Prototyping Platform.
Industrial Sensor Interface Board
The PIC18F26K22-E/SP is well-suited for industrial sensor interface boards because it combines 64KB Flash with 25 GPIO lines and a 12-bit ADC with up to 19 channels, allowing direct connection to multiple analog sensors and digital transducers. Its 1.8V-5.5V operating range supports common 3.3V and 5V industrial rails, while the -40C to +125C extended temperature grade handles factory-floor thermal stress. The nanoWatt XLP sleep modes reduce idle current to the nanoampere range, suitable for line-powered always-on monitoring. Pair it with RS-485 transceivers over the EUSART for Modbus RTU master/slave stations. The 28-pin SPDIP package eases through-hole prototype iteration.
Recommended
Battery-Powered IoT Sensor Node
The PIC18F26K22-E/SP excels in battery-powered IoT sensor nodes thanks to its nanoWatt XLP technology, which delivers sleep currents well below 100 nA while retaining RAM. Its 64KB Flash accommodates over-the-air (OTA) bootloader and application code, while the 1024-byte EEPROM stores calibration constants and node identifiers that survive power cycles. The 12-bit ADC with 19 channels directly samples analog sensors such as temperature, humidity and battery voltage without external muxes. 16 MIPS throughput handles MQTT message preparation and AES-light crypto in firmware. The wide 1.8V-5.5V supply range supports direct Li-coin and 2xAA battery stacks.
Recommended
HVAC Control Module
The PIC18F26K22-E/SP fits HVAC controller designs with its extended -40C to +125C operating range, 12-bit ADC for thermistor and pressure sensor readings, and 4 CCP/ECCP modules for PWM-driven fan and damper actuators. The dual EUSART interfaces enable simultaneous connection to a wall thermostat (Modbus or proprietary) and a service diagnostic port. Its 64KB Flash supports complex control algorithms including PID loops, while 3896B SRAM allows stack-rich real-time control without external memory. nanoWatt XLP sleep modes reduce standby power for climate equipment that spends most of the day idle.
Recommended
Automotive Body Electronics
The PIC18F26K22-E/SP operates reliably in automotive body electronics applications such as seat controllers, mirror adjusters and lighting modules. Its -40C to +125C temperature range exceeds typical under-hood specifications, while the EUSART supports LIN bus communication with body domain controllers. The 12-bit ADC reads wiper position, ambient light and battery voltage with sufficient resolution for closed-loop control. Internal self-programmability allows firmware updates via OBD-II diagnostics, and the 28-pin SPDIP package is robust to automotive vibration when properly conformal-coated. nanoWalt XLP sleep modes preserve battery during long parking periods.
Recommended
White-Goods User Interface
The PIC18F26K22-E/SP drives white-goods user-interface boards (washing machines, dishwashers, ovens) where its 25 GPIO lines directly scan 7-segment displays, keypad matrices and rotary encoders without external I/O expanders. The 12-bit ADC with CVD (Capacitive Voltage Divider) supports touch-button sensing, replacing mechanical switches with reliable glass-front interfaces. Its 64KB Flash accommodates multi-language UI strings and complex state machines for cycles and fault detection. The extended temperature grade survives proximity to heating elements. The SPDIP-28 package simplifies factory rework in high-volume white-goods production.
Recommended
Low-Power Remote Data Logger
The PIC18F26K22-E/SP powers unattended remote data loggers in environmental, agricultural and infrastructure monitoring applications. Its nanoWalt XLP technology allows the device to sleep most of the time and wake briefly to sample sensors, log to internal EEPROM (1024 bytes for daily summaries), and transmit via UART-attached cellular or LoRa modules. The 12-bit ADC with 19 channels handles multiple soil, temperature and humidity sensors simultaneously. The 1.8V-5.5V supply range supports direct battery or small solar-cell regulation. The 28-pin SPDIP package is socket-friendly for field-replaceable logger deployments.
Recommended
Educational and Prototyping Platform
The PIC18F26K22-E/SP is a strong choice for university courses and hobbyist prototyping thanks to its 28-pin SPDIP through-hole package, which drops into breadboards and ZIF sockets without surface-mount rework. Its 64KB Flash and 16 MIPS performance are sufficient for teaching embedded C, RTOS concepts and peripheral driver development. The free MPLAB X IDE and XC8 compiler make entry costs minimal. Microchip's academic program provides discounted samples. The DIP form factor survives repeated insertion cycles, lowering per-student hardware costs in classroom labs.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F26K22-E/SP — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F26K22-I/SP | PIC18F25K22-E/SP | PIC18F46K22-E/P | PIC18F26K20-E/SP | PIC18F26Q10-I/SP |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | SPDIP-28 | SPDIP-28 - same | SPDIP-28 - same | DIP-40 (same DIP family) | SPDIP-28 - same | SPDIP-28 - same |
| Flash Memory | 64 KB | 64 KB | 32 KB | 64 KB | 64 KB | 64 KB |
| Data SRAM | 3896 bytes | 3896 bytes | 1536 bytes | 3896 bytes | 3936 bytes | 3896 bytes |
| Data EEPROM | 1024 bytes | 1024 bytes | 256 bytes | 1024 bytes | 1024 bytes | 1024 bytes |
| Max CPU Speed | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS |
| Operating Temperature | -40C to +125C (E grade) | -40C to +85C (I grade) | -40C to +125C | -40C to +125C | -40C to +125C | -40C to +85C |
| I/O Pins | 25 | 25 | 25 | 36 | 25 | 25 |
| Low-Power Technology | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt (no XLP) | nanoWatt XLP |
Key Differentiators
- Highest memory density in 28-pin SPDIP-28 K22 family (vs PIC18F25K22-E/SP)
- Extended -40C to +125C temperature range (vs PIC18F26K22-I/SP)
- nanoWalt XLP extreme low-power technology (vs PIC18F26K20-E/SP)
Design Notes
Estimated: at VDD=3.3V and 16MHz active, the PIC18F26K22-E/SP draws roughly 4-7 mA active and under 100 nA in sleep with RTC running. For battery designs, ensure the chosen LDO has sub-1uA quiescent current (MCP1700 family) to avoid dominating the sleep budget. Decouple VDD with 100nF ceramic within 5mm of the pin, plus 10uF bulk on the supply rail. The internal voltage regulator still requires both AVDD/AVSS and VDD/VSS decoupling even if the ADC is unused.
Place the 28-pin SPDIP socket (or the part itself) at least 5mm from board edges to permit clipping test leads. Keep the MCLR pull-up resistor (typically 10kohm) close to the pin and route the MCLR trace away from high-frequency switching nodes. The ICSP pins (RB6/PGD, RB7/PGC) should be brought to a 5-pin header with no series resistors in line to preserve ICD compatibility. The 28-pin SPDIP lands are 2.54mm pitch - verify your footprint matches standard DIP-0.3 inch spacing.
Do not assume the PIC18F26K22-E/SP and PIC18F26Q10 are firmware-compatible - the peripheral register layouts differ between the K22 and Q10 families. Port code carefully if migrating. The 'E' suffix is the extended -40C to +125C grade; using an 'I' (-40C to +85C) variant in a hot environment will cause parametric drift and potential device malfunction. Verify CONFIG bits are set correctly for your oscillator choice and WDT requirements, as factory defaults enable the watchdog timer.
When using the ADC at full 12-bit resolution, drive analog source impedance below 5kohm to avoid acquisition-time errors. Add a 100nF ceramic between VREF+ and AVSS if the internal voltage reference is used. Route analog traces away from digital switching lines; place a ground guard ring around sensitive analog sections. The CVD (Capacitive Voltage Divider) module requires careful PCB layout with adjacent grounded traces to achieve reliable touch sensing - see Microchip application note AN1478.
Compliance Information
RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified for automotive - select PIC18F18F26K22-E/SP variants explicitly designated for automotive if AEC-Q100 is required. Lead-free and halogen-free per Microchip packaging specifications.