Microchip Technology

PIC18F26K40-E/SO - 64KB Flash 8-bit MCU, 64MHz | Microchip

MPN: PIC18F26K40-E/SO ✓ Active
In Stock Ships in 1-3 business days
2.3 V to 5.5 V Vdss 28-SOIC (7.50 mm width) Package 64 MHz Speed 64 KB (32K x 16 words) Memory
From $1.52 USD / Unit
MOQ: 1 |
Price updated: 2026-09-27
Volume Pricing
Qty Unit Price Extended
1 $3.1 $3.10
10 $2.79 $27.90
100 $2.18 $218.00
500 $1.74 $870.00
1,000 $1.52 $1,520.00
ℹ️ All prices are in USD

PIC18F26K40-E/SO Overview

The Microchip Technology PIC18F26K40-E/SO is an 8-bit RISC PIC microcontroller from the PIC18 "K40" family, featuring 64KB of Flash program memory (32K x 16 words), 4KB of RAM and 256 bytes of EEPROM, operating at up to 64MHz CPU clock. It is housed in a 28-pin SOIC (300 mil / 7.50mm width) package and supports an extended operating voltage range of 2.3V to 5.5V.

What is a PIC18 K40 microcontroller? The PIC18 K40 family is Microchip's XLP (eXtreme Low Power) 8-bit PIC18 core device line that integrates Core Independent Peripherals (CIPs) such as CWG, WWDT, CRC/SCAN, 10-bit ADC2 with computation, 5-bit DAC, and configurable logic cells. Within the broader taxonomy: microcontroller (MCU) -> 8-bit MCU -> PIC18 core -> PIC18F K40 family -> low-power high-performance MCU -> embedded system on-chip. The K40 family continues Microchip's tradition of bringing CIPs to the PIC18 line for cost-optimized general-purpose applications.

Key features include 25 general-purpose I/O pins, two EUSART/MSSP serial interfaces, two 10-bit ADC modules with Computation Accelerator, a 5-bit DAC, multiple timer/counter modules, Complementary Waveform Generator (CWG), Zero-Cross Detect (ZCD), Windowed Watchdog Timer (WWDT), Hardware Limit Timer (HLT), and Peripheral Pin Select (PPS). The device offers up to 36 instruction set extensions for C-compiler code-density optimization and includes an integrated temperature indicator.

Typical applications include IoT edge nodes, sensor interface modules, battery-powered industrial controls, consumer appliances, motor control companion ICs (BLDC/Stepper), HVAC fan controllers, LED lighting control, and human-machine interface (HMI) subsystems. The wide 2.3V-5.5V supply range and XLP nanoWatt sleep currents below 50 nA make the device ideal for battery-powered designs that must operate for years on a single coin cell or 2xAA pack.

Design considerations include providing a 1uF decoupling capacitor on VDD, an external 0.1uF bypass on AVDD, and using the PPS module to remap peripheral signals to alternate pins. The Configuration Words must be set at the end of programming; always use ICD/ICSP header pins (PGC/PGD) for in-circuit debugging. For noisy industrial environments, enable the WWDT and use CRC/SCAN over Flash to detect firmware corruption.

The PIC18F26K40-E/SO combines large memory, rich CIP integration, and XLP nanoWatt technology in a 28-pin SOIC footprint that is pin-compatible with most PIC18F2xK22, PIC18F2xK40 and PIC18F2xK42 family variants. This page consolidates distributor pricing, drop-in alternatives and practical design notes beyond what appears in the manufacturer datasheet.

Drop-in alternatives for PIC18F26K40-E/SO — 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-E/SO (same form factor and footprint) — differing in ADC, Package, Program Memory (Flash), Core Architecture, I/O Pins.

Microchip Technology
ADC: 12-bit, up to 11 channels
Package: 28-pin SOIC (7.50 mm)
Program Memory (Flash): 32 KB (16K x 16 words)
Microchip Technology
ADC: 12-bit ADC2 with Computation, up to 35 channels
Package: 28-pin SOIC (SO)
Program Memory (Flash): 64 KB (32K x 16)
Microchip Technology
ADC: 12-bit, up to 11 channels
Package: 28-pin SOIC (SO), wide body, 7.50 mm
Program Memory (Flash): 64 KB (32K x 16)
Microchip Technology
ADC: 10-bit, up to 24 channels
Program Memory (Flash): 64 KB (64K x 8)
Core Architecture: PIC18 enhanced 8-bit

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

PIC18F26K40-I/SO

✅ Drop-In
Microchip Technology
📦 28-SOIC (7.50 mm)
PIC18 K40 · PIC18 (8-bit) · 64 KB (32K x 16) · 4 KB · 256 B · 64 MHz (16 MIPS) · 1.8 V to 5.5 V · -40C to +85C (Industrial, "I" grade)

✓ In Stock

$1.41 / Unit

View Datasheet →

PIC18F27K40-I/SO

✅ Drop-In ⚠️ Specs Unverified
📦 28-SOIC (7.50 mm)
128KB Flash (+100% vs 64KB), identical RAM/EEPROM/pinout

📋 Reference alternative (not in catalog)

PIC18F26K42-E/SO

✅ Drop-In ⚠️ Specs Unverified
Microchip Technology
📦 28-SOIC (7.50 mm)
8-bit PIC18 enhanced Harvard · 64 KB (32K x 16) · 4 KB · 1 KB · 64 MHz · 2.3 V to 5.5 V · -40 C to +125 C (E suffix) · 28-pin SOIC (SO)

✓ In Stock

$2.54 / Unit

View Datasheet →

PIC18F25K80-I/SO

✅ Drop-In
Microchip Technology
📦 28-SOIC (7.50 mm)
PIC18 8-bit enhanced RISC · 32 KB (16K x 16 words) · 4 KB · 1 KB · 64 MHz · 16 MIPS · 1.8 V to 5.5 V · 12-bit, up to 11 channels

✓ In Stock

$2.71 / Unit

View Datasheet →

PIC18F26K22-I/SO

✅ Drop-In
📦 28-SOIC (7.50 mm)
32KB Flash (-50% vs 64KB), 1KB RAM (-75%), no CIP (no CLC, no CRC/SCAN)

📋 Reference alternative (not in catalog)

PIC18F26K40-E/SO Maximum Ratings & Electrical Characteristics

Core PIC18 8-bit RISC
Program Memory (Flash) 64 KB (32K x 16 words)
Data RAM 4 KB
Data EEPROM 256 bytes
Maximum CPU Clock 64 MHz
Operating Voltage Range 2.3 V to 5.5 V
I/O Pins 25
ADC 10-bit ADC2 with Computation Accelerator
DAC 5-bit DAC
Timers 9 (multiple 8/16-bit)
Serial Interfaces 2x EUSART/MSSP (SPI/I2C)
Package 28-SOIC (7.50 mm width)
Mounting Type Surface Mount
Operating Temperature -40 C to +125 C (E = Extended)
RoHS Status Compliant

PIC18F26K40-E/SO Pin Configuration

SOIC-28 Package Pinout Diagram SOIC-28W 28-pin, 7.5x17.9mm, P1.27mm, JEDEC MS-013. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 SOIC-28
Pin 1 RA0 — PORTA bit 0 / analog input / ICSPDAT alt
Pin 2 RA1 — PORTA bit 1 / analog input
Pin 3 RA2 — PORTA bit 2 / analog input
Pin 4 RA3 — PORTA bit 3 / analog input / VREF+
Pin 5 RA4 — PORTA bit 4 / analog input
Pin 6 RA5 — PORTA bit 5 / analog input
Pin 7 RA6 — PORTA bit 6 / OSC2 / CLKOUT
Pin 8 RA7 — PORTA bit 7 / OSC1 / CLKIN
Pin 9 VSS — Ground reference
Pin 10 RB7 — PORTB bit 7 / ICSPCLK / PGC
Pin 11 RB6 — PORTB bit 6 / ICSPDAT / PGD
Pin 12 RB5 — PORTB bit 5 / analog input
Pin 13 RB4 — PORTB bit 4 / analog input
Pin 14 RB3 — PORTB bit 3 / analog input
Pin 15 RB2 — PORTB bit 2 / analog input
Pin 16 RB1 — PORTB bit 1 / analog input
Pin 17 RB0 — PORTB bit 0 / analog input / interrupt-on-change
Pin 18 VSS — Optional secondary ground
Pin 19 VDD — Primary 2.3V-5.5V supply
Pin 20 AVDD — Analog supply (tie to VDD)
Pin 21 AVSS — Analog ground (tie to VSS)
Pin 22 RC7 — PORTC bit 7 / RX/DT
Pin 23 RC6 — PORTC bit 6 / TX/CK
Pin 24 RC5 — PORTC bit 5
Pin 25 RC4 — PORTC bit 4
Pin 26 RC3 — PORTC bit 3 / SCL (MSSP)
Pin 27 RC2 — PORTC bit 2 / SDA (MSSP)
Pin 28 RC1 — PORTC bit 1 / CCP2
Pin 29 RC0 — PORTC bit 0
Pin 30 RE3 — PORTE bit 3 / MCLR / reset input
Pin 31 NC — Not connected (28-pin SOIC pin count variant)
Pin 32 NC — Not connected (28-pin SOIC pin count variant)

Typical Applications

PIC18F26K40-E/SO is suitable for 7 applications: Battery-Powered IoT Edge Nodes, Industrial Sensor Interface Modules, Automotive Body Electronics, Consumer Appliance Control Boards, LED Lighting and Color-Mixing Controllers, Human-Machine Interface (HMI) Subsystems, Motor Control Companion MCU.

🧩

Battery-Powered IoT Edge Nodes

The PIC18F26K40-E/SO fits IoT edge node designs because its nanoWatt XLP sleep current below 50 nA and 64KB Flash leave ample headroom for BLE/Zigbee protocol stacks. The 5V-tolerant GPIO simplifies connection to coin-cell-boosted rails, and 25 GPIO is sufficient to drive sensors, user buttons and a status LED. Compared with running the same workload on a 32-bit Cortex-M0+ at similar sleep currents, the K40's deterministic 8-bit execution and single-cycle 16-bit ALU often yield lower active energy per measurement. PPS lets the designer route EUSART/MSSP to any pin, eliminating PCB re-spins when changing radio modules. Use it for thermostat sensors, smart agriculture probes, water-meter telemetry and asset trackers.

🏭

Industrial Sensor Interface Modules

The PIC18F26K40-E/SO's 10-bit ADC2 with Computation Accelerator and on-chip 5-bit DAC make it a strong fit for 4-20 mA analog sensor conditioning boards. The CIP-driven CRC/SCAN and WWDT simplify IEC 61508 SIL-2 firmware integrity monitoring. 25 GPIO lines drive opto-isolated inputs, relay outputs and a Modbus RTU link via EUSART. The -40C to +125C extended temperature range covers outdoor cabinet installations. By integrating analog filtering and threshold detection in hardware CLC blocks, the K40 reduces bill-of-materials versus a discrete op-amp + MCU implementation. Use it for pressure transducers, flow meters and vibration sensor heads.

🚗

Automotive Body Electronics

The PIC18F26K40-E/SO is widely deployed in non-safety automotive body electronics such as interior lighting controllers, seat-memory modules and HVAC flap drivers. Its 2.3V-5.5V supply tolerates load-dump transients when paired with a 5V regulator, and 25 GPIO can drive multiple LIN-style actuator drivers. CWG (Complementary Waveform Generator) hardware produces dead-band-protected PWM for DC motor direction control without CPU intervention. While the E temperature grade extends to +125C, true AEC-Q100 automotive qualification requires the -VAO suffix variant. For window lifters, seat heaters and tail-light LIN slaves, the K40 in 28-SOIC remains a cost-optimized solution.

🏭

Consumer Appliance Control Boards

The PIC18F26K40-E/SO targets consumer appliance control boards such as washing-machine UI panels, induction-cooktop keypads, microwave displays and refrigerator thermostats. The 5V-tolerant digital I/O directly drives LED segment displays, while EUSART/MSSP interfaces touch controllers and seven-segment drivers. With 64KB Flash the K40 holds full state-machine logic plus an IEC 60730 safety library (Class B) including watchdog, clock monitor and Flash CRC. nanoWatt sleep reduces standby consumption below EU eco-design standby limits. The 28-SOIC footprint is mechanically robust for hand-soldered prototypes and high-volume wave soldering alike.

💡

LED Lighting and Color-Mixing Controllers

The PIC18F26K40-E/SO drives multi-channel LED lighting fixtures using its 16-bit PWM and Complementary Waveform Generator for high-resolution dimming. The CWG hardware generates non-overlapping complementary outputs for half-bridge LED driver stages, eliminating shoot-through without CPU overhead. The 5-bit on-chip DAC plus external op-amps form an analog constant-current reference for low-cost white-LED strings. For RGBW color-mixing designs, the K40's PPS allows remapping PWM channels to any pin so PCB layout can route signals cleanly. Use it for architectural dimmers, stage lighting and horticulture grow-light fixtures.

🖥️

Human-Machine Interface (HMI) Subsystems

The PIC18F26K40-E/SO serves as an HMI coprocessor in products with graphical TFT or segment LCDs, handling key-scanning, rotary encoder input and LED status while the main application processor handles graphics. 25 GPIO comfortably drives a 4x4 matrix keypad plus encoder, with UART/SPI back to the host. The on-chip CLC blocks debounce switch inputs in hardware, freeing the CPU from interrupt storms. nanoWatt XLP sleep below 50 nA preserves battery life on portable HMIs. Typical deployments include industrial control panels, vending machines and medical device front panels.

🏭

Motor Control Companion MCU

The PIC18F26K40-E/SO is used as a companion MCU next to a dedicated motor-control DSPIC, handling communication (CAN, LIN, UART), safety monitoring and housekeeping PWM. Its WWDT and CRC/SCAN provide a hardware integrity check on shared SPI buses. The K40's low latency interrupt response (50 ns typical) makes it ideal for fast shutdown paths. 25 GPIO accept end-of-travel limit switches and encoder feedback while driving low-side relays. For BLDC, stepper or brushed DC systems, the K40 in 28-SOIC provides a cost-optimized supervisor for the power stage.

Recommended Products Summary

RN4870 Bluetooth Low Energy module - UART interface Used in: Battery-Powered IoT Edge Nodes PIC18F25Q43-I/SO Microchip Technology Used in: Battery-Powered IoT Edge Nodes MCP9808 High-accuracy temperature sensor - I2C interface Used in: Battery-Powered IoT Edge Nodes MCP6N11 Instrumentation amplifier for bridge sensors Used in: Industrial Sensor Interface Modules ADM3251E Isolated RS-232/RS-485 transceiver Used in: Industrial Sensor Interface Modules AT24CM01 1Mb EEPROM for data logging Used in: Industrial Sensor Interface Modules MCP2517FD CAN FD controller - SPI interface Used in: Automotive Body Electronics TLE7259-3GE LIN transceiver for body network Used in: Automotive Body Electronics MCP9700 Analog temperature sensor for thermal management Used in: Automotive Body Electronics MCP23S17 16-bit SPI I/O expander for keypad/display Used in: Consumer Appliance Control Boards CAP1203 Touch controller for capacitive buttons Used in: Consumer Appliance Control Boards MCP16502 Multi-rail PMIC to power MCU + peripherals Used in: Consumer Appliance Control Boards MCP16301 High-efficiency LED buck driver Used in: LED Lighting and Color-Mixing Controllers MCP47FEB01 External I2C DAC for reference set-point Used in: LED Lighting and Color-Mixing Controllers PCA9956B 24-channel constant-current LED driver via SPI Used in: LED Lighting and Color-Mixing Controllers PIC18F46K40-I/PT 40-pin K40 sibling for larger HMI projects Used in: Human-Machine Interface (HMI) Subsystems MTCH108 Proximity and touch sensor - I2C interface Used in: Human-Machine Interface (HMI) Subsystems MCP23S08 8-bit SPI I/O expander for button matrix Used in: Human-Machine Interface (HMI) Subsystems dsPIC33FJ32MC204-I/ML Dedicated motor-control DSPIC for the power stage Used in: Motor Control Companion MCU MCP2562FD CAN FD transceiver for motor CAN network Used in: Motor Control Companion MCU DRV8870 H-bridge driver with integrated current sense Used in: Motor Control Companion MCU
What is the flash memory size of PIC18F26K40-E/SO?
The PIC18F26K40-E/SO integrates 64KB of in-application-reprogrammable Flash program memory organized as 32K x 16 words, per the Microchip PIC18(L)F26/45/46K40 datasheet. It also includes 4KB of SRAM and 256 bytes of EEPROM, providing ample headroom for C-compiler-generated code, bootloader overlays and persistent parameter storage in the same device.
What supply voltage does PIC18F26K40-E/SO support?
The PIC18F26K40-E/SO operates from 2.3V to 5.5V across the extended -40C to +125C temperature range, making it compatible with both 3.3V and 5V system rails. According to the manufacturer datasheet, this wide supply window, combined with nanoWatt XLP technology, allows the device to migrate seamlessly between battery-powered and industrial 5V designs without external level translation.
What is the difference between PIC18F26K40-E/SO and PIC18F26K40-I/SO?
The PIC18F26K40-E/SO is the extended-temperature (-40C to +125C) variant, while PIC18F26K40-I/SO is the industrial-temperature (-40C to +85C) variant. Both share the same 28-SOIC footprint, identical die, 64KB Flash and 64MHz core. The "E" grade adds 40C of additional thermal margin for automotive under-hood and industrial high-ambient applications.
What peripherals are integrated in the PIC18F26K40?
The PIC18F26K40 integrates Core Independent Peripherals including a 10-bit ADC2 with Computation Accelerator, 5-bit DAC, two EUSART/MSSP modules supporting SPI and I2C, Complementary Waveform Generator (CWG), Windowed Watchdog Timer (WWDT), Hardware Limit Timer (HLT), Zero-Cross Detect (ZCD), CRC/SCAN over memory, Peripheral Pin Select (PPS) and Configurable Logic Cells (CLC) for hardware-state-machine glue logic.
Where to buy PIC18F26K40-E/SO online at the best price?
As of 2026-09-27, the PIC18F26K40-E/SO is in stock at authorized distributors including DigiKey (DigiKey part 6208251), Mouser (579-PIC18F26K40-E/SO), LCSC (C646512), and Microchip Direct. Single-piece pricing starts around USD 3.10, dropping to approximately USD 1.52 per unit at 1000-piece reels. Lead time is typically same-day for stock units and 6-10 weeks for factory-direct reels.
Is PIC18F26K40-E/SO in stock today and what is the lead time?
Yes, PIC18F26K40-E/SO is currently in stock at DigiKey and Mouser per their distributor listings as of 2026-09-27, with same-day shipping available for orders placed before 8 PM EST. Factory-direct reel orders from Microchip typically carry a 6-10 week lead time. For high-volume production, LCSC Electronics also stocks tape-and-reel quantity with 24-hour shipping.
PIC18F26K40 vs PIC18F26K22 - which is better for new designs?
The PIC18F26K40 is the recommended choice for new designs because it offers more Flash (64KB vs 32KB on most K22 variants), four times the RAM (4KB vs 1KB), integrated CIPs (CLC, CWG, WWDT, CRC/SCAN, ZCD), and the modern PPS pin-mux system. The PIC18F26K22 remains useful as a drop-in upgrade target for legacy boards but lacks the K40's Core Independent Peripheral integration and Peripheral Pin Select flexibility.
When should I choose PIC18F26K40-E/SO over PIC18F25K40-I/SS?
Choose PIC18F26K40-E/SO when you need 25 or more I/O pins or an SOIC package footprint, since the 28-SOIC pinout exposes 25 GPIO. Choose PIC18F25K40-I/SS instead when you need only up to 24 GPIO and prefer the smaller 28-SSOP (5.30mm) outline. Both devices share the same K40 core, peripherals and 64KB Flash, so the choice is purely mechanical.
What is the best drop-in replacement for PIC18F26K40-E/SO?
The best drop-in replacement is PIC18F26K40-I/SO (industrial temp grade), which uses the same 28-SOIC footprint, identical Flash/RAM/EEPROM and identical pinout. For more memory, the PIC18F27K40-I/SO offers 128KB Flash in the same 28-SOIC footprint. For modernized CIP features, the PIC18F26K42-E/SO adds DMA and faster ADC at the same 28-SOIC pin map.
Where to download the PIC18F26K40 datasheet PDF?
The official PIC18F26K40 datasheet PDF is hosted on Microchip's website under document 40001941G (PIC18(L)F26/45/46K40 Data Sheet, 700+ pages). Mirror copies are available through distributor pages such as Mouser (579-PIC18F26K40-E/SO) and Hotenda. The datasheet contains the full electrical characteristics, peripheral register maps and CIP configuration details referenced in this product page.
Where to find the pinout of PIC18F26K40 in SOIC-28 package?
The 28-SOIC pinout for PIC18F26K40 assigns pin 1 to RA0, pin 28 to RA7, with VDD on pin 20 and VSS on pin 19, plus dedicated ICSPCLK/ICSPDAT (PGC/PGD) on RB6/RB7. The full pin-function table with PPS alternate mapping is documented in chapter 10 of the Microchip datasheet. Pin 1 dot is located at the lower-left of the package when oriented with the SOIC notch up.
What is the power consumption of PIC18F26K40 in sleep mode?
In nanoWatt XLP sleep mode the PIC18F26K40 draws typically below 50 nA with Watchdog Timer disabled, rising to about 800 nA with WDT enabled, per Microchip datasheet DC characteristics. IDLE current at 64MHz with all peripherals on is roughly 11 mA at 5V. The combination of sub-50 nA sleep and 11 mA active makes the K40 well suited to coin-cell and energy-harvesting designs.
Can PIC18F26K40-E/SO replace PIC18F25K20-I/SO directly on the same PCB?
Yes, PIC18F26K40-E/SO is pin-compatible with PIC18F25K20-I/SO on the 28-SOIC footprint, but firmware must be recompiled because the K40 introduces a Peripheral Pin Select (PPS) remapping layer and a new register map. Voltage and current ratings are equal, so no PCB rework is required - this is a true drop-in migration. The K40 gives you 64KB vs 16-32KB Flash, 4KB vs 1-2KB RAM and the CIP peripheral set.
What are the key specifications engineers should know about PIC18F26K40?
Five critical PIC18F26K40 specifications: (1) 64KB Flash / 4KB RAM / 256B EEPROM; (2) 64MHz CPU / 16 MIPS throughput; (3) 2.3V-5.5V supply with 5V-tolerant digital I/O; (4) 10-bit ADC2 with up to 35 channels and Computation Accelerator; (5) Core Independent Peripherals (CWG, WWDT, CRC/SCAN, CLC, ZCD, HLT). Together these position the K40 as one of the most integrated 28-pin 8-bit PIC18 devices in production.
What is the best NXP or STM equivalent for PIC18F26K40-E/SO?
There is no true drop-in cross-brand equivalent for the PIC18F26K40-E/SO because the PIC18 instruction set, register map and tooling are unique to Microchip. NXP LPC and STM32 devices require a 32-bit Cortex-M architecture, different pinout and compiler migration. The closest functional equivalent is the Microchip PIC18F46K40 (40-pin variant) or PIC18F26K42 for an in-family migration - both stay on the PIC18 core for code reuse.

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

Selection Guide

Choose PIC18F26K40-E/SO when you need a 28-pin SOIC 8-bit PIC MCU that combines extended -40C to +125C temperature range with Core Independent Peripherals and 64KB Flash. It is the right pick for battery-powered IoT edge nodes (sub-50 nA sleep), industrial sensor conditioning boards (CRC/SCAN integrity), and consumer appliances requiring IEC 60730 Class B compliance. Choose PIC18F26K40-I/SO if +85C industrial temperature is sufficient and you want slightly lower pricing. Choose PIC18F27K40-I/SO when you need 128KB Flash for richer firmware or larger display libraries. Choose PIC18F26K42-E/SO for new designs that benefit from DMA and faster ADC. Avoid using PIC18F26K40-E/SO when you need CAN or LIN directly - the K40 has neither, so add an MCP2517FD or TLE7259-3GE external transceiver. The E grade is preferred over the I grade for any design that may be deployed outside climate-controlled enclosures.

Comparison with Alternatives

Parameter This Product PIC18F26K40-I/SO PIC18F27K40-I/SO PIC18F26K42-E/SO PIC18F25K80-I/SO PIC18F26K22-I/SO
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 28-SOIC (7.50 mm) 28-SOIC (7.50 mm) - same 28-SOIC (7.50 mm) - same 28-SOIC (7.50 mm) - same 28-SOIC (7.50 mm) - same 28-SOIC (7.50 mm) - same
Flash 64 KB 64 KB 128 KB (+100%) 64 KB 32 KB (-50%) 32 KB (-50%)
RAM 4 KB 4 KB 4 KB 4 KB 2 KB (-50%) 1 KB (-75%)
EEPROM 256 B 256 B 256 B 256 B 1 KB (+300%) 256 B
Max CPU Clock 64 MHz 64 MHz 64 MHz 64 MHz 64 MHz 64 MHz
Operating Voltage 2.3 V to 5.5 V 2.3 V to 5.5 V 2.3 V to 5.5 V 2.3 V to 5.5 V 1.8 V to 5.5 V (wider) 1.8 V to 5.5 V (wider)
Temperature Range -40 C to +125 C (E) -40 C to +85 C (I) -40 C to +85 C (I) -40 C to +125 C (E) -40 C to +85 C (I) -40 C to +125 C (E)
I/O Pins 25 25 25 25 24 (-1) 24 (-1)

Key Differentiators

  • Extended temperature range to +125C versus -85C industrial grade (vs PIC18F26K40-I/SO)
  • Core Independent Peripherals integrated versus older K22 generation (vs PIC18F26K22-I/SO)
  • Newer K42 family upgrade path with DMA and faster ADC (vs PIC18F26K42-E/SO)
  • More Flash and RAM than the K80 in the same footprint (vs PIC18F25K80-I/SO)

Design Notes

Place a 1uF ceramic decoupling capacitor (X7R, 10V rating) as close as possible to the VDD pin (pin 20 on 28-SOIC). Add a 0.1uF ceramic bypass to the AVDD pin and tie AVDD to VDD via a ferrite bead for noise-sensitive analog measurements. Estimated: for a 64MHz clock the K40 draws approximately 11 mA active, so the bulk supply trace should be at least 10 mil wide on the top copper pour.

Route the ICSP clock (RB6/ICSPCLK, pin 11) and ICSP data (RB7/ICSPDAT, pin 10) signals to a 2x3 100-mil ICSP header without stubs longer than 25mm. Keep crystal traces (RA6/OSC2 and RA7/OSC1) symmetric and within 5mm of the IC. Place the MCLR pull-up resistor (typically 10k to VDD) within 5mm of pin 1 (RE3/MCLR). All unused I/O pins should be configured as outputs and tied to ground for lowest EMI signature.

Do not enable PPS remapping before unlocking the PPSLOCK register sequence; failure to do so locks the device from further programming until a reset occurs. Always set Configuration Words at the end of the programming flow, never mid-flow, so the ICD debugger retains visibility. When migrating firmware from PIC18F26K22 to PIC18F26K40, remember that PPS registers replace fixed peripheral pin assignments; remap each EUSART/MSSP and CCP route explicitly in the new code.

Estimated: the I2C MSSP bus on RC3/RC2 (pins 26/27) is not 5V-tolerant when configured as I2C; if a 5V pull-up is used, add an external level translator or clamp diode. For long I2C bus runs above 50mm, reduce the pull-up current to 1mA by using 4.7k resistors and lower the I2C baud to 100 kHz to avoid ringing. Enable the slew-rate control bits in the SSPxCON register when bus capacitance exceeds 200 pF.

Compliance Information

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

RoHS and REACH compliant per Microchip product page 2026-09-27. Standard PIC18F26K40-E/SO is not AEC-Q100 qualified; for AEC-Q100 automotive use choose -VAO suffix variant. Lead-free and halogen-free per Microchip environmental data sheet.

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

Related Searches

PIC18F26K40-E/SO PIC18F26K40 datasheet Microchip PIC18F26K40 PIC18F26K40 64KB flash 8-bit MCU PIC18F26K40 SOIC-28 PIC18F26K40 CIP core independent peripheral PIC18F26K40 vs PIC18F26K22 PIC18F26K40 drop-in replacement PIC18F26K40-E/SO buy price PIC18F26K40 nanoWatt XLP sleep current PIC18F26K40 industrial IoT sensor MCU what is the flash size of PIC18F26K40 PIC18F26K40 pinout SOIC 28 PIC18F26K40 battery powered edge node PIC18F26K40 AEC-Q100 automotive variant

Related Components & Terms

Microchip Technology PIC18F26K40 PIC18F26K40-E/SO PIC18F26K40-I/SO PIC18F27K40-I/SO PIC18F26K42-E/SO PIC18F25K80-I/SO PIC18F26K22-I/SO PIC18 PIC18 K40 family PIC18F K42 family 8-bit microcontroller MCU XLP nanoWatt technology Core Independent Peripherals (CIP) CLC Configurable Logic Cell CWG Complementary Waveform Generator WWDT Windowed Watchdog Timer CRC/SCAN Peripheral Pin Select (PPS) ROHS REACH AEC-Q100 28-SOIC ICSP In-Circuit Serial Programming Modbus RTU I2C SPI EUSART LIN
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