PIC18F13K22T-I/SS - 8KB Flash 8-bit nanoWatt XLP MCU 20-SSOP | Microchip
MPN: PIC18F13K22T-I/SS ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.62 | $1.62 |
| 10 | $1.49 | $14.90 |
| 100 | $1.33 | $133.00 |
| 500 | $1.18 | $590.00 |
| 1,000 | $1.05 | $1,050.00 |
PIC18F13K22T-I/SS Overview
An 8-bit RISC microcontroller is a single-chip computer integrating a CPU, non-volatile program memory, working RAM, configurable digital I/O, and a rich peripheral set in one package. Microcontrollers form the lowest tier of the embedded computing hierarchy (MCU -> microcontroller -> embedded processor -> semiconductor), enabling deterministic, low-power control in products where a full microprocessor would be excessive. The 'nanoWatt XLP' branding refers to Microchip's proprietary low-power process and IP that drives quiescent current down to the nanoampere region in sleep modes, a critical advantage for battery-powered or energy-harvesting designs.
Key specifications for the PIC18F13K22T-I/SS include 16 I/O pins, up to 16 MIPS throughput, six timers, two analog comparators, a 5-bit DAC, a 10-bit ADC, and support for multiple serial interfaces including EUSART, MSSP (I2C/SPI), and mTouch capacitive sensing. The wide 1.8V to 5.5V supply range allows direct operation from single-cell Li-ion, two-cell alkaline, regulated 3.3V rails, or 5V systems, simplifying power-tree design.
In system architecture the device pairs a precision 16 MHz internal oscillator with a 4x PLL to reach 64 MHz system clock, eliminating the cost and PCB area of an external crystal in cost-sensitive applications. The XLP sleep modes (down to tens of nA typical) allow years of operation from a single CR2032 cell, while the CIP (Core Independent Peripherals) set such as the hardware CRC, zero-cross detection and configurable logic cells offload common tasks from the CPU.
Typical applications include low-power IoT sensor nodes, battery-powered remote controls, small appliance user interfaces, capacitive-touch front panels, USB-pretending serial bridges, and general-purpose 5V industrial control modules. The 20-pin SSOP footprint also makes the part suitable for handheld instrumentation and consumer accessories where board height matters.
When designing with this part, budget the SSOP package's thermal resistance (theta_JA approx 100 C/W typical) for worst-case ambient. Always include decoupling of 100 nF plus 10 uF bulk close to VDD, and verify ADC accuracy against source impedance when sampling high-impedance signals.
This page combines distributor pricing, drop-in pin-compatible alternatives from the same PIC18 family, and practical low-power design guidance not available in the bare datasheet, giving engineers a single decision-ready reference for the PIC18F13K22T-I/SS.
Drop-in alternatives for PIC18F13K22T-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 PIC18F13K22T-I/SS (same form factor and footprint) — differing in Package, Core Architecture, Timers, ADC, Program Memory (Flash).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F14K22T-I/SS
✅ Drop-In✓ In Stock
$1.18 / Unit
View Datasheet →PIC18F13K22T-I/SO
✅ Drop-In✓ In Stock
$1.05 / Unit
View Datasheet →PIC18F13K22-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F13K22-I/SSVAO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F13K22T-I/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F13K22T-I/SS Maximum Ratings & Electrical Characteristics
| Product Family | PIC18F1XK22 (nanoWatt XLP) |
| Core Architecture | PIC18 8-bit RISC, C-compiler optimized |
| Program Flash | 8 KB (4K x 16) |
| Data SRAM | 256 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Supply Voltage Range | 1.8 V to 5.5 V |
| I/O Pins | 16 |
| Timers | 6 |
| Analog Comparators | 2 |
| DAC | 5-bit |
| ADC | 10-bit |
| Serial Interfaces | EUSART, MSSP (I2C/SPI) |
| Package | 20-pin SSOP (5.30 mm body) |
| Operating Temperature | -40 C to +85 C (Industrial) |
| Mounting Type | Surface Mount |
| MSL Level | 1 |
| RoHS Status | Compliant |
PIC18F13K22T-I/SS Pin Configuration
| Pin 1 | MCLR/VPP — Master Clear (reset) input / ICSP programming voltage |
| Pin 2 | RA0/AN0/C1IN+/CTMU/RX — Port A bit 0, analog ch0, comparator1+, CTMU, EUSART RX |
| Pin 3 | RA1/AN1/C1IN-/CTMU/TX — Port A bit 1, analog ch1, comparator1-, CTMU, EUSART TX |
| Pin 4 | RA2/AN2/C2IN+/VREF-/CVREF — Port A bit 2, analog ch2, comparator2+, VREF-, DAC reference |
| Pin 5 | RA3/AN3/C2IN-/VREF+/C1IN+ — Port A bit 3, analog ch3, comparator2-, VREF+, comparator1+ |
| Pin 6 | RA4/AN4/C2OUT/TOCKI/SRNQ — Port A bit 4, analog ch4, comparator2 out, timer0 clock, SR latch inverting input |
| Pin 7 | RA5/AN5/C1OUT/CCP1/T1CKI/SRQ — Port A bit 5, analog ch5, comparator1 out, CCP1, timer1 clock, SR latch non-inverting input |
| Pin 8 | VSS — Ground reference |
| Pin 9 | RA7/OSC1/CLKI — Port A bit 7 / crystal oscillator input / external clock input |
| Pin 10 | RA6/OSC2/CLKO — Port A bit 6 / crystal oscillator output / clock output |
| Pin 11 | RC0/SOSCO/SCLKI — Port C bit 0 / secondary oscillator output / SOSC clock input |
| Pin 12 | RC1/SOSCI/CCP2 — Port C bit 1 / secondary oscillator input / CCP2 |
| Pin 13 | RC2/CCP1/P1A/AN6 — Port C bit 2 / CCP1 / PWM output / analog ch6 |
| Pin 14 | RC3/SCL/SCK/AN7 — Port C bit 3 / I2C SCL / SPI SCK / analog ch7 |
| Pin 15 | RC4/SDA/SDI/AN8 — Port C bit 4 / I2C SDA / SPI SDI / analog ch8 |
| Pin 16 | RC5/SDO/C2OUT/AN9 — Port C bit 5 / SPI SDO / comparator2 out / analog ch9 |
| Pin 17 | RC6/AN10/CCP2/P1C/TX/CK — Port C bit 6 / analog ch10 / CCP2 / PWM / EUSART TX / USB clock |
| Pin 18 | RC7/AN11/CCP1/P1D/RX/DT — Port C bit 7 / analog ch11 / CCP1 / PWM / EUSART RX / USB data |
| Pin 19 | VSS — Ground reference (digital) |
| Pin 20 | VDD — Positive supply voltage 1.8V-5.5V |
Typical Applications
PIC18F13K22T-I/SS is suitable for 6 applications: Battery-Powered IoT Sensor Node, Capacitive Touch Front Panel, Small Appliance Control Board, Industrial 5V Sensor Module, USB-to-Serial Bridge / UART Dongle, Remote Control / Wireless Keyfob.
Battery-Powered IoT Sensor Node
The PIC18F13K22T-I/SS fits IoT sensor nodes because its nanoWatt XLP sleep current of approximately 20 nA enables multi-year operation from a CR2032 cell while still providing 8 KB flash for small protocol stacks. The 1.8V to 5.5V supply range accepts the unregulated Li-ion, alkaline, or coin-cell stack directly without a boost or buck regulator, cutting quiescent loss to near-zero. Its 10-bit ADC handles temperature, light, or battery-voltage measurements, and the EUSART/MSSP peripherals connect to a sub-GHz radio or BLE module. The 64 MHz maximum CPU clock executes 16 MIPS, enough to debounce inputs, run sensor fusion, and forward a result in a few milliseconds before returning to sleep.
Recommended
Capacitive Touch Front Panel
For capacitive touch user interfaces, the PIC18F13K22T-I/SS integrates the mTouch capacitive sensing module, eliminating the need for an external touch controller and saving both PCB area and BOM cost. The 16 digital I/O pins support up to 12 touch channels via the CTMU peripheral and on-chip ADC, sufficient for a small keypad or slider plus indicator LEDs. Operating at 1.8-5.5V lets the same firmware run on both 3.3V battery powered and 5V line-powered appliances. The 5-bit DAC provides contrast control for an optional LCD, while the EUSART handles back-channel diagnostics to a host MCU.
Recommended
Small Appliance Control Board
In small domestic and kitchen appliances, the PIC18F13K22T-I/SS provides the control brain for relays, triacs, sensor inputs, and indicator LEDs without a separate gate-driver IC. The 5V operating capability drives 5V logic and HV triac optocouplers directly, while the 64 MHz CPU executes 16 MIPS to handle triac zero-cross timing and PID loops in real time. The 10-bit ADC reads thermistor inputs for closed-loop temperature control, and the 6 timers generate PWM outputs for fan speed or heater drive. With 8 KB flash the firmware can include safety logic, diagnostic logs, and a Modbus RTU slave for service-tool connectivity.
Recommended
Industrial 5V Sensor Module
The PIC18F13K22T-I/SS is a good fit for industrial 5V sensor and actuator modules because its 1.8V to 5.5V supply tolerance tolerates long cable drops and noisy 24V-to-5V regulator outputs. The 10-bit ADC and two analog comparators can be paired for threshold-based trip alarms without external glue logic. The MSSP peripheral supports both SPI sensor readout and I2C EEPROM logging on the same pins, reducing part count. Industrial -40C to +85C rating covers most factory-floor environments, and the 256-byte EEPROM stores calibration constants and unit ID for traceability.
Recommended
USB-to-Serial Bridge / UART Dongle
The PIC18F13K22T-I/SS serves as a low-cost USB-to-serial bridge or protocol converter when paired with a USB-serial companion IC; the MCU manages the UART side and protocol framing. With 8 KB flash and 256 bytes RAM, the part easily implements Modbus RTU to ASCII conversion, simple command parsing, and DMA-style buffer management via the EUSART. The 5V tolerant I/O drives legacy RS232 transceivers through level shifters, and the MSSP can act as an SPI master for downstream devices. Industrial temperature range and SSOP footprint suit compact, sealed enclosures for field-service tools.
Recommended
Remote Control / Wireless Keyfob
The PIC18F13K22T-I/SS powers handheld remote controls and wireless keyfobs with extremely low standby current of approximately 20 nA typical in sleep, extending coin-cell life beyond the shelf life of the battery itself. Its 16 digital I/O drive LED indicators and read matrix keypads up to 4x4, and the EUSART/MSSP connect to sub-GHz or BLE modules for one-way or two-way RF links. The 64 MHz clock executes rolling-code encryption algorithms in real time without needing a separate security IC. Industrial temperature rating handles glove-friendly outdoor operation in winter and summer.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F13K22T-I/SS — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F14K22T-I/SS | PIC18F13K22-I/SS | PIC18F13K22T-I/SO | PIC18F13K22-I/SSVAO |
|---|---|---|---|---|---|
| Package | 20-pin SSOP | 20-pin SSOP - same | 20-pin SSOP - same | 20-pin SSOP - same | 20-pin SSOP - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Flash | 8 KB | 16 KB | 8 KB | 8 KB | 8 KB |
| RAM | 256 bytes | 512 bytes | 256 bytes | 256 bytes | 256 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Max CPU Clock | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) |
| Supply Voltage | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V |
| I/O Pins | 16 | 17 | 16 | 16 | 16 |
| Unit Price @ 1000 (USD) | 1.05 | 1.20 | 1.05 | 1.05 | 1.40 |
| Operating Temperature | -40 C to +85 C (Industrial) | -40 C to +85 C (Industrial) | -40 C to +85 C (Industrial) | -40 C to +85 C (Industrial) | -40 C to +85 C (Industrial) |
Key Differentiators
- Doubling memory in pin-compatible upgrade (vs PIC18F14K22T-I/SS)
- Tape-and-reel packaging option (vs PIC18F13K22-I/SS)
- Industrial temperature grade same as upgrade (vs PIC18F14K22T-I/SS)
Design Notes
Place a 100 nF X7R ceramic bypass capacitor within 5 mm of the VDD pin (pin 20) and a 10 uF bulk capacitor on the same supply rail. For battery-powered applications, the nanoWatt XLP sleep modes can pull quiescent current down to approximately 20 nA typical when WDT and RTCC are disabled per the Microchip datasheet. Always tie MCLR (pin 1) through a 10 kohm pull-up to VDD to avoid spurious resets during power-up ramps.
Route the analog ADC inputs away from switching traces such as PWM outputs (CCP1, CCP2) to minimize digital crosstalk into the analog acquisition. Use a ground pour under the SSOP package and stitch vias around the perimeter to provide a low-impedance return path for high-speed digital edges. If using the EUSART at high baud rates above 115.2 kbaud, keep the TX/RX traces short and matched to avoid signal-integrity issues on long cable harnesses.
Do not exceed the absolute maximum VDD of 7.0V or you may damage the on-chip flash and peripherals. When programming via ICSP, ensure the PGC/PGD lines are not loaded by external circuitry during the programming pulse, or programming will fail. The ADC maximum source impedance for full 10-bit accuracy is 10 kohm per the Microchip datasheet; if your sensor exceeds this, buffer it with a low-leakage op-amp. Estimated: at 64 MHz active and 5V VDD, active current is approximately 7 mA typical, so an LDO with at least 30 mA headroom is recommended for safety margin.
When using the on-chip 4x PLL to reach 64 MHz, route the OSC1/OSC2 pins (pins 9, 10) with short traces to a ground-shielded loop area, and keep the PLL configuration bits configured per datasheet Table 28-3 before switching the system clock source. The MPLAB X IDE Code Configurator (MCC) plug-in auto-generates the PLL init sequence and is the recommended starting point to avoid accidental clock-failure brown-outs.
Compliance Information
RoHS compliant per Microchip product page. Industrial -40C to +85C grade but not AEC-Q100 qualified; for automotive use select a Q100-graded PIC18 variant.