PIC18LF25K22-I/SO - 8-bit XLP 32KB Flash MCU | Microchip
MPN: PIC18LF25K22-I/SO ✓ Hoạt độngPIC18LF25K22-I/SO Tóm tắt
A microcontroller is a single-chip computer that integrates a CPU core, non-volatile program memory (Flash), working memory (RAM), and configurable peripherals (ADC, timers, UART, I2C, SPI, comparators) onto one die. The PIC18 K-series microcontrollers extend Microchip's 8-bit architecture with enhanced peripheral integration, larger memory densities, and nanoWatt eXtreme Low Power (XLP) modes that are widely used in consumer, industrial, and IoT applications. Within the PIC taxonomy, the PIC18LF25K22 belongs to the 8-bit PIC18 family -> 8-bit PIC microcontroller -> microcontroller -> embedded controller -> semiconductor IC.
Key features include 10-bit ADC with up to 17 channels, multiple capture/compare/PWM modules, two USART modules, MSSP (SPI/I2C), two analog comparators with rail-to-rail inputs, and ultra-low-power sleep modes down to 20 nA typical. The device also supports an internal 16 MHz oscillator, peripheral pin select (PPS), and 25 mA source/sink current per I/O pin. With CIP (Core Independent Peripherals) such as CWG and DSM, designers can offload waveform generation from the CPU.
Typical applications include low-power wireless sensor nodes, battery-powered medical devices, e-metering, remote controls, white goods user interfaces, USB/HID peripherals, and small motor control boards where 8-bit simplicity plus low quiescent current matter. When selecting for new designs, designers should choose 'F' variants if a 5V rail is present and 'LF' variants if the system runs from 1.8-3.6V (Li-ion or two-cell alkaline). PPS provides flexibility to remap peripherals to most I/O pins, simplifying PCB routing versus older fixed-pin PIC18 designs.
Bộ thay thế dễ dàng lắp đặt cho PIC18LF25K22-I/SO — 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 PIC18LF25K22-I/SO (cùng hình factor và footprint) — khác nhau ở Package, ADC, Program Memory (Flash), Timers, Operating Temperature.
PIC18F25K22-I/SO
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18LF25K22-I/SP
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC18LF25K22-I/SS
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC18LF24K22-I/SO
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18LF24K42-I/SO
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18LF23K22-I/SO
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18LF25K22-I/SO Tỷ lệ tối đa & tính chất điện
| Series | PIC® XLP™ 18K |
| Core Processor | PIC |
| Core Size | 8-bit |
| Tần số xung maksimum | 64 MHz |
| Program Memory Size | 32 KB (16K x 16) |
| Program Memory Type | FLASH |
| EEPROM Size | 256 x 8 |
| RAM Size | 1.5 KB (1536 x 8) |
| Operating Voltage Range | 1.8 V to 3.6 V |
| I/O Pins | 25 |
| ADC | 10-bit, up to 17 channels |
| Timers (16-bit/8-bit) | 4 x 16-bit / 2 x 8-bit |
| Communication Peripherals | 2 x UART, 1 x SPI, 1 x I2C (MSSP) |
| Comparators | 2 with rail-to-rail input |
| Hộp | 28-SOIC (SO) 7.5 mm |
| Kiểu lắp đặt | Surface Mount |
| Nhiệt độ hoạt động | -40C to +85C (Industrial) |
| Cấp MSL | 1 (Unlimited) |
| Trạng thái RoHS | Compliant |
Cấu hình chân PIC18LF25K22-I/SO
| Chân 1 | MCLR/VPP/RE3 — Master clear / programming voltage / digital input only |
| Chân 2 | RA0/AN0/C1IN+/C2IN+/CVREF — PORTA bit 0 / analog input / comparator input / CV reference |
| Chân 3 | RA1/AN1/C1IN-/C2IN-/VBG — PORTA bit 1 / analog input / comparator input / bandgap reference |
| Chân 4 | RA2/AN2/C2IN+/CVREF-/VREF- — PORTA bit 2 / analog / comparator / Vref |
| Chân 5 | RA3/AN3/C1IN+/VREF+ — PORTA bit 3 / analog / comparator / Vref+ |
| Chân 6 | RA4/AN4/C1OUT/T0CKI/SRNQ — PORTA bit 4 / analog / comparator output / T0 clock / SR latch |
| Chân 7 | RA5/AN5/C2OUT/SRPR/T1CKI — PORTA bit 5 / analog / comparator output / SR / T1 clock |
| Chân 8 | VSS — Ground reference |
| Chân 9 | RA7/OSC1/CLKIN — PORTA bit 7 / oscillator crystal / external clock in |
| Chân 10 | RA6/OSC2/CLKOUT — PORTA bit 6 / oscillator crystal / clock out |
| Chân 11 | RC0/SOSCO/SCLKI — PORTC bit 0 / SOSC oscillator / SOSC clock in |
| Chân 12 | RC1/SOSCI — PORTC bit 1 / SOSC oscillator in |
| Chân 13 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 |
| Chân 14 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock (MSSP) |
| Chân 15 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Chân 16 | RC5/SDO — PORTC bit 5 / SPI data out |
| Chân 17 | RC6/TX/CK — PORTC bit 6 / UART TX / clock |
| Chân 18 | RC7/RX/DT — PORTC bit 7 / UART RX / data |
| Chân 19 | VSS — Ground reference |
| Chân 20 | VDD — Positive supply (1.8-3.6V) |
| Chân 21 | RB0/AN12/INT0/FLT0 — PORTB bit 0 / analog / INT0 / fault |
| Chân 22 | RB1/AN10/INT1 — PORTB bit 1 / analog / INT1 |
| Chân 23 | RB2/AN8/INT2 — PORTB bit 2 / analog / INT2 |
| Chân 24 | RB3/AN9/INT3 — PORTB bit 3 / analog / INT3 |
| Chân 25 | RB4/AN11 — PORTB bit 4 / analog |
| Chân 26 | RB5/AN13 — PORTB bit 5 / analog |
| Chân 27 | RB6/PGC — PORTB bit 6 / ICD clock (programming/debug) |
| Chân 28 | RB7/PGD — PORTB bit 7 / ICD data (programming/debug) |
Ứng dụng tiêu biểu
PIC18LF25K22-I/SO phù hợp cho 6 Áp dụngs: Battery-Powered IoT Sensor Node, USB HID Peripheral / Remote Control, White Goods / Appliance User Interface, Low-Power e-Meter / Utility Meter, Medical / Health Monitoring Portable, Small DC Motor / Fan Control.
Battery-Powered IoT Sensor Node
The PIC18LF25K22-I/SO fits battery-powered IoT sensor nodes because its 1.8-3.6V VDD range aligns directly with single-cell Li-ion or 2x AA alkaline chemistries, eliminating boost converters. Its nanoWatt XLP sleep modes drop to roughly 20 nA typical, enabling multi-year coin-cell operation. The 32KB Flash holds a Zigbee/LoRaWAN application profile plus custom application logic, while 1536B RAM is sufficient for sensor-fusion buffers and small protocol stacks. The 10-bit ADC with up to 17 channels supports simultaneous reading of multiple analog sensors (temperature, light, gas) without external multiplexing. Used as the MCU between the battery, sensor front-end, and radio module, it offers lower BOM cost than Cortex-M0+ parts and lower sleep current than legacy PIC18F parts.
Được đề xuất
USB HID Peripheral / Remote Control
The PIC18LF25K22-I/SO is well suited for USB HID peripherals and IR/RF remote controls where cost and code density matter more than raw CPU speed. Although it lacks an integrated USB SIE, the MSSP and PPS allow bit-banged low-speed USB via interrupt-driven software stacks on a 5V-tolerant D+/D- pin pair when VDD is stepped up to 3.3V via a small LDO. With 32KB Flash, designers can implement CCIR/RC5/RC6 IR protocols plus keypad matrix scanning plus user EEPROM storage of device pairing codes. The 28-SOIC footprint drops onto a compact handheld PCB. Used between the keypad matrix, IR LED driver, and battery, it replaces larger Cortex-M0 designs at a lower unit cost.
Được đề xuất
White Goods / Appliance User Interface
The PIC18LF25K22-I/SO is commonly used in white goods user-interface boards (washing machines, dishwashers, ovens) where a single MCU drives a 7-segment or dot-matrix LCD, scans a 4x4 keypad, and reads multiple NTC thermistors. Its 10-bit ADC with 17 channels reads several temperature probes without external MUX, while two comparators with rail-to-rail inputs can detect zero-crossing of the mains for triac timing. The 32KB Flash fits graphical UI state machines plus safety logic, and 1536B RAM holds UI frame buffers. Operating from 3.3V via an isolated auxiliary supply, it sits on the low-voltage side of the isolation barrier. Replaces older PIC18F46K22 designs that over-provisioned pins and memory at higher cost.
Được đề xuất
Low-Power e-Meter / Utility Meter
The PIC18LF25K22-I/SO fits low-power electronic electricity, water, or gas meters thanks to its nanoWatt XLP technology and 1.8V minimum VDD that lets it run from a single-cell Lithium backup for the full 10+ year meter lifetime. The 10-bit ADC captures current shunt or sensor pulses; the comparators detect zero-cross for reactive power calculation. The 256B EEPROM provides non-volatile storage of meter constants, tamper flags, and rolling consumption logs without external memory. With 32KB Flash, designers implement IEC 62056-21 / DLMS-style protocols plus calibration routines. Operating from 3.3V via a switching supply that draws microamps in standby, it replaces 5V PIC16 designs that required additional regulators.
Được đề xuất
Medical / Health Monitoring Portable
The PIC18LF25K22-I/SO is suitable for portable medical and health-monitoring devices (pulse oximeters, glucose meters, digital thermometers, pill dispensers) where battery life, deterministic response, and BOM cost drive the design. Its 1.8-3.6V VDD range aligns with coin-cell or Li-Po chemistries, and nanoWatt XLP sleep currents in the tens of nA keep idle draw negligible. The MSSP and UART enable Bluetooth-low-energy module control and PC link, while the 17-channel ADC reads sensor front-ends (PPG, NTC, IR). The 32KB Flash fits simple UI plus safety state machines for IEC 62304 Class B firmware. Drop-in replacement for older PIC18F25K22 designs when the system is 3.3V-only.
Được đề xuất
Small DC Motor / Fan Control
The PIC18LF25K22-I/SO handles small DC motor, fan, and pump control boards where its dedicated CCP/ECCP modules generate PWM up to 64 MHz instruction rate and its rail-to-rail comparators sense motor current via a shunt. The 32KB Flash fits PID loop tables plus fault handling, while 1536B RAM stores the control-loop state. Two analog comparators with programmable reference implement hardware over-current protection independent of the CPU, qualifying the design for fault-tolerant appliance controllers. Operating from a 3.3V regulated rail, the part drives logic-level MOSFETs directly via PWM. Often paired with the F variant when the system has a 5V motor supply, where the LF handles UI and the F handles power stage timing.
Đượ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 PIC18LF25K22-I/SO — 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/SO | PIC18LF25K22-I/SP | PIC18LF25K22-I/SS | PIC18LF24K22-I/SO | PIC18LF24K42-I/SO | PIC18LF23K22-I/SO |
|---|---|---|---|---|---|---|---|
| Package | 28-SOIC (SO) | 28-SOIC (SO) - same | 28-SPDIP (SP) | 28-SSOP (SS) | 28-SOIC (SO) - same | 28-SOIC (SO) - same | 28-SOIC (SO) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Operating Voltage Range | 1.8V to 3.6V | 2.0V to 5.5V | 1.8V to 3.6V | 1.8V to 3.6V | 1.8V to 3.6V | 1.8V to 3.6V | 1.8V to 3.6V |
| Flash Program Memory | 32 KB | 32 KB | 32 KB | 32 KB | 16 KB | 16 KB | 8 KB |
| RAM Size | 1536 B | 1536 B | 1536 B | 1536 B | 1536 B | 2048 B | 512 B |
| Maximum Clock Frequency | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| EEPROM Size | 256 B | 256 B | 256 B | 256 B | 256 B | 256 B | 256 B |
| 10-bit ADC Channels | 17 | 17 | 17 | 17 | 17 | 24 | 17 |
| Approx. Unit Price @ 1k | $2.18 | ~$2.20 | ~$2.45 | ~$2.25 | ~$2.05 | ~$2.10 | ~$1.95 |
Bảo phân biệt quan trọng
- Lower minimum VDD than the F variant (vsPIC18F25K22-I/SO)
- Highest Flash density in the LF K22 family (vsPIC18LF24K22-I/SO)
- Larger RAM than older K22 siblings (vsPIC18LF23K22-I/SO)
Ghi chú thiết kế
Estimated: at VDD=3.3V and 64 MHz, ICC_ACTIVE for the PIC18LF25K22 family is typically 8-10 mA; in Sleep mode (XLP) this drops to roughly 20 nA typical. For battery designs, duty-cycle the MCU aggressively: stay in Sleep >99% of the time, wake via INT-on-change or RTCC every 1-10 s, and use peripherals (ADC, comparators) that don't require CPU. Estimated wake time to full-speed execution is roughly 4 instruction cycles plus oscillator startup (~1 ms with HS crystal, ~32 us with INTOSC).
Place the 0.1uF VDD decoupling capacitor within 5 mm of the VDD pin and the bulk 10uF capacitor within 25 mm. For multi-VDD-pin packages, every VDD pin must have its own local 0.1uF cap. Keep crystal traces short (<10 mm) and surrounded by ground pour to reduce EMI susceptibility - the internal PLL multiplies the clock and amplifies jitter if the crystal reference is noisy. Route MCLR separately and place a 10k pull-up to VDD to prevent spurious resets.
Two pitfalls to avoid with the PIC18LF25K22-I/SO: (1) Confusing 'LF' (1.8-3.6V) with 'F' (2.0-5.5V) - applying 5V to the LF variant damages it. Verify the exact suffix on every reel. (2) Peripheral Pin Select (PPS) must be configured in software before using remapped peripherals; if PPS is left at default, UART/SPI/I2C may appear on different pins than expected, breaking code that assumes the legacy fixed-pin PIC18 layout.
Thông tin tuân thủ
RoHS and REACH compliant per Microchip product page. Industrial temperature grade only (I-suffix, -40C to +85C); not AEC-Q100 qualified. For automotive applications use AEC-Q100 qualified PIC18F K-series variants.