PIC18F25K20T-I/ML - 8-bit MCU, 32KB Flash, 64MHz, QFN-28
MPN: PIC18F25K20T-I/ML ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $4.1 | $4.10 |
| 10 | $3.65 | $36.50 |
| 100 | $3.18 | $318.00 |
| 500 | $2.85 | $1,425.00 |
| 1,000 | $2.6 | $2,600.00 |
PIC18F25K20T-I/ML Overview
A microcontroller (MCU) is a single-chip computer containing a processor core, program memory (Flash/ROM), data memory (RAM), and peripherals such as ADC, timers, and communication interfaces. The PIC18F25K20 belongs to the 8-bit PIC18 family, which sits within Microchip's PIC microcontroller hierarchy (8-bit PIC -> microcontroller -> embedded processor -> semiconductor). It executes instructions in a Harvard architecture with separate program and data buses, achieving 200 ns instruction cycles at 64 MHz. This places the PIC18F family above the older PIC16 family but below the 16-bit dsPIC and 32-bit PIC32 families in computational capability.
Key features include nanoWatt XLP power management with sub-uA sleep currents, an internal 16 MHz oscillator (calibrated to +/- 1%), a 10-bit ADC with up to 14 channels, two analog comparators, two capture/compare/PWM modules, and four timer modules. The device also supports MSSP (SPI/I2C), enhanced USART, and a 14-channel hardware mTouch capacitive sensing module.
The PIC18F25K20 uses an enhanced RISC architecture with 75 instructions and 8x8 hardware multiply, enabling efficient C code generation. Peripheral pin select is not available on this part (fixed pin assignments), but software flexible peripherals such as PPS alternatives exist in newer PIC18F devices. Self-programmability supports in-application firmware updates.
Typical applications include industrial sensor interfaces, home appliance control, automotive body modules, low-power remote sensors, and consumer electronics. Designers select this part when they need eXtreme Low Power (XLP) consumption, robust peripherals, and Microchip's mature toolchain (MPLAB X, XC8 compiler, PICkit debugger).
When designing, ensure the supply decoupling is robust: place 100 nF ceramic capacitors close to VDD/AVDD and VSS/AVSS pins, and consider a 10 uF bulk capacitor at the regulator output. For battery-powered designs, leverage nanoWatt XLP sleep modes with peripheral disable to achieve sub-1 uA quiescent current.
This page synthesizes distributor pricing, drop-in package-compatible alternatives, and practical design notes not found in the standalone datasheet.
Drop-in alternatives for PIC18F25K20T-I/ML — 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/ML (same form factor and footprint) — differing in Mounting Type, Package, ADC, Maximum CPU Speed, Program Memory (Flash).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F25K20-I/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25K20-E/ML
✅ Drop-In✓ In Stock
$2.95 / Unit
View Datasheet →PIC18F25K20T-I/MV
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F24K20T-I/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25J10-I/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25K20T-I/ML Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit PIC18 enhanced RISC |
| Program Memory (Flash) | 32 KB (16K x 16) |
| SRAM | 1536 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Supply Voltage Range | 1.8 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 10-bit, up to 14 channels |
| Timers | 4 (Timer0/1/2/3) |
| Capture/Compare/PWM | 2 enhanced CCP modules |
| Communication | 1x MSSP (SPI/I2C), 1x EUSART |
| Comparators | 2 analog comparators |
| Operating Temperature | -40C to +85C (Industrial) |
| Package | 28-pin QFN (6x6 mm) with exposed pad |
| Mounting Type | Surface Mount (Tape & Reel) |
| RoHS Status | Compliant |
PIC18F25K20T-I/ML Pin Configuration
| Pin 1 | RA2/AN2 — Port A bit 2 / Analog input 2 |
| Pin 2 | RA3/AN3/VREF+ — Port A bit 3 / Analog input 3 / ADC VREF+ |
| Pin 3 | RA4/T0CKI — Port A bit 4 / Timer0 clock input |
| Pin 4 | RA5/AN4 — Port A bit 5 / Analog input 4 |
| Pin 5 | Vss — Ground |
| Pin 6 | RA7/OSC2 — Port A bit 7 / Oscillator output |
| Pin 7 | RA6/OSC1 — Port A bit 6 / Oscillator input |
| Pin 8 | RB0/INT0 — Port B bit 0 / External interrupt 0 |
| Pin 9 | RB1/INT1 — Port B bit 1 / External interrupt 1 |
| Pin 10 | RB2/INT2 — Port B bit 2 / External interrupt 2 |
| Pin 11 | RB3/CCP2 — Port B bit 3 / Capture Compare PWM 2 |
| Pin 12 | RB4 — Port B bit 4 |
| Pin 13 | RB5 — Port B bit 5 |
| Pin 14 | RB6/PGC — Port B bit 6 / ICSP clock |
| Pin 15 | RB7/PGD — Port B bit 7 / ICSP data |
| Pin 16 | Vdd — Positive supply |
| Pin 17 | RC0 — Port C bit 0 |
| Pin 18 | RC1 — Port C bit 1 |
| Pin 19 | RC2/CCP1 — Port C bit 2 / Capture Compare PWM 1 |
| Pin 20 | RC3 — Port C bit 3 |
| Pin 21 | RC4 — Port C bit 4 |
| Pin 22 | RC5 — Port C bit 5 |
| Pin 23 | RC6 — Port C bit 6 |
| Pin 24 | RC7 — Port C bit 7 |
| Pin 25 | Vss — Ground |
| Pin 26 | Vdd — Positive supply |
| Pin 27 | RA0/AN0 — Port A bit 0 / Analog input 0 |
| Pin 28 | RA1/AN1 — Port A bit 1 / Analog input 1 |
Typical Applications
PIC18F25K20T-I/ML is suitable for 6 applications: Industrial Sensor Interface, Home Appliance Control, Automotive Body Electronics, Battery-Powered IoT Sensor, Consumer Electronics, Capacitive Touch Interface.
Industrial Sensor Interface
The PIC18F25K20T-I/ML suits industrial sensor interfaces because its 10-bit ADC with 14 channels captures multiple analog inputs while nanoWalt XLP sleep modes support battery-backed remote sensors. With 32 KB Flash and 1536 bytes SRAM, firmware can implement Modbus RTU over the integrated EUSART, plus SPI sensor expansion via MSSP. The 64 MHz CPU runs PID loops at >1 kHz sample rates, while the industrial -40C to +85C temperature range ensures deployment in harsh factory environments.
Recommended
Home Appliance Control
The PIC18F25K20T-I/ML controls home appliances such as washing machines, microwave ovens, and HVAC thermostats. Its two enhanced CCP modules drive TRIAC or IGBT power stages for motor speed and heater regulation, while the 25 I/O pins connect to keypads, LED displays, and buzzer drivers. nanoWalt XLP reduces standby power to <1 uA, helping meet Energy Star limits, and 256 bytes EEPROM retains user settings across power cycles.
Recommended
Automotive Body Electronics
In automotive body modules such as lighting controllers and seat adjusters, the PIC18F25K20T-I/ML provides 32 KB Flash for CAN/LIN protocol stacks and 1536 bytes SRAM for message buffering. The 64 MHz core handles LIN 2.x communication at 20 kbaud with headroom for diagnostics, while the wide 1.8 V to 5.5 V supply tolerates cranking transients. The -40C to +85C range and 28-pin QFN footprint support compact under-dash modules.
Recommended
Battery-Powered IoT Sensor
The PIC18F25K20T-I/ML fits battery-powered IoT sensor nodes because nanoWalt XLP technology delivers sub-100 nA sleep current and 1.8 V to 5.5 V operation directly from a single Li-ion cell. Its 10-bit ADC reads temperature, humidity, or gas sensors, while the MSSP connects to SPI or I2C sensor front-ends. With 32 KB Flash, the device implements wireless protocol stacks (e.g., proprietary RF or LoRaWAN) using the EUSART for module interface.
Recommended
Consumer Electronics
The PIC18F25K20T-I/ML powers consumer devices such as remote controls, toys, and small appliances by balancing 32 KB Flash and 1536 bytes RAM with a sub-$3 unit price. Its 25 I/O pins drive LED arrays, button matrices, and piezo speakers, while the EUSART supports firmware updates via UART bootloaders. The 28-pin QFN package achieves <50 mm^2 PCB area, ideal for space-constrained wearable and portable designs.
Recommended
Capacitive Touch Interface
The PIC18F25K20T-I/ML supports up to 14 mTouch capacitive touch buttons via its CTMU (Charge Time Measurement Unit) peripheral. This eliminates mechanical buttons in appliance fronts, providing reliable sealed interfaces. The 32 KB Flash stores touch calibration data and gesture algorithms, while the MSSP drives SPI-based TFT displays for status feedback in kitchen and bathroom products.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F25K20T-I/ML — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F25K20-I/ML | PIC18F25K20-E/ML | PIC18F24K20T-I/ML | PIC18F25J10-I/ML |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-QFN (6x6) | 28-QFN (6x6) | 28-QFN (6x6) | 28-QFN (6x6) | 28-QFN (6x6) |
| Program Memory (Flash) | 32 KB | 32 KB | 32 KB | 16 KB | 32 KB |
| SRAM | 1536 B | 1536 B | 1536 B | 768 B | 1024 B |
| Maximum CPU Speed | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 48 MHz |
| Operating Temperature | -40C to +85C | -40C to +85C | -40C to +125C | -40C to +85C | -40C to +85C |
| ADC | 10-bit, 14 ch | 10-bit, 14 ch | 10-bit, 14 ch | 10-bit, 14 ch | 10-bit, 13 ch |
| 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 | 2.0 V to 5.5 V |
| Unit Price (qty 1) | $4.10 | $4.05 | $4.35 | $3.40 | $3.20 |
Key Differentiators
- Extended temperature range variant available (vs PIC18F25K20-I/ML)
- Higher CPU speed than J-series (vs PIC18F25J10-I/ML)
- Larger memory than K24 variant (vs PIC18F24K20T-I/ML)
Design Notes
Place a 100 nF ceramic decoupling capacitor within 5 mm of each VDD/AVDD pin and a 10 uF bulk capacitor near the regulator output. For battery-powered designs, leverage nanoWatt XLP sleep modes (Sleep, Deep Sleep, and VREG Sleep) and disable peripherals individually to achieve sub-1 uA quiescent current. The on-board LDO requires VDD >= 1.8 V for regulation; below 1.8 V use an external supply or boost converter.
The 28-pin QFN package has an exposed thermal pad that must be soldered to a PCB pad for mechanical reliability and thermal dissipation. Connect the exposed pad to the ground plane with thermal vias (4-9 vias in a 0.3 mm pattern). Use 0402 or 0603 passive components to fit between the small QFN pad pitch, and route signal traces on inner PCB layers for clean impedance control.
Route the ICSP clock (PGC, RB6) and data (PGD, RB7) signals to a dedicated programming header with no series resistors, allowing direct PICkit connection during development. Place the ICSP header at the PCB edge with accessible test points for in-circuit debugging. Avoid routing high-frequency switching signals adjacent to the ICSP pins to prevent programming noise.
Do not leave the MCLR pin floating: connect it to VDD through a 10 kohm pull-up resistor and add a 100 nF decoupling capacitor to ground for noise immunity. The CONFIG words must be programmed at production time to enable internal oscillator and disable watchdog if not used. When migrating code between PIC18F variants, verify the register map as some peripheral registers differ between K-series and J-series devices.
For high-speed SPI or I2C communication, keep bus traces short (<50 mm) and add 4.7 kohm pull-ups on I2C lines. The MSSP peripheral supports both 100 kHz Standard and 400 kHz Fast I2C modes. When using the ADC, add a 100 nF bypass capacitor on the AVSS/AVDD pair and avoid switching signals near analog pins to minimize coupling noise.
Compliance Information
RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified - select PIC18F25K20-E/ML for automotive-grade temperature range.