PIC18F24K22-I/SS - 8-bit XLP MCU, 16KB Flash, 28-SSOP | Microchip
MPN: PIC18F24K22-I/SS ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.42 | $2.42 |
| 10 | $2.18 | $21.80 |
| 100 | $1.94 | $194.00 |
| 500 | $1.71 | $855.00 |
| 1,000 | $1.49 | $1,490.00 |
| 3,000 | $1.32 | $3,960.00 |
PIC18F24K22-I/SS Overview
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, program memory (Flash/ROM), data memory (RAM), and peripheral interfaces on a single die. The PIC18 architecture uses an enhanced RISC instruction set with a hardware multiplier and 16-bit wide program memory bus, providing higher code density and throughput than baseline PIC16 parts. 8-bit MCUs remain the dominant choice for cost-sensitive, deterministic, low-power embedded applications such as sensor conditioning, motor control, and human-interface nodes.
Key differentiating features include a 10-bit ADC with up to 17 channels, multiple Enhanced USART, MSSP (SPI/I2C) peripherals, two comparators, a 5-bit DAC, four 8-bit timers plus three CCP modules, and an internal 16 MHz oscillator with 31 kHz low-power LFINTOSC. The XLP technology enables typical sleep currents below 100 nA with RTCC and watchdog operation, supporting battery-powered designs that must run for years on a single cell.
The PIC18F24K22-I/SS is supplied in an industrial (-I) temperature grade suitable for -40C to +85C operation, with supply voltage rated from 2.3 V to 5.5 V. Engineering samples and debug support are provided through the MPLAB X IDE and PICkit/Snap programmers. Two Enhanced Universal Asynchronous Receiver-Transmitter (EUSART) modules plus MSSP with both I2C and SPI modes give designers flexible wired connectivity for sensor hubs, display drivers, and external EEPROM/FRAM.
Typical applications include low-power IoT sensor nodes, USB-to-UART bridging, battery chargers, smart metering, white-goods user interfaces, and motor-control sub-systems where deterministic 8-bit timing, low quiescent current, and easy migration from PIC16F/18F legacy code bases are required. Designers using older PIC18F2xK20 designs can usually drop in the K22 variant for more peripherals, more ADC channels, and the XLP power profile.
When designing with this part, pay attention to the MSSP pin remapping, ensure the 28-pin variant matches your PCB footprint, and verify that the internal 16 MHz HFINTOSC is sufficient for timing-critical peripherals before adding an external crystal. The device is well supported by the MPLAB Code Configurator (MCC) for rapid peripheral setup.
This page synthesizes distributor pricing from DigiKey and Mouser, drop-in same-package alternatives from the PIC18F2xK22 family, and practical design notes that complement - and are not duplicated in - the manufacturer datasheet.
Drop-in alternatives for PIC18F24K22-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 PIC18F24K22-I/SS (same form factor and footprint) — differing in ADC, Package, Operating Temperature, MSL Level, Program Memory (Flash).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F25K22-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F24K22-I/SSVAO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F24K22T-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F23K22-I/SS
✅ Drop-In✓ In Stock
$1.92 / Unit
View Datasheet →PIC18F26K22-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F24K20-I/SS
✅ Drop-In✓ In Stock
$1.92 / Unit
View Datasheet →PIC18F24J50-I/SS
✅ Drop-In✓ In Stock
$3.85 / Unit
View Datasheet →PIC18F24K22-I/SS Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 8-bit enhanced RISC |
| Program Memory (Flash) | 16 KB (8K x 16) |
| Data RAM | 768 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Clock | 64 MHz |
| Instruction Set Width | 16-bit (8-bit data path) |
| Supply Voltage (VDD) | 2.3 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 10-bit, up to 17 channels |
| Timers | 4 x 8-bit, 4 x 16-bit (via CCP) |
| Capture/Compare/PWM (CCP/ECCP) | 3 modules |
| EUSART | 2 modules |
| MSSP (SPI/I2C) | 2 modules |
| Comparators | 2 |
| Internal Oscillator | 16 MHz HFINTOSC + 31 kHz LFINTOSC |
| Operating Temperature | -40C to +85C (Industrial, -I) |
| Package | 28-pin SSOP (5.30 mm body, 0.65 mm pitch) |
| Mounting Type | Surface Mount |
| MSL Level | 1 (unlimited) |
| RoHS Status | Compliant |
| Lead-Free | Yes |
| Family | PIC18F2xK22 (nanoWatt XLP) |
PIC18F24K22-I/SS Pin Configuration
| Pin 1 | /MCLR/VPP/RE3 — Master Clear (active-low reset) / Programming voltage / Digital I/O RE3 |
| Pin 2 | RA0/AN0/C12IN0- — Digital I/O RA0 / Analog input AN0 / Comparator C12 input 0- |
| Pin 3 | RA1/AN1/C12IN1- — Digital I/O RA1 / Analog input AN1 / Comparator C12 input 1- |
| Pin 4 | RA2/AN2/VREF-/CVREF — Digital I/O RA2 / Analog AN2 / Negative reference / Comparator VREF output |
| Pin 5 | RA3/AN3/VREF+ — Digital I/O RA3 / Analog AN3 / Positive voltage reference |
| Pin 6 | RA4/AN4/C1OUT — Digital I/O RA4 / Analog AN4 / Comparator 1 output |
| Pin 7 | RA5/AN5/C2OUT — Digital I/O RA5 / Analog AN5 / Comparator 2 output |
| Pin 8 | VSS — Ground reference |
| Pin 9 | RA7/OSC1/CLKIN — Digital I/O RA7 / Crystal oscillator input / External clock input |
| Pin 10 | RA6/OSC2/CLKOUT — Digital I/O RA6 / Crystal oscillator output / Clock output |
| Pin 11 | RC0/SOSCO/T1CKI — Digital I/O RC0 / Secondary oscillator output / Timer1 clock input |
| Pin 12 | RC1/SOSCI/T1OSI/CCP2 — Digital I/O RC1 / Secondary oscillator input / Timer1 oscillator input / CCP2 |
| Pin 13 | RC2/CCP1 — Digital I/O RC2 / CCP1 PWM/capture/compare |
| Pin 14 | RC3/SCK1/SCL1 — Digital I/O RC3 / MSSP1 SPI clock / I2C1 clock |
| Pin 15 | RC4/SDI1/SDA1 — Digital I/O RC4 / MSSP1 SPI data in / I2C1 data |
| Pin 16 | RC5/SDO1 — Digital I/O RC5 / MSSP1 SPI data out |
| Pin 17 | RC6/TX1/CK1 — Digital I/O RC6 / EUSART1 transmit / EUSART1 clock |
| Pin 18 | RC7/RX1/DT1 — Digital I/O RC7 / EUSART1 receive / EUSART1 data |
| Pin 19 | VSS — Ground reference |
| Pin 20 | VDD — Positive supply voltage (2.3 V to 5.5 V) |
| Pin 21 | RB0/INT0/FLT0 — Digital I/O RB0 / External interrupt 0 / PWM fault input |
| Pin 22 | RB1/INT1 — Digital I/O RB1 / External interrupt 1 |
| Pin 23 | RB2/INT2/CTED1 — Digital I/O RB2 / External interrupt 2 / CTMU edge 1 |
| Pin 24 | RB3/INT3/CTED2 — Digital I/O RB3 / External interrupt 3 / CTMU edge 2 |
| Pin 25 | RB4/SDA2 — Digital I/O RB4 / MSSP2 I2C data (or IOC) |
| Pin 26 | RB5/SCL2 — Digital I/O RB5 / MSSP2 I2C clock (or IOC) |
| Pin 27 | RB6/PGC — Digital I/O RB6 / ICSP clock (programming/debug) |
| Pin 28 | RB7/PGD — Digital I/O RB7 / ICSP data (programming/debug) |
Typical Applications
PIC18F24K22-I/SS is suitable for 6 applications: Battery-Powered IoT Sensor Node, Industrial Control & Metering, Home Appliance User Interface, Low-Speed Motor Control (BLDC / Stepper / Fan), Automotive Body Electronics (Non-Safety), Sensor Hub / Data Logger with FRAM Backup.
Battery-Powered IoT Sensor Node
The PIC18F24K22-I/SS is ideally suited for battery-powered IoT sensor nodes thanks to its nanoWatt XLP technology with sub-100 nA sleep current and integrated 10-bit ADC. Operating from 2.3 V to 5.5 V, it can run directly from a single 3.6 V Li-SOCl2 cell or two AA batteries for over a decade of service life. The two EUSART modules support concurrent UART sensor and wireless module interfaces (e.g., RN2483 LoRa), while the MSSP I2C bus drives external temperature, humidity, or accelerometer front-ends. With 16 KB flash and 768 bytes RAM, the part fits typical LoRaWAN/BLE firmware stacks with measurement buffering. The 28-SSOP small footprint simplifies compact sensor PCB layout, and internal 16 MHz HFINTOSC eliminates an external crystal, reducing BOM cost and quiescent drain.
Recommended
Industrial Control & Metering
In industrial metering and control applications, the PIC18F24K22-I/SS provides the reliability of an 8-bit deterministic core plus a 10-bit ADC with up to 17 channels for analog sensor conditioning. The two comparators handle overcurrent/overvoltage detection without external op-amps, and three CCP/ECCP modules drive PWM outputs for proportional valve or triac-fired heater control. EUSART peripherals support Modbus RTU master/slave communication over RS-485 transceivers such as the MCP2551. The industrial -40C to +85C temperature grade suits factory-floor deployments. 16 KB flash holds typical Modbus protocol stacks plus custom metering firmware, and 768 bytes of RAM is sufficient for instantaneous power and energy calculations in single-phase energy meters, while the SSOP-28 footprint fits behind small LCD or LED displays.
Recommended
Home Appliance User Interface
The PIC18F24K22-I/SS serves as the user-interface controller in white goods (washing machines, dishwashers, microwave ovens, induction cooktops) where its 25 GPIO pins drive segmented LCD/LED displays, keypads, and buzzer feedback. The MSSP SPI bus interfaces to graphical OLED or TFT driver ICs for richer displays, while PWM outputs control backlight dimming and motor or buzzer tones. The internal HFINTOSC at 64 MHz (16 MIPS) supports smooth touch-button scanning via the on-chip comparators. Industrial temperature grade (-40C to +85C) handles appliance environments near heat sources, and the 2.3-5.5 V supply range accepts rectified mains-derived rails directly. 16 KB flash holds state-machine control logic plus menu localization tables, while the 28-SSOP package slides into compact HMI boards.
Recommended
Low-Speed Motor Control (BLDC / Stepper / Fan)
For small brushless DC, stepper, or single-phase fan motor control, the PIC18F24K22-I/SS delivers three CCP/ECCP modules generating complementary PWM outputs with dead-band control, suitable for half-H or 6-step trapezoidal commutation. The 10-bit ADC samples back-EMF or current-sense signals from a shunt, while the on-chip comparators trigger hardware overcurrent shutdown without CPU intervention. 64 MHz operation allows 16 MIPS throughput for sensorless back-EMF zero-cross detection in BLDC fans. 16 KB flash fits sensorless FOC-light or trapezoidal control algorithms plus UART command interfaces for variable-speed commands from a host controller. The 28-SSOP footprint fits the small PCB areas of inline fan controllers and 24 V motor drivers.
Recommended
Automotive Body Electronics (Non-Safety)
The automotive-grade PIC18F24K22-I/SSVAO variant of this die supports body-electronics modules such as interior lighting controllers, seat-position switches, HVAC blend doors, and accessory multiplex nodes where 16 KB flash and 25 GPIO suffice. The wide 2.3-5.5 V supply range tolerates automotive cranking transients (when paired with external TVS protection), and the industrial-equivalent -40C to +125C automotive temperature rating suits under-dash environments. Two EUSARTs support LIN-bus stacks plus UART debug, while MSSP drives SPI-controlled LED drivers or LIN transceivers like the MCP2003B. Same SSOP-28 footprint as the standard -I/SS part allows prototype-to-production migration without PCB rework.
Recommended
Sensor Hub / Data Logger with FRAM Backup
The PIC18F24K22-I/SS can act as the heart of a remote data-logging node that writes timestamped sensor readings to an external I2C/SPI FRAM (e.g., FM25V10) for non-volatile storage that survives power cycles. The on-chip 256-byte EEPROM provides redundant storage for configuration parameters. The two Enhanced USART modules allow concurrent logging-to-PC over USB-to-UART bridges (MCP2200) and field updates via a wireless modem. With nanoWatt XLP sleep, the part wakes only for periodic measurements, achieving multi-year battery life. 16 KB flash fits simple file-system management plus sensor driver code, and the 28-SSOP small footprint supports miniaturized wearable or industrial logger housings.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F24K22-I/SS — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F25K22-I/SS | PIC18F23K22-I/SS | PIC18F26K22-I/SS | PIC18F24K20-I/SS | PIC18F24J50-I/SS |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | SSOP-28 | SSOP-28 - same | SSOP-28 - same | SSOP-28 - same | SSOP-28 - same | SSOP-28 - same |
| Flash Memory | 16 KB | 32 KB | 8 KB | 64 KB | 16 KB | 16 KB |
| Data RAM | 768 bytes | 1536 bytes | 512 bytes | 3896 bytes | 768 bytes | 3776 bytes (with USB) |
| Maximum Clock | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 48 MHz |
| EUSART Modules | 2 | 2 | 2 | 2 | 1 | 1 + USB |
| nanoWatt XLP | Yes | Yes | Yes | Yes | No (older nanoWatt) | No (eXtreme Low Power, different) |
| 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.0 V to 3.6 V |
| USB | No | No | No | No | No | Yes (USB 2.0 FS device) |
Key Differentiators
- True drop-in flash upgrade within the same SSOP-28 footprint (vs PIC18F25K22-I/SS)
- Higher RAM and 2x ADC channels vs the legacy K20 family (vs PIC18F24K20-I/SS)
- No compromise on peripherals when stepping down to 8 KB flash (vs PIC18F23K22-I/SS)
- 5V-tolerant operation suitable for industrial sensor conditioning (vs PIC18F24J50-I/SS)
Design Notes
Estimated: At VDD=5 V and 64 MHz active mode, the PIC18F24K22-I/SS typically draws 8-12 mA (per Microchip datasheet DS41412G typical characteristics). In Sleep mode with WDT disabled, the XLP profile drops the current to roughly 20-100 nA, enabling battery-powered IoT sensor nodes to run for years on a single Li-SOCl2 cell. Designers should still add a 100 nF decoupling capacitor within 5 mm of the VDD pin, plus a bulk 1-10 uF capacitor near the package to handle HFINTOSC switch-on transients. For 3.3 V designs, verify the BOR setting in CONFIG2 matches the minimum operating voltage of your power rail.
Keep the trace between the ICSPDAT/ICSPCLK pins (RB7/RB6) and the programming header under 100 mm to ensure reliable in-circuit programming and debugging. Place the ICSP connector at the edge of the PCB with a 100 ohm series resistor on PGC/PGD if long cable runs are expected, to suppress ringing. For SSOP-28 packages, provide a continuous ground pour under the device to reduce EMI from the internal oscillator and to maintain thermal performance under full 64 MHz operation.
Do not exceed 5.5 V on any I/O pin, even momentarily, as this can trigger latch-up. The MSSP1 module pins (RC3/RC4) are open-drain on I2C mode and require external pull-up resistors (typically 4.7 kohm at 400 kHz, 2.2 kohm at 1 MHz). When migrating from PIC18F24K20 to the K22, recheck the CONFIG register settings: the K22 has additional CONFIG words for SOSC selection and CTMU that must be explicitly configured. Finally, never leave /MCLR floating - tie it to VDD through a 10 kohm resistor to prevent spurious resets.
For ADC sampling accuracy above 10 kS/s, the AVDD pin (when present on larger package variants) should be tied to VDD through a ferrite bead or 10 ohm resistor, with a 10 uF + 100 nF capacitor pair to ground. Use the ACQT and ADCS bits in the ADCON2 register to provide adequate acquisition time for high-impedance sources - aim for at least 1.5 us acquisition time with a 10 kohm source impedance. Place analog and digital ground returns as separate nets joining at a single point under the MCU to avoid digital switching noise coupling into the ADC readings.
Compliance Information
RoHS and REACH compliant per Microchip product page and DigiKey product listing. Standard -I/SS variant is industrial grade (not AEC-Q100). For AEC-Q100 qualified automotive versions, order PIC18F24K22-I/SSVAO or PIC18F24K22T-I/SSVAO. Halogen-free per Microchip material declaration.