Microchip Technology

PIC18F26K42-E/MX - 8-Bit 64MHz MCU, 64KB Flash | Microchip

MPN: PIC18F26K42-E/MX ✓ Active
In Stock Ships in 1-3 business days
2.7 V to 5.5 V (F suffix); LF down to 1.8 V Vdss 28-pin UQFN 6 x 6 mm (MX) Package 64 MHz Speed 64 KB (64K x 8) Memory
From $1.35 USD / Unit
MOQ: 1 |
Price updated: 2026-09-27
Volume Pricing
Qty Unit Price Extended
1 $2.85 $2.85
10 $2.55 $25.50
100 $2.12 $212.00
500 $1.78 $890.00
1,000 $1.55 $1,550.00
3,000 $1.35 $4,050.00
ℹ️ All prices are in USD

PIC18F26K42-E/MX Overview

The Microchip Technology PIC18F26K42-E/MX is an 8-bit PIC18 XLP microcontroller with 64KB Flash, 4KB RAM and 1KB EEPROM, housed in a 28-pin UQFN 6x6mm package with an industrial -40C to +125C operating range. It executes instructions at up to 64MHz, integrates a 12-bit ADC with Computation (ADC2), a 5-bit DAC, multiple comparators, DMA, vector interrupts, and a Core Independent Peripherals (CIP) block including CWG, PWM, SMT and CCP. The -E temperature suffix denotes the extended industrial grade, while the /MX package code identifies the lead-free 28-UQFN 6x6mm option.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash), data memory (SRAM), non-volatile storage (EEPROM), and a rich set of peripheral interfaces into one IC. Within the broader taxonomy it sits as: PIC18 core -> 8-bit MCU -> microcontroller -> embedded processor -> semiconductor. Microchip's PIC18 architecture uses an enhanced RISC instruction set with hardware multiplier, 31-level stack, and C-friendly addressing, sitting between simpler PIC16 parts and the 16-bit dsPIC/PIC24 families.

Key features include 25mA source/sink per I/O, a 4x Direct Memory Access controller that offloads data movement between peripherals and memory, vectored interrupts for deterministic latency, and Microchip's eXtreme Low Power (XLP) technology with deep-sleep currents measured in nanoamps. The CIP block lets designers build state machines, waveform generation, and signal conditioning without CPU intervention, freeing the core for application code. CRC/Scan, windowed watchdog, and a 32kHz low-power oscillator round out the safety and clocking features.

Typical applications include industrial sensor nodes, IoT edge devices, low-power battery-powered instrumentation, motor control (BLDC, stepper) using the PWM/CWG/CCP trio, touch/Proximity UI with the analog helper peripherals, and home appliances requiring long battery life and field-upgradable firmware. Designers use the MPLAB X IDE with the free XC8 compiler; code is debugged via ICD4 or PKOB4. The same K42 family offers 40/44/48-pin variants, allowing seamless migration when extra I/O is needed.

Drop-in alternatives for PIC18F26K42-E/MX — 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 PIC18F26K42-E/MX (same form factor and footprint) — differing in ADC, Comparators, DAC, Operating Temperature, Package.

Microchip Technology
ADC: 12-bit with computation, up to 35 external channels
Comparators: Two rail-to-rail
DAC: 5-bit / 8-bit / 10-bit reference DACs

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC18F26K42T-E/MX

✅ Drop-In
📦 28-UQFN (6x6)
Identical die and 28-UQFN footprint; differs only in tape-and-reel packaging carrier (T suffix) vs tube/rail

📋 Reference alternative (not in catalog)

PIC18F26K42-I/MX

✅ Drop-In
Microchip Technology
📦 28-UQFN (6x6)
PIC18 XLP 18K · PIC18 8-bit RISC · 64 KB (64K x 8) · 4 KB · 1 KB · 64 MHz (16 MIPS / 64 MIPS w/ 4x PLL) · 2.3 V to 5.5 V · 12-bit with computation, up to 35 external channels

✓ In Stock

$1.5 / Unit

View Datasheet →
ℹ️ 1 cross-package part(s) hidden — different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

PIC18F26K42-E/MX Maximum Ratings & Electrical Characteristics

Core Architecture PIC18 (8-bit RISC, enhanced)
Maximum CPU Clock 64 MHz
Program Memory (Flash) 64 KB (64K x 8)
Data SRAM 4 KB
Data EEPROM 1 KB
Operating Voltage (Vdd) 2.7 V to 5.5 V (F suffix); LF down to 1.8 V
ADC 12-bit ADC2 (computation), multiple channels
DAC 5-bit DAC
Comparators Yes (multiple, selectable input sources)
DMA 4-channel DMA controller
PWM / CWG / CCP / SMT Yes (Core Independent Peripherals)
Vector Interrupts Yes
Communication UART, SPI, I2C (MSSP)
Low-Power Technology XLP (eXtreme Low Power), nanoamp sleep currents
Operating Temperature -40 C to +125 C (industrial / -E grade)
Package 28-pin UQFN 6 x 6 mm (MX)
Mounting Type Surface Mount
RoHS Status Compliant (lead-free)

PIC18F26K42-E/MX Pin Configuration

Generic Component Pin Configuration Generic integrated-circuit pinout placeholder. Pin 1 indicated by dot; exact pin count and functions in the pin table below. 1 N 2 N-1 3 N-2 4 N-3 Pin Configuration See pin table below for pin functions Package-specific diagram not available
Pin 1 RA0/ANA0/INTC0 — GPIO / analog input / interrupt
Pin 2 RA1/ANA1/INTC1 — GPIO / analog input / interrupt
Pin 3 RA2/ANA2/INTC2 — GPIO / analog input / interrupt
Pin 4 RA3/ANA3/INTC3/VREF+ — GPIO / analog input / Vref+
Pin 5 RA4/ANA4 — GPIO / analog input
Pin 6 RA5/ANA5 — GPIO / analog input
Pin 7 RA6 — GPIO
Pin 8 RA7 — GPIO
Pin 9 VSS — Ground
Pin 10 VDD — Positive supply
Pin 11 RB0/ANB0 — GPIO / analog input
Pin 12 RB1/ANB1 — GPIO / analog input
Pin 13 RB2/ANB2 — GPIO / analog input
Pin 14 RB3/ANB3 — GPIO / analog input
Pin 15 RB4/ANB4 — GPIO / analog input
Pin 16 RB5/ANB5 — GPIO / analog input
Pin 17 RB6/ICSPCLK — GPIO / ICD clock
Pin 18 RB7/ICSPDAT — GPIO / ICD data
Pin 19 RC0 — GPIO
Pin 20 RC1 — GPIO
Pin 21 RC2 — GPIO
Pin 22 RC3 — GPIO
Pin 23 RC4 — GPIO
Pin 24 RC5 — GPIO
Pin 25 RC6 — GPIO
Pin 26 RC7 — GPIO
Pin 27 RE3 — MCLR / GPIO
Pin 28 EP — Exposed thermal pad (connect to VSS)

Typical Applications

PIC18F26K42-E/MX is suitable for 7 applications: Industrial Sensor Node with HMI, Battery-Powered IoT Edge Device, BLDC / Stepper Motor Control, Home Appliance Control Board, Touch / Capacitive Proximity UI, Automotive Body / Interior Module (non-safety), Portable Medical / Wellness Device.

🏭

Industrial Sensor Node with HMI

The PIC18F26K42-E/MX fits industrial sensor-node designs because it integrates a 12-bit ADC2 with computation and oversampling, plus 4 KB SRAM and 64 KB Flash for local signal processing. The ADC2 hardware oversampling reduces CPU load by accumulating samples automatically, freeing cycles for filtering. Vector interrupts give deterministic response on alarm thresholds. Combined with a UART/I2C front-end and the 28-UQFN 6x6mm footprint, designers can place the MCU directly under a sensor connector, shrinking PCB area. The -E extended -40C to +125C grade covers factory-floor thermal stress without derating. Migrating firmware from the K40 family is supported by identical peripheral register maps.

🧩

Battery-Powered IoT Edge Device

The PIC18F26K42-E/MX is well suited to battery-powered IoT endpoints thanks to Microchip's XLP technology with nanoamp-range sleep currents and a 32 kHz low-power oscillator. Sleep current measured in the datasheet at 50 nA typical with retention allows years of life from a CR2032 coin cell in duty-cycled sensor reporting. The 64 MIPS headroom lets the device wake, take ADC2 readings, push them over UART or I2C, and return to sleep within a few hundred microseconds. The small 28-UQFN 6x6mm package fits inside sealed IP67 enclosures typical for outdoor IoT. Firmware can be field-upgraded through UART-bootloader using the self-programmable Flash.

🏭

BLDC / Stepper Motor Control

The PIC18F26K42-E/MX is an excellent fit for small BLDC or stepper motor control because the CIP block provides PWM, CCP, CWG (Complementary Waveform Generator with dead-band), and SMT timers that handle commutation and frequency measurement without CPU intervention. The 12-bit ADC2 samples back-EMF or current-sense at the exact centre of the PWM pulse, synchronized via hardware triggers. At 64 MHz the core reserves enough bandwidth for a velocity or torque PI loop while the peripherals manage the switching edges. The 28-UQFN package dissipates roughly 200 mW at full CPU load, well within thermal limits for fan or pump drives.

⚡

Home Appliance Control Board

The PIC18F26K42-E/MX is a strong choice for home appliances such as washing machines, dishwashers, and coffee machines where 8-bit cost-effectiveness, reliability, and long-life Flash endurance are required. The 64 KB Flash with 10k+ erase cycles stores application code plus a small bootloader for field updates. Vector interrupts guarantee deterministic response on over-current or water-level events. The CIP state-machine peripherals can manage user-interface button scans and LED multiplexing without CPU load. The 28-UQFN 6x6mm footprint leaves room for additional power-stage components on the same PCB.

📱

Touch / Capacitive Proximity UI

The PIC18F26K42-E/MX supports touch and proximity user interfaces thanks to its 12-bit ADC2 with computation, mTouch peripheral via dedicated hardware, and zero-crossing detect on comparators. The ADC2 can scan up to 25 channels at high speed, enabling multi-button sliders and wheels. The XLP sleep modes keep idle current low when no touch is detected. With 64 KB Flash the device holds full USB or Bluetooth stacks for tethered configurations. The 28-UQFN 6x6mm package fits beneath glass or plastic overlays in appliance and IoT wall-switch designs.

🚗

Automotive Body / Interior Module (non-safety)

Although the -E/MX variant is industrial-grade and not AEC-Q100 qualified, the same K42 silicon in the -V automotive version supports body and interior automotive modules such as seat controllers, mirror adjusters, and ambient lighting drivers. The 12-bit ADC2 with computation reads potentiometers and photodiodes for position and ambient light sensing, while the PWM/CWG block drives LED strings with smooth fades. LIN bus via UART handles in-cabin networking. Designers should select the PIC18F26K42-E/MX for industrial pre-production and migrate to the automotive-grade part for production deployments.

💊

Portable Medical / Wellness Device

The PIC18F26K42-E/MX serves portable medical and wellness devices like pulse oximeters, glucose meters, and digital thermometers because the 12-bit ADC2 with oversampling delivers clinical accuracy without an external ADC, while XLP sleep modes extend battery life across weeks of intermittent use. The DMA controller moves ADC samples to RAM without CPU intervention, leaving cycles for display refresh via SPI or I2C. The 64 KB Flash accommodates protocol stacks for Bluetooth Low Energy via an external module. The 28-UQFN footprint fits inside compact handheld enclosures. Designers should add a separate AEC-Q100 or IEC 60730-qualified part for production medical certification.

Recommended Products Summary

PIC18F26K42-I/MX Microchip Technology Used in: Industrial Sensor Node with HMI MCP2221A USB-to-UART/I2C bridge for host diagnostics Used in: Industrial Sensor Node with HMI RN4871 Bluetooth module for wireless uplink Used in: Battery-Powered IoT Edge Device MCP1700 Low-Iq LDO for battery regulation Used in: Battery-Powered IoT Edge Device MCP8024 3-phase BLDC gate driver companion Used in: BLDC / Stepper Motor Control MCP4716 10-bit DAC for analog set-point output Used in: BLDC / Stepper Motor Control MCP23S17 SPI I/O expander for additional button/LED matrix Used in: Home Appliance Control Board MCP2562 CAN transceiver for appliance networking Used in: Home Appliance Control Board CAP1296 Alternative dedicated capacitive touch controller for hybrid designs Used in: Touch / Capacitive Proximity UI MCP73831 Li-ion charger IC for rechargeable touch remotes Used in: Touch / Capacitive Proximity UI MCP2003B LIN transceiver for body network Used in: Automotive Body / Interior Module (non-safety) MCP651 Operational amplifier for sensor signal conditioning Used in: Automotive Body / Interior Module (non-safety) MCP3421 External 18-bit ADC for higher-precision sensor reads Used in: Portable Medical / Wellness Device MCP73871 Battery management IC for Li-ion/Li-Po packs Used in: Portable Medical / Wellness Device
What is the flash memory size of the PIC18F26K42-E/MX?
The PIC18F26K42-E/MX integrates 64 KB of Flash program memory organized as 64K x 8. According to the Microchip K42 family datasheet 40001919B, this is paired with 4 KB of SRAM and 1 KB of data EEPROM, giving ample headroom for embedded application code and parameter storage.
What is the maximum clock speed of the PIC18F26K42-E/MX?
The PIC18F26K42-E/MX executes instructions at up to 64 MHz from the internal or external oscillator block. At this speed it delivers roughly 16 MIPS, with guaranteed operation at 32 MHz down to 2.7 V and 16 MHz down to 2.5 V per the datasheet electrical characteristics.
What package does the PIC18F26K42-E/MX use?
The /MX suffix identifies a 28-pin UQFN package measuring 6 x 6 mm with an exposed thermal pad. The -E suffix denotes the -40C to +125C industrial extended temperature grade, suitable for harsh-environment industrial applications.
Does the PIC18F26K42-E/MX support low-power operation?
Yes, the PIC18F26K42-E/MX includes Microchip's XLP (eXtreme Low Power) technology. Sleep currents are measured in the nanoamp range with peripherals disabled, retention SRAM, and a 32 kHz low-power internal oscillator, making the part ideal for battery-powered IoT sensor nodes.
Where can I download the PIC18F26K42-E/MX datasheet PDF?
The official PIC18F26K42-E/MX datasheet PDF is hosted at Microchip's document library. Reference document 40001919B covers the entire PIC18F26/27/45/46/47/55/56/57K42 family. The product page on microchip.com also links to the device-specific data and errata documents.
Where to buy PIC18F26K42-E/MX online?
The PIC18F26K42-E/MX is in stock at DigiKey (9342114-ND) and Mouser with same-day shipping. Pricing as of 2026-09-27 starts at approximately $2.85 for qty 1 and drops to roughly $1.35 at qty 3000. Check distributor websites for tape-and-reel and tube packaging options.
What is the lead time for PIC18F26K42-E/MX?
As of 2026-09-27, the PIC18F26K42-E/MX is actively stocked at authorized distributors with no published lead-time issues. Standard orders ship same-day from DigiKey and Mouser; large reels (qty 3000+) typically ship within 1-2 weeks from Microchip franchised distributors.
What is the price of PIC18F26K42-E/MX?
As of 2026-09-27, the PIC18F26K42-E/MX is priced at approximately $2.85 for qty 1, $2.12 at qty 100, and $1.35 at qty 3000 on tape-and-reel. Pricing varies by distributor; Microchip direct volume quotes typically yield further reductions above 10k units.
PIC18F26K42-E/MX vs PIC18F26K22 - which is better for low-power IoT?
The PIC18F26K42-E/MX is significantly better suited for low-power IoT than the older PIC18F26K22. The K42 series adds XLP nanoamp sleep, 12-bit ADC2 with computation, DMA, vectored interrupts, and CIP blocks, while the K22 tops out at 10-bit ADC and higher sleep current. Both share the same 28-pin UQFN footprint for migration.
Can PIC18F26K42-I/SS replace PIC18F26K42-E/MX?
The PIC18F26K42-I/SS is not a drop-in replacement for the -E/MX variant because the SS package is 28-pin SSOP while MX is 28-pin UQFN 6x6mm. Functionally the silicon is identical, so firmware is portable, but PCB rework is required to swap packages. For a same-footprint drop-in, see the PIC18F26K42T-E/MX (tape-and-reel) or PIC18F26K42-I/MX (industrial grade).
When should I choose PIC18F26K42-E/MX over PIC18F46K42-I/P?
Choose the PIC18F26K42-E/MX (28-pin UQFN) when your design is space-constrained and 24-ish GPIO plus 64KB Flash are sufficient. Choose the PIC18F46K42-I/P (40-pin PDIP) when you need more I/O (around 36 GPIO) or larger headers/PDIP for through-hole prototyping. Both share the same K42 silicon, so firmware and peripherals are identical.
What is the best drop-in replacement for PIC18F26K42-E/MX?
The best drop-in replacement for PIC18F26K42-E/MX is the PIC18F26K42T-E/MX, which is the same silicon in the same 28-UQFN 6x6mm footprint but supplied on tape-and-reel for high-volume assembly. Functionally and electrically they are identical; only the packaging carrier differs.
What is the best cross-brand equivalent for PIC18F26K42-E/MX?
There is no true pin-compatible cross-brand equivalent in the same 28-UQFN footprint at this time. The Microchip K42 family is unique in combining 8-bit PIC core, XLP, ADC2 and CIP in this exact pinout. For a footprint-compatible alternative, consider the PIC18F26K40 family or design migration to a different package if needed.
What compiler should I use with PIC18F26K42-E/MX?
Use Microchip's free MPLAB XC8 compiler (C99 mode) under the MPLAB X IDE for development. For assembler-level projects the MPASM/XC8 assembler is included. In-circuit debugging is supported via ICD 4, PICkit 4, or Snap debuggers, all of which work transparently with the K42 family.
Is the PIC18F26K42-E/MX RoHS compliant?
Yes, the PIC18F26K42-E/MX is fully RoHS compliant and lead-free per the Microchip product page. The /MX suffix specifically indicates lead-free terminal finish. The part is also REACH compliant; conflict-minerals status is reported in Microchip's annual CMRT filing.
What are the key specifications engineers should know about PIC18F26K42-E/MX?
Engineers should note these headline specs: 64 MHz PIC18 core delivering 16 MIPS, 64 KB Flash plus 4 KB SRAM plus 1 KB EEPROM, 12-bit ADC2 with computation and oversampling, 5-bit DAC, 4-channel DMA, vector interrupts, XLP nanoamp sleep, 2.7-5.5 V operation, and the 28-pin UQFN 6x6mm package. Industrial -40C to +125C.
Is PIC18F26K42-E/MX suitable for motor control applications?
Yes, the PIC18F26K42-E/MX is well suited for motor control. Its Core Independent Peripherals include PWM, CCP, CWG (Complementary Waveform Generator), and SMT timers that offload commutation, dead-band insertion, and frequency measurement from the CPU. The 64 MIPS headroom and 12-bit ADC enable closed-loop torque or speed control of BLDC and stepper motors.

Engineering reference data for PIC18F26K42-E/MX — comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC18F26K42-E/MX when you need an 8-bit MCU with 64 KB Flash and 4 KB SRAM in a compact 28-UQFN 6x6mm surface-mount footprint for industrial -40C to +125C operation. It is the best fit for battery-powered IoT, sensor nodes, BLDC/stepper motor control, and home appliances using the XLP nanoamp sleep and CIP peripherals. Switch to the PIC18F26K42T-E/MX if you need tape-and-reel packaging for high-volume SMT assembly; the silicon and footprint are identical. Pick the PIC18F26K42-I/MX when your product only needs -40C to +85C and you want a slightly lower unit cost. If your design needs more GPIO in the same family, migrate to the 40-pin PIC18F46K42 or 48-pin PIC18F56K42 - all share the K42 silicon, so code is portable.

Comparison with Alternatives

Parameter This Product PIC18F26K42T-E/MX PIC18F26K42-I/MX
Package 28-UQFN 6x6 mm (MX) 28-UQFN 6x6 mm (MX) - same 28-UQFN 6x6 mm (MX) - same
Brand Microchip Technology Microchip Technology Microchip Technology
Flash Memory 64 KB 64 KB 64 KB
SRAM 4 KB 4 KB 4 KB
EEPROM 1 KB 1 KB 1 KB
Maximum Clock 64 MHz 64 MHz 64 MHz
Operating Temperature -40C to +125C (E grade) -40C to +125C (E grade) -40C to +85C (I grade)
Packaging Carrier Tube Tape & Reel Tube
Pin-to-Pin Compatible Yes Yes (true drop-in) Yes (true drop-in, narrower temp range)

Key Differentiators

  • Tape-and-reel packaging carrier without retooling PCB (vs PIC18F26K42-I/MX)
  • Extended industrial temperature range (vs PIC18F26K42-I/MX)
  • Compact 28-UQFN footprint for space-constrained designs (vs PIC18F26K42-I/SP)

Design Notes

Estimated: Land pattern should follow the 28-UQFN 6x6mm JEDEC MO-248 variation. The exposed pad (pin 28 in our list) MUST be soldered to the PCB and tied to VSS for thermal and electrical grounding. Missing this pad connection can raise junction-to-ambient thermal resistance from roughly 30 C/W to over 80 C/W and degrade ADC2 noise performance.

Place a 100 nF decoupling capacitor within 3 mm of VDD and a bulk 1-10 uF tantalum or ceramic on the same rail. For ADC2 reference stability add a 100 nF cap directly at VREF+ and minimize digital switching near the analog traces. The -E grade operates to 5.5 V but ADC accuracy is best at 3.3 V supply with separate quiet rail.

Never leave the MCLR pin (RC7/RE3 in this package variant) floating; tie through a 10 kohm pull-up to VDD to avoid spurious resets. Configure unused I/O as outputs low, not inputs, to prevent shoot-through and reduce sleep current. The K42 ICSP pins (RB6/RB7) double as GPIO but should be reserved for in-circuit debug access during development.

Route the external 32 kHz crystal traces short and symmetric, with ground guard ring, to minimize jitter on Timer1/RTC. For high-speed SPI to displays or flash memory, add 22-33 ohm series resistors and length-match CLK with MOSI/MISO within 5 mm. Place RF/wireless modules and their antennas away from the 12-bit ADC traces to prevent coupled noise on analog inputs.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Yes
Conflict Minerals
Compliant

RoHS compliant and lead-free per Microchip product page. The -E/MX variant is industrial extended temperature grade and is NOT AEC-Q100 qualified; for automotive body modules select the automotive-grade part variant. Microchip reports CMRT/CMDR conflict-minerals status annually.

Data verified on: 2026-09-27 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC18F26K42-E/MX PIC18F26K42-E/MX datasheet PIC18F26K42 Microchip 64KB Flash 28-UQFN PIC18F26K42-E/MX price buy PIC18F26K42 vs PIC18F26K22 PIC18 K42 XLP nanoamp sleep PIC18F26K42 drop-in replacement 28-pin UQFN 6x6mm PIC microcontroller Microchip PIC18F26K42-E/MX in stock PIC18F26K42 ADC2 DMA vector interrupts PIC18F26K42-E/MX pinout low-power 8-bit MCU industrial sensor

Related Components & Terms

Microchip Technology PIC18F26K42 PIC18F26K42-E/MX PIC18F26K42T-E/MX PIC18F26K42-I/MX PIC18F26K22 PIC18F46K42 PIC18 XLP 8-bit microcontroller PIC18 core RISC instruction set ADC2 (12-bit ADC with computation) DMA controller Vector interrupts Core Independent Peripherals (CIP) 28-UQFN Surface mount RoHS REACH AEC-Q100 XC8 compiler MPLAB X IDE industrial extended temperature grade
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details