PIC18LF25K22-E/SO - 8-bit 48MHz 32KB Flash XLP MCU | Microchip
N.º da peça: PIC18LF25K22-E/SO ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $1.95 | $1,95 |
| 10 | $1.81 | $18,10 |
| 100 | $1.59 | $159,00 |
| 500 | $1.42 | $710,00 |
| 1.000 | $1.27 | $1.270,00 |
PIC18LF25K22-E/SO Visão geral
A microcontroller (MCU) is a single-chip computer containing a CPU core, non-volatile program memory, working RAM, and a rich set of peripherals such as timers, ADC, comparators, PWM, UART, and I/O ports. PIC microcontrollers belong to the PIC18 family, a Harvard-architecture 8-bit line known for deterministic interrupt response, simple assembly and C programming via MPLAB X, and a mature toolchain. Within Microchip's portfolio, PIC18 sits between PIC16 and PIC24/dsPIC, balancing cost, code density, and peripheral integration. The 'LF' prefix denotes the low-voltage variant (1.8-3.6V), the 'F' denotes Flash program memory, the '25K22' is the family code (32KB Flash), and the 'E/SO' suffix specifies the Extended (-40C to +125C) temperature grade in a 28-pin SOIC.
Key differentiating features include the nanoWatt XLP technology for sub-microamp sleep currents, an integrated 10-bit ADC with up to 17 channels, mTouch capacitive-touch support, two analog comparators with a reference ladder, two CCP/ECCP modules for PWM and motor control, an enhanced USART with LIN support, two MSSP modules for SPI/I2C, and an internal 16 MHz oscillator with PLL for 48 MHz operation. Peripherals can be individually disabled to minimize dynamic power.
The PIC18LF25K22's XLP technology delivers typical sleep currents below 1 uA (per datasheet typical characteristics) with retention from a 1.8V supply, while the 16 MIPS core supports real-time control loops. The 28-pin SOIC provides ample I/O (24 general-purpose pins plus dedicated oscillator and programming lines) while remaining compatible with hand-soldering and breadboard prototypes. Code is developed in MPLAB X IDE with XC8 compilers and debugged via ICSP on the same pins used for programming.
Typical applications include battery-powered IoT sensor nodes, capacitive-touch human-machine interfaces, low-power wireless sensor peripherals, portable medical monitors, and industrial sensor conditioning. The combination of XLP sleep current and rich analog integration allows direct connection to resistive bridges, thermistors, and capacitive electrodes without an external analog front end. The E (Extended) temperature grade suits outdoor and automotive under-hood environments.
Designers should note that migrating between PIC18LF25K22 (LF, low-voltage) and PIC18F25K22 (F, 1.8-5.5V) requires verifying the application supply rail: connecting a 5V rail to a 'LF' part will damage it. The SOIC-28 footprint is shared with many PIC18 K-series devices, easing migration.
This page consolidates distributor pricing, drop-in alternatives in the same 28-SOIC footprint, and practical design notes to help engineers select and apply the PIC18LF25K22-E/SO quickly and correctly.
Alternativas drop-in para PIC18LF25K22-E/SO — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com PIC18LF25K22-E/SO (mesmo formato e footprint) — diferindo em Package, ADC, Timers, I/O Pins, MSL Level.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC18F25K22-I/SO
✅ Drop-In✓ Em estoque
$1.78 / unidade
Ver ficha técnica →PIC18LF25K22-I/SO
✅ Drop-In✓ Em estoque
$2.18 / unidade
Ver ficha técnica →PIC18LF25K22-E/SP
✅ Drop-In✓ Em estoque
$1.85 / unidade
Ver ficha técnica →PIC18LF25K22-E/SS
✅ Drop-In✓ Em estoque
$2.24 / unidade
Ver ficha técnica →PIC18LF24K22-E/SO
✅ Drop-In✓ Em estoque
$1.32 / unidade
Ver ficha técnica →PIC18LF23K22-E/SO
✅ Drop-In✓ Em estoque
$1.25 / unidade
Ver ficha técnica →PIC18LF24K42-I/SO
✅ Drop-In✓ Em estoque
$0.96 / unidade
Ver ficha técnica →PIC18LF25K22-E/SO Classificações máximas e características elétricas
| Family | PIC18F K22 / PIC18LF K22 |
| Core | 8-bit PIC RISC (Harvard architecture) |
| Program Memory (Flash) | 32 KB (16K x 16 words) |
| Data RAM | 1536 bytes |
| Data EEPROM | 256 bytes |
| Max CPU Speed | 48 MHz (16 MIPS) |
| Supply Voltage (VDD) | 1.8 V to 3.6 V (LF variant) |
| Temperatura de operação | -40C to +125C (Extended, E suffix) |
| Encapsulamento | 28-pin SOIC (SO) 7.50 mm width |
| Tipo de montagem | Surface Mount |
| I/O Pins | 24 general-purpose I/O |
| ADC | 10-bit, up to 17 channels |
| Timers | 4 (Timer0/1/2/3) + WDT |
| CCP/ECCP Modules | 2 (1 CCP + 1 ECCP) |
| UART/USART | 1 enhanced USART (LIN) |
| MSSP (SPI / I2C) | 2 |
| Comparators | 2 with reference ladder |
| PWM Channels | Up to 4 (via ECCP + CCP) |
| Low-Power Feature | nanoWatt XLP (sub-uA sleep) |
| Capacitive Touch | mTouch peripheral (mCT) |
| Internal Oscillator | 16 MHz HFINTOSC + PLL |
| Nível MSL | MSL3 (per JEDEC J-STD-020) |
| Status RoHS | Compliant |
| Lead-Free / Halogen-Free | Lead-free finish (Matte Sn) |
Configuração de pinos do PIC18LF25K22-E/SO
| Pino 1 | RA0/AN0/C1IN0-/ULPWU — PORTA bit 0 / Analog input 0 / Comparator 1 inverting input / Ultra-Low-Power Wake-up |
| Pino 2 | RA1/AN1/C2IN0-/CTED1 — PORTA bit 1 / Analog input 1 / Comparator 2 inverting input / mTouch CTED1 |
| Pino 3 | RA2/AN2/C2IN1+/VREF-/CVREF — PORTA bit 2 / Analog input 2 / Comparator 2 non-inverting / VREF- / CVREF output |
| Pino 4 | RA3/AN3/C1IN1+/VREF+ — PORTA bit 3 / Analog input 3 / Comparator 1 non-inverting / VREF+ |
| Pino 5 | RA4/AN4/C1OUT/SRQ/T0CKI — PORTA bit 4 / Analog input 4 / Comparator 1 output / SR-latch output / Timer0 clock |
| Pino 6 | RA5/AN5/C2OUT/SRNQ5/VCAP — PORTA bit 5 / Analog input 5 / Comparator 2 output / SR-latch NQ / core VCAP |
| Pino 7 | RA6/OSC2/CLKO — PORTA bit 6 / Crystal OSC2 / Clock output |
| Pino 8 | RA7/OSC1/CLKI — PORTA bit 7 / Crystal OSC1 / Clock input |
| Pino 9 | VSS — Ground reference |
| Pino 10 | VDD — Positive supply (1.8V-3.6V for LF) |
| Pino 11 | RB0/AN12/C0IN+/INT0/SRI — PORTB bit 0 / Analog input 12 / Comparator 0 non-inverting / External INT0 / SR-latch input |
| Pino 12 | RB1/AN10/C0IN-/CTED10/P1B — PORTB bit 1 / Analog input 10 / Comparator 0 inverting / mTouch CTED10 / PWM1B output |
| Pino 13 | RB2/AN8/C1IN2-/CTED9/P1C — PORTB bit 2 / Analog input 8 / Comparator 1 inverting / mTouch CTED9 / PWM1C output |
| Pino 14 | RB3/AN9/C1IN3-/CTED8/P1D — PORTB bit 3 / Analog input 9 / Comparator 1 inverting / mTouch CTED8 / PWM1D output |
| Pino 15 | RB4/AN11/C2IN2-/CTED7/P1A — PORTB bit 4 / Analog input 11 / Comparator 2 inverting / mTouch CTED7 / PWM1A output |
| Pino 16 | RB5/AN13/C2IN3-/CTED6/P3A — PORTB bit 5 / Analog input 13 / Comparator 2 inverting / mTouch CTED6 / PWM3A output |
| Pino 17 | RB6/PGC — PORTB bit 6 / ICSP clock (programming/debug) |
| Pino 18 | RB7/PGD — PORTB bit 7 / ICSP data (programming/debug) |
| Pino 19 | VSS — Ground reference |
| Pino 20 | VDD — Positive supply (1.8V-3.6V for LF) |
| Pino 21 | RC0/P2A/SOSCO — PORTC bit 0 / PWM2A / SOSC oscillator output |
| Pino 22 | RC1/SOSCI — PORTC bit 1 / SOSC oscillator input |
| Pino 23 | RC2/AN14/C1IN2+/P2B — PORTC bit 2 / Analog input 14 / Comparator 1 non-inverting / PWM2B output |
| Pino 24 | RC3/AN15/C2IN2+/P2C — PORTC bit 3 / Analog input 15 / Comparator 2 non-inverting / PWM2C output |
| Pino 25 | RC4/AN16/C2IN3-/P2D — PORTC bit 4 / Analog input 16 / Comparator 2 inverting / PWM2D output |
| Pino 26 | RC5/AN17/P3B — PORTC bit 5 / Analog input 17 / PWM3B output |
| Pino 27 | RC6/TX/CK — PORTC bit 6 / USART async TX / USART sync clock |
| Pino 28 | RC7/RX/DT — PORTC bit 7 / USART async RX / USART sync data |
Aplicações típicas
PIC18LF25K22-E/SO é adequado para 6 aplicaçãos: Battery-Powered IoT Sensor Node, Capacitive-Touch Human-Machine Interface, Industrial Sensor Conditioning and Monitoring, Portable Medical and Wellness Device, Low-Power Wireless Sensor Peripheral, Automotive Accessory Control Module.
Battery-Powered IoT Sensor Node
The PIC18LF25K22-E/SO is a strong fit for battery-powered IoT sensor nodes thanks to its nanoWatt XLP sleep current below 1 uA at 1.8V with RTCC + WDT retention, combined with the LF 1.8-3.6V supply range that allows direct connection to 2xAA alkaline cells (regulated down to 3.3V LDO) or a single Li-ion cell. The 32 KB Flash stores OTA or Modbus-style payloads plus application code, while the 1536 bytes of SRAM buffer sensor reads between sleep cycles. The 10-bit ADC with 17 channels handles temperature, light, and analog sensor inputs without an external AFE. Designers place the MCU in Sleep between samples, wake on WDT or IOC, run an mTouch/ADC scan, and return to sleep; XLP duty-cycle modeling shows multi-year life on 2xAA for sub-second duty cycles.
Recomendado
Capacitive-Touch Human-Machine Interface
The on-chip mTouch mCT peripheral scans up to 20 capacitive channels in hardware, offloading scan timing from the CPU and leaving MIPS for response handling. Combined with 32 KB Flash for capacitive-sensing firmware libraries and 24 general-purpose I/O pins routed on the 28-SOIC, the PIC18LF25K22-E/SO can drive touch buttons, sliders, and proximity wake-up sensors in appliances and lighting controls. The LF 3.3V supply matches typical touch sensor stack-ups, and XLP sleep current keeps standby power negligible in mains-derived 3.3V designs. Designers assign mTouch to IOC-capable pins, route guard traces per Microchip TB3064, and use MCC-generated mTouch API to reduce development time.
Recomendado
Industrial Sensor Conditioning and Monitoring
The Extended -40C to +125C temperature grade encoded in the 'E' suffix allows the PIC18LF25K22-E/SO to operate in industrial cabinets, outdoor enclosures, and under-hood automotive accessory environments. Two analog comparators with an internal reference ladder monitor thermistor or RTD bridges, while the 10-bit ADC digitizes the bridge output for linearization in software. Two MSSP peripherals interface SPI sensors or I2C EEPROM for local logging. The 16 MIPS core executes digital filtering at sampling rates up to 100 kHz without saturating CPU bandwidth. Combined with the LF 1.8-3.6V supply, the MCU is placed behind an isolated DC-DC converter to meet industrial surge immunity (IEC 61000-4-x).
Recomendado
Portable Medical and Wellness Device
Portable medical and wellness devices such as fingertip pulse oximeters, thermometers, and wearable patches benefit from the PIC18LF25K22-E/SO's XLP sleep current and 1.8-3.6V LF supply, which together enable multi-day runtime from a coin cell or Li-Po battery. The on-chip mTouch simplifies waterproof capacitive user interfaces, and the 10-bit ADC digitizes photodiode or thermistor front ends. The 28-SOIC wide-body package supports hand-soldered prototypes and low-cost assembly for low-volume medical device SKUs. Designers use Sleep + IOC wake to idle between measurements, transmit over UART/SPI to a BLE or Wi-Fi co-processor, and retain calibration in the 256-byte EEPROM across battery swaps.
Recomendado
Low-Power Wireless Sensor Peripheral
When paired with a sub-GHz or 2.4 GHz radio such as the MRF89XA or a BLE module, the PIC18LF25K22-E/SO acts as the sensor host in a wireless sensor network. The enhanced USART supports LIN bus peripherals, while the two MSSP ports drive SPI radios and I2C sensors simultaneously. The LF 3.3V supply matches radio module rails, eliminating a separate regulator. XLP sleep keeps the host quiescent until radio-CTS or sensor-interrupt wakes it, and 32 KB Flash stores protocol stacks plus application code for sensors such as temperature, humidity, or CO2. Designers enable only the peripherals needed during active windows and disable unused modules via PMD registers.
Recomendado
Automotive Accessory Control Module
Although not AEC-Q100 qualified, the PIC18LF25K22-E/SO is widely used in non-safety automotive accessories (interior lighting, seat comfort controllers, climate trim) that operate from 12V rails regulated down to 3.3V. The Extended -40C to +125C grade handles cabin temperature swings, while the 10-bit ADC and two comparators read thermistor and switch inputs. The enhanced USART supports LIN slave communication for body-electronics nodes, and the ECCP module drives LED dimming or small DC-motor PWM. Combined with the LF 3.3V supply and the wide-body SOIC footprint, the MCU is placed behind a TPS62932 or similar LDO and protected by TVS arrays per ISO 7637-2 automotive part practices.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC18LF25K22-E/SO — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC18F25K22-I/SO | PIC18LF25K22-I/SO | PIC18LF25K22-E/SP | PIC18LF24K22-E/SO | PIC18LF23K22-E/SO | PIC18LF24K42-I/SO |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SOIC (SO) 7.50 mm | 28-SOIC (SO) 7.50 mm - same | 28-SOIC (SO) 7.50 mm - same | 28-SPDIP (SP) - through-hole, different PCB | 28-SOIC (SO) 7.50 mm - same | 28-SOIC (SO) 7.50 mm - same | 28-SOIC (SO) 7.50 mm - same |
| Flash Memory | 32 KB | 32 KB | 32 KB | 32 KB | 16 KB (-50%) | 8 KB (-75%) | 16 KB (-50%) |
| RAM | 1536 bytes | 1536 bytes | 1536 bytes | 1536 bytes | 768 bytes (-50%) | 512 bytes (-67%) | 1024 bytes (-33%) |
| Supply Voltage | 1.8V to 3.6V (LF) | 1.8V to 5.5V (F) | 1.8V to 3.6V (LF) | 1.8V to 3.6V (LF) | 1.8V to 3.6V (LF) | 1.8V to 3.6V (LF) | 1.8V to 3.6V (LF) |
| Temperature Grade | Extended -40C to +125C | Industrial -40C to +85C | Industrial -40C to +85C | Extended -40C to +125C | Extended -40C to +125C | Extended -40C to +125C | Industrial -40C to +85C |
| Max CPU Speed | 48 MHz (16 MIPS) | 48 MHz (16 MIPS) | 48 MHz (16 MIPS) | 48 MHz (16 MIPS) | 48 MHz (16 MIPS) | 48 MHz (16 MIPS) | 64 MHz (16 MIPS) |
| Low-Power Technology | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | XLP + new PMD modes |
Principais diferenciais
- Extended -40C to +125C temperature grade at 28-SOIC (vs PIC18F25K22-I/SO)
- Low-voltage LF 1.8-3.6V supply for direct battery operation (vs PIC18F25K22-E/SO)
- 32 KB Flash and 1536 byte RAM in 28-SOIC (vs PIC18LF24K22-E/SO)
- mTouch mCT capacitive-touch hardware peripheral (vs PIC18LF24K22-I/SO)
Notas de projeto
Estimated: at 48 MHz / 3.3V the PIC18LF25K22 draws up to 16 mA active and below 1 uA in Sleep with RTCC+WDT retention. Use the XLP calculator in MPLAB X to model duty-cycle battery life. Place a 100 nF decoupling capacitor within 5 mm of each VDD/VSS pair and a bulk 10 uF tantalum or ceramic at the regulator output. Disable unused peripherals via PMD registers (e.g., CLKRMD, T3MD) to minimize active current by hundreds of uA per module.
Do not connect a 5V supply to the LF variant - the absolute maximum VDD is 3.6V and over-voltage will permanently damage the device. If your application uses a 5V rail, choose the PIC18F25K22-E/SO instead. Also reserve pin 6 (RA5) for the internal regulator output capacitor (VCAP) - do not connect it to external circuitry. Pin 17 (RB6/PGC) and pin 18 (RB7/PGD) are shared with ICSP, so route them with short traces and pull-up resistors per Microchip ICD guidance to avoid programming failures.
Estimated: PIC18LF25K22-E/SO in the wide-body 28-SOIC has a typical theta_JA around 80 C/W on a 1-oz 4-layer JEDEC test board. Active power at full CPU load (16 MIPS, 3.3V) is roughly 50 mW, giving a junction temperature rise of about 4 C above 25C ambient - well within the -40C to +125C Extended grade. In sealed enclosures without airflow, derate to 60-70% of peak CPU duty to keep Tj < 100C. No external heatsink is required for the SO package.
Place decoupling capacitors on each VDD/VSS pair within 5 mm of the pins. Route analog signals (ANx, VREF+, VREF-) away from the oscillator pins (RA6/RA7) and from switching signals (PWM, ECCP outputs) to minimize coupling. Use a ground pour under the MCU and stitch vias around the perimeter to reduce digital noise on the ADC reference. For mTouch designs, follow Microchip TB3064 guard-trace and sensor-layout guidelines to maintain touch sensitivity and noise immunity.
The PIC18LF25K22's internal 16 MHz HFINTOSC drives the PLL to 48 MHz with 0.25% accuracy after calibration; this is acceptable for UART at common baud rates up to 115200 in production, but designs requiring CAN or LIN timing at +/- 1% should select the external crystal via the FOSC configuration. For SPI bus mode 0, ensure the SCL clock does not exceed 16 MHz and that the slave device supports the chosen clock polarity and phase (CKP/CKE bits in SSP1CON1).
Informações de conformidade
RoHS-compliant per Microchip product page. Lead-free matte-tin finish. Halogen-free per JESD97. Not AEC-Q100 qualified - the LF rating and Extended temperature grade are NOT automotive qualifications; consult Microchip's automotive portfolio (PIC18F K42 AEC-Q100 or dsPIC33 AEC-Q100) for safety-relevant applications.