EmbeddedRelated.com
The 2026 Embedded Online Conference
PIC18F25K42-I/SO

MCHPPIC18F25K42-I/SO

Microchip Technology
8-bit Microcontrollers - MCU 32KB Flash, 2KB RAM, 256B EEPROM, 12-bit ADC2, Vector Interrupts, DMA, MAP, DIA, DAC, Comp, PWM, CWG, HLT, WWDT, SCAN/CRC, ZCD, PPS, UART, SPI/I2C, IDLE/DOZE/PMD
403 in stock

Overview

The PIC18F25K42-I/SO is an enhanced 8-bit microcontroller that features Core Independent Peripherals (CIPs) and a 12-bit ADC with computation (ADC2) for advanced signal processing. It operates at up to 64MHz with 32KB of Flash and 2KB of RAM, providing a high-performance foundation for real-time control applications. The inclusion of Direct Memory Access (DMA) and Vectored Interrupts significantly reduces CPU overhead during complex data transfers and timing tasks.

Why Choose This Part

This microcontroller simplifies complex system designs by offloading tasks to hardware peripherals like the DMA controller and Vectored Interrupt table. The 12-bit ADC with hardware computation allows for sophisticated filtering and averaging without writing extensive software routines. Its wide operating voltage of 2.3V to 5.5V and 5V tolerance make it highly resilient in electrically noisy industrial environments.

Applications

Smart Sensor Interfacing
Utilizing the 12-bit ADC2 and internal comparators to process analog sensor data with minimal CPU intervention.
Industrial Protocol Bridges
Implementing UART, SPI, and I2C communication for protocol conversion and device management in factory environments.
Lighting Control
Leveraging Complementary Waveform Generators (CWG) and PWM modules for precise LED dimming and power stage control.
Battery-Powered Monitoring
Taking advantage of Idle, Doze, and Sleep modes with 1uA sleep current for remote data logging applications.

Getting Started

Start development by using the MPLAB X IDE and the XC8 C Compiler. For hardware evaluation, the Curiosity High Pin Count (HPC) Development Board or a custom PCB can be used with the MPLAB Snap or PICkit 4 in-circuit debugger. Use the MPLAB Code Configurator (MCC) to graphically initialize the DMA, ADC2, and other Core Independent Peripherals.

PIC18F25 Family

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

Part Number Flash Package ADC/DAC Connectivity Peripherals Temp Range Stock
PIC18F25K42-I/SO (this part) 403
PIC18F25Q10-I/SS 32KB SSOP-28 A/D 24x10b; D/A 1x5b I2C, SPI, UART/USART Brown-out Detect/R.. -40degC ~ 85degC (.. 40,450
PIC18F25K42-E/SS 32KB SSOP-28 A/D 24x12b; D/A 1x5b I2C, LINbus, SPI, .. Brown-out Detect/R.. -40degC ~ 125degC .. 620
PIC18F25Q10-I/SO 32KB SOIC-28 A/D 24x10b; D/A 1x5b I2C, SPI, UART/USART Brown-out Detect/R.. -40degC ~ 85degC (.. 1,745
PIC18F25K42-E/MV 32KB UFQFN-28 A/D 24x12b; D/A 1x5b I2C, LINbus, SPI, .. Brown-out Detect/R.. -40degC ~ 125degC ..
Also available as: PIC18F25Q10-E/MLVAO, PIC18F25Q10-E/SSVAO

Also Consider

ATmega328P MCHPMicrochip Technology - A popular 8-bit alternative with a large community and Arduino compatibility, though it lacks the advanced DMA and ADC2 features.
The 2026 Embedded Online Conference