PIC18LF25K40-E/MV - 8-bit 64MHz XLP MCU 32KB Flash | Microchip
N.º da peça: PIC18LF25K40-E/MV ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $2.95 | $2,95 |
| 10 | $2.66 | $26,60 |
| 100 | $2.37 | $237,00 |
| 500 | $2.12 | $1.060,00 |
| 1.000 | $1.89 | $1.890,00 |
PIC18LF25K40-E/MV Visão geral
What is a PIC18 microcontroller? The PIC18 family is Microchip's high-performance 8-bit microcontroller line, positioned between baseline PIC10/12/16 parts and 16-bit PIC24/dsPIC devices. PIC18 parts use an enhanced Harvard architecture with a 16-bit instruction word, hardware multiplier and a RISC-style instruction set, giving them substantially more code density and peripheral integration than PIC16 while remaining C-friendly with MPLAB XC8. The LF sub-family is the low-power (LF) variant rated for operation down to 1.8 V, optimized for XLP (eXtreme Low Power) battery applications.
Key features include 64 MHz internal oscillator, 10-bit ADC with up to 35 channels, 5-bit DAC, 8-bit/16-bit timers, EUSART, I2C and SPI, Core Independent Peripherals (CIPs) such as CWG, ZCD and CRC/SCAN, and Peripheral Pin Select that allows flexible signal routing on most digital I/O pins. The MV package variant exposes a thermal pad that aids heat spreading in space-constrained 4x4 mm designs.
The device is built around Microchip's enhanced PIC18 core with hardware stack and 31-level interrupt priority, suitable for applications that mix real-time control with low-power standby. The XLP technology delivers typical sleep currents in the nanoampere range with retention and fast wake-up, allowing battery-powered nodes to spend most of their time asleep.
Typical applications include IoT sensor nodes, low-power remote controls, battery-backed instrumentation, home automation controllers, and small motor/signal conditioning front-ends that benefit from CIP-driven hardware state machines. The combination of high peripheral density and code-efficient instruction set makes it well suited for replacing multi-chip discrete designs with a single MCU.
A key design consideration is decoupling: place 100 nF and 1 uF ceramics close to the VDD pins and bond the exposed pad (EP) to a continuous ground plane. Use the PPS feature to remap digital peripherals only to PPS-supported I/O, and verify that low-power peripherals are explicitly disabled in active code to fully leverage XLP sleep currents.
This page synthesizes distributor pricing, drop-in alternatives and practical design notes beyond the manufacturer datasheet, supporting the designer's selection and qualification process.
Alternativas drop-in para PIC18LF25K40-E/MV — 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 PIC18LF25K40-E/MV (mesmo formato e footprint) — diferindo em Package, Program Memory (Flash), ADC, Core Architecture, Operating Temperature.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC18F25K40-E/MV
✅ Drop-In✓ Em estoque
$1.65 / unidade
Ver ficha técnica →PIC18LF24K40-I/MV
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18LF23K22-E/MV
✅ Drop-In✓ Em estoque
$1.65 / unidade
Ver ficha técnica →PIC18LF25K22-I/MV
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18LF24K42-I/MV
✅ Drop-In✓ Em estoque
$1.18 / unidade
Ver ficha técnica →PIC18LF25K40-E/MV Classificações máximas e características elétricas
| Core | PIC 8-bit enhanced Harvard |
| Family | PIC18 XLP LF 25K40 |
| Maximum CPU Frequency | 64 MHz |
| Program Memory (Flash) | 32 KB (16K x 16) |
| RAM | 2 KB |
| EEPROM | 256 B |
| ADC | 10-bit |
| DAC | 5-bit |
| Operating Voltage Range | 1.8 V to 3.6 V (LF variant) |
| Temperatura de operação | -40C to +125C |
| Encapsulamento | 28-pin UQFN (MV) 4x4 mm with exposed pad |
| Tipo de montagem | Surface Mount |
| Status RoHS | Compliant |
| Lead-Free | Yes |
| Peripherals | PWM, CCP, CWG, WWDT, CRC/SCAN, ZCD, PPS, EUSART, SPI, I2C |
Configuração de pinos do PIC18LF25K40-E/MV
| Pino 1 | RA0 — Analog/Digital I/O with PPS |
| Pino 2 | RA1 — Analog/Digital I/O with PPS |
| Pino 3 | RA2 — Analog/Digital I/O with PPS |
| Pino 4 | RA3 — Analog/Digital I/O with PPS |
| Pino 5 | RA4 — Analog/Digital I/O with PPS |
| Pino 6 | RA5 — Analog/Digital I/O with PPS |
| Pino 7 | RA6 — Analog/Digital I/O with PPS |
| Pino 8 | RA7 — Analog/Digital I/O with PPS |
| Pino 9 | VSS — Ground reference |
| Pino 10 | VDD — Positive supply (1.8V to 3.6V for LF) |
| Pino 11 | RB0 — Digital I/O with PPS |
| Pino 12 | RB1 — Digital I/O with PPS |
| Pino 13 | RB2 — Digital I/O with PPS |
| Pino 14 | RB3 — Digital I/O with PPS |
| Pino 15 | RB4 — Digital I/O with PPS |
| Pino 16 | RB5 — Digital I/O with PPS |
| Pino 17 | RB6 — Digital I/O with PPS / ICD clock |
| Pino 18 | RB7 — Digital I/O with PPS / ICD data |
| Pino 19 | RC0 — Analog/Digital I/O with PPS |
| Pino 20 | RC1 — Analog/Digital I/O with PPS |
| Pino 21 | RC2 — Analog/Digital I/O with PPS |
| Pino 22 | RC3 — Analog/Digital I/O with PPS |
| Pino 23 | RC4 — Analog/Digital I/O with PPS |
| Pino 24 | RC5 — Analog/Digital I/O with PPS |
| Pino 25 | RC6 — Analog/Digital I/O with PPS |
| Pino 26 | RC7 — Analog/Digital I/O with PPS |
| Pino 27 | RE3 — Digital I/O / MCLR |
| Pino 28 | EP — Exposed thermal pad (bond to GND) |
Aplicações típicas
PIC18LF25K40-E/MV é adequado para 6 aplicaçãos: Battery-Powered IoT Sensor Node, Low-Power Remote Control / HMI, Small BLDC / DC Motor Driver Front-End, Smart Home Sensor / Actuator Hub, Industrial Sensor Transmitter (4-20 mA / Modbus), Wearables / Fitness Tracker Sub-MCU.
Battery-Powered IoT Sensor Node
The PIC18LF25K40-E/MV fits IoT sensor nodes because it operates from 1.8 V to 3.6 V and supports XLP nanoampere sleep currents, enabling coin-cell operation for years. The 64 MHz core and 32 KB Flash accommodate IEEE 802.15.4 or LoRaWAN stacks, while the 10-bit ADC reads temperature, humidity or gas sensors with wake-on-threshold. Compared with ATmega328P, this part offers Core Independent Peripherals that let the ADC and PWM run during sleep, reducing average current by 30-50% in duty-cycled measurements. Pair it with an MCP9808 temperature sensor and SX1276 LoRa transceiver for a complete sub-1 GHz sensor node.
Recomendado
Low-Power Remote Control / HMI
The PIC18LF25K40-E/MV is well suited to handheld remote controls because of its XLP sleep currents below 100 nA with retention, 1.8 V minimum rail for two AA cells, and 32 KB Flash for multi-protocol IR or RF stacks. The CWG and PWM peripherals drive IR LEDs and haptic feedback directly without CPU intervention, and the EUSART/SPI/I2C interfaces talk to BLE or sub-GHz companion chips. At 64 MHz it can encode RC5, NEC and Zigbee Green Power frames in software while still leaving headroom for low-battery detection. Use 2x AA alkaline cells and a TPS7A0233 LDO for sub-50 uA idle.
Recomendado
Small BLDC / DC Motor Driver Front-End
The PIC18LF25K40-E/MV drives small BLDC and brushed DC motors via its Complementary Waveform Generator (CWG) and PWM peripherals that generate dead-band-controlled complementary outputs, eliminating the need for an external gate driver state machine. The 10-bit ADC samples motor current with simultaneous triggers from PWM, while the ZCD detects mains zero-cross for TRIAC dimmer applications. The 64 MHz CPU speed allows 8 kHz PWM with 10-bit resolution, sufficient for fans, pumps and small drone ESCs. Pair it with DRV8313 three-phase driver or DRV8871 brushed DC driver.
Recomendado
Smart Home Sensor / Actuator Hub
The PIC18LF25K40-E/MV anchors smart-home sensor and actuator hubs because of its rich peripheral set: 10-bit ADC for analog sensors, I2C/SPI for digital sensors, EUSART for RS-485 wired backhaul, and PWM/CCP for dimmer and valve control. The PIC18LF25K40-E/MV's Peripheral Pin Select remaps peripherals across most digital I/O, easing PCB layout in compact modules. XLP sleep at <100 nA allows battery-backed door/window sensors to operate for years, while 32 KB Flash fits Matter-over-Thread application code with room for OTA staging.
Recomendado
Industrial Sensor Transmitter (4-20 mA / Modbus)
The PIC18LF25K40-E/MV is suitable for 4-20 mA loop-powered or Modbus RTU sensor transmitters in industrial settings. Its 10-bit ADC with internal voltage reference reads bridge or 4-20 mA inputs directly, while the EUSART drives RS-485 transceivers for Modbus networks. The CRC/SCAN peripheral validates memory integrity in the field, an essential reliability feature for IEC 61508 SIL applications. At 1.8 V minimum rail it runs from a single 3.3 V LDO fed from 24 V loop via TPS7A0233, or directly from 5 V using PIC18F25K40-E/MV.
Recomendado
Wearables / Fitness Tracker Sub-MCU
The PIC18LF25K40-E/MV acts as a sub-MCU in wearables and fitness trackers, offloading sensor sampling, haptic feedback and LED driving from the main BLE SoC. XLP technology keeps average current in the microampere range while waiting on interrupts, and the CWG + PWM peripherals directly drive vibration motors and indicator LEDs. The 28-UQFN 4x4 mm package fits wrist-worn enclosures, and PPS simplifies routing on tight 4-layer boards. Pair with nRF52832 BLE SoC for the radio and MAX30102 equivalent WERGE TS4231 for optical heart-rate sensing.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC18LF25K40-E/MV — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC18F25K40-E/MV | PIC18LF24K40-I/MV | PIC18LF23K22-E/MV | PIC18LF25K22-I/MV | PIC18LF24K42-I/MV |
|---|---|---|---|---|---|---|
| Package | 28-UQFN (MV) 4x4 mm | 28-UQFN (MV) 4x4 mm - same | 28-UQFN (MV) 4x4 mm - same | 28-UQFN (MV) 4x4 mm - same | 28-UQFN (MV) 4x4 mm - same | 28-UQFN (MV) 4x4 mm - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Operating Voltage Range | 1.8 V to 3.6 V (LF) | 2.3 V to 5.5 V (F) | 1.8 V to 3.6 V (LF) | 1.8 V to 3.6 V (LF) | 1.8 V to 5.5 V (LF) | 1.8 V to 3.6 V (LF) |
| Flash Memory | 32 KB | 32 KB | 16 KB | 8 KB | 32 KB | 16 KB |
| RAM | 2 KB | 2 KB | 1 KB | 512 B | 2 KB | 1 KB |
| EEPROM | 256 B | 256 B | 256 B | 256 B | 256 B | 256 B |
| Maximum CPU Frequency | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| AEC-Q100 Qualified | No (-E/-I industrial temp) | No | No | No | No | No |
| Peripheral Pin Select (PPS) | Yes | Yes | Yes | Yes | Yes | Yes |
| CWG / ZCD / CRC/SCAN CIPs | Yes (K40 CIP set) | Yes | Yes | Partial (no CWG) | Partial (no CIPs) | Yes (K42 enhanced CIPs) |
Principais diferenciais
- Highest Flash + RAM density at 28-pin UQFN (vs PIC18LF24K40-I/MV)
- Full K40 Core Independent Peripheral set (vs PIC18LF25K22-I/MV)
- Lowest operating voltage for battery designs (vs PIC18F25K40-E/MV)
- Most current-generation peripheral upgrades (vs PIC18LF23K22-E/MV)
Notas de projeto
Place a 100 nF X7R ceramic decoupling capacitor as close as possible to each VDD pin, with a 1 uF X5R bulk cap on the main 3.3 V rail. For XLP designs, disable unused peripherals via PMD registers before entering sleep - leaving ADC or comparator enabled can raise sleep current by 10-50 uA. Bond the UQFN exposed pad to a continuous ground copper pour with at least 8 thermal vias to spread heat and improve mechanical reliability.
Estimated: at 64 MHz CPU clock and 3.6 V supply, the MCU draws roughly 15 mA active, dissipating 54 mW. With the UQFN-28 package thermal resistance around 35 C/W (per Microchip package drawing), junction temperature rise above ambient is ~2 C - well within limits for industrial -40C to +125C operation. Sustained high GPIO current sourcing (e.g. 25 mA per pin) may add a few mW; spread high-current loads across multiple pins if possible.
Keep traces under 25 mm for high-frequency digital lines (SPI at >10 MHz, PWM outputs) to limit ringing. Route PPS-mappable signals on RA/RB/RC ports only - RE3 (pin 27) is fixed-function MCLR/GP and cannot be remapped. Provide a clean ground reference under the MCU and avoid routing noisy analog traces near PWM outputs. For the UQFN exposed pad, use 8-12 thermal vias in a 0.3 mm pattern for best thermal and electrical performance.
The 10-bit ADC performs best when the source impedance is < 5 kohm; add an external buffer (e.g. MCP6001 op-amp) for high-impedance sensors. Enable the FVR (Fixed Voltage Reference) for stable ADC readings when VDD drifts. For EUSART comms above 1 Mbaud, add 33 ohm series termination to limit reflections, especially on long backplane traces (RS-485).
Common pitfalls include forgetting to disable analog functions on shared digital pins (configure ANSELx = 0), failing to clear PPS lock bits before remapping peripherals, and using the LF part on a 5 V rail - the LF voltage range tops out at 3.6 V and will damage the MCU. Always run the CRC/SCAN peripheral at boot to catch flash corruption from ESD events in the field.
Informações de conformidade
RoHS and REACH compliant per Microchip product page. -E temperature grade designates -40C to +125C industrial. Not AEC-Q100 qualified; for automotive use Microchip's PIC18F25K40-E/MV automotive-grade equivalents should be evaluated.