PIC18F25K42-I/MV - 8-Bit 64MHz XLP MCU 32KB Flash UQFN-28 | Microchip
MPN: PIC18F25K42-I/MV ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.86 | $1.86 |
| 10 | $1.67 | $16.70 |
| 100 | $1.49 | $149.00 |
| 500 | $1.34 | $670.00 |
| 1,000 | $1.19 | $1,190.00 |
| 3,000 | $1.05 | $3,150.00 |
PIC18F25K42-I/MV Overview
A microcontroller (MCU) is a single-chip computer containing a CPU, non-volatile program memory, volatile data memory, and on-chip peripherals such as timers, ADC, communication interfaces and GPIO. The PIC18 family targets 8-bit embedded control and is widely adopted in industrial, consumer, automotive and IoT applications where deterministic behavior, low power, and rich peripherals matter more than raw CPU throughput. PIC18F25K42 specifically belongs to the low-power XLP family, which integrates nanoWatt XLP technology for deep sleep and active mode power optimization.
Key features include 64 MHz operation, 12-bit ADC with up to 35 channels, multiple UART/SPI/I2C with DMA support, 5-bit DAC, comparators with hysteresis, CLCs that operate without CPU intervention, and a functional safety (FuSa) category classified by Microchip. The device targets 1.8 V to 5.5 V operation, supports extended (-40C to +125C) industrial temperature, and is offered with XLP idle/doze/peripheral module disable modes that cut active current to microampere ranges.
Architecturally, the PIC18F25K42 uses an enhanced Harvard 8-bit core with a 16-bit instruction word, hardware multiplier, interrupt prioritization, and vectored interrupts. Core-independent peripherals such as CLC, PWM, NCO and the CRC/SCAN engine offload routine work from the CPU, while DMA paths between memory and peripherals reduce interrupt overhead. Programming is supported through MPLAB X IDE with XC8 compilers, and in-circuit debugging via standard 4-wire ICD.
Typical applications include home appliances, IoT sensor nodes, low-power battery-powered devices, automotive body and lighting subsystems, industrial control, sensor signal conditioning, and motor/lighting control. The functional safety (FuSa) designation makes the part appealing to safety-related systems per IEC 61508 SIL 2/3 recommendations when paired with appropriate documentation.
When designing with this MCU, allocate PCB area for the ICSP/programming header, provide adequate decoupling (100 nF plus 1-10 uF bulk), and respect the 1.8-5.5 V supply rails. Use the PPS (Peripheral Pin Select) feature to remap peripherals to pins, simplifying PCB layout and BOM reuse across PIC18F variants in the family.
This page synthesizes distributor availability (8+ distributors), drop-in pin-compatible same-family variants, and engineering guidance gathered from Microchip's K42 family datasheet - content you will not find on a single datasheet or distributor listing page.
Drop-in alternatives for PIC18F25K42-I/MV — 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 PIC18F25K42-I/MV (same form factor and footprint) — differing in Comparators, Package, Operating Temperature Range, Program Memory (Flash), ADC.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18LF25K42-I/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F24K42-I/MV
✅ Drop-In✓ In Stock
$1.18 / Unit
View Datasheet →PIC18F25K42-E/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25K22-I/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25K20-I/ML
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F25K42-I/MV Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 8-bit enhanced Harvard |
| Program Memory (Flash) | 32 KB |
| Data Memory (SRAM) | 2 KB |
| EEPROM | 256 B |
| Maximum CPU Frequency | 64 MHz |
| Operating Voltage Range | 1.8 V to 5.5 V |
| Operating Temperature Range | -40C to +85C (Industrial) |
| Package | 28-UQFN (4x4 mm) |
| ADC | 12-bit ADC2 with Computation |
| DAC | 5-bit DAC |
| Comparators | On-chip with selectable hysteresis |
| Communication Interfaces | UART, SPI, I2C (with DMA) |
| Direct Memory Access (DMA) | Yes |
| Configurable Logic Cells (CLC) | Yes |
| Peripheral Pin Select (PPS) | Yes |
| Timers | Multiple 8/16-bit timers |
| Low-Power Technology | XLP nanoWatt |
| Programming/Debug | ICSP (In-Circuit Serial Programming), 4-wire ICD |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
| Functional Safety (FuSa) | Yes (per Microchip classification) |
PIC18F25K42-I/MV Pin Configuration
| Pin 1 | RA0/AN0 — Digital I/O / analog input / PPS-capable |
| Pin 2 | RA1/AN1 — Digital I/O / analog input / PPS-capable |
| Pin 3 | RA2/AN2 — Digital I/O / analog input / PPS-capable |
| Pin 4 | RA3/AN3 — Digital I/O / analog input / PPS-capable |
| Pin 5 | RA4/AN4 — Digital I/O / analog input / PPS-capable |
| Pin 6 | RA5/AN5 — Digital I/O / analog input / PPS-capable |
| Pin 7 | RA6/AN6 — Digital I/O / analog input / PPS-capable |
| Pin 8 | RA7/AN7 — Digital I/O / analog input / PPS-capable |
| Pin 9 | VSS — Ground |
| Pin 10 | VDD — Positive supply (1.8-5.5 V) |
| Pin 11 | RB0/AN8 — Digital I/O / analog input / PPS-capable |
| Pin 12 | RB1/AN9 — Digital I/O / analog input / PPS-capable |
| Pin 13 | RB2/AN10 — Digital I/O / analog input / PPS-capable |
| Pin 14 | RB3/AN11 — Digital I/O / analog input / PPS-capable |
| Pin 15 | RB4/AN12 — Digital I/O / analog input / PPS-capable |
| Pin 16 | RB5/AN13 — Digital I/O / analog input / PPS-capable |
| Pin 17 | RB6/ICSPCLK — Digital I/O / ICSP clock (programming/debug) |
| Pin 18 | RB7/ICSPDAT — Digital I/O / ICSP data (programming/debug) |
| Pin 19 | RC0 — Digital I/O / PPS-capable |
| Pin 20 | RC1 — Digital I/O / PPS-capable |
| Pin 21 | RC2 — Digital I/O / PPS-capable |
| Pin 22 | RC3 — Digital I/O / PPS-capable |
| Pin 23 | RC4 — Digital I/O / PPS-capable |
| Pin 24 | RC5 — Digital I/O / PPS-capable |
| Pin 25 | RC6 — Digital I/O / PPS-capable |
| Pin 26 | RC7 — Digital I/O / PPS-capable |
| Pin 27 | VSS — Ground |
| Pin 28 | VDD — Positive supply (1.8-5.5 V) |
Typical Applications
PIC18F25K42-I/MV is suitable for 6 applications: Low-Power IoT Sensor Node, Home Appliance Control, Automotive Body & Lighting Controller, Industrial Sensor Signal Conditioning, Battery-Operated Remote Control / HMI, PWM Lighting and Small Motor Driver.
Low-Power IoT Sensor Node
The PIC18F25K42-I/MV is well-suited for battery-powered IoT sensor nodes thanks to its XLP nanoWatt technology (deep-sleep currents in the nA range) and 1.8-5.5 V supply range. Its 12-bit ADC2 with Computation and DMA captures sensor data without waking the CPU, while the 32 KB Flash accommodates over-the-air update bootloaders and protocol stacks (e.g., Modbus, Wireless M-Bus). Designers typically run the core at 64 MHz only for short active bursts and spend most of the duty cycle in sleep to extend coin-cell life.
Recommended
Home Appliance Control
In washing machines, dishwashers, microwave ovens and induction cooktops, the PIC18F25K42-I/MV drives user interfaces, motor PWM and sensor readout through its CLC and rich peripheral set. The Configurable Logic Cells implement safety interlocks in hardware, the DMA offloads repetitive ADC and UART servicing, and PPS remaps peripheral functions to PCBs without rework. With 32 KB Flash and 2 KB SRAM, the MCU fits mid-range appliance firmware including capacitive-touch UI and sensorless BLDC control loops.
Recommended
Automotive Body & Lighting Controller
Body controllers, RKE modules, ambient lighting, and LED drivers use the PIC18F25K42-I/MV for compact CAN/LIN bridges, PWM lighting, and ADC-based current sensing. The 28-UQFN (4x4 mm) footprint fits tight PCB pockets, and the 5.5 V rail tolerance survives load-dump transients. Functional Safety (FuSa) classification and -40C to +85C industrial temperature support a wide range of vehicle and 2-wheeler subsystems. For under-hood applications choose the -E/MV extended-temperature variant instead.
Recommended
Industrial Sensor Signal Conditioning
The PIC18F25K42-I/MV acts as a smart front-end to PLCs and SCADA systems, providing analog signal conditioning, linearization, and digital communication. The 12-bit ADC2 with hardware averaging/accumulation performs oversampling to improve effective resolution, while the on-chip 5-bit DAC and analog comparator enable threshold-based alarms without external circuitry. Multiple UART/SPI/I2C with DMA simplify bridging to RS-485 or IO-Link masters, and XLP sleep modes keep quiescent power low.
Recommended
Battery-Operated Remote Control / HMI
Universal remote controls, thermostats, and small HMIs use the PIC18F25K42-I/MV for keypad scanning, IR transmission, e-ink/LCD driving, and BLE/Wi-Fi co-processor orchestration. Its PPS feature lets the PCB route UART, SPI or PWM to whichever pin is convenient, simplifying single-layer layouts. XLP deep-sleep mode plus DMA-driven peripheral activity cuts coin-cell consumption dramatically. The 28-UQFN package supports miniaturized industrial designs without sacrificing peripheral count.
Recommended
PWM Lighting and Small Motor Driver
PWM-driven LED strips, constant-current LED drivers, and small brushed/BLDC motors are natural fits for the PIC18F25K42-I/MV, leveraging multiple CCP/PWM channels, CLC, and the on-chip comparator for current sensing. Combined with the high-impedance analog inputs and 5 V tolerance, the MCU directly drives MOSFET gates through compact half-bridges without level shifters. The DMA engine moves PWM duty updates out of interrupt context, freeing the core for higher-level control.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F25K42-I/MV — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18LF25K42-I/MV | PIC18F24K42-I/MV | PIC18F25K42-E/MV |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-UQFN (4x4 mm) | 28-UQFN (4x4 mm) - same | 28-UQFN (4x4 mm) - same | 28-UQFN (4x4 mm) - same |
| Architecture | PIC18 8-bit 64 MHz | PIC18 8-bit 64 MHz | PIC18 8-bit 64 MHz | PIC18 8-bit 64 MHz |
| Flash | 32 KB | 32 KB | 16 KB (-50%) | 32 KB |
| SRAM | 2 KB | 2 KB | 1 KB (-50%) | 2 KB |
| EEPROM | 256 B | 256 B | 256 B | 256 B |
| Operating Voltage | 1.8 V to 5.5 V | 1.8 V to 3.6 V (lower Vdd) | 1.8 V to 5.5 V | 1.8 V to 5.5 V |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +85C | -40C to +85C | -40C to +125C (Extended) |
| Functional Safety (FuSa) | Yes | Yes | Yes | Yes |
| DMA + CLC | Yes | Yes | Yes | Yes |
Key Differentiators
- Newer K42 core with DMA, CLC, and ADC2 Computation (vs PIC18F25K22-I/MV)
- Memory density for OTA bootloader and dual-image storage (vs PIC18F24K42-I/MV)
- Functional Safety classification (vs PIC18LF25K42-I/MV)
Design Notes
The PIC18F25K42-I/MV supports 1.8-5.5 V operation, allowing direct connection to single-cell Li-ion (3.0-4.2 V) or 3.3 V/5 V rails; place a 100 nF decoupling capacitor as close as possible to each VDD pin and add a 1-10 uF bulk capacitor on the rail. For deep-sleep nanoWatt XLP operation, configure unused peripherals to PMD-disabled state and route all wake-up sources through the IOC (interrupt-on-change) or RTC. Estimated standby current in deep-sleep with RTCC running is in the nA range per Microchip datasheet 40002113A, but verify the exact value for the chosen configuration.
The 28-UQFN (4x4 mm) package has an exposed thermal pad that must be soldered to a PCB pad for mechanical reliability and thermal dissipation. Use Microchip's recommended land pattern from the package drawing, and ensure traces fan out without neck-downs under the pad. Differential pair routing is not required for digital signals but keep high-speed SPI/ICSP traces short and away from analog ADC inputs to minimize crosstalk.
Several K42 enhancements catch engineers from older PIC18 families: (1) ADC2 uses a new Computation engine with different register names from legacy ADC; port existing code carefully. (2) CLC configuration requires the MPLAB Code Configurator (MCC) plug-in or direct register programming - hand-written CLC code is error-prone. (3) PPS must be unlocked by writing PPSLOCK = 0x55 then 0xAA before changing peripheral pin assignments. Always keep ICSP PGC/PGD pins (RB6/RB7 on this package) available for in-circuit debugging.
Compliance Information
RoHS compliant per Microchip product page. AEC-Q100 qualification is not declared on this industrial-grade part - refer to dedicated automotive-grade PIC18F or dsPIC33 AEC-Q100 SKUs if automotive certification is required. REACH and conflict-mineral declarations are available through Microchip's environmental documentation portal.