PIC18LF26K40-E/MV - 64KB Flash 8-bit MCU, 28-UQFN | Microchip
MPN: PIC18LF26K40-E/MV ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.85 | $2.85 |
| 10 | $2.62 | $26.20 |
| 100 | $2.31 | $231.00 |
| 500 | $2.05 | $1,025.00 |
| 1,000 | $1.78 | $1,780.00 |
| 3,000 | $1.55 | $4,650.00 |
PIC18LF26K40-E/MV Overview
An 8-bit microcontroller (MCU) is a small computer-on-a-chip that integrates a CPU, program memory (Flash), data memory (RAM/EEPROM), and peripherals on a single die. 8-bit MCUs sit below 16-bit and 32-bit devices in raw compute throughput but win on cost, deterministic interrupt latency, and ultra-low sleep current. PIC18 (8-bit) MCUs from Microchip form the upper end of the 8-bit tier, offering high peripheral integration and XLP (eXtreme Low Power) technology with sleep currents in the nanoamp range for IoT and battery applications.
Key differentiating specifications include the 10-bit ADC2 with automatic averaging and threshold comparison, CWG (Complementary Waveform Generator) for hardware dead-band control, 5-bit DAC for analog setpoints, ZCD (Zero-Cross Detect) for AC line control, and CRC/SCAN for memory integrity. Core Independent Peripherals allow hardware state machines to run without waking the CPU, reducing average power dramatically.
Typical applications include IoT sensor nodes, industrial sensor conditioning, LED lighting controllers, AC line power control (using ZCD + CWG), battery chargers, and compact consumer appliances that need USB-style connectivity without a USB PHY (via the dual EUSART/SPI bridging). The 28-UQFN 4x4 mm package makes it ideal for space-constrained PCBs.
When designing, place a 100 nF decoupling capacitor on each VDD pin and connect the exposed pad (EP) to a solid ground plane for thermal dissipation. The PPS system lets you remap most digital peripherals to almost any I/O, simplifying PCB layout. Use the ADC2 computation mode to offload averaging and threshold detection from the CPU.
This page synthesizes XAIPART distributor pricing, drop-in pin-compatible alternatives within the PIC18 LF family, and practical design notes not bundled in the manufacturer datasheet.
Drop-in alternatives for PIC18LF26K40-E/MV — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC18LF26K40-E/MV (same form factor and footprint) — differing in ADC, Package, Timers, Program Memory (Flash), EEPROM.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F26K40-E/MV
✅ Drop-In✓ In Stock
$1.55 / Unit
View Datasheet →PIC18LF26K40-I/MV
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.72 / Unit
View Datasheet →PIC18LF26K40T-I/MV
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.92 / Unit
View Datasheet →PIC18LF26K22-I/SO
✅ Drop-In✓ In Stock
$2.45 / Unit
View Datasheet →PIC18LF26K22-E/ML
✅ Drop-In✓ In Stock
$2.51 / Unit
View Datasheet →PIC18LF26K40-E/MV Maximum Ratings & Electrical Characteristics
| Core | PIC18 8-bit RISC |
| Program Memory (Flash) | 64 KB (32K x 16) |
| Data RAM | 3720 bytes |
| Data EEPROM | 1 KB |
| Maximum CPU Frequency | 64 MHz |
| Operating Voltage Range | 1.8 V to 3.6 V (LF variant) |
| I/O Pins | 25 (typical, 28-pin device) |
| ADC | 10-bit ADC2 (multiple channels) |
| DAC | 5-bit DAC |
| Comparators | Yes |
| PWM / CCP / CWG | PWM with CCP, Complementary Waveform Generator |
| Communication Interfaces | Dual I2C, Dual SPI, Dual EUSART |
| Timers | Multiple 8/16-bit timers |
| Package | 28-UQFN (4x4 mm) with exposed pad |
| Operating Temperature Range | -40C to +125C (E suffix = extended) |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
PIC18LF26K40-E/MV Pin Configuration
| Pin 1 | RA5 — Port A bit 5 (digital I/O, analog input) |
| Pin 2 | RA4 — Port A bit 4 (digital I/O, analog input) |
| Pin 3 | RA3 — Port A bit 3 (digital I/O, analog input) |
| Pin 4 | RA2 — Port A bit 2 (digital I/O, analog input) |
| Pin 5 | RA1 — Port A bit 1 (digital I/O, analog input, DAC output) |
| Pin 6 | RA0 — Port A bit 0 (digital I/O, analog input) |
| Pin 7 | VSS — Ground |
| Pin 8 | RA7 — Port A bit 7 (digital I/O, analog input, oscillator) |
| Pin 9 | RA6 — Port A bit 6 (digital I/O, analog input, oscillator) |
| Pin 10 | RC0 — Port C bit 0 (digital I/O, analog input) |
| Pin 11 | RC1 — Port C bit 1 (digital I/O, analog input) |
| Pin 12 | RC2 — Port C bit 2 (digital I/O, analog input) |
| Pin 13 | RC3 — Port C bit 3 (digital I/O, analog input) |
| Pin 14 | RC4 — Port C bit 4 (digital I/O, analog input) |
| Pin 15 | RC5 — Port C bit 5 (digital I/O, analog input) |
| Pin 16 | RC6 — Port C bit 6 (digital I/O, TX/CK for EUSART) |
| Pin 17 | RC7 — Port C bit 7 (digital I/O, RX/DT for EUSART) |
| Pin 18 | VSS — Ground (secondary) |
| Pin 19 | VDD — Positive supply voltage |
| Pin 20 | RB0 — Port B bit 0 (digital I/O, analog input, interrupt-on-change) |
| Pin 21 | RB1 — Port B bit 1 (digital I/O, analog input, interrupt-on-change) |
| Pin 22 | RB2 — Port B bit 2 (digital I/O, analog input, interrupt-on-change) |
| Pin 23 | RB3 — Port B bit 3 (digital I/O, analog input, interrupt-on-change) |
| Pin 24 | RB4 — Port B bit 4 (digital I/O, analog input, interrupt-on-change) |
| Pin 25 | RB5 — Port B bit 5 (digital I/O, analog input, interrupt-on-change) |
| Pin 26 | RB6 — Port B bit 6 (digital I/O, ICSPCLK/ICSPDAT programming) |
| Pin 27 | RB7 — Port B bit 7 (digital I/O, ICSPCLK/ICSPDAT programming) |
| Pin 28 | VDD — Positive supply voltage (secondary) |
Typical Applications
PIC18LF26K40-E/MV is suitable for 7 applications: Battery-Powered IoT Sensor Node, LED Lighting Controller with Dimming, Industrial Sensor Conditioning, AC Line Power Control with ZCD, USB-to-UART Bridge for Legacy Devices, Compact Consumer Appliance Controller, Security and Access Control Module.
Battery-Powered IoT Sensor Node
The PIC18LF26K40-E/MV's 1.8 V to 3.6 V operating range and XLP nanoamp sleep currents make it ideal for battery-powered IoT sensor nodes. With 64 KB Flash and 3720 bytes of RAM, it can run a state machine for periodic sensor reads, store calibration tables, and transmit data via SPI to a sub-GHz or BLE module. The 10-bit ADC2 with computation mode handles averaging and threshold detection in hardware, reducing CPU wake time. PPS allows remapping peripherals, simplifying PCB layout when sensors are scattered across the board.
Recommended
LED Lighting Controller with Dimming
The PIC18LF26K40-E/MV suits LED lighting controllers thanks to its PWM, CCP, and CWG peripherals. The CWG (Complementary Waveform Generator) provides hardware dead-band control for half-bridge LED driver stages, while PWM channels drive multiple LED strings with independent dimming. ADC2 senses ambient light and adjusts brightness in real time. The 28-UQFN package fits compact bulb form factors, and PPS lets you route the LED drive signals to convenient PCB locations.
Recommended
Industrial Sensor Conditioning
The PIC18LF26K40-E/MV is well-suited for industrial sensor conditioning modules that read 4-20 mA loops, RTDs, or bridge sensors. Its 10-bit ADC2 with internal computation automates linearization and threshold checks. Dual EUSART lets the module bridge RS-485 and RS-232 segments. The hardware CRC/SCAN block runs periodic memory integrity checks for IEC 61508-aligned designs. The 28-UQFN EP package gives good thermal performance for -40C to +125C ambient operation with proper PCB copper.
Recommended
AC Line Power Control with ZCD
The PIC18LF26K40's integrated ZCD (Zero-Cross Detect) and CWG peripherals make it ideal for AC line power control applications like solid-state relays, dimmers, and motor speed controllers. The ZCD block detects AC line crossings without external circuitry, while CWG generates phase-controlled gate drives for TRIACs or MOSFETs with hardware dead-band. The LF variant's 1.8 V to 3.6 V operation means the MCU can be powered from a small isolated supply across the AC line barrier.
Recommended
USB-to-UART Bridge for Legacy Devices
Although the PIC18LF26K40 has no native USB PHY, its dual EUSART and dual SPI combined with PPS allow the MCU to act as a USB-to-UART bridge when paired with an external USB-serial converter. This is useful for retrofitting legacy RS-232 equipment with USB-C connectors. The 64 KB Flash is enough to host a small command interpreter, while the 28-UQFN package fits inside a USB connector housing. Core Independent Peripherals handle protocol framing without CPU wake-up.
Recommended
Compact Consumer Appliance Controller
The PIC18LF26K40-E/MV is ideal for compact consumer appliances such as coffee makers, blenders, or kitchen scales. Its 28-UQFN 4x4 mm package fits tight enclosures, and the integrated 10-bit ADC reads temperature or weight sensors directly. Dual I2C supports multiple user-interface peripherals like keypads or LED segment drivers. The ZCD and PWM blocks can drive small AC motors or heaters. With 64 KB Flash, designers can fit application firmware, BLE pairing logic, and a small RTOS.
Recommended
Security and Access Control Module
The PIC18LF26K40-E/MV fits security and access control modules like keypad entry systems and RFID readers. Its 64 KB Flash supports secure firmware with AES or SHA algorithms, while the 1 KB EEPROM stores credential records. CRC/SCAN provides tamper detection by monitoring Flash integrity. Dual SPI supports both RFID reader ICs and external EEPROM. The LF variant's low-voltage operation allows battery-backed designs that continue functioning through AC power loss.
Recommended
Recommended Products Summary
Engineering reference data for PIC18LF26K40-E/MV — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F26K40-E/MV | PIC18LF26K40-I/MV | PIC18LF26K22-I/SO |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-UQFN (MV) 4x4 mm | 28-UQFN (MV) 4x4 mm - same | 28-UQFN (MV) 4x4 mm - same | SOIC-28 - different |
| Operating Voltage Range | 1.8 V to 3.6 V | 2.3 V to 5.5 V | 1.8 V to 3.6 V - same | 1.8 V to 3.6 V |
| Flash Memory | 64 KB | 64 KB - same | 64 KB - same | 64 KB |
| RAM | 3720 bytes | 3720 bytes - same | 3720 bytes - same | 3896 bytes |
| Data EEPROM | 1 KB | 1 KB - same | 1 KB - same | 1 KB |
| Maximum CPU Frequency | 64 MHz | 64 MHz - same | 64 MHz - same | 64 MHz |
| ADC | 10-bit ADC2 | 10-bit ADC2 - same | 10-bit ADC2 - same | 10-bit ADC |
| Operating Temperature Range | -40C to +125C (E suffix) | -40C to +125C - same | -40C to +85C (I suffix) | -40C to +85C |
Key Differentiators
- Lower operating voltage range (1.8 V min) (vs PIC18F26K40-E/MV)
- Extended temperature grade (-40C to +125C) (vs PIC18LF26K40-I/MV)
- Compact 4x4 mm UQFN footprint (vs PIC18LF26K22-I/SO)
Design Notes
Place a 100 nF decoupling capacitor as close as possible to each VDD pin (pins 19 and 28 on the 28-UQFN). Add a bulk 10 uF tantalum or ceramic capacitor on the main supply rail. The exposed pad (EP) of the UQFN-28 package must be soldered to a ground plane; thermal vias under the EP improve heat dissipation. Avoid routing high-frequency signals under the IC.
The PIC18LF26K40 supports a wide 1.8 V to 3.6 V supply but does NOT include an internal voltage regulator for 5 V operation - that requires the PIC18F26K40. For battery-powered designs, use the XLP sleep modes (Sleep, Doze, Idle, PMD) to drop quiescent current to <100 nA. Estimated: at 3.3 V VDD and 32.768 kHz secondary oscillator, sleep current is around 50-100 nA per the Microchip PIC18 K40 family datasheet.
Do not confuse LF (1.8 V to 3.6 V) with F (2.3 V to 5.5 V) variants when reading firmware documentation. Both parts share the same datasheet but operating ranges differ. The PPS feature remaps most digital peripherals to nearly any I/O pin, but analog functions remain bound to fixed pins - check the pin allocation table before assuming a pin can host an analog channel. The ICD/ICSP programming pins (RB6/RB7) must be accessible for in-circuit debugging.
Route the analog AVdd/AVss pins separately from the digital supply if available, or add a small ferrite bead between VDD and AVdd. Keep ADC traces short and away from PWM outputs to minimize coupling. The ZCD and CWG pins are high-speed - route them directly to the load with minimal trace length to reduce EMI. Place a 100 nF cap on the MCLR pin if unused, or pull MCLR high through a 10 kOhm resistor for normal operation.
Compliance Information
RoHS and lead-free status confirmed via Microchip product page. AEC-Q100 not applicable for standard E/I grade parts - request PIC18LF26K40-E/MVVAO or similar automotive-grade variant if needed.