Product Overview
The PIC18F25K22-I is a 28-pin, 8-bit high-performance low-power Flash microcontroller from Microchip Technology featuring the PIC18 architecture with XLP (eXtreme Low-Power) technology. With 16 MIPS performance and a 31-level deep hardware stack, this versatile MCU offers 32KB (16K x 16) of Flash program memory, 1536 bytes of RAM, and 256 bytes of data EEPROM. Operating at up to 64 MHz across a wide voltage range of 2.3V to 5.5V, it integrates a 17-channel 10-bit ADC, two analog comparators, two CCP and three ECCP modules, dual MSSP (SPI/I2C), one EUSART with LIN support, a CTMU for capacitive touch, a 5-bit DAC, and an internal 16 MHz oscillator with PLL. With its rich peripheral set including dual SPI/I2C, multiple PWM channels, and nanoWatt XLP low-power operation, the PIC18F25K22 is ideal for industrial control, sensor interfaces, battery-powered devices, consumer appliances, and automotive applications requiring high performance in a compact 28-pin package.
Key Specifications
| Core Architecture | 8-bit PIC18 RISC Architecture |
| Program Memory | 32KB Flash (16K x 16 words) |
| RAM | 1536 bytes (1.5 KB) |
| Data EEPROM | 256 bytes |
| Maximum Speed | 64 MHz (16 MIPS) |
| Operating Voltage | 2.3V to 5.5V |
| I/O Pins | 25 |
| ADC | 10-bit, 17 channels with auto-acquisition |
| Comparators | 2 rail-to-rail analog comparators |
| DAC | 5-bit rail-to-rail DAC |
| Timers | 4 x 16-bit + 3 x 8-bit = 7 total timers |
| PWM | 2 x CCP + 3 x ECCP = 5 total PWM modules |
| Communication | EUSART, 2 x SPI, 2 x I2C (dual MSSP) |
| Capacitive Touch | CTMU module (Charge Time Measurement Unit) |
| Voltage Reference | Fixed Voltage Reference (FVR): 1.024/2.048/4.096V |
| Internal Oscillator | 16 MHz factory calibrated ±1%, 31 kHz-16 MHz range |
| PLL | 4x PLL for up to 64 MHz |
| Low Power | XLP nanoWatt, 100 nA Sleep typical |
| Stack Levels | 31-level software accessible hardware stack |
| Hardware Multiplier | 8 x 8 single-cycle hardware multiplier |
| Debug | In-Circuit Debug (ICD) |
| Operating Temperature | -40°C to +85°C (Industrial) |
| Package | 28-pin PDIP / SOIC / SSOP / QFN / UQFN |
Features
- C compiler optimized PIC18 RISC architecture with 16 MIPS at 64 MHz
- 31-level deep software accessible hardware stack
- 8 x 8 single-cycle hardware multiplier
- Priority levels for interrupts
- Linear program memory addressing to 64 KB
- Linear data memory addressing to 4 KB
- eXtreme Low-Power (XLP) nanoWatt technology
- Sleep mode: 100 nA typical; WDT: 500 nA typical
- 17-channel 10-bit ADC with auto-acquisition and conversion during Sleep
- Two rail-to-rail analog comparators
- 5-bit rail-to-rail resistive DAC
- Fixed Voltage Reference (FVR): 1.024V, 2.048V, 4.096V
- Three Enhanced CCP (ECCP) with PWM steering and programmable dead time
- Two standard CCP (Capture/Compare/PWM) modules
- Charge Time Measurement Unit (CTMU) for capacitive touch sensing
- Dual Master Synchronous Serial Port (MSSP) modules: 2x SPI + 2x I2C
- Enhanced USART (EUSART) with auto-baud detect and LIN support
- High/Low-Voltage Detection (HLVD) module: 16 programmable levels
- Internal 16 MHz oscillator factory calibrated to ±1%
- Software selectable frequencies: 31 kHz to 16 MHz
- 4x Phase Lock Loop (PLL) for 64 MHz operation
- Fail-Safe Clock Monitor and Two-Speed Oscillator Start-up
- Seven timer modules: 4 x 16-bit + 3 x 8-bit
- Programmable Brown-out Reset (BOR)
- Extended Watchdog Timer (WDT) with on-chip oscillator
- Self-programmable under software control
- In-Circuit Serial Programming (ICSP) and In-Circuit Debug (ICD)
- 25 I/O pins with 25 mA sink/source capability
- Programmable code protection
- Recommended for Automotive Design (AEC-Q100 qualified)
Applications
- Industrial control and sensor interfaces
- Automotive body electronics and sensor modules
- Consumer electronics and smart appliances
- Motor control and power management systems
- Battery-powered data loggers and portable devices
- Home automation and IoT device endpoints
- Medical devices and instrumentation