EmbeddedRelated.com
PIC18F25K42-I/SP

MCHPPIC18F25K42-I/SP

Microchip Technology
PIC PIC® XLP™ 18K, Functional Safety (FuSa) Microcontroller IC 8-Bit 64MHz 32KB (16K x 16) FLASH 28-SPDIP
Active558 in stock

Overview

The PIC18F25K42-I/SP is an 8-bit microcontroller featuring Core Independent Peripherals (CIPs) and Direct Memory Access (DMA) to offload tasks from the CPU. This specific variant comes in a 28-pin SPDIP package, making it ideal for prototyping while offering advanced functional safety features and vectored interrupts for predictable real-time performance. With 32KB of Flash and a 64MHz clock speed, it balances traditional 8-bit simplicity with modern system-level automation.

Why Choose This Part

The inclusion of a dual-channel DMA controller and vectored interrupts significantly improves data throughput and interrupt latency compared to standard 8-bit MCUs. It also features a hardware-based CRC/Scanner and a Windowed Watchdog Timer (WWDT) to support functional safety requirements. The 5.5V maximum VDD allows for easy integration into existing 5V industrial logic systems without level shifting.

Applications

Industrial Control Systems
Utilizes the windowed watchdog timer and CRC with memory scanning for functional safety in mission-critical hardware.
Sensor Interface Nodes
Leverages DMA and integrated 12-bit ADC with computation (ADC2) to process analog signals without CPU intervention.
Legacy System Upgrades
Provides a high-performance upgrade path for older 28-pin DIP PIC18 designs needing more memory and modern peripherals.
Educational Prototyping
The through-hole PDIP package allows for direct use on breadboards and socketed development platforms.

Key Specifications

Speed 64MHz
RAM Size 2K x 8
Core Size 8-Bit
EEPROM Size 256 x 8
Peripherals Brown-out Detect/Reset, DMA, HLVD, POR, PWM, WDT
Connectivity I2C, LINbus, SPI, UART/USART
Mounting Type Through Hole
Number of I/O 25
Core Processor PIC
Package / Case 28-DIP (0.300", 7.62mm)
Data Converters A/D 24x12b; D/A 1x5b
Oscillator Type Internal
Program Memory Size 32KB (16K x 16)
Program Memory Type FLASH
Operating Temperature -40degC ~ 85degC (TA)
Supplier Device Package 28-SPDIP
Voltage - Supply (Vcc/Vdd) 2.3V ~ 5.5V

Getting Started

Develop using the MPLAB X IDE and XC8 compiler. Hardware programming and debugging are supported via the MPLAB PICkit 4 or Snap in-circuit debuggers. For rapid prototyping, the Curiosity High Pin Count (HPC) Development Board can be used, though the SPDIP package is also directly compatible with standard 0.300-inch breadboards.

Part of PIC18F25xx family » PIC18F25

PIC18F25 Family

Comparing specs that differ across variants. The current part is highlighted.

Part Number Flash RAM I/O Pins Package Speed ADC/DAC Stock
PIC18F25K42-I/SP (this part) 32KB 2K 25 DIP-28 64M A/D 24x12b; D/A 1x5b 558
PIC18F25K40-I/ML 32KB 2K 25 VQFN-28 64M A/D 35x10b; D/A 1x5b 976
PIC18F25K42-I/SS 32KB 2K 25 SSOP-28 64M A/D 24x12b; D/A 1x5b 1,388
PIC18F25K22-I/SP 32KB 1.5K 24 DIP-28 64M A/D 19x10b 8,237
PIC18F25K42-E/ML 32KB 2K 25 VQFN-28 64M A/D 24x12b; D/A 1x5b
PIC18F25K50-I/SP 32KB 2K 22 DIP-28 48M A/D 14x10b 672
PIC18F25K42-I/ML 32KB 2K 25 VQFN-28 64M A/D 24x12b; D/A 1x5b 2,717
PIC18F25K50-I/SO 32KB 2K 22 SOIC-28 48M A/D 14x10b 2,498
PIC18F25K80-I/SP 32KB 3.6K 24 DIP-28 64M A/D 8x12b 3,360
PIC18F25Q10-I/ML 32KB 2K 25 VQFN-28 64M A/D 24x10b; D/A 1x5b 3,538
PIC18F25K40-I/SO 32KB 2K 25 SOIC-28 64M A/D 35x10b; D/A 1x5b 1,123
PIC18F25Q10-I/SP 32KB 2K 25 DIP-28 64M A/D 24x10b; D/A 1x5b 14,009
PIC18F25K83-E/ML 32KB 2K 25 VQFN-28 64M A/D 24x12b; D/A 1x5b 2,717
PIC18F25Q10-E/ML 32KB 2K 25 VQFN-28 64M A/D 24x10b SAR; D/.. 645
PIC18F25K50-I/ML 32KB 2K 22 VQFN-28 48M A/D 14x10b 523
PIC18F25K83-E/SS 32KB 2K 25 SSOP-28 64M A/D 24x12b; D/A 1x5b 761
PIC18F25K80-I/SS 32KB 3.6K 24 SSOP-28 64M A/D 8x12b 1,799
PIC18F25K22-I/ML 32KB 1.5K 24 VQFN-28 64M A/D 19x10b 752
PIC18F25K42-I/MV 32KB 2K 25 UFQFN-28 64M A/D 24x12b; D/A 1x5b 973
PIC18F25K80-I/SO 32KB 3.6K 24 SOIC-28 64M A/D 8x12b 613
PIC18F25K83-I/SP 32KB 2K 25 DIP-28 64M A/D 24x12b; D/A 1x5b 69

Also Consider

PIC18F26K42-I/SP MCHPMicrochip Technology - Provides double the Flash memory (64KB) in the same 28-pin SPDIP footprint if code size exceeds 32KB.
ATmega328P MCHPMicrochip Technology - A common 28-pin alternative for general-purpose 8-bit applications with a massive community ecosystem, though it lacks DMA.