PIC18F26K40-I/MV - 8-Bit 64MHz MCU 64KB Flash 28-UQFN | Microchip
MPN: PIC18F26K40-I/MV ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.95 | $1.95 |
| 10 | $1.78 | $17.80 |
| 100 | $1.55 | $155.00 |
| 500 | $1.32 | $660.00 |
| 1,000 | $1.18 | $1,180.00 |
PIC18F26K40-I/MV Overview
What is a PIC18 microcontroller? A PIC18 is Microchip's 8-bit RISC Harvard-architecture microcontroller family belonging to the broader category of microcontrollers (MCU) inside integrated circuits. Microcontrollers sit within the system hierarchy of embedded computing -> MCU -> 8-bit MCU -> PIC18 family, and they integrate CPU, non-volatile program memory, working RAM, EEPROM, ADCs, timers, and communication peripherals onto a single die to replace multi-chip discrete designs. The PIC18 series adds hardware multiply, linear memory, and C-friendly architecture on top of the legacy PIC16 core, while the K40 sub-family specifically adds Core Independent Peripherals (CIPs).
Key differentiating features of the PIC18F26K40-I/MV include 10-bit ADC with Computation (ADC2), 5-bit DAC, two comparators, 2 CCP, 3 PWM, Complementary Waveform Generator (CWG), Windowed Watchdog Timer (WWDT), CRC/Memory Scan, Zero-Cross Detect, Hardware CVD (Capacitive Voltage Divider), Peripheral Pin Select (PPS), and 25 I/O pins. The 28-UQFN 4x4 mm package includes an exposed pad for improved thermal performance in space-constrained layouts.
The PIC18F26K40 uses Microchip's enhanced mid-range core with a hardware 8x8 multiplier, 31-level hardware stack, and a vectored interrupt controller. The XLP technology provides typical sleep currents below 50 nA with RTC and below 100 nA with Watchdog Timer active, enabling years of battery life on coin cells.
Typical applications include IoT sensor nodes, low-power battery-powered measurement, capacitive touch user interfaces (via Hardware CVD), LED lighting and signage control, appliance control boards, USB-to-UART bridge co-processors, automotive body electronics, and general-purpose 5V embedded control. The wide 2.3 V to 5.5 V range allows direct operation from a single Li-ion cell or a regulated 5V rail.
Designers should pair this MCU with a 100 nF decoupling capacitor on each VDD pin plus a bulk 10 uF capacitor at the regulator. The PPS peripheral allows remapping of digital I/O functions to pins after PCB layout, which simplifies routing but requires that the PPSLOCK register be unlocked only during configuration changes.
This page synthesizes distributor pricing, drop-in alternatives from the same PIC18F K40 family, and practical design notes not found in the manufacturer datasheet.
Drop-in alternatives for PIC18F26K40-I/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 PIC18F26K40-I/MV (same form factor and footprint) — differing in ADC, Package, Comparators, 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📋 Reference alternative (not in catalog)
PIC18F26K40-I/MVVAO
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC18F24K40-I/MV
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.21 / Unit
View Datasheet →PIC18F26K40-I/MV Maximum Ratings & Electrical Characteristics
| Core | PIC18 enhanced mid-range 8-bit RISC |
| Maximum CPU Frequency | 64 MHz |
| Flash Program Memory | 64 KB (32K x 16) |
| SRAM | 4 KB |
| EEPROM | 256 bytes |
| Operating Voltage Range | 2.3 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 10-bit ADC2 with Computation |
| DAC | 5-bit DAC |
| Comparators | 2 |
| CCP / PWM | 2 CCP, 3 PWM (with CWG) |
| Timers | 5 (8/16-bit mix) including WWDT |
| Communication Peripherals | I2C, SPI, UART (with PPS) |
| Package | 28-pin UQFN (MV) 4x4 mm with EP |
| Operating Temperature | -40C to +85C (Industrial) |
| MSL Level | 3 (per JEDEC J-STD-020) |
| RoHS Status | Compliant |
PIC18F26K40-I/MV Pin Configuration
| Pin 1 | RA2 — Port A bit 2 (digital I/O, analog input) |
| Pin 2 | RA3 — Port A bit 3 (digital I/O, analog input) |
| Pin 3 | RA4 — Port A bit 4 (digital I/O, analog input) |
| Pin 4 | RA5 — Port A bit 5 (digital I/O, analog input) |
| Pin 5 | RA6 — Port A bit 6 (digital I/O, oscillator) |
| Pin 6 | RA7 — Port A bit 7 (digital I/O, oscillator) |
| Pin 7 | VSS — Ground |
| Pin 8 | VDD — Positive supply voltage |
| Pin 9 | RA1 — Port A bit 1 (digital I/O, analog input) |
| Pin 10 | RA0 — Port A bit 0 (digital I/O, analog input) |
| Pin 11 | RC7 — Port C bit 7 (digital I/O) |
| Pin 12 | RC6 — Port C bit 6 (digital I/O, TX/CK) |
| Pin 13 | RC5 — Port C bit 5 (digital I/O) |
| Pin 14 | RC4 — Port C bit 4 (digital I/O, SDA/SDI) |
| Pin 15 | RC3 — Port C bit 3 (digital I/O, SCL/SCK) |
| Pin 16 | RC2 — Port C bit 2 (digital I/O) |
| Pin 17 | RC1 — Port C bit 1 (digital I/O) |
| Pin 18 | RC0 — Port C bit 0 (digital I/O) |
| Pin 19 | OSC1 — Crystal oscillator input |
| Pin 20 | OSC2 — Crystal oscillator output |
| Pin 21 | RB7 — Port B bit 7 (digital I/O) |
| Pin 22 | RB6 — Port B bit 6 (digital I/O, ICSPCLK) |
| Pin 23 | RB5 — Port B bit 5 (digital I/O) |
| Pin 24 | RB4 — Port B bit 4 (digital I/O) |
| Pin 25 | RB3 — Port B bit 3 (digital I/O) |
| Pin 26 | RB2 — Port B bit 2 (digital I/O) |
| Pin 27 | RB1 — Port B bit 1 (digital I/O) |
| Pin 28 | RB0 — Port B bit 0 (digital I/O, interrupt) |
Typical Applications
PIC18F26K40-I/MV is suitable for 6 applications: IoT Battery-Powered Sensor Node, Capacitive Touch User Interface, LED Lighting and Signage Control, Appliance Control Board, Automotive Body Electronics, USB-to-UART Bridge Co-Processor.
IoT Battery-Powered Sensor Node
The PIC18F26K40-I/MV fits IoT battery-powered sensor nodes because its XLP technology drives sleep currents below 50 nA with RTC and below 100 nA with Watchdog Timer, while the 2.3 V to 5.5 V Vdd range allows direct Li-ion operation. Its 64 KB Flash and 4 KB SRAM comfortably host a sensor-fusion library plus an IoT protocol stack, and ADC2 with Computation performs oversampling and averaging in hardware without waking the CPU. Place the device between a CR2032 coin cell and the sensor I2C bus; the PIC18 K40's hardware CVD and 10-bit ADC2 sample sensors with sub-uA quiescent draw, while the PIC18 core is parked in sleep between conversions for years of battery life.
Recommended
Capacitive Touch User Interface
The PIC18F26K40-I/MV is well suited to capacitive touch user interfaces because the integrated Hardware CVD (Capacitive Voltage Divider) module performs capacitive measurement in hardware without an external timer IC. The 10-bit ADC2 provides noise-immune touch scanning, and PPS allows reassigning the CVD channels to any pin, simplifying PCB layout for 4 to 16 touch buttons. Drive up to 16 touch electrodes directly from the UQFN-28 4x4 mm device; CVD's hardware averaging yields sub-fF resolution and sub-10 ms response, eliminating external touch controller cost while the PIC18 K40 core runs the HMI state machine.
Recommended
LED Lighting and Signage Control
The PIC18F26K40-I/MV fits LED lighting and signage control because the Complementary Waveform Generator (CWG), three PWM channels, and Zero-Cross Detect enable triac-dimmable LED drivers with hardware-controlled switching dead-band. The 64 KB Flash supports DMX or DALI protocol stacks, and PPS routes PWM and CWG to any output pin to simplify PCB routing. Place this device as the control tile driving MOSFETs, drivers and the Power Supply; CWG's hardware anti-shoot-through avoids avalanche/short to the Power Supply rails, while the Zero-Cross Detect synchronizes phase-angle dimming without CPU intervention.
Recommended
Appliance Control Board
The PIC18F26K40-I/MV fits appliance control boards because its 5V-tolerant 2.3-5.5 V Vdd range interfaces directly with triac-driven mains opto-isolators and 5V sensor rails. The 2 CCP and 3 PWM drive motor and valve actuators, the CWG generates complementary switching waveforms for synchronous rectification, and the WWDT and CRC/Memory Scan ensure functional safety in white goods. Use this MCU as the master tile of a washing-machine, dishwasher, or induction-cooktop board; the PIC18 K40's Core Independent Peripherals handle triac zero-cross switching without CPU load, while ADC2 monitors motor current at 10 ksps.
Recommended
Automotive Body Electronics
The PIC18F26K40-I/MV fits automotive body electronics because the 5V-tolerant I/O and 2.3-5.5 V Vdd range tolerate load-dump transients when paired with an external TVS. ADC2 + comparators monitor LIN-bus wake-up signals and analog sensors, the CRC/Memory Scan detects Flash corruption, and the WWDT satisfies ASIL-A watchdog requirements. The automotive-grade PIC18F26K40-E/MV variant extends the temperature range to +125C for under-hood or dashboard applications. Place this MCU as the body controller on a Class-A automotive network; the PIC18 K40's CIP peripherals handle input debouncing, LIN scheduling, and PWM for mirror-fold motors entirely in hardware.
Recommended
USB-to-UART Bridge Co-Processor
The PIC18F26K40-I/MV is suitable as a USB-to-UART bridge co-processor in low-cost USB designs when paired with an external USB-serial bridge IC, because the 64 KB Flash and 4 KB SRAM run command-parsing firmware, and the UART + I2C + SPI peripherals interface to the host MCU. The PPS remaps the UART to any pin, allowing the bridge to share the UQFN-28 footprint with other PIC18 K40 firmware images. Use this PIC18 K40 as a co-processor tile between the USB bridge and the main processor; PPS routes UART to whichever pin the main board has reserved, while the PIC18 K40's PPSLOCK keeps the pinmap fixed after configuration.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F26K40-I/MV — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F26K40-E/MV | PIC18LF26K40-I/MV | PIC18F26K40-I/MVVAO | PIC18F24K40-I/MV |
|---|---|---|---|---|---|
| Package | UQFN-28 (MV) 4x4 mm | UQFN-28 (MV) 4x4 mm - same | UQFN-28 (MV) 4x4 mm - same | UQFN-28 (MV) 4x4 mm - same | UQFN-28 (MV) 4x4 mm - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 64 KB | 64 KB | 64 KB | 64 KB | 16 KB |
| RAM | 4 KB | 4 KB | 4 KB | 4 KB | 1 KB |
| Operating Voltage | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 1.8 V to 3.6 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V |
| Maximum Frequency | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| Operating Temperature | -40C to +85C | -40C to +125C | -40C to +85C | -40C to +85C | -40C to +85C |
| Core Independent Peripherals | CWG, WWDT, CRC/Memory Scan, Hardware CVD, Zero-Cross Detect | Same K40 CIP set | Same K40 CIP set | Same K40 CIP set | Same K40 CIP set |
| Parametric Match | 100% (reference) | 90% (temp range diff) | 80% (Vdd range diff) | 100% (factory-programmed grade) | 70% (Flash/RAM reduced) |
Key Differentiators
- Highest-density 64 KB Flash variant in UQFN-28 4x4 mm (vs PIC18F24K40-I/MV)
- Full 5V-tolerant Vdd range vs low-Vdd only (vs PIC18LF26K40-I/MV)
- Industrial temperature grade in production stock (vs PIC18F26K40-E/MV)
Design Notes
Place a 100 nF decoupling capacitor on each VDD pin and a bulk 10 uF tantalum or ceramic at the regulator output. The PIC18F26K40-I/MV has internal brown-out reset (BOR) and low-voltage detect (HLVD); configure BOR via CONFIG2 to a level just below the minimum supply tolerance (e.g. 2.7V for 3.3V rails) so transient droops do not corrupt Flash. For XLP battery applications, route the watchdog timer and RTC off the LFINTOSC oscillator to keep sleep current below 100 nA.
Solder the UQFN-28 (MV) exposed thermal pad (EP) to a single continuous ground pour on the top layer with multiple thermal vias to inner ground planes. Without EP soldering, junction-to-ambient thermal resistance degrades significantly and the device's +85C rating may be compromised at high duty-cycle loads. Keep high-current switching traces (PWM, CWG outputs) physically separated from low-level analog inputs to avoid ADC2 cross-coupling.
Do not leave the PPSLOCK register unlocked in production firmware - once PPS pin mapping is configured during init, immediately re-lock it. Writing to PPSLOCK when unlocked can corrupt runtime pin assignments. Also verify that the CONFIG3 setting 'IOL1WAY' is OFF if you need to reconfigure PPS via In-Circuit Serial Programming (ICSP), or re-programming after a PPS change will be locked out.
Route the ICSPDAT/ICSPCLK pins (RB6/RB7 on UQFN-28 MV) to test points or programming header pads that are accessible without removing other components. Reserve these pads even if no programming header is placed at production, because field firmware updates will require ICSP access. Keep the ICSP lines short and isolated from PWM-driven power traces to avoid programmer handshake failures.
Estimated: at 64 MHz with peripherals active, core current is ~10 mA at 5V (50 mW). On a JEDEC EIA/JESD51 4-layer 1oz board with the UQFN-28 EP properly soldered, theta_JA is approximately 35 C/W, so a 50 mW load yields a 1.75 C rise above ambient - well within the 85C industrial limit. If the EP is not soldered, theta_JA may double, so always solder the EP for production designs.
Compliance Information
RoHS compliant per Microchip product page. The I/MV suffix indicates industrial temperature grade (-40C to +85C). For AEC-Q100 automotive grade, use PIC18F26K40-E/MV (extended temperature).