PIC18F25K22-E/ML - 32KB Flash 8-Bit MCU, 28-QFN | Microchip
MPN: PIC18F25K22-E/ML ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.66 | $3.66 |
| 10 | $3.29 | $32.90 |
| 100 | $2.93 | $293.00 |
| 500 | $2.61 | $1,305.00 |
| 1,000 | $2.47 | $2,470.00 |
| 3,000 | $2.34 | $7,020.00 |
PIC18F25K22-E/ML Overview
A PIC18 microcontroller is a member of Microchip's 8-bit PIC (Peripheral Interface Controller) family, which uses a modified Harvard RISC architecture. Within the broader taxonomy, it sits under: microcontroller -> MCU -> embedded controller -> semiconductor. The PIC18F2X/4XK22 sub-family introduced nanoWatt XLP technology, peripheral enhancements, and design improvements that make these devices logical choices for many high-performance and power-sensitive applications where extended battery life and rich peripheral integration matter.
Key features include 12-bit ADC with up to 17 channels, multiple communication interfaces (two MSSP for I2C/SPI, two enhanced USART with LIN support), up to four 16-bit timers, two comparators, and a charge time measurement unit (CTMU) for capacitive touch sensing. The CTMU enables cost-effective mTouch capacitive touch interfaces without external analog components, and the PMP (Parallel Master Port) supports direct connection to graphical LCDs or external memory.
The PIC18F25K22 uses a 16-bit instruction word with a 8-bit data path, delivering C-compiler-friendly code density and deterministic interrupt latency. Internal oscillator calibration and fail-safe clock monitor improve robustness in electrically noisy environments, while wide operating voltage and rich peripheral set reduce BOM cost.
Typical applications include low-power IoT edge nodes, industrial sensor interfaces, automotive body and HVAC modules (AEC-Q100 grade 1), capacitive touch user interfaces, portable medical and consumer devices, and USB-less embedded control requiring long battery life. The wide voltage range and flexible peripherals also suit battery chargers, smart meters, and home appliances.
When designing with this device, place the decoupling capacitor as close to VDD as possible, leave the exposed pad (EP) soldered to a continuous ground plane for thermal dissipation, and configure unused I/O as outputs to minimize current draw. For low-power designs, leverage the multiple idle/sleep modes and the RTCC with calendar functionality.
This page synthesizes distributor pricing, same-brand drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone - giving engineers an at-a-glance comparison for sourcing, redesign, and validation.
Drop-in alternatives for PIC18F25K22-E/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 PIC18F25K22-E/ML (same form factor and footprint) — differing in ADC, Package, Timers, Maximum CPU Speed, Program Memory (Flash).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F25K22-I/ML
✅ Drop-In✓ In Stock
$2.74 / Unit
View Datasheet →PIC18F25K20-I/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25K20-E/ML
✅ Drop-In✓ In Stock
$2.95 / Unit
View Datasheet →PIC18F25K20T-I/ML
✅ Drop-In✓ In Stock
$2.6 / Unit
View Datasheet →PIC18F25K22-E/ML Maximum Ratings & Electrical Characteristics
| Architecture | PIC 8-bit RISC (Harvard) |
| Instruction Word Size | 16-bit |
| Program Memory (Flash) | 32 KB |
| Data SRAM | 1.5 KB (1536 bytes) |
| Maximum CPU Speed | 64 MHz internal (16 MIPS) / 20 MHz external at 5 V |
| Supply Voltage Range | 1.8 V to 5.5 V |
| Operating Temperature Range | -40 °C to +125 °C (E suffix = extended) |
| I/O Pins | 25 |
| ADC | 12-bit, up to 17 channels |
| Timers | 4x 8-bit/16-bit Timer/Counter modules |
| Communication Interfaces | 2x MSSP (I2C/SPI), 2x EUSART (LIN/IrDA) |
| Comparators | 2 |
| CTMU (Capacitive Touch) | Yes - supports mTouch capacitive sensing |
| Parallel Master Port (PMP) | Yes |
| Package | 28-pin QFN (6x6 mm) with Exposed Pad |
| Mounting Type | Surface Mount |
| MSL Level | 1 |
| RoHS Status | Compliant |
| Automotive Grade | AEC-Q100 qualified (per datasheets.com parametric data) |
PIC18F25K22-E/ML Pin Configuration
| Pin 1 | RA3/AN3/Vref+ — Bidirectional I/O / Analog input 3 / ADC positive reference |
| Pin 2 | RA2/AN2 — Bidirectional I/O / Analog input 2 |
| Pin 3 | RA1/AN1 — Bidirectional I/O / Analog input 1 |
| Pin 4 | RA0/AN0 — Bidirectional I/O / Analog input 0 |
| Pin 5 | RA5/T1CKI — Bidirectional I/O / Timer1 clock input |
| Pin 6 | RA4/T0CKI — Bidirectional I/O / Timer0 clock input |
| Pin 7 | VDD — Positive supply voltage |
| Pin 8 | VSS — Ground reference |
| Pin 9 | RA7/OSC1/CLKI — Bidirectional I/O / Crystal oscillator input / External clock |
| Pin 10 | RA6/OSC2/CLKO — Bidirectional I/O / Crystal oscillator output / Clock output |
| Pin 11 | RC0/SOSCO — Bidirectional I/O / Timer1 secondary oscillator output |
| Pin 12 | RC1/SOSCI — Bidirectional I/O / Timer1 secondary oscillator input |
| Pin 13 | RC2/CCP1 — Bidirectional I/O / Capture/Compare/PWM 1 |
| Pin 14 | RC3/SEG7 — Bidirectional I/O / LCD segment 7 (variant) |
| Pin 15 | RC4/SDA/SDI — Bidirectional I/O / I2C data / SPI data in |
| Pin 16 | RC5/SCL/SCK — Bidirectional I/O / I2C clock / SPI clock |
| Pin 17 | RC6/TX/CK — Bidirectional I/O / EUSART TX / clock |
| Pin 18 | RC7/RX/DT — Bidirectional I/O / EUSART RX / data |
| Pin 19 | RB0/INT0/FLT0 — Bidirectional I/O / External interrupt 0 / PWM fault |
| Pin 20 | RB1/INT1 — Bidirectional I/O / External interrupt 1 |
| Pin 21 | RB2/INT2 — Bidirectional I/O / External interrupt 2 |
| Pin 22 | RB3/CCP2 — Bidirectional I/O / Capture/Compare/PWM 2 |
| Pin 23 | RB4 — Bidirectional I/O / interrupt-on-change |
| Pin 24 | RB5 — Bidirectional I/O / interrupt-on-change |
| Pin 25 | RB6/PGC — Bidirectional I/O / ICSP clock / interrupt-on-change |
| Pin 26 | RB7/PGD — Bidirectional I/O / ICSP data / interrupt-on-change |
| Pin 27 | RE3/MCLR/Vpp — Input only / Master Clear reset / Programming voltage |
| Pin 28 | VSS — Ground reference |
| Pin 29 | EP (Exposed Pad) — Thermal pad - solder to GND plane for heat dissipation |
Typical Applications
PIC18F25K22-E/ML is suitable for 7 applications: Capacitive Touch User Interface (mTouch), Industrial Sensor Interface Node, Automotive Body and HVAC Module, Low-Power IoT Edge Node, Battery-Powered Portable Medical Device, Graphical LCD Display Controller, Smart Home Appliance Control Board.
Capacitive Touch User Interface (mTouch)
The PIC18F25K22-E/ML's integrated Charge Time Measurement Unit (CTMU) enables up to 16 capacitive touch buttons or a slider without any external analog components. The 12-bit ADC measures the discharge time constant of each electrode, while the 32 KB Flash holds the Microchip mTouch library and user firmware. At 5 V VDD the IC draws only ~5 mA active and <100 nA in sleep, suiting battery-powered remote controls, white goods, and industrial HMIs where sealed glass overlays must replace mechanical switches.
Recommended
Industrial Sensor Interface Node
The 12-bit ADC with up to 17 channels, two comparators, and 1.8-5.5 V wide-voltage supply make the PIC18F25K22-E/ML ideal for 4-20 mA loop-powered sensor transmitters, RTD/thermocouple front ends, and bridge sensor excitation. The MSSP peripherals drive SPI/I2C sensors, while the EUSART handles RS-485 Modbus links. Extended -40 to +125 °C operation supports outdoor and factory-floor deployment; the 1.5 KB SRAM plus 32 KB Flash comfortably holds the Modbus stack plus application code.
Recommended
Automotive Body and HVAC Module
AEC-Q100 qualification and the extended -40 to +125 °C range qualify the PIC18F25K22-E/ML for body controllers, HVAC blend-door actuators, and lighting modules. The enhanced USART with LIN 2.x hardware support enables direct LIN bus slave communication, while the CTMU detects touch on overhead console panels. The 28-QFN (6x6 mm) with exposed pad delivers AEC-Q100 thermal performance without an external heatsink, keeping PCB footprint competitive against 32-bit Cortex-M0+ alternatives in cost-sensitive automotive body ECUs.
Recommended
Low-Power IoT Edge Node
The nanoWatt XLP technology gives the PIC18F25K22-E/ML standby currents below 100 nA with RTC active - enabling multi-year coin-cell operation for wireless sensor nodes. The wide 1.8-5.5 V VDD range simplifies direct LiSO2 or alkaline battery connections. Two MSSP peripherals can host an SPI radio (e.g., Sub-GHz transceiver) and an I2C sensor, while the 32 KB Flash supports over-the-air bootloader upgrades. Sleep current of <50 nA (with RTCC + WDT) enables >10-year battery life on a CR2032.
Recommended
Battery-Powered Portable Medical Device
Medical devices such as portable glucose meters, nebulizers, and pulse oximeters benefit from the PIC18F25K22-E/ML's 12-bit ADC for sensor signal conditioning, nanoWatt XLP for long battery life, and 32 KB Flash for FDA-firmware requirements. The CTMU supports touch-button interfaces on sealed enclosures (critical for IP-rated medical devices). Extended -40 to +125 °C operation handles sterilization environments, and the small 6x6 mm QFN fits compact handheld form factors while the exposed pad aids continuous-skin thermal performance.
Recommended
Graphical LCD Display Controller
The integrated Parallel Master Port (PMP) on the PIC18F25K22-E/ML can directly interface with graphical LCDs (e.g., 128x64 or 240x128 monochrome displays) without an external graphics controller IC, reducing BOM cost. The 1.5 KB SRAM is sufficient for framebuffer tiling, and 32 KB Flash holds the user interface library plus fonts. The MSSP can simultaneously manage an SPI flash for image storage. The 28-QFN footprint allows the MCU + display module to fit behind a 2.4-inch TFT in HMI applications.
Recommended
Smart Home Appliance Control Board
Washing machines, dishwashers, and ovens use the PIC18F25K22-E/ML for motor/valve control via PWM, temperature sensing via the 12-bit ADC, and user input via capacitive touch buttons (CTMU). The wide voltage range allows direct 5 V regulator input from rectified mains, while the two EUSARTs can simultaneously drive a user display and a service/diagnostic port. AEC-Q100-like extended temperature grading makes it tolerant of the heat inside appliances, and 32 KB Flash accommodates appliance-specific state machines and safety logic.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F25K22-E/ML — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F25K22-I/ML | PIC18F25K22-E/SP | PIC18F25K20-I/ML | PIC18F25K20-E/ML |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-QFN (6x6 mm) | 28-QFN (6x6 mm) - same | 28-SPDIP (through-hole) - different footprint | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same |
| Temperature Grade | Extended -40 to +125 °C | Industrial -40 to +85 °C | Extended -40 to +125 °C | Industrial -40 to +85 °C | Extended -40 to +125 °C |
| Flash Memory | 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 |
| CTMU Capacitive Touch | Yes | Yes | Yes | No | No |
| Hardware LIN Support | Yes | Yes | Yes | No (USART only) | No (USART only) |
| Minimum VDD | 1.8 V | 1.8 V | 1.8 V | 2.0 V | 2.0 V |
Key Differentiators
- Integrated CTMU capacitive touch controller (vs PIC18F25K20-I/ML)
- Hardware LIN 2.x bus support (vs PIC18F25K20-I/ML)
- Wider operating voltage range (vs PIC18F25K20-I/ML)
- Extended temperature grade standard (vs PIC18F25K22-I/ML)
Design Notes
Solder the QFN-28 exposed pad (pin 29) to a continuous ground plane with at least 8 thermal vias to a bottom-layer copper pour. Without proper EP soldering, junction-to-ambient thermal resistance (theta_JA) rises from ~28 C/W to >80 C/W, causing thermal shutdown at higher ambient temperatures. Place a 100 nF decoupling capacitor within 3 mm of the VDD pin, and add a 10 uF bulk capacitor at the board-level for transient load response.
For low-power battery designs, leverage the nanoWatt XLP sleep modes (Sleep, Idle, RTCC modes) and use the RTCC with a 32.768 kHz crystal on SOSCO/SOSCI for timekeeping under 500 nA. Configure all unused I/O pins as outputs driving low to eliminate floating-input leakage currents (typically 50-200 nA per floating pin). Use the internal LFINTOSC for ultra-low-power wake-up rather than the HFINTOSC.
Do not exceed 10 MHz internal oscillator at VDD below 3.0 V - the Microchip datasheet specifies that full 64 MHz operation requires VDD >= 3.0 V. Always configure the PPS (Peripheral Pin Select) registers on EUSART and MSSP peripherals before enabling them, or the pins will not function. For LIN applications, enable the EUSART LIN helper hardware and configure baud rate to 19200 bps before entering Normal mode. Also verify MCLR is tied to VDD via a 10 kohm pull-up if not using external reset.
Place the 32.768 kHz crystal within 5 mm of SOSCO/SOSCI pins (RC0/RC1) and route its traces over an isolated ground island connected to the MCU VSS at one point only. Keep analog (ADC) traces away from switching signals and PWM outputs by at least 3 trace widths. The 12-bit ADC achieves 1 LSB accuracy only when the Vref source impedance is below 2.5 kohm, so add a 100 nF + 10 uF bypass directly at the Vref+ pin.
Compliance Information
AEC-Q100 qualification per datasheets.com parametric data; RoHS and lead-free per Microchip product page. Halogen-free and REACH compliance per Microchip material declaration.