PIC18F25K22-E/ML - 32KB Flash 8-Bit MCU, 28-QFN | Microchip
MPN: PIC18F25K22-E/ML ✓ Hoạt độngPIC18F25K22-E/ML Tóm tắt
A PIC18 microcontroller is a member of Microchip's 8-bit PIC (Peripheral Interface Controller) family, which uses a modified Harvard RISC architecture. Within the broader taxonomy, it sits under: microcontroller -> MCU -> embedded controller -> semiconductor. The PIC18F2X/4XK22 sub-family introduced nanoWatt XLP technology, peripheral enhancements, and design improvements that make these devices logical choices for many high-performance and power-sensitive applications where extended battery life and rich peripheral integration matter.
Key features include 12-bit ADC with up to 17 channels, multiple communication interfaces (two MSSP for I2C/SPI, two enhanced USART with LIN support), up to four 16-bit timers, two comparators, and a charge time measurement unit (CTMU) for capacitive touch sensing. The CTMU enables cost-effective mTouch capacitive touch interfaces without external analog components, and the PMP (Parallel Master Port) supports direct connection to graphical LCDs or external memory.
The PIC18F25K22 uses a 16-bit instruction word with a 8-bit data path, delivering C-compiler-friendly code density and deterministic interrupt latency. Internal oscillator calibration and fail-safe clock monitor improve robustness in electrically noisy environments, while wide operating voltage and rich peripheral set reduce BOM cost.
Typical applications include low-power IoT edge nodes, industrial sensor interfaces, automotive body and HVAC modules (AEC-Q100 grade 1), capacitive touch user interfaces, portable medical and consumer devices, and USB-less embedded control requiring long battery life. The wide voltage range and flexible peripherals also suit battery chargers, smart meters, and home appliances.
When designing with this device, place the decoupling capacitor as close to VDD as possible, leave the exposed pad (EP) soldered to a continuous ground plane for thermal dissipation, and configure unused I/O as outputs to minimize current draw. For low-power designs, leverage the multiple idle/sleep modes and the RTCC with calendar functionality.
This page synthesizes distributor pricing, same-brand drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone - giving engineers an at-a-glance comparison for sourcing, redesign, and validation.
Bộ thay thế dễ dàng lắp đặt cho PIC18F25K22-E/ML — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC18F25K22-E/ML (cùng hình factor và footprint) — khác nhau ở Package, Timers, ADC, Core Architecture, Maximum CPU Speed.
PIC18F25K22-I/ML
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F25K20-I/ML
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC18F25K20-E/ML
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F25K20T-I/ML
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F25K22-E/ML Tỷ lệ tối đa & tính chất điện
| Architecture | PIC 8-bit RISC (Harvard) |
| Instruction Word Size | 16-bit |
| Program Memory (Flash) | 32 KB |
| Data SRAM | 1.5 KB (1536 bytes) |
| Maximum CPU Speed | 64 MHz internal (16 MIPS) / 20 MHz external at 5 V |
| Supply Voltage Range | 1.8 V to 5.5 V |
| Khoảng nhiệt độ hoạt động | -40 °C to +125 °C (E suffix = extended) |
| I/O Pins | 25 |
| ADC | 12-bit, up to 17 channels |
| Timers | 4x 8-bit/16-bit Timer/Counter modules |
| Communication Interfaces | 2x MSSP (I2C/SPI), 2x EUSART (LIN/IrDA) |
| Comparators | 2 |
| CTMU (Capacitive Touch) | Yes - supports mTouch capacitive sensing |
| Parallel Master Port (PMP) | Yes |
| Hộp | 28-pin QFN (6x6 mm) with Exposed Pad |
| Kiểu lắp đặt | Surface Mount |
| Cấp MSL | 1 |
| Trạng thái RoHS | Compliant |
| Automotive Grade | AEC-Q100 qualified (per datasheets.com parametric data) |
Cấu hình chân PIC18F25K22-E/ML
| Chân 1 | RA3/AN3/Vref+ — Bidirectional I/O / Analog input 3 / ADC positive reference |
| Chân 2 | RA2/AN2 — Bidirectional I/O / Analog input 2 |
| Chân 3 | RA1/AN1 — Bidirectional I/O / Analog input 1 |
| Chân 4 | RA0/AN0 — Bidirectional I/O / Analog input 0 |
| Chân 5 | RA5/T1CKI — Bidirectional I/O / Timer1 clock input |
| Chân 6 | RA4/T0CKI — Bidirectional I/O / Timer0 clock input |
| Chân 7 | VDD — Positive supply voltage |
| Chân 8 | VSS — Ground reference |
| Chân 9 | RA7/OSC1/CLKI — Bidirectional I/O / Crystal oscillator input / External clock |
| Chân 10 | RA6/OSC2/CLKO — Bidirectional I/O / Crystal oscillator output / Clock output |
| Chân 11 | RC0/SOSCO — Bidirectional I/O / Timer1 secondary oscillator output |
| Chân 12 | RC1/SOSCI — Bidirectional I/O / Timer1 secondary oscillator input |
| Chân 13 | RC2/CCP1 — Bidirectional I/O / Capture/Compare/PWM 1 |
| Chân 14 | RC3/SEG7 — Bidirectional I/O / LCD segment 7 (variant) |
| Chân 15 | RC4/SDA/SDI — Bidirectional I/O / I2C data / SPI data in |
| Chân 16 | RC5/SCL/SCK — Bidirectional I/O / I2C clock / SPI clock |
| Chân 17 | RC6/TX/CK — Bidirectional I/O / EUSART TX / clock |
| Chân 18 | RC7/RX/DT — Bidirectional I/O / EUSART RX / data |
| Chân 19 | RB0/INT0/FLT0 — Bidirectional I/O / External interrupt 0 / PWM fault |
| Chân 20 | RB1/INT1 — Bidirectional I/O / External interrupt 1 |
| Chân 21 | RB2/INT2 — Bidirectional I/O / External interrupt 2 |
| Chân 22 | RB3/CCP2 — Bidirectional I/O / Capture/Compare/PWM 2 |
| Chân 23 | RB4 — Bidirectional I/O / interrupt-on-change |
| Chân 24 | RB5 — Bidirectional I/O / interrupt-on-change |
| Chân 25 | RB6/PGC — Bidirectional I/O / ICSP clock / interrupt-on-change |
| Chân 26 | RB7/PGD — Bidirectional I/O / ICSP data / interrupt-on-change |
| Chân 27 | RE3/MCLR/Vpp — Input only / Master Clear reset / Programming voltage |
| Chân 28 | VSS — Ground reference |
| Chân 29 | EP (Exposed Pad) — Thermal pad - solder to GND plane for heat dissipation |
Ứng dụng tiêu biểu
PIC18F25K22-E/ML phù hợp cho 7 Áp dụngs: Capacitive Touch User Interface (mTouch), Industrial Sensor Interface Node, Automotive Body and HVAC Module, Low-Power IoT Edge Node, Battery-Powered Portable Medical Device, Graphical LCD Display Controller, Smart Home Appliance Control Board.
Capacitive Touch User Interface (mTouch)
The PIC18F25K22-E/ML's integrated Charge Time Measurement Unit (CTMU) enables up to 16 capacitive touch buttons or a slider without any external analog components. The 12-bit ADC measures the discharge time constant of each electrode, while the 32 KB Flash holds the Microchip mTouch library and user firmware. At 5 V VDD the IC draws only ~5 mA active and <100 nA in sleep, suiting battery-powered remote controls, white goods, and industrial HMIs where sealed glass overlays must replace mechanical switches.
Được đề xuất
Industrial Sensor Interface Node
The 12-bit ADC with up to 17 channels, two comparators, and 1.8-5.5 V wide-voltage supply make the PIC18F25K22-E/ML ideal for 4-20 mA loop-powered sensor transmitters, RTD/thermocouple front ends, and bridge sensor excitation. The MSSP peripherals drive SPI/I2C sensors, while the EUSART handles RS-485 Modbus links. Extended -40 to +125 °C operation supports outdoor and factory-floor deployment; the 1.5 KB SRAM plus 32 KB Flash comfortably holds the Modbus stack plus application code.
Được đề xuất
Automotive Body and HVAC Module
AEC-Q100 qualification and the extended -40 to +125 °C range qualify the PIC18F25K22-E/ML for body controllers, HVAC blend-door actuators, and lighting modules. The enhanced USART with LIN 2.x hardware support enables direct LIN bus slave communication, while the CTMU detects touch on overhead console panels. The 28-QFN (6x6 mm) with exposed pad delivers AEC-Q100 thermal performance without an external heatsink, keeping PCB footprint competitive against 32-bit Cortex-M0+ alternatives in cost-sensitive automotive body ECUs.
Được đề xuất
Low-Power IoT Edge Node
The nanoWatt XLP technology gives the PIC18F25K22-E/ML standby currents below 100 nA with RTC active - enabling multi-year coin-cell operation for wireless sensor nodes. The wide 1.8-5.5 V VDD range simplifies direct LiSO2 or alkaline battery connections. Two MSSP peripherals can host an SPI radio (e.g., Sub-GHz transceiver) and an I2C sensor, while the 32 KB Flash supports over-the-air bootloader upgrades. Sleep current of <50 nA (with RTCC + WDT) enables >10-year battery life on a CR2032.
Được đề xuất
Battery-Powered Portable Medical Device
Medical devices such as portable glucose meters, nebulizers, and pulse oximeters benefit from the PIC18F25K22-E/ML's 12-bit ADC for sensor signal conditioning, nanoWatt XLP for long battery life, and 32 KB Flash for FDA-firmware requirements. The CTMU supports touch-button interfaces on sealed enclosures (critical for IP-rated medical devices). Extended -40 to +125 °C operation handles sterilization environments, and the small 6x6 mm QFN fits compact handheld form factors while the exposed pad aids continuous-skin thermal performance.
Được đề xuất
Graphical LCD Display Controller
The integrated Parallel Master Port (PMP) on the PIC18F25K22-E/ML can directly interface with graphical LCDs (e.g., 128x64 or 240x128 monochrome displays) without an external graphics controller IC, reducing BOM cost. The 1.5 KB SRAM is sufficient for framebuffer tiling, and 32 KB Flash holds the user interface library plus fonts. The MSSP can simultaneously manage an SPI flash for image storage. The 28-QFN footprint allows the MCU + display module to fit behind a 2.4-inch TFT in HMI applications.
Được đề xuất
Smart Home Appliance Control Board
Washing machines, dishwashers, and ovens use the PIC18F25K22-E/ML for motor/valve control via PWM, temperature sensing via the 12-bit ADC, and user input via capacitive touch buttons (CTMU). The wide voltage range allows direct 5 V regulator input from rectified mains, while the two EUSARTs can simultaneously drive a user display and a service/diagnostic port. AEC-Q100-like extended temperature grading makes it tolerant of the heat inside appliances, and 32 KB Flash accommodates appliance-specific state machines and safety logic.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PIC18F25K22-E/ML — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | PIC18F25K22-I/ML | PIC18F25K22-E/SP | PIC18F25K20-I/ML | PIC18F25K20-E/ML |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-QFN (6x6 mm) | 28-QFN (6x6 mm) - same | 28-SPDIP (through-hole) - different footprint | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same |
| Temperature Grade | Extended -40 to +125 °C | Industrial -40 to +85 °C | Extended -40 to +125 °C | Industrial -40 to +85 °C | Extended -40 to +125 °C |
| Flash Memory | 32 KB | 32 KB | 32 KB | 32 KB | 32 KB |
| Data SRAM | 1.5 KB | 1.5 KB | 1.5 KB | 1.5 KB | 1.5 KB |
| CTMU Capacitive Touch | Yes | Yes | Yes | No | No |
| Hardware LIN Support | Yes | Yes | Yes | No (USART only) | No (USART only) |
| Minimum VDD | 1.8 V | 1.8 V | 1.8 V | 2.0 V | 2.0 V |
Bảo phân biệt quan trọng
- Integrated CTMU capacitive touch controller (vsPIC18F25K20-I/ML)
- Hardware LIN 2.x bus support (vsPIC18F25K20-I/ML)
- Wider operating voltage range (vsPIC18F25K20-I/ML)
- Extended temperature grade standard (vsPIC18F25K22-I/ML)
Ghi chú thiết kế
Solder the QFN-28 exposed pad (pin 29) to a continuous ground plane with at least 8 thermal vias to a bottom-layer copper pour. Without proper EP soldering, junction-to-ambient thermal resistance (theta_JA) rises from ~28 C/W to >80 C/W, causing thermal shutdown at higher ambient temperatures. Place a 100 nF decoupling capacitor within 3 mm of the VDD pin, and add a 10 uF bulk capacitor at the board-level for transient load response.
For low-power battery designs, leverage the nanoWatt XLP sleep modes (Sleep, Idle, RTCC modes) and use the RTCC with a 32.768 kHz crystal on SOSCO/SOSCI for timekeeping under 500 nA. Configure all unused I/O pins as outputs driving low to eliminate floating-input leakage currents (typically 50-200 nA per floating pin). Use the internal LFINTOSC for ultra-low-power wake-up rather than the HFINTOSC.
Do not exceed 10 MHz internal oscillator at VDD below 3.0 V - the Microchip datasheet specifies that full 64 MHz operation requires VDD >= 3.0 V. Always configure the PPS (Peripheral Pin Select) registers on EUSART and MSSP peripherals before enabling them, or the pins will not function. For LIN applications, enable the EUSART LIN helper hardware and configure baud rate to 19200 bps before entering Normal mode. Also verify MCLR is tied to VDD via a 10 kohm pull-up if not using external reset.
Place the 32.768 kHz crystal within 5 mm of SOSCO/SOSCI pins (RC0/RC1) and route its traces over an isolated ground island connected to the MCU VSS at one point only. Keep analog (ADC) traces away from switching signals and PWM outputs by at least 3 trace widths. The 12-bit ADC achieves 1 LSB accuracy only when the Vref source impedance is below 2.5 kohm, so add a 100 nF + 10 uF bypass directly at the Vref+ pin.
Thông tin tuân thủ
AEC-Q100 qualification per datasheets.com parametric data; RoHS and lead-free per Microchip product page. Halogen-free and REACH compliance per Microchip material declaration.