PIC18F25K40T-I/SS - 8-bit 64MHz MCU 32KB Flash | Microchip
MPN: PIC18F25K40T-I/SS ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.55 | $2.55 |
| 10 | $2.28 | $22.80 |
| 100 | $1.99 | $199.00 |
| 500 | $1.78 | $890.00 |
| 1,000 | $1.62 | $1,620.00 |
| 3,000 | $1.45 | $4,350.00 |
PIC18F25K40T-I/SS Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program and data memory, and configurable peripherals such as ADC, timers, communication interfaces, and GPIO. The PIC18 family belongs to Microchip's 8-bit RISC architecture optimized for C-compiler efficiency and is widely used in consumer, industrial, and automotive body applications. PIC18F-series parts sit at the top of Microchip's 8-bit lineup with the largest peripheral set, the most I/O, and the highest code density per MHz.
Key features include Core Independent Peripherals (CIPs) such as Complementary Waveform Generator (CWG), Configurable Logic Cell (CLC), Windowed Watchdog Timer (WWDT), CRC/Memory Scan, Zero-Cross Detect, and Peripheral Pin Select (PPS). The XLP (eXtreme Low Power) technology provides sub-uA sleep currents suitable for battery-powered IoT sensors. The ADC2 performs automatic averaging, threshold comparison, and oversampling in hardware, offloading signal conditioning from the CPU.
The architecture combines a 16-bit instruction word with an 8-bit data path, supports hardware multiply and a 31-level stack, and offers 36 MHz operation down to 1.8V and 64 MHz up to 5V. Internal oscillator blocks provide factory-calibrated accuracy across voltage and temperature, reducing external component count.
Typical applications include home appliances, IoT sensor nodes, motor control (BLDC, stepper, fan), LED lighting control, battery management units, automotive body controllers, and industrial sensor interfaces. The rich CIP integration allows sensor conditioning, commutation logic, and comms handling without CPU intervention.
When designing with this device, allocate the 28-pin SSOP budget carefully: 25 usable I/O after power and programming pins. Choose the PIC18F26K40 if you need more Flash (64 KB) in the same package footprint.
This page synthesizes distributor pricing, drop-in package-equivalent alternatives, and practical design notes not found in the manufacturer datasheet alone.
Drop-in alternatives for PIC18F25K40T-I/SS — 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 PIC18F25K40T-I/SS (same form factor and footprint) — differing in ADC, Package, Core, Comparators, DAC.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F25K40-I/SS
✅ Drop-In✓ In Stock
$1.1 / Unit
View Datasheet →PIC18F26K40-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F24K40T-I/SS
✅ Drop-In✓ In Stock
$1.1 / Unit
View Datasheet →PIC18F25K42-I/SS
✅ Drop-In✓ In Stock
$1.78 / Unit
View Datasheet →PIC18F25K22-I/SS
✅ Drop-In✓ In Stock
$1.92 / Unit
View Datasheet →PIC18F25K40T-I/SS Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 8-bit RISC |
| Program Memory (Flash) | 32 KB (16K x 16) |
| SRAM | 2 KB |
| EEPROM | 256 B |
| Maximum CPU Frequency | 64 MHz |
| Operating Voltage Range | 2.3 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 10-bit ADC2 with Computation, up to 35 channels |
| DAC | 5-bit DAC |
| Comparators | 2 |
| PWM / CCP / CWG | Yes |
| Timers | 8-/16-bit, multiple |
| Communication | UART, SPI, I2C with PPS |
| Peripheral Pin Select (PPS) | Yes |
| XLP Low-Power Sleep | < 1 uA typical |
| Operating Temperature | -40C to +85C (Industrial) |
| Package | 28-SSOP |
| Mounting Type | Surface Mount |
| MSL Level | 1 |
| Lead-Free / RoHS | Yes |
PIC18F25K40T-I/SS Pin Configuration
| Pin 1 | RA0 — PORTA bit 0 / analog input |
| Pin 2 | RA1 — PORTA bit 1 / analog input |
| Pin 3 | RA2 — PORTA bit 2 / analog input |
| Pin 4 | RA3 — PORTA bit 3 / analog input |
| Pin 5 | RA4 — PORTA bit 4 / analog input |
| Pin 6 | RA5 — PORTA bit 5 / analog input |
| Pin 7 | RA6 — PORTA bit 6 / analog input |
| Pin 8 | RA7 — PORTA bit 7 / analog input |
| Pin 9 | VSS — Ground reference |
| Pin 10 | RB7 — PORTB bit 7 / programming pin |
| Pin 11 | RB6 — PORTB bit 6 / programming pin |
| Pin 12 | RB5 — PORTB bit 5 |
| Pin 13 | RB4 — PORTB bit 4 |
| Pin 14 | RB3 — PORTB bit 3 |
| Pin 15 | RB2 — PORTB bit 2 |
| Pin 16 | RB1 — PORTB bit 1 |
| Pin 17 | RB0 — PORTB bit 0 / programming pin |
| Pin 18 | RC7 — PORTC bit 7 / RX |
| Pin 19 | RC6 — PORTC bit 6 / TX |
| Pin 20 | RC5 — PORTC bit 5 |
| Pin 21 | RC4 — PORTC bit 4 |
| Pin 22 | RC3 — PORTC bit 3 / SCL |
| Pin 23 | RC2 — PORTC bit 2 / SDA |
| Pin 24 | RC1 — PORTC bit 1 |
| Pin 25 | RC0 — PORTC bit 0 |
| Pin 26 | VSS — Ground |
| Pin 27 | VDD — Positive supply |
| Pin 28 | VDD — Positive supply |
Typical Applications
PIC18F25K40T-I/SS is suitable for 7 applications: IoT Battery-Powered Sensor Node, BLDC / Stepper Motor Control, Home Appliance Control Board, LED Lighting and Dimming Control, Automotive Body Electronics, Industrial Sensor Interface, Battery Management System (BMS) Monitor.
IoT Battery-Powered Sensor Node
The PIC18F25K40T-I/SS fits battery-powered IoT sensor nodes thanks to its XLP sub-1uA sleep current and Core Independent Peripherals that offload sensor handling from the CPU. With 32 KB Flash it can host BLE/Zigbee transceiver drivers alongside custom application logic. The ADC2 with Computation performs hardware averaging and threshold detection, waking the CPU only on real sensor events. Operating from 1.8-5.5V matches Li-ion/alkaline chemistries directly.
Recommended
BLDC / Stepper Motor Control
The PIC18F25K40T-I/SS is well-suited for small BLDC and stepper motor control in fans, pumps, and appliance drives. The Complementary Waveform Generator (CWG) generates dead-band-controlled complementary PWM with hardware fault shutdown, offloading commutation timing from the CPU. The 64 MHz core provides 16 MIPS, sufficient for sensorless back-EMF detection routines. Peripheral Pin Select (PPS) lets designers route PWM outputs to any I/O pin, simplifying PCB layout.
Recommended
Home Appliance Control Board
The PIC18F25K40T-I/SS targets white goods such as washing machines, dishwashers, refrigerators, and microwave ovens. Its 5V tolerance and 25 I/O pins drive seven-segment displays, keypads, triac optoisolation, and temperature sensors. The 32 KB Flash comfortably hosts state-machine firmware and user-interface menus. CRC/SCAN and WWDT meet IEC 60730 Class B safety requirements for home appliances.
Recommended
LED Lighting and Dimming Control
The PIC18F25K40T-I/SS drives LED lighting fixtures with analog dimming via the 5-bit DAC and PWM-controlled constant-current drivers. The CWG generates accurate dimming waveforms at up to 64 MHz PWM resolution. Zero-Cross Detect simplifies AC-line dimmer synchronization for TRIAC and phase-cut dimming. Operating from 2.3-5.5V matches common LED driver supply rails.
Recommended
Automotive Body Electronics
Automotive body modules such as door lock controllers, seat controllers, HVAC blend-door actuators, and interior lighting benefit from the PIC18F25K40T-I/SS. The 5V operation handles 12V battery transients through external TVS/regulators. The WWDT, CRC/SCAN, and Class B-capable firmware diagnostics meet automotive safety standards. LIN-stack firmware fits comfortably within 32 KB Flash.
Recommended
Industrial Sensor Interface
The PIC18F25K40T-I/SS is ideal for industrial sensor interfaces (4-20mA loops, RTD conditioning, strain gauges) thanks to its 10-bit ADC2 with hardware averaging, oversampling, and threshold detection. The Core Independent Peripherals handle sensor linearization and fault detection without CPU load. UART/SPI/I2C with PPS provide flexible communication to industrial backplanes and gateways.
Recommended
Battery Management System (BMS) Monitor
The PIC18F25K40T-I/SS serves as a cell-monitoring MCU in multi-cell battery packs, with ADC2 sampling individual cell voltages and the on-chip comparators triggering over/under-voltage interrupts without CPU latency. The 5-bit DAC provides a programmable reference for the cell-balancing circuits. XLP low-power modes minimize quiescent current drain during storage. UART/SPI interfaces report state to a pack-level controller.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F25K40T-I/SS — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F25K40-I/SS | PIC18F26K40-I/SS | PIC18F24K40T-I/SS | PIC18F25K42-I/SS | PIC18F25K22-I/SS |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SSOP | 28-SSOP - same | 28-SSOP - same | 28-SSOP - same | 28-SSOP - same | 28-SSOP - same |
| Flash Memory | 32 KB | 32 KB | 64 KB | 16 KB | 32 KB | 32 KB |
| SRAM | 2 KB | 2 KB | 4 KB | 1 KB | 2 KB | 1.5 KB |
| Max CPU Frequency | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| ADC | 10-bit ADC2 with Computation | 10-bit ADC2 | 10-bit ADC2 | 10-bit ADC2 | 12-bit ADC2 | 10-bit ADC (no Computation) |
| DAC | 5-bit DAC | 5-bit DAC | 5-bit DAC | 5-bit DAC | 5-bit DAC | No DAC |
| Operating Voltage | 2.3V to 5.5V | 2.3V to 5.5V | 2.3V to 5.5V | 2.3V to 5.5V | 2.3V to 5.5V | 2.3V to 5.5V |
| Generation | K40 (with CIPs) | K40 | K40 | K40 | K42 (newer) | K22 (older) |
Key Differentiators
- Tape-and-reel packaging optimized for SMT production (vs PIC18F25K40-I/SS)
- Balanced Flash/RAM density at lowest cost in K40 family (vs PIC18F26K40-I/SS)
- ADC2 with Computation offloads CPU signal processing (vs PIC18F25K22-I/SS)
Design Notes
Estimated: at 64 MHz and 5V active mode, core current is approximately 8-12 mA. Decoupling: place 100 nF X7R within 2 mm of each VDD pin (pins 27, 28) and 10 uF bulk tantalum/ceramic at the package. For battery applications, switch to HFINTOSC at lower frequency when full performance is not needed - each MHz drop saves roughly 100 uA.
Place the 28-SSOP on a 0.65-mm pitch land pattern per IPC-7352. Keep the ICSP/ICD pins (RB6, RB7) accessible in the PCB layout if in-circuit debugging is needed; do NOT add external pull-ups that conflict with the programmer. Crystal traces (if used) should be short with a ground guard ring. The PPS feature allows digital peripherals to be remapped, but PPS input pins still need their analog-disable bits cleared.
Do NOT forget to clear the APFCON/ANSEL bits when switching a pin from analog to digital; leaving them as analog input causes the digital input buffer to float and may source current through the analog mux. Per Microchip datasheet DS40001916G, the ADC2 module requires the ADCON0 ADGO bit to be polled, not interrupt-driven alone, for accurate trigger handling. Watchdog (WWDT) must be configured with correct window timing or it will reset the MCU unexpectedly.
Compliance Information
RoHS/REACH compliant per Microchip product page. Standard variant is not AEC-Q100 qualified - choose PIC18F25K40-I/SSVAO for automotive AEC-Q100 applications.