PIC18F25K20T-I/ML - 8-bit MCU, 32KB Flash, 64MHz, QFN-28
MPN: PIC18F25K20T-I/ML ✓ 啟用中PIC18F25K20T-I/ML 概覽
A microcontroller (MCU) is a single-chip computer containing a processor core, program memory (Flash/ROM), data memory (RAM), and peripherals such as ADC, timers, and communication interfaces. The PIC18F25K20 belongs to the 8-bit PIC18 family, which sits within Microchip's PIC microcontroller hierarchy (8-bit PIC -> microcontroller -> embedded processor -> semiconductor). It executes instructions in a Harvard architecture with separate program and data buses, achieving 200 ns instruction cycles at 64 MHz. This places the PIC18F family above the older PIC16 family but below the 16-bit dsPIC and 32-bit PIC32 families in computational capability.
Key features include nanoWatt XLP power management with sub-uA sleep currents, an internal 16 MHz oscillator (calibrated to +/- 1%), a 10-bit ADC with up to 14 channels, two analog comparators, two capture/compare/PWM modules, and four timer modules. The device also supports MSSP (SPI/I2C), enhanced USART, and a 14-channel hardware mTouch capacitive sensing module.
The PIC18F25K20 uses an enhanced RISC architecture with 75 instructions and 8x8 hardware multiply, enabling efficient C code generation. Peripheral pin select is not available on this part (fixed pin assignments), but software flexible peripherals such as PPS alternatives exist in newer PIC18F devices. Self-programmability supports in-application firmware updates.
Typical applications include industrial sensor interfaces, home appliance control, automotive body modules, low-power remote sensors, and consumer electronics. Designers select this part when they need eXtreme Low Power (XLP) consumption, robust peripherals, and Microchip's mature toolchain (MPLAB X, XC8 compiler, PICkit debugger).
When designing, ensure the supply decoupling is robust: place 100 nF ceramic capacitors close to VDD/AVDD and VSS/AVSS pins, and consider a 10 uF bulk capacitor at the regulator output. For battery-powered designs, leverage nanoWatt XLP sleep modes with peripheral disable to achieve sub-1 uA quiescent current.
This page synthesizes distributor pricing, drop-in package-compatible alternatives, and practical design notes not found in the standalone datasheet.
直接替換替代品,適用於 PIC18F25K20T-I/ML — 相同封裝,腳位對腳位相容。需重新設計 PCB 的不同封裝零件不列入。
此系列的變體
與下列產品可直接替換的同系列型號: PIC18F25K20T-I/ML (相同外形與佔位) — 差異在於 ADC, Package, Timers, Maximum CPU Speed, Mounting Type.
PIC18F25K20-I/ML
✅ 直接替換📋 參考替代品(不在目錄中)
PIC18F25K20-E/ML
✅ 直接替換聯絡詢價
查看資料表 →PIC18F25K20T-I/MV
✅ 直接替換 ⚠️ 規格未經驗證📋 參考替代品(不在目錄中)
PIC18F24K20T-I/ML
✅ 直接替換📋 參考替代品(不在目錄中)
PIC18F25J10-I/ML
✅ 直接替換📋 參考替代品(不在目錄中)
PIC18F25K20T-I/ML 最大額定值與電氣特性
| Core Architecture | 8-bit PIC18 enhanced RISC |
| Program Memory (Flash) | 32 KB (16K x 16) |
| SRAM | 1536 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Supply Voltage Range | 1.8 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 10-bit, up to 14 channels |
| Timers | 4 (Timer0/1/2/3) |
| Capture/Compare/PWM | 2 enhanced CCP modules |
| Communication | 1x MSSP (SPI/I2C), 1x EUSART |
| Comparators | 2 analog comparators |
| 工作溫度 | -40C to +85C (Industrial) |
| 封裝 | 28-pin QFN (6x6 mm) with exposed pad |
| 安裝類型 | Surface Mount (Tape & Reel) |
| RoHS 狀態 | Compliant |
PIC18F25K20T-I/ML 腳位配置
| 腳位 1 | RA2/AN2 — Port A bit 2 / Analog input 2 |
| 腳位 2 | RA3/AN3/VREF+ — Port A bit 3 / Analog input 3 / ADC VREF+ |
| 腳位 3 | RA4/T0CKI — Port A bit 4 / Timer0 clock input |
| 腳位 4 | RA5/AN4 — Port A bit 5 / Analog input 4 |
| 腳位 5 | Vss — Ground |
| 腳位 6 | RA7/OSC2 — Port A bit 7 / Oscillator output |
| 腳位 7 | RA6/OSC1 — Port A bit 6 / Oscillator input |
| 腳位 8 | RB0/INT0 — Port B bit 0 / External interrupt 0 |
| 腳位 9 | RB1/INT1 — Port B bit 1 / External interrupt 1 |
| 腳位 10 | RB2/INT2 — Port B bit 2 / External interrupt 2 |
| 腳位 11 | RB3/CCP2 — Port B bit 3 / Capture Compare PWM 2 |
| 腳位 12 | RB4 — Port B bit 4 |
| 腳位 13 | RB5 — Port B bit 5 |
| 腳位 14 | RB6/PGC — Port B bit 6 / ICSP clock |
| 腳位 15 | RB7/PGD — Port B bit 7 / ICSP data |
| 腳位 16 | Vdd — Positive supply |
| 腳位 17 | RC0 — Port C bit 0 |
| 腳位 18 | RC1 — Port C bit 1 |
| 腳位 19 | RC2/CCP1 — Port C bit 2 / Capture Compare PWM 1 |
| 腳位 20 | RC3 — Port C bit 3 |
| 腳位 21 | RC4 — Port C bit 4 |
| 腳位 22 | RC5 — Port C bit 5 |
| 腳位 23 | RC6 — Port C bit 6 |
| 腳位 24 | RC7 — Port C bit 7 |
| 腳位 25 | Vss — Ground |
| 腳位 26 | Vdd — Positive supply |
| 腳位 27 | RA0/AN0 — Port A bit 0 / Analog input 0 |
| 腳位 28 | RA1/AN1 — Port A bit 1 / Analog input 1 |
典型應用
PIC18F25K20T-I/ML 適用於 6 應用s: Industrial Sensor Interface, Home Appliance Control, Automotive Body Electronics, Battery-Powered IoT Sensor, Consumer Electronics, Capacitive Touch Interface.
Industrial Sensor Interface
The PIC18F25K20T-I/ML suits industrial sensor interfaces because its 10-bit ADC with 14 channels captures multiple analog inputs while nanoWalt XLP sleep modes support battery-backed remote sensors. With 32 KB Flash and 1536 bytes SRAM, firmware can implement Modbus RTU over the integrated EUSART, plus SPI sensor expansion via MSSP. The 64 MHz CPU runs PID loops at >1 kHz sample rates, while the industrial -40C to +85C temperature range ensures deployment in harsh factory environments.
推薦
Home Appliance Control
The PIC18F25K20T-I/ML controls home appliances such as washing machines, microwave ovens, and HVAC thermostats. Its two enhanced CCP modules drive TRIAC or IGBT power stages for motor speed and heater regulation, while the 25 I/O pins connect to keypads, LED displays, and buzzer drivers. nanoWalt XLP reduces standby power to <1 uA, helping meet Energy Star limits, and 256 bytes EEPROM retains user settings across power cycles.
推薦
Automotive Body Electronics
In automotive body modules such as lighting controllers and seat adjusters, the PIC18F25K20T-I/ML provides 32 KB Flash for CAN/LIN protocol stacks and 1536 bytes SRAM for message buffering. The 64 MHz core handles LIN 2.x communication at 20 kbaud with headroom for diagnostics, while the wide 1.8 V to 5.5 V supply tolerates cranking transients. The -40C to +85C range and 28-pin QFN footprint support compact under-dash modules.
推薦
Battery-Powered IoT Sensor
The PIC18F25K20T-I/ML fits battery-powered IoT sensor nodes because nanoWalt XLP technology delivers sub-100 nA sleep current and 1.8 V to 5.5 V operation directly from a single Li-ion cell. Its 10-bit ADC reads temperature, humidity, or gas sensors, while the MSSP connects to SPI or I2C sensor front-ends. With 32 KB Flash, the device implements wireless protocol stacks (e.g., proprietary RF or LoRaWAN) using the EUSART for module interface.
推薦
Consumer Electronics
The PIC18F25K20T-I/ML powers consumer devices such as remote controls, toys, and small appliances by balancing 32 KB Flash and 1536 bytes RAM with a sub-$3 unit price. Its 25 I/O pins drive LED arrays, button matrices, and piezo speakers, while the EUSART supports firmware updates via UART bootloaders. The 28-pin QFN package achieves <50 mm^2 PCB area, ideal for space-constrained wearable and portable designs.
推薦
Capacitive Touch Interface
The PIC18F25K20T-I/ML supports up to 14 mTouch capacitive touch buttons via its CTMU (Charge Time Measurement Unit) peripheral. This eliminates mechanical buttons in appliance fronts, providing reliable sealed interfaces. The 32 KB Flash stores touch calibration data and gesture algorithms, while the MSSP drives SPI-based TFT displays for status feedback in kitchen and bathroom products.
推薦
推薦產品摘要
工程參考資料,適用於 PIC18F25K20T-I/ML — 比較、設計指引及合規資訊。
選型指南
與替代品比較
| 參數 | 本產品 | PIC18F25K20-I/ML | PIC18F25K20-E/ML | PIC18F24K20T-I/ML | PIC18F25J10-I/ML |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-QFN (6x6) | 28-QFN (6x6) | 28-QFN (6x6) | 28-QFN (6x6) | 28-QFN (6x6) |
| Program Memory (Flash) | 32 KB | 32 KB | 32 KB | 16 KB | 32 KB |
| SRAM | 1536 B | 1536 B | 1536 B | 768 B | 1024 B |
| Maximum CPU Speed | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 48 MHz |
| Operating Temperature | -40C to +85C | -40C to +85C | -40C to +125C | -40C to +85C | -40C to +85C |
| ADC | 10-bit, 14 ch | 10-bit, 14 ch | 10-bit, 14 ch | 10-bit, 14 ch | 10-bit, 13 ch |
| Supply Voltage | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 2.0 V to 5.5 V |
| Unit Price (qty 1) | $4.10 | $4.05 | $4.35 | $3.40 | $3.20 |
主要差異化特點
- Extended temperature range variant available (對比PIC18F25K20-I/ML)
- Higher CPU speed than J-series (對比PIC18F25J10-I/ML)
- Larger memory than K24 variant (對比PIC18F24K20T-I/ML)
設計說明
Place a 100 nF ceramic decoupling capacitor within 5 mm of each VDD/AVDD pin and a 10 uF bulk capacitor near the regulator output. For battery-powered designs, leverage nanoWatt XLP sleep modes (Sleep, Deep Sleep, and VREG Sleep) and disable peripherals individually to achieve sub-1 uA quiescent current. The on-board LDO requires VDD >= 1.8 V for regulation; below 1.8 V use an external supply or boost converter.
The 28-pin QFN package has an exposed thermal pad that must be soldered to a PCB pad for mechanical reliability and thermal dissipation. Connect the exposed pad to the ground plane with thermal vias (4-9 vias in a 0.3 mm pattern). Use 0402 or 0603 passive components to fit between the small QFN pad pitch, and route signal traces on inner PCB layers for clean impedance control.
Route the ICSP clock (PGC, RB6) and data (PGD, RB7) signals to a dedicated programming header with no series resistors, allowing direct PICkit connection during development. Place the ICSP header at the PCB edge with accessible test points for in-circuit debugging. Avoid routing high-frequency switching signals adjacent to the ICSP pins to prevent programming noise.
Do not leave the MCLR pin floating: connect it to VDD through a 10 kohm pull-up resistor and add a 100 nF decoupling capacitor to ground for noise immunity. The CONFIG words must be programmed at production time to enable internal oscillator and disable watchdog if not used. When migrating code between PIC18F variants, verify the register map as some peripheral registers differ between K-series and J-series devices.
For high-speed SPI or I2C communication, keep bus traces short (<50 mm) and add 4.7 kohm pull-ups on I2C lines. The MSSP peripheral supports both 100 kHz Standard and 400 kHz Fast I2C modes. When using the ADC, add a 100 nF bypass capacitor on the AVSS/AVDD pair and avoid switching signals near analog pins to minimize coupling noise.
合規資訊
RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified - select PIC18F25K20-E/ML for automotive-grade temperature range.