PIC18F25K20T-I/SO - 8-bit 64MHz 32KB Flash MCU | Microchip
MPN: PIC18F25K20T-I/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.95 | $3.95 |
| 10 | $3.62 | $36.20 |
| 100 | $3.18 | $318.00 |
| 500 | $2.74 | $1,370.00 |
| 1,000 | $2.42 | $2,420.00 |
PIC18F25K20T-I/SO Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, non-volatile program memory (Flash), working RAM, peripherals and I/O into one IC, enabling standalone embedded control. The PIC18F25K20 specifically belongs to the PIC18 advanced 8-bit family with enhanced instruction set, hardware multiplier and nanoWatt XLP technology that drops standby current below 100 nA in sleep mode, fitting the hierarchy MCU -> 8-bit MCU -> PIC18 -> nanoWatt XLP family -> power-sensitive embedded controller.
Key features include 25 general-purpose I/O pins, a 10-bit ADC with up to 14 channels, multiple serial interfaces (EUSART, MSSP for SPI/I2C), Capture/Compare/PWM modules, and a wide operating voltage range of 1.8 V to 3.6 V. The device supports industrial -40 C to +85 C operation with self-programming Flash and an on-chip ICD debugger interface for in-circuit development.
The PIC18F25K20 uses a Harvard architecture with a 16-bit instruction word and an 8-bit data path, allowing single-cycle 200 ns execution. Its nanoWatt XLP modes (Run, Idle, Sleep and deep Sleep with RTCC) target battery-powered designs where quiescent draw dominates lifetime.
Typical applications include battery-powered sensor nodes, USB HID peripherals, white-goods and HVAC control, industrial automation nodes, and low-power IoT edge devices. Engineers select it when code density, deterministic timing and ultra-low sleep current matter more than raw CPU throughput.
Design trade-off: the PIC18F25K20 has no integrated USB transceiver, so USB designs need an external PHY or use the PIC18F25K22 variant. Always derate clock frequency at 3.0 V VDD; below 2.5 V the maximum FOSC drops to about 40 MHz.
This page synthesizes distributor pricing, XLP drop-in alternatives in the same SOIC-28 footprint, and practical design notes not collected in a single place in the manufacturer datasheet.
Drop-in alternatives for PIC18F25K20T-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 PIC18F25K20T-I/SO (same form factor and footprint) — differing in Package, Timers, Operating Temperature, ADC, Supply Voltage (VDD).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F25K20-I/SO
✅ Drop-In✓ In Stock
$2.55 / Unit
View Datasheet →PIC18F25K20-I/SS
✅ Drop-In✓ In Stock
$1.92 / Unit
View Datasheet →PIC18F25K20T-I/ML
✅ Drop-In✓ In Stock
$2.6 / Unit
View Datasheet →PIC18F24K20T-I/SO
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$2.95 / Unit
View Datasheet →PIC18F25K22-I/SO
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.78 / Unit
View Datasheet →PIC18F25J10-I/SO
✅ Drop-In✓ In Stock
$2.75 / Unit
View Datasheet →PIC18F2550-I/SO
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$4.1 / Unit
View Datasheet →PIC18F25K20T-I/SO Maximum Ratings & Electrical Characteristics
| Core | PIC18 8-bit RISC |
| CPU Architecture | Harvard, 16-bit instruction / 8-bit data |
| Family | PIC18F XLP nanoWatt |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Program Memory (Flash) | 32 KB (16K x 16) |
| Data SRAM | 1.5 KB (1536 bytes) |
| Data EEPROM | 256 bytes |
| Operating Voltage | 1.8 V to 3.6 V |
| I/O Pins | 25 |
| ADC | 10-bit, up to 14 channels |
| Timers | 4 (Timer0/1/2/3) |
| Capture/Compare/PWM | 2 ECCP + 1 CCP |
| Serial Interfaces | EUSART + MSSP (SPI / I2C) |
| Package | 28-pin SOIC wide (7.50 mm / 0.295 in) |
| Mounting Type | Surface Mount, Tape & Reel |
| Operating Temperature | -40 C to +85 C (Industrial, "I") |
| MSL Level | 1 (unlimited at <30 C / 85% RH) |
| RoHS Status | Compliant |
| Instruction Set | PIC18 enhanced (77 instructions) |
| Self-Programming Flash | Yes (ICSP) |
| On-chip Debug | ICD via PGC/PGD |
PIC18F25K20T-I/SO Pin Configuration
| Pin 1 | RA0/AN0 — Port A bit 0 / Analog input 0 |
| Pin 2 | RA1/AN1 — Port A bit 1 / Analog input 1 |
| Pin 3 | RA2/AN2/VREF- — Port A bit 2 / Analog input 2 / ADC VREF- |
| Pin 4 | RA3/AN3/VREF+ — Port A bit 3 / Analog input 3 / ADC VREF+ |
| Pin 5 | RA4/T0CKI — Port A bit 4 / Timer0 clock input |
| Pin 6 | RA5/AN4/SS/HLVDIN — Port A bit 5 / Analog input 4 / SPI SS / HLVD input |
| Pin 7 | VSS — Ground reference |
| Pin 8 | OSC1/RA7/CLKI — Crystal input / Port A bit 7 / external clock in |
| Pin 9 | OSC2/RA6/CLKO — Crystal output / Port A bit 6 / clock out |
| Pin 10 | RC0/SOSCO — Port C bit 0 / SOSC oscillator out |
| Pin 11 | RC1/SOSCI — Port C bit 1 / SOSC oscillator in |
| Pin 12 | RC2/CCP1 — Port C bit 2 / Capture/Compare/PWM 1 |
| Pin 13 | RC3/SCL/SCK — Port C bit 3 / I2C SCL / SPI SCK |
| Pin 14 | RC4/SDA/SDI — Port C bit 4 / I2C SDA / SPI SDI |
| Pin 15 | RC5/SDO — Port C bit 5 / SPI SDO |
| Pin 16 | RC6/TX/CK — Port C bit 6 / EUSART TX / clock |
| Pin 17 | RC7/RX/DT — Port C bit 7 / EUSART RX / data |
| Pin 18 | VSS — Ground reference |
| Pin 19 | VDD — Positive supply (1.8 V to 3.6 V) |
| Pin 20 | RB0/INT0/FLT0 — Port B bit 0 / External int 0 / ECCP fault |
| Pin 21 | RB1/INT1 — Port B bit 1 / External int 1 |
| Pin 22 | RB2/INT2 — Port B bit 2 / External int 2 |
| Pin 23 | RB3/CCP2 — Port B bit 3 / Capture/Compare/PWM 2 |
| Pin 24 | RB4/KBI0 — Port B bit 4 / Keyboard interrupt 0 |
| Pin 25 | RB5/KBI1/PGM — Port B bit 5 / Keyboard interrupt 1 / LVP prog |
| Pin 26 | RB6/KBI2/PGC — Port B bit 6 / Keyboard interrupt 2 / ICSP clock |
| Pin 27 | RB7/KBI3/PGD — Port B bit 7 / Keyboard interrupt 3 / ICSP data |
| Pin 28 | VDD — Positive supply (1.8 V to 3.6 V) |
Typical Applications
PIC18F25K20T-I/SO is suitable for 7 applications: Battery-Powered Wireless Sensor Node, Industrial HVAC Control Module, USB HID Peripheral (with External PHY), White Goods / Home Appliance Control, Smart Meter / Energy Monitor, Automotive Body Electronics (Non-Safety), IoT Edge Node with Sensor Fusion.
Battery-Powered Wireless Sensor Node
The PIC18F25K20T-I/SO is well suited as the host MCU for low-power wireless sensor nodes. Its nanoWatt XLP sleep current drops below 100 nA with RTCC active, while 1.5 KB SRAM and 32 KB Flash are ample for sensor drivers and a small RF protocol stack. With a 3 V coin cell supplying 1.8-3.6 V across the part, expected battery life exceeds 5 years for duty-cycled sensing. Compared with running at full 64 MHz, the designer can spend 99 percent of time in deep Sleep waking only via WDT or IOC interrupt.
Recommended
Industrial HVAC Control Module
For HVAC control boards the PIC18F25K20T-I/SO brings 25 I/O pins, a 14-channel 10-bit ADC and ECCP PWM for motor/valve drive. Industrial -40 C to +85 C operation matches indoor equipment environments. Its 16 MIPS at 64 MHz easily handles PID control loops, while ICSP allows field firmware updates without removing the board from the chassis. Compared with legacy PIC16F controllers, the K20's hardware multiplier and 32 KB Flash simplify field calibration tables.
Recommended
USB HID Peripheral (with External PHY)
Although the K20 itself lacks an integrated USB transceiver, the PIC18F25K20T-I/SO can still drive an external USB FS PHY through its MSSP and EUSART, supporting low-speed HID class devices such as keyboards, mice or custom controllers. The 32 KB Flash is sufficient for HID report descriptors plus application logic, and the industrial temp grade suits commercial peripherals. Designers often prefer the related PIC18F25K50 if true integrated USB is required instead.
Recommended
White Goods / Home Appliance Control
White-goods designs (washing machines, dishwashers, microwaves) commonly use the PIC18F25K20T-I/SO because of its balanced cost-per-feature ratio. The 10-bit ADC reads temperature and level sensors, ECCP modules drive triac-gated motors or heater elements, and the 25 I/O easily handle front-panel key matrices. Wide VDD tolerance protects against rectified-transformer rail ripple common in appliance PSUs.
Recommended
Smart Meter / Energy Monitor
Smart electricity meters and energy-monitoring sub-systems use the PIC18F25K20T-I/SO as a measurement MCU, leveraging its 10-bit ADC for current/voltage sensing and EUSART for modem or PLC communication. The deep Sleep current below 100 nA prolongs battery backup life during outages. Compared with 32-bit Cortex-M0 alternatives, the K20 typically costs less while providing adequate MIPS for IEC 62056-21 protocol parsing.
Recommended
Automotive Body Electronics (Non-Safety)
Outside of safety-critical systems, the PIC18F25K20T-I/SO fits non-safety body controllers such as seat adjusters, mirror modules and ambient lighting. Note the "I" suffix covers industrial -40 C to +85 C; for under-hood or AEC-Q100 qualified automotive, use PIC18F25K20-E/SO (extended) or PIC18F25K20T-I/SO automotive-grade equivalents. The 64 MHz CPU handles CAN-capable companion ICs over SPI for body-network nodes.
Recommended
IoT Edge Node with Sensor Fusion
Edge-IoT nodes that aggregate temperature, humidity and motion data use the PIC18F25K20T-I/SO to perform local filtering before forwarding over BLE or LoRa. The hardware multiplier accelerates simple FIR filters, while 1.5 KB SRAM holds rolling sensor buffers. Deep Sleep mode plus IOC events allow event-driven wake-up. Compared with Cortex-M0+ options, the PIC18K20 typically achieves better sleep current at equivalent MIPS.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F25K20T-I/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F25K20-I/SO | PIC18F25K20-I/SS | PIC18F25K20T-I/ML | PIC18F25K22-I/SO | PIC18F25J10-I/SO |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SOIC (7.50 mm) | 28-SOIC (7.50 mm) - same | 28-SSOP - compatible | 28-QFN - compatible | 28-SOIC - same | 28-SOIC - same |
| Program Memory (Flash) | 32 KB | 32 KB | 32 KB | 32 KB | 32 KB | 32 KB |
| Data SRAM | 1.5 KB | 1.5 KB | 1.5 KB | 1.5 KB | 1.5 KB | 1.5 KB |
| Maximum CPU Speed | 64 MHz (16 MIPS) | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 40 MHz (-37%) |
| Operating Voltage | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 5.5 V | 2.0 V to 3.6 V |
| I/O Pins | 25 | 25 | 25 | 25 | 25 | 25 |
| Packaging Format | Tape & Reel (T) | Tube | Tube | Tape & Reel | Tube | Tube |
Key Differentiators
- Lowest-cost Microchip 28-SOIC variant in the family (vs PIC18F25K22-I/SO)
- Highest speed in the 28-SOIC K20 family (vs PIC18F25J10-I/SO)
- Tape & Reel format with identical die (vs PIC18F25K20-I/SO)
Design Notes
Place a 100 nF decoupling capacitor as close as possible to each VDD pin (pins 19 and 28 on the 28-SOIC) and a bulk 10 uF tantalum or ceramic at the regulator output. For nanoWatt XLP designs where deep Sleep current falls below 100 nA, ensure no high-impedance pull-ups leak current when the MCU is asleep - use the internal weak pull-ups only on wake-up interrupt pins. Estimated: total quiescent draw with one enabled IOC input and 100 nF bypass is about 200 nA at 3.0 V.
Do not apply VDD above 3.6 V; the K20 is a 1.8-3.6 V part and the VDD absolute max is 4.0 V. Engineers migrating from PIC18F45K20 5 V designs must add a regulator. Also, the 64 MHz FOSC requires VDD >= 2.7 V; below 2.5 V maximum FOSC drops to about 40 MHz, and at 1.8 V the practical ceiling is 16 MHz. Verify crystal load capacitance matches the chosen resonator's CL spec, otherwise HFINTOSC may be a safer default.
Keep the ICSP lines PGC (RB6) and PGD (RB7) accessible in the layout - either through a 2x3 0.1 in header or test pads - so production can program firmware without rework. Place the crystal within 5 mm of OSC1/OSC2 with a guard ring tied to ground, and route RB6/RB7 away from switching nodes to avoid in-circuit debug glitches. For Tape & Reel builds verify land pattern matches JEDEC SOIC-28 wide-body (1.27 mm pitch).
Compliance Information
RoHS and REACH compliance per Microchip product page; Pb-free matte-tin finish. "I" suffix is industrial temperature grade -40 C to +85 C, NOT AEC-Q100 qualified. For automotive use select -E (extended) or -VAO suffix.