PIC18LF25K22-I/SO - 8-bit XLP 32KB Flash MCU | Microchip
Référence : PIC18LF25K22-I/SO ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $3.42 | $3,42 |
| 10 | $3.07 | $30,70 |
| 100 | $2.74 | $274,00 |
| 500 | $2.45 | $1 225,00 |
| 1 000 | $2.18 | $2 180,00 |
PIC18LF25K22-I/SO Présentation
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.
Alternatives de remplacement direct pour PIC18LF25K22-I/SO — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec PIC18LF25K22-I/SO (même facteur de forme et même empreinte) — différant par Package, ADC, Program Memory (Flash), Timers, Operating Temperature.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
PIC18F25K22-I/SO
✅ Remplacement direct✓ En stock
$1.78 / unité
Voir la fiche technique →PIC18LF25K22-I/SP
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC18LF25K22-I/SS
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC18LF24K22-I/SO
✅ Remplacement direct✓ En stock
$1.75 / unité
Voir la fiche technique →PIC18LF24K42-I/SO
✅ Remplacement direct✓ En stock
$0.96 / unité
Voir la fiche technique →PIC18LF23K22-I/SO
✅ Remplacement direct✓ En stock
$1.51 / unité
Voir la fiche technique →PIC18LF25K22-I/SO Valeurs maximales et caractéristiques électriques
| Series | PIC® XLP™ 18K |
| Core Processor | PIC |
| Core Size | 8-bit |
| Fréquence d'horloge maximale | 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 |
| Boîtier | 28-SOIC (SO) 7.5 mm |
| Type de montage | Surface Mount |
| Température de fonctionnement | -40C to +85C (Industrial) |
| Niveau MSL | 1 (Unlimited) |
| Statut RoHS | Compliant |
Configuration des broches de PIC18LF25K22-I/SO
| Broche 1 | MCLR/VPP/RE3 — Master clear / programming voltage / digital input only |
| Broche 2 | RA0/AN0/C1IN+/C2IN+/CVREF — PORTA bit 0 / analog input / comparator input / CV reference |
| Broche 3 | RA1/AN1/C1IN-/C2IN-/VBG — PORTA bit 1 / analog input / comparator input / bandgap reference |
| Broche 4 | RA2/AN2/C2IN+/CVREF-/VREF- — PORTA bit 2 / analog / comparator / Vref |
| Broche 5 | RA3/AN3/C1IN+/VREF+ — PORTA bit 3 / analog / comparator / Vref+ |
| Broche 6 | RA4/AN4/C1OUT/T0CKI/SRNQ — PORTA bit 4 / analog / comparator output / T0 clock / SR latch |
| Broche 7 | RA5/AN5/C2OUT/SRPR/T1CKI — PORTA bit 5 / analog / comparator output / SR / T1 clock |
| Broche 8 | VSS — Ground reference |
| Broche 9 | RA7/OSC1/CLKIN — PORTA bit 7 / oscillator crystal / external clock in |
| Broche 10 | RA6/OSC2/CLKOUT — PORTA bit 6 / oscillator crystal / clock out |
| Broche 11 | RC0/SOSCO/SCLKI — PORTC bit 0 / SOSC oscillator / SOSC clock in |
| Broche 12 | RC1/SOSCI — PORTC bit 1 / SOSC oscillator in |
| Broche 13 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 |
| Broche 14 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock (MSSP) |
| Broche 15 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Broche 16 | RC5/SDO — PORTC bit 5 / SPI data out |
| Broche 17 | RC6/TX/CK — PORTC bit 6 / UART TX / clock |
| Broche 18 | RC7/RX/DT — PORTC bit 7 / UART RX / data |
| Broche 19 | VSS — Ground reference |
| Broche 20 | VDD — Positive supply (1.8-3.6V) |
| Broche 21 | RB0/AN12/INT0/FLT0 — PORTB bit 0 / analog / INT0 / fault |
| Broche 22 | RB1/AN10/INT1 — PORTB bit 1 / analog / INT1 |
| Broche 23 | RB2/AN8/INT2 — PORTB bit 2 / analog / INT2 |
| Broche 24 | RB3/AN9/INT3 — PORTB bit 3 / analog / INT3 |
| Broche 25 | RB4/AN11 — PORTB bit 4 / analog |
| Broche 26 | RB5/AN13 — PORTB bit 5 / analog |
| Broche 27 | RB6/PGC — PORTB bit 6 / ICD clock (programming/debug) |
| Broche 28 | RB7/PGD — PORTB bit 7 / ICD data (programming/debug) |
Applications typiques
PIC18LF25K22-I/SO convient pour 6 applications: 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.
Recommandé
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.
Recommandé
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.
Recommandé
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.
Recommandé
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.
Recommandé
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.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour PIC18LF25K22-I/SO — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | 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 |
Principaux différenciateurs
- Lower minimum VDD than the F variant (vs PIC18F25K22-I/SO)
- Highest Flash density in the LF K22 family (vs PIC18LF24K22-I/SO)
- Larger RAM than older K22 siblings (vs PIC18LF23K22-I/SO)
Notes de conception
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.
Informations de conformité
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.