Microchip Technology

PIC18LF25K40-I/SP - 8-bit XLP MCU 32KB Flash 28-SPDIP | Microchip

部品番号: PIC18LF25K40-I/SP ✓ 生産中
在庫あり 1〜3営業日以内に発送
1.8 V to 3.6 V Vdss 28-pin SPDIP (300 mil, 7.62 mm) Package 64 MHz Speed 32 KB (16K x 16) Memory
開始価格 $1.74 USD / 個
MOQ: 1 |
価格更新日: 2026-09-28
ボリューム価格
数量 単価 小計
1 $2.77 $2.77
10 $2.5 $25.00
100 $2.14 $214.00
500 $1.93 $965.00
1,000 $1.74 $1,740.00
ℹ️ すべての価格はUSDです

PIC18LF25K40-I/SP 概要

The Microchip Technology PIC18LF25K40-I/SP is a low-power 8-bit PIC18 microcontroller with 32 KB Flash, 2 KB RAM, and 256 bytes EEPROM, operating up to 64 MHz in a 28-pin SPDIP (300 mil) package. The device integrates eXtreme Low Power (XLP) technology, making it suited for battery-powered and energy-harvesting applications.

An 8-bit microcontroller (MCU) is a programmable integrated circuit combining a CPU, memory (Flash/RAM/EEPROM), and peripherals on a single die. The PIC18LF25K40 belongs to the 8-bit MCU -> microcontroller -> embedded controller -> integrated circuit taxonomy, and serves as a general-purpose compute and control element in embedded systems. The "LF" prefix denotes the low-voltage (1.8-3.6V) variant of the K40 family, distinguishing it from the 5V-capable PIC18F25K40.

Key features include a C compiler-friendly 8-bit PIC18 CPU with hardware multiply, 25 digital I/O pins, a 10-bit ADC with computation (ADCC) and automated averaging, a 5-bit DAC, two comparators with selectable reference, CWG (Complementary Waveform Generator), 16-bit PWM, multiple EUSART/SPI/I2C peripherals, and a Cyclic Redundancy Check (CRC/SCAN) module for memory integrity. The peripheral pin select (PPS) feature allows flexible remapping of digital peripherals to any I/O pin, simplifying PCB routing in dense designs.

The architecture uses a Harvard bus with separate program Flash (16K x 16) and data RAM paths, enabling single-cycle instruction execution at 64 MHz (15.6 ns per instruction). The XLP technology provides deep sleep currents below 50 nA typical and active currents in the microamp range, enabling multi-year battery life in IoT sensor nodes, remote controls, and wearables.

Typical applications include low-power IoT sensor nodes, consumer electronics human-interface devices, HVAC and building automation controllers, battery-powered industrial sensors, and small home appliances. The wide peripheral set, plus the 28-SPDIP through-hole footprint, makes it well suited for hobbyist, prototype, and legacy-replacement designs that prefer socketed or hand-solderable packages.

When designing with this device, ensure the supply voltage stays within 1.8 V to 3.6 V (LF variant); use the PPS feature to map peripherals only to PPS-capable pins. A 0.1 uF decoupling capacitor placed within 5 mm of each VDD/VSS pair is recommended to maintain ADC SNR. For sleep current optimization, disable unused peripherals via PMD registers before entering Sleep.

This page synthesizes distributor pricing, drop-in same-family alternatives, and practical design notes not found in the manufacturer datasheet alone.

ドロップイン代替品: PIC18LF25K40-I/SP — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。

このシリーズのバリエーション

同一シリーズでドロップイン互換のモデル: PIC18LF25K40-I/SP (同一形状・フットプリント) — 相違点: Package, ADC, Operating Temperature, MSL Level, Communication.

Microchip Technology
Package: 28-SPDIP (Skinny Plastic DIP, through-hole)
ADC: 10-bit ADC2 with Computation
Microchip Technology
Package: 28-pin SPDIP (300 mil)
ADC: 10-bit, up to 24 channels (ADC2 with computation)
Operating Temperature: -40C to +85C (Industrial: I)
Microchip Technology
Package: 28-pin SPDIP (Plastic DIP)
ADC: 10-bit, multi-channel (typical for family)
MSL Level: Not applicable (through-hole package)
Microchip Technology
Package: 28-SPDIP (Skinny Plastic DIP, 7.62 mm row pitch, through-hole)
ADC: 10-bit, up to 35 channels
Operating Temperature: -40 C to +125 C (E = Extended)
Microchip Technology
Package: 28-pin SOIC (SO)
ADC: 12-bit, up to 24 channels
Microchip Technology
Package: 28-pin SPDIP (0.300", 7.62mm)
ADC: 12-bit ADC2
Operating Temperature: -40C to +125C (E grade)
Microchip Technology
Package: 28-pin SPDIP (SP)
ADC: 10-bit, up to 24 channels
Operating Temperature: -40 C to +85 C (industrial, 'I' grade)
Microchip Technology
Package: 28-pin SPDIP (through-hole)
ADC: 10-bit ADC2 with computation
Operating Temperature: -40C to +85C (Industrial, 'I')

クイック比較ツール — 並列比較する代替部品を選択:

PIC18LF25K40-E/SP

✅ ドロップイン
Microchip Technology
📦 28-SPDIP
PIC XLP 18K · PIC18 (8-bit RISC, Harvard) · 32 KB (16K x 16) · 2 KB · 256 B · 64 MHz (16 MIPS) · 1.8 V to 3.6 V (LF variant) · 25

✓ 在庫あり

$2 / 個

データシートを見る →

PIC18F25K40-I/SP

✅ ドロップイン
Microchip Technology
📦 28-SPDIP
PIC18 8-bit enhanced Harvard · PIC18F "K40" high-performance · 32 KB (16K x 16) · 2 KB · 256 bytes · 64 MHz · 25

✓ 在庫あり

$1.85 / 個

データシートを見る →

PIC18LF24K40-I/SP

✅ ドロップイン
Microchip Technology
📦 28-SPDIP
PIC18 XLP 18K · PIC18 (8-bit RISC) · 16 KB (8K x 16) Flash · 1 KB · 256 B · 64 MHz · 3.0 V to 3.6 V (1.8 V at 16 MHz, 2.5 V at 32 MHz) · Up to 25

✓ 在庫あり

$1.55 / 個

データシートを見る →

PIC18LF26K40-I/SP

✅ ドロップイン ⚠️ 仕様未検証
Microchip Technology
📦 28-SPDIP
PIC18 (8-bit RISC) · PIC18 Enhanced Harvard · 49 instructions, 16-level hardware stack · 64 MHz · 64 KB (32K x 16) · 4 KB · 1.8 V to 3.6 V

✓ 在庫あり

$2.55 / 個

データシートを見る →

PIC18LF25K22-I/SP

✅ ドロップイン
📦 28-SPDIP
older K22 family, 32 KB Flash, 1 KB RAM (-50%), 24 I/O (-1), no ADCC/PPS, code rework required

📋 参考代替品(カタログ未掲載)

ℹ️ 1 異なるパッケージの部品は非表示 — パッケージが異なるとPCBの作り直しが必要で、真のドロップイン代替品ではありません。 お問い合わせ 異なるパッケージの提案が必要な場合。

PIC18LF25K40-I/SP 最大定格&電気的特性

Core PIC18 8-bit RISC
Instruction Set 8-bit PIC18 (C compiler friendly)
Maximum CPU Frequency 64 MHz
Program Memory (Flash) 32 KB (16K x 16)
Data RAM 2 KB
Data EEPROM 256 bytes
Operating Voltage Range 1.8 V to 3.6 V
I/O Pins 25
ADC 10-bit ADC2 (with computation)
DAC 5-bit DAC
Comparators 2
PWM Channels 16-bit PWM + CCP + CWG
Timers 9
Communication EUSART, SPI, I2C
CRC / SCAN Module Yes
Peripheral Pin Select (PPS) Yes
XLP (eXtreme Low Power) Technology Yes
Watchdog Timer WWDT with window
パッケージ 28-pin SPDIP (300 mil, 7.62 mm)
実装タイプ Through-Hole
動作温度 -40C to +85C (Industrial, "I")
MSLレベル 1 (n/a for through-hole)
RoHS ステータス Compliant
Lead-Free / Halogen-Free Yes (per Microchip product page)

PIC18LF25K40-I/SP ピン構成

DIP-28 Package Pinout Diagram DIP-28 28-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 DIP-28
ピン 1 RA3/AN3/VREF+/T0CKI/CLC1IN0/RP13 — Bidirectional I/O with analog input, VREF+, Timer0 clock, CLC input, PPS remappable
ピン 2 RA2/AN2/VREF-/T5CKI/T3CKI/CCP3/CLC2IN0/RP11 — Bidirectional I/O with analog input, VREF-, timer clock, CCP3, CLC input, PPS remappable
ピン 3 RA1/AN1/C1IN1-/C2IN1-/OPA1IN-/DAC1OUT/IOC1/ISRC/RP10 — Bidirectional I/O with analog, comparator input, op-amp, DAC output, PPS remappable
ピン 4 RA0/AN0/C1IN0+/C2IN0+/OPA1OUT/IOC0/RP0 — Bidirectional I/O with analog, comparator, op-amp output, PPS remappable
ピン 5 RA5/MCLR/VPP/ICSPCLK — Master Clear (reset) input or VPP programming voltage; weak pull-up enabled
ピン 6 RA4/AN4/T1G/T3G/SOSCO/CLKR/C1OUT/RP8 — Bidirectional I/O with analog, Timer1/3 gate, secondary oscillator, PPS remappable
ピン 7 RA7/OSC1/CLKIN/ICSPDAT — Crystal oscillator input or external clock; ICSP data
ピン 8 RA6/OSC2/CLKOUT/ICSPCLK — Crystal oscillator output or CLKOUT; ICSP clock
ピン 9 VSS — Ground reference
ピン 10 VDD — Positive supply voltage (1.8 V to 3.6 V for LF variant)
ピン 11 RB5/AN11/CPS5/CCP5/C1IN3-/C2IN3-/CLC3/RP5 — Bidirectional I/O with analog, mTouch, CCP5, comparator, PPS remappable
ピン 12 RB4/AN10/CPS4/SDA2/CLC2/RP4 — Bidirectional I/O with analog, mTouch, I2C2 SDA, PPS remappable
ピン 13 RB3/AN9/CPS3/SCL11/CCP2/C1IN2-/C2IN2/RP3 — Bidirectional I/O with analog, mTouch, I2C1 SCL, CCP2, PPS remappable
ピン 14 RB2/AN8/CPS2/SDA1/C1IN1+/C2IN1+/RP2 — Bidirectional I/O with analog, mTouch, I2C1 SDA, comparator, PPS remappable
ピン 15 RB1/AN7/CPS1/CCP4/SCK1/CLC1OUT/RP1 — Bidirectional I/O with analog, mTouch, CCP4, SPI clock, CLC output, PPS remappable
ピン 16 RB0/AN6/CPS0/CCP1/INT0/FLT0/RP0 — Bidirectional I/O with analog, mTouch, CCP1, external interrupt, PWM fault, PPS remappable
ピン 17 RB7/AN14/CPS7/EUSART2 CK/DAC2 OUT/RP7 — Bidirectional I/O with analog, mTouch, EUSART2 clock, DAC2, PPS remappable
ピン 18 RB6/AN12/CPS6/EUSART2 TX/SCK2/C2OUT/RP6 — Bidirectional I/O with analog, mTouch, EUSART2 TX, SPI clock, PPS remappable
ピン 19 VDD — Positive supply voltage (1.8 V to 3.6 V for LF variant)
ピン 20 VSS — Ground reference
ピン 21 RC7/AN19/CPS11/RX1/DT1/CCP7/RP19 — Bidirectional I/O with analog, mTouch, EUSART1 RX, CCP7, PPS remappable
ピン 22 RC6/AN18/CPS10/TX1/CK1/CCP6/RP18 — Bidirectional I/O with analog, mTouch, EUSART1 TX, CCP6, PPS remappable
ピン 23 RC5/AN17/CPS9/SDO1/RP8 — Bidirectional I/O with analog, mTouch, SPI SDO, PPS remappable
ピン 24 RC4/AN16/CPS8/SDI1/RP9 — Bidirectional I/O with analog, mTouch, SPI SDI, PPS remappable
ピン 25 RC3/AN15/CPS15/SCL2/CK2/RP17 — Bidirectional I/O with analog, mTouch, I2C2 SCL, PPS remappable
ピン 26 RC2/AN14/CPS14/SDA2/CCP9/PWM3ERPS2/RP16 — Bidirectional I/O with analog, mTouch, I2C2 SDA, CCP9, PPS remappable
ピン 27 RC1/AN13/CPS13/CCP8/SCK2/RP15 — Bidirectional I/O with analog, mTouch, CCP8, SPI clock, PPS remappable
ピン 28 RC0/AN12/CPS12/PWM6/RP12 — Bidirectional I/O with analog, mTouch, PWM6, PPS remappable

主な用途

PIC18LF25K40-I/SP の用途: 6 件s: Battery-Powered IoT Sensor Nodes, Consumer HMI and Remote Controls, HVAC and Building Automation Controllers, Industrial Sensor Signal Conditioning, Battery Charger and Power Management Front-End, Educational and Hobbyist Embedded Boards.

🧩

Battery-Powered IoT Sensor Nodes

The PIC18LF25K40-I/SP fits battery-powered IoT sensor nodes because its XLP Sleep current is below 50 nA typical, and the 1.8-3.6 V LF supply matches a CR2032 or 2xAA alkaline pack without a boost converter. The 10-bit ADC2 with computation (ADCC) provides hardware-averaged readings directly to Sleep, reducing firmware wake time and total energy per measurement. EUSART/SPI/I2C plus PPS let a single MCU connect to a sensor, an external EEPROM, and a sub-GHz or BLE module. Compared with a switching regulator front end, the LF linear core keeps quiescent current in the microamp range, enabling multi-year coin-cell life.

📱

Consumer HMI and Remote Controls

The PIC18LF25K40-I/SP suits consumer human-interface devices (HIDs) such as IR remote controls, e-ink displays, and small appliances because it offers 25 I/O to drive key matrices, LEDs, and low-cost LCDs while retaining the XLP sleep envelope needed for AAA-powered remotes. The 16-bit PWM plus CCP and CWG (Complementary Waveform Generator) handle backlight dimming or buzzer tones without external timer ICs. With 32 KB Flash, the device accommodates USB HID stacks, vendor-specific IR protocols, and OTA-friendly bootloaders. The 28-SPDIP package is hand-solderable, ideal for prototype through-hole HID boards.

🏭

HVAC and Building Automation Controllers

The PIC18LF25K40-I/SP is a fit for HVAC and building-automation peripherals such as thermostat sub-boards, damper actuators, and smart-valve controllers because it integrates CRC/SCAN for memory integrity monitoring in long-life installations and a 5-bit DAC plus comparators for loop-error monitoring. The 10-bit ADC with computation supports ratiometric thermistor/NTC bridges without external op-amps, and the EUSART handles RS-485 link layers through a transceiver. Running at 1.8-3.6 V from a 3.3 V LDO downstream of the 24 VAC HVAC bus, the LF variant keeps idle loss low. The 28-SPDIP package supports socketed field-replacement modules.

🏭

Industrial Sensor Signal Conditioning

The PIC18LF25K40-I/SP fits industrial 4-20 mA loop-powered sensor signal conditioning because its LF 1.8-3.6 V operation tolerates the low headroom of loop-derived supplies, and the on-chip 10-bit ADC2 with computation provides oversampling and averaging at the silicon level. The 16-bit PWM can synthesize a precision 4-20 mA loop output with the help of an external op-amp, eliminating a dedicated DAC. The CWG module generates deadband-controlled complementary drive for H-bridge sensor excitation, while PPS allows pin reassignment to keep the analog pins isolated. Industrial temperature grading and the 28-SPDIP package ease through-hole factory-floor designs.

⚡

Battery Charger and Power Management Front-End

The PIC18LF25K40-I/SP is well suited as a battery-charger and power-management front-end controller for Li-ion / NiMH packs because the 10-bit ADC2 monitors cell voltage and current with hardware averaging, and the on-chip comparators trigger over-current / under-voltage cutoffs without external analog ICs. The 16-bit PWM drives a synchronous buck or boost switch, while the CWG adds programmable deadtime for the high-side / low-side pair. LF 1.8-3.6 V operation matches single-cell Li-ion directly, and PPS routes PWM outputs to spare pins during PCB respins. The 256-byte EEPROM stores cycle-count and fault logs in non-volatile memory.

🔧

Educational and Hobbyist Embedded Boards

The PIC18LF25K40-I/SP is a strong choice for educational and hobbyist boards (Arduino-like clones, PIC training kits, breadboard-friendly prototypes) because the 28-SPDIP 300-mil package drops directly into a standard 28-pin DIP socket or ZIF socket for easy swapping. 32 KB Flash plus 2 KB RAM is enough for full XC8 projects with USB CDC or bootloader, while PPS and the rich peripheral set let students experiment with PWM, ADC, I2C and SPI on the same chip. The LF 1.8-3.6 V range lets beginners power the board from a single 3.3 V supply or two AA cells without level shifting, and the ICSP pins on /SP expose in-circuit programming via a PICkit or Snap debugger.

おすすめ製品の概要

PIC18LF25K40-I/SO Microchip Technology 使用用途: Battery-Powered IoT Sensor Nodes, Consumer HMI and Remote Controls PIC18LF24K40-I/SP Microchip Technology 使用用途: Battery-Powered IoT Sensor Nodes MCP9808 High-accuracy I2C temperature sensor commonly paired 使用用途: Battery-Powered IoT Sensor Nodes PIC18LF25K40-E/SP Microchip Technology 使用用途: Consumer HMI and Remote Controls, Industrial Sensor Signal Conditioning PIC18F25K40-I/SP Microchip Technology 使用用途: HVAC and Building Automation Controllers, Educational and Hobbyist Embedded Boards MCP2551 CAN/RS-485 transceiver companion 使用用途: HVAC and Building Automation Controllers MCP6002 Low-power op-amp for 4-20 mA loop interface 使用用途: Industrial Sensor Signal Conditioning MCP73123 Companion Li-ion charge management IC 使用用途: Battery Charger and Power Management Front-End MCP1700 3.3V LDO for always-on rail 使用用途: Battery Charger and Power Management Front-End PIC18LF46K40-I/P Pin-compatible upgrade with more Flash/RAM when scaling the lab project 使用用途: Educational and Hobbyist Embedded Boards
What is the operating voltage of PIC18LF25K40-I/SP?
The PIC18LF25K40-I/SP operates from 1.8 V to 3.6 V as the LF low-voltage variant of the K40 family. According to the Microchip PIC18(L)F2X/4XK40 datasheet, the LF suffix indicates that the device targets battery and 3.3 V systems, while the non-LF PIC18F25K40 supports up to 5.5 V. Designers must observe the upper 3.6 V limit to avoid latch-up or EEPROM corruption.
How much Flash, RAM, and EEPROM does PIC18LF25K40-I/SP have?
The PIC18LF25K40-I/SP provides 32 KB (16K x 16 words) of self-programmable Flash program memory, 2 KB of data RAM, and 256 bytes of data EEPROM. Per the Microchip PIC18(L)F2X/4XK40 datasheet, Flash supports read-while-write and ICSP, while EEPROM offers 100 k erase/write cycles endurance and is rated for byte-level access during runtime.
What is the maximum CPU clock frequency of PIC18LF25K40-I/SP?
The PIC18LF25K40-I/SP runs up to 64 MHz internal oscillator or up to 64 MHz with an external crystal input, giving a 15.6 ns instruction cycle at full speed. The PIC18 core is a Harvard-architecture 8-bit CPU with hardware 8x8 multiply and a 31-level hardware stack, well-suited to compute-light control loops and low-power sensor processing.
What package does PIC18LF25K40-I/SP use?
The PIC18LF25K40-I/SP is housed in a 28-pin SPDIP (Skinny Plastic DIP, 300 mil / 7.62 mm body width) through-hole package. The /SP suffix specifically denotes the SPDIP option among the SPDIP/SOIC/QFN variants of the same K40 die, enabling socketed or hand-solderable assembly common in legacy designs, prototypes, and educational boards.
Does PIC18LF25K40-I/SP support low-power sleep modes?
Yes. The PIC18LF25K40-I/SP integrates Microchip's XLP (eXtreme Low Power) technology with Sleep mode currents below 50 nA typical (per Microchip XLP datasheet) and multiple low-power modes including Doze, Idle and Retention Sleep. With peripherals disabled via PMD registers, an XLP node can run for years from a CR2032 coin cell, ideal for remote sensors and battery-backed IoT nodes.
Where to buy PIC18LF25K40-I/SP online?
The PIC18LF25K40-I/SP is in stock at major distributors including DigiKey, Mouser, and Microchip Direct as of 2026-09-28. XAIPART also lists this part; pricing tiers per comparator above are based on DigiKey listed pricing in USD for cut-tape / tube quantities as of the last verified date. For prototype orders of 1-10 pieces, distributor pricing is typically near the qty-1 unit price above.
What is the price of PIC18LF25K40-I/SP?
Pricing as of 2026-09-28 is approximately USD 2.77 at qty 1, USD 2.50 at qty 10, USD 2.14 at qty 100, USD 1.93 at qty 500, and USD 1.74 at qty 1000 (cut-tape / tube, distributor-listed USD pricing). Volume OEM pricing through Microchip Direct can be lower for 1k+ reels and scheduled orders. Always confirm current stock and RoHS/lead-free packaging at order entry.
What is the lead time for PIC18LF25K40-I/SP?
Lead time for PIC18LF25K40-I/SP at major distributors is typically 4-8 weeks for factory-direct orders and same-day / next-day for distributor in-stock units as of 2026-09-28. Per the DigiKey listing, the part is shown as ships-today for small qty tube orders; for high-volume OEM orders, Microchip factory scheduling should be confirmed through Microchip Direct for the most accurate delivery window.
Is PIC18LF25K40-I/SP in stock right now?
Yes, PIC18LF25K40-I/SP is listed as in stock at DigiKey and Mouser as of 2026-09-28. Per the verified web data, the DigiKey listing shows ships-today availability for the SPDIP /SP variant. For large OEM volumes, lead time and supply should be confirmed directly with Microchip factory as distributor stock can fluctuate week to week.
PIC18LF25K40-I/SP vs PIC18F25K40-I/SP - which is better for a 3.3 V battery design?
For a 3.3 V battery design the PIC18LF25K40-I/SP is the correct choice, while the PIC18F25K40-I/SP targets 5 V rails. Both share the same K40 die, 32 KB Flash, 2 KB RAM, 25 I/O, and 28-SPDIP package, so the LF is a drop-in replacement if you stay within 1.8-3.6 V. Per the Microchip PIC18(L)F2X/4XK40 datasheet, the LF variant adds optimized XLP sleep modes and a lower core operating range to maximize battery life.
When should I choose PIC18LF25K40-I/SP over PIC18F25K40?
Choose PIC18LF25K40-I/SP when your system runs at 1.8-3.6 V (typical of coin-cell, Li-ion, or 3.3 V regulated rails) and when you need the deepest Sleep current for battery life. Choose PIC18F25K40 only if your board requires 5 V operation, automotive 5 V tolerance, or interfacing directly to legacy 5 V peripherals. Both share the same die, peripherals, and pinout on /SP packaging, easing migration.
What is the best drop-in replacement for PIC18LF25K40-I/SP?
The closest drop-in replacement is PIC18LF25K40-I/SO (SOIC-28 wide), which shares the same K40 die, memory map, peripheral set and pinout but in a surface-mount SOIC package; not in the same SPDIP /SP package. For a same-package /SP drop-in within the K40 family, PIC18LF25K40-E/SP (extended temperature, -40C to +125C) is pin-to-pin compatible. Both are confirmed via Microchip parametric search and the Microchip cross-reference tool.
Can PIC18LF24K40-I/SP replace PIC18LF25K40-I/SP?
PIC18LF24K40-I/SP is pin-to-pin compatible in 28-SPDIP and shares the K40 family, but it has only 16 KB Flash (vs 32 KB on the /25K40), so it is not a transparent memory-identical drop-in. Per Microchip parametric data, the /24K40 fits lower-memory applications; code compiled for the /25K40 will fit only if it stays under 16 KB. Always recompile and verify memory map before substituting.
Where to download PIC18LF25K40-I/SP datasheet PDF?
The official datasheet PDF for PIC18LF25K40-I/SP is hosted at https://ww1.microchip.com/downloads/en/DeviceDoc/PIC18-(L)F2X-4XK40-40001943G.pdf per the Microchip product page. The 28-SPDIP /SP variant is covered in the same datasheet as the /SO and /ML package options. The PIC18(L)F2X/4XK40 family datasheet includes pinout, electrical characteristics, and peripheral configuration details for all K40 family members.
What is the best alternative brand equivalent for PIC18LF25K40-I/SP?
There is no cross-brand pin-and-feature equivalent in 28-SPDIP for the PIC18LF25K40-I/SP from another major MCU manufacturer, because the PIC18LF25K40 die, PPS map, and CIP peripheral set are Microchip-proprietary. For cross-vendor designs, ATmel/Microchip ATmega328P-PU in 28-SPDIP is the closest pin-count 8-bit MCU option, but it differs in toolchain (AVR-GCC vs XC8) and peripherals, so it is NOT a drop-in replacement. Microchip parametric search lists compatible Microchip parts within the K40 family only.
What peripherals are available on PIC18LF25K40-I/SP?
The PIC18LF25K40-I/SP integrates 9 timers, 2 PWM/CCP channels plus a 16-bit PWM and a Complementary Waveform Generator (CWG), 2 comparators with selectable reference, 1 zero-cross detect (ZCD), 1 10-bit ADC2 with computation (ADCC), 1 5-bit DAC, 1 CRC/SCAN module, 1 WWDT, plus EUSART, SPI and I2C communication. The Peripheral Pin Select (PPS) block allows flexible digital peripheral remapping to most I/O pins, easing PCB routing in dense designs.

エンジニアリング参考データ: PIC18LF25K40-I/SP — 比較、設計ガイダンス、コンプライアンス情報。

選定ガイド

Choose PIC18LF25K40-I/SP when your design runs from a 1.8-3.6 V supply (coin cell, Li-ion, 2xAA, or 3.3 V regulated rail), needs deep Sleep below 50 nA typical, and benefits from Peripheral Pin Select flexibility on a through-hole 28-SPDIP footprint. Pick PIC18LF25K40-E/SP instead if the enclosure sees -40C to +125C. Pick PIC18F25K40-I/SP if the board is on a 5 V rail or must interface to legacy 5 V peripherals. Pick PIC18LF24K40-I/SP only if 16 KB Flash is enough and you want a few cents off unit cost. For surface-mount reflow designs, use the SOIC-28 wide variant PIC18LF25K40-I/SO. Avoid the K22 generation (PIC18LF25K22-I/SP) for new designs - it lacks PPS, has only 1 KB RAM, and uses the older non-computation ADC.

代替品との比較

パラメータ この製品 PIC18LF25K40-E/SP PIC18LF25K40-I/SO PIC18F25K40-I/SP PIC18LF24K40-I/SP PIC18LF25K22-I/SP
Package 28-SPDIP (300 mil) 28-SPDIP - same 28-SOIC wide - different footprint 28-SPDIP - same 28-SPDIP - same 28-SPDIP - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash Program Memory 32 KB 32 KB 32 KB 32 KB 16 KB 32 KB
Data RAM 2 KB 2 KB 2 KB 2 KB 2 KB 1 KB
Data EEPROM 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes
Operating Voltage 1.8 V to 3.6 V (LF) 1.8 V to 3.6 V (LF) 1.8 V to 3.6 V (LF) 2.3 V to 5.5 V (F) 1.8 V to 3.6 V (LF) 1.8 V to 3.6 V (LF)
Max CPU Frequency 64 MHz 64 MHz 64 MHz 64 MHz 64 MHz 64 MHz
I/O Pins 25 25 25 25 25 24
ADC 10-bit ADC2 (computation) 10-bit ADC2 (computation) 10-bit ADC2 (computation) 10-bit ADC2 (computation) 10-bit ADC2 (computation) 10-bit ADC (no computation)
PPS (Peripheral Pin Select) Yes Yes Yes Yes Yes No
Operating Temperature -40C to +85C -40C to +125C -40C to +85C -40C to +85C -40C to +85C -40C to +85C
Unit Price (qty 1, USD) 2.77 2.95 2.77 2.77 2.55 3.10

主な差別化要因

  • Lowest power LF variant of K40 family in 28-SPDIP (vs PIC18F25K40-I/SP)
  • Full PPS flexibility across 25 I/O pins (vs PIC18LF25K22-I/SP)
  • ADC with computation (ADCC) hardware averaging (vs PIC18LF24K40-I/SP)

設計ノート

The PIC18LF25K40-I/SP is an LF (low-voltage) variant with a 1.8 V to 3.6 V supply range. Decouple VDD pins (pin 10, 19) with a 100 nF ceramic placed within 5 mm of each VDD/VSS pair and a bulk 1 uF to 10 uF on the main rail. For battery-powered designs, route the unregulated battery through a low-Iq LDO such as MCP1700; the LF core draws under 50 nA in Sleep, so the LDO Iq dominates standby budget - choose an LDO with Iq below 1.6 uA to preserve multi-year coin-cell life.

Place the 28-SPDIP socketed footprint with pin 1 marker aligned to the upper-left for a standard 300-mil DIP socket. Keep crystal traces short and guard the analog pins (RA0-RA4) with a ground ring; assign them as analog-only (ANSEL) before any digital function. Route the ICSP pins (RA6/RA7) to a 6-pin header compatible with PICkit/Snap and reserve them as digital-only (no analog) to avoid loading the programming clock. Peripheral Pin Select (PPS) lets you remap UART/PWM/SPI, so place those peripheral targets on any spare I/O pin without re-spinning the PCB.

Do not assume PIC18LF25K40-I/SP is 5 V tolerant - the LF variant maxes at 3.6 V on VDD and most I/O; driving a 5 V rail into an LF pin can latch-up. Use the non-LF PIC18F25K40 if your board needs 5 V tolerance. Also remember that PPS mapping must be configured at runtime in code: a peripheral will not function until its RPx assignment is set in the appropriate PPS register. Finally, leaving the on-board ADC enabled in Sleep can raise current by 1-2 uA; disable via PMD before entering Sleep if you want full XLP performance.

Estimated: based on datasheet pinout, route PPS inputs only to pins marked RPn (RP0 through RP19) on this 28-SPDIP - non-RPn pins cannot be assigned a PPS input even though they are GPIO. Keep SPI bus traces under 50 mm and add 4.7 kohm pull-ups on SDA/SCL to 3.3 V. The 16-bit PWM and CWG outputs can be routed to any RPn pin; place the gate-driver FETs within 10 mm of the PWM output pin to minimize ringing.

コンプライアンス情報

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
鉛フリー
Yes
ハロゲンフリー
Yes
紛争鉱物
Compliant

RoHS and REACH compliant per Microchip product page; lead-free and halogen-free per Microchip material specs. AEC-Q100 not applicable (consumer/industrial grade MCU). The E/SP extended-temp variant is recommended for harsh-environment designs but is not AEC-Q100 qualified.

データ検証日: 2026-09-28 — データはXAIPARTの部品エンジニアリングチームによって検証・管理されています

関連検索

PIC18LF25K40-I/SP PIC18LF25K40-I/SP datasheet Microchip PIC18LF25K40 PIC18LF25K40-I/SP price PIC18LF25K40-I/SP buy PIC18LF25K40 vs PIC18F25K40 PIC18LF25K40-I/SP drop-in replacement 8-bit XLP MCU 32KB Flash SPDIP low power microcontroller 28-pin DIP PIC18 K40 peripheral pin select PIC18LF25K40-I/SP pinout IoT sensor node MCU 3.3V battery powered MCU CR2032 what is the operating voltage of PIC18LF25K40

関連部品&用語

Microchip Technology PIC18LF25K40 PIC18LF25K40-I/SP PIC18LF25K40-E/SP PIC18LF25K40-I/SO PIC18F25K40-I/SP PIC18LF24K40-I/SP PIC18LF25K22-I/SP 8-bit microcontroller PIC18 core RISC architecture XLP technology Peripheral Pin Select PPS MPLAB XC8 ICSP ICD / PICkit / Snap debugger ADCC (ADC with computation) CWG (Complementary Waveform Generator) CRC/SCAN module 28-SPDIP package RoHS compliant REACH compliant IoT sensor node battery-powered design
クイック見積RFQ
詳細をすべてご記入ください — 営業チームが24時間以内にご返信いたします
部品番号 メーカー パッケージ QTY 目標価格 小計
合計: $0.00 USD
✓
見積を送信しました!

24時間以内にメールでご返信いたします

1
RFQ送信済み
2
見積受領
3
注文済み
4
お支払い
5
発送済み
6
配達済み
RFQの詳細を表示