PIC18F26K40-I/SS - 8-Bit 64MHz 64KB Flash MCU 28-SSOP | Microchip
MPN: PIC18F26K40-I/SS ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.2 | $3.20 |
| 10 | $2.85 | $28.50 |
| 100 | $2.42 | $242.00 |
| 500 | $2.1 | $1,050.00 |
| 1,000 | $1.85 | $1,850.00 |
PIC18F26K40-I/SS Overview
What is an 8-bit PIC microcontroller? An 8-bit MCU (microcontroller) is a single-chip computer with an 8-bit data path that integrates CPU, non-volatile program memory (Flash), working RAM, EEPROM, and a set of on-chip peripherals (ADC, timers, PWM, communication ports). The PIC18 family is Microchip's high-end 8-bit line, sitting at the top of the 8-bit hierarchy (PIC10/12/16/18) and below 16-bit dsPIC/PIC24 and 32-bit PIC32 in the PIC taxonomy. The PIC18FxxK40 sub-family adds Core Independent Peripherals (CIPs) - hardware blocks that operate without CPU intervention - which is its main design differentiator versus older PIC18FxxK20/K22 parts.
Key features include a 10-bit ADC with up to 35 channels, a 5-bit DAC, two comparators with 9-bit references, four 10-bit PWM outputs, three CCP modules, the Complementary Waveform Generator (CWG), the Hardware Limit Timer (HLT), a windowed watchdog timer (WWDT) and a Cyclic Redundancy Check/Scan module (CRC/SCAN). The XLP (eXtreme Low-Power) technology supports deep sleep currents down to the low nanoampere range, making the part suitable for battery-powered and energy-harvesting designs.
Architecturally, the PIC18F26K40 uses a 16-bit modified Harvard architecture with separate program and data paths and a hardware multiplier. Peripherals are interconnected via Microchip's PPS (Peripheral Pin Select) routing fabric, allowing most digital I/O and analog input functions to be remapped to a wide choice of pins, which simplifies PCB layout versus fixed-pin PIC18 predecessors.
Typical applications include home appliances, industrial control panels, IoT sensor nodes, LED lighting controllers, battery-powered metering, low-cost motor control, and consumer electronics requiring a generous mix of analog and digital peripherals in a small 28-pin outline. The wide 2.3 V-5.5 V supply range also supports 5 V-tolerant industrial backplanes.
Designers should note the I-suffix denotes industrial temperature range (-40°C to +85°C), while an E-suffix indicates the extended -40°C to +125°C range. The /SS package suffix is the SSOP-28; PIC18F26K40 is also available in /SO (SOIC-28), /SP (SPDIP-28), /ML (QFN-28) and /MV (UQFN-28) variants from the same die.
This page synthesizes distributor pricing, drop-in alternatives in the same 28-SSOP footprint, and practical design notes not found in the standalone datasheet, enabling side-by-side comparison with PIC18F25K40, PIC18F25K42, PIC18F25Q43 and newer PIC18F26K83 family devices.
Drop-in alternatives for PIC18F26K40-I/SS — 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/SS (same form factor and footprint) — differing in ADC, Package, DAC, Operating Temperature, Comparators.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F26K40-I/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25K40-I/SS
✅ Drop-In✓ In Stock
$1.1 / Unit
View Datasheet →PIC18F25K42-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F25Q43-I/SS
✅ Drop-In✓ In Stock
$1.45 / Unit
View Datasheet →PIC18F26K22T-I/SO
✅ Drop-In✓ In Stock
$2.3 / Unit
View Datasheet →PIC18F26K20T-I/SO
✅ Drop-In✓ In Stock
$2.41 / Unit
View Datasheet →ATMEGA328P-AU
✅ Drop-In✓ In Stock
$1.85 / Unit
View Datasheet →PIC18F26K40-I/SS Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit PIC18 (modified Harvard, 16-bit instruction path) |
| Series | PIC18FxxK40 (PIC18 XLP family) |
| CPU Frequency (max) | 64 MHz |
| Instruction Throughput | Up to 16 MIPS |
| Program Flash Memory | 64 KB (32K x 16 words) |
| SRAM | 4 KB |
| EEPROM | 256 bytes |
| Supply Voltage Range | 2.3 V to 5.5 V |
| Operating Temperature Range (I suffix) | -40°C to +85°C (Industrial) |
| Package | 28-SSOP (Small-Outline Shrink SOIC) |
| ADC | 10-bit, up to 35 channels |
| DAC | 5-bit, 2 instances |
| Comparators | 2 with 9-bit programmable reference |
| PWM Channels | 4 (10-bit) + CWG + HLT + 3 CCP |
| Windowed Watchdog (WWDT) | Yes |
| CRC/SCAN Module | Yes |
| Peripheral Pin Select (PPS) | Yes (remappable digital I/O) |
| Core Independent Peripherals | CWG, WWDT, CRC/SCAN, HLT, SMT, CLC |
| Mounting Type | Surface Mount |
| MSL Level | MSL3 (per JEDEC J-STD-020) |
| RoHS Status | RoHS Compliant (lead-free) |
PIC18F26K40-I/SS Pin Configuration
| Pin 1 | RA0/ANA0/CWG1IN+/CMP1IN+/CMP2IN-/SEG0 — GPIO RA0 / analog input 0 / CWG input / comparator input / LCD segment |
| Pin 2 | RA1/ANA1/CMP1IN-/CMP2IN+/SEG1 — GPIO RA1 / analog input 1 / comparator input / LCD segment |
| Pin 3 | RA2/ANB2/SEG2/VREF+ — GPIO RA2 / analog input / LCD segment / ADC VREF+ |
| Pin 4 | RA3/ANB3/SEG3/VREF- — GPIO RA3 / analog input / LCD segment / ADC VREF- |
| Pin 5 | RA4/ANB4/CMP1OUT/T0CKI/SEG4 — GPIO RA4 / analog input / comparator 1 output / Timer0 clock |
| Pin 6 | RA5/ANB5/CMP2OUT/SEG5 — GPIO RA5 / analog input / comparator 2 output |
| Pin 7 | RA6/OSC2/CLKR — GPIO RA6 / oscillator output / reference clock out |
| Pin 8 | RA7/OSC1/CLKIN — GPIO RA7 / oscillator input / external clock input |
| Pin 9 | VSS — Ground reference |
| Pin 10 | VDD — Positive supply (2.3 V to 5.5 V) |
| Pin 11 | RB0/ANB8/INT0/SEG30 — GPIO RB0 / analog input / external interrupt 0 |
| Pin 12 | RB1/ANB9/INT1/SEG31 — GPIO RB1 / analog input / external interrupt 1 |
| Pin 13 | RB2/ANB10/INT2/CMP2OUT/CWG1FLT — GPIO RB2 / analog / INT2 / comparator output / CWG fault |
| Pin 14 | RB3/ANB11/CMP1OUT/CWG1IN — GPIO RB3 / analog / comparator output / CWG input |
| Pin 15 | RB4/ANB12/C1IN3-/C2IN3+/SEG5 — GPIO RB4 / analog / comparator input |
| Pin 16 | RB5/ANB13/C1IN2-/C2IN2-/SEG6 — GPIO RB5 / analog / comparator input |
| Pin 17 | RB6/ICSP_CK/ICSPCLK — GPIO RB6 / In-Circuit Serial Programming clock |
| Pin 18 | RB7/ICSP_DT/ICSPDAT — GPIO RB7 / In-Circuit Serial Programming data |
| Pin 19 | RC0/SOSCO/AN14/CMP1IN3+ — GPIO RC0 / secondary oscillator out / analog input |
| Pin 20 | RC1/SOSCI/AN15/CMP2IN3+ — GPIO RC1 / secondary oscillator in / analog input |
| Pin 21 | RC2/ANB6/CMP2IN1-/CMP1IN2-/SEG7 — GPIO RC2 / analog / comparator input |
| Pin 22 | RC3/ANB7/CMP2IN1+/CMP1IN2+/SEG8 — GPIO RC3 / analog / comparator input |
| Pin 23 | RC4/ANB0/SEG9 — GPIO RC4 / analog input |
| Pin 24 | RC5/ANB1/SEG10 — GPIO RC5 / analog input |
| Pin 25 | RC6/ANB12/C1IN4-/C2IN4-/SEG11 — GPIO RC6 / analog / comparator input |
| Pin 26 | RC7/ANB13/C1IN4+/C2IN4+/SEG12 — GPIO RC7 / analog / comparator input |
| Pin 27 | RE3/MCLR/VPP — Master Clear (Reset) input / programming voltage |
| Pin 28 | VDD — Positive supply (tied to pin 10 via internal bond) |
Typical Applications
PIC18F26K40-I/SS is suitable for 7 applications: Home Appliance Control Panels, Battery-Powered IoT Sensor Nodes, Industrial Control and HMI, LED Lighting and Driver Control, Low-Cost Brushless DC Motor Drive, Consumer Electronics and Toys, Automotive Body Modules (non-safety).
Home Appliance Control Panels
The PIC18F26K40-I/SS fits home appliance front-panel designs thanks to its 64 KB Flash, generous 35-channel 10-bit ADC for sensing temperature and water level, four PWM channels for fan/motor control, and integrated comparators for over-current detection. The Core Independent Peripherals (CWG, CLC, SMT) reduce CPU wake events, letting the firmware stay in deep sleep when no user input is detected - directly improving energy-star standby numbers. The 2.3 V-5.5 V supply range also covers both 3.3 V and 5 V appliance rails from a single BOM. Designers reusing a 28-SSOP layout across washer, dryer and refrigerator SKUs benefit from drop-in scalability within the PIC18FxxK40 family.
Recommended
Battery-Powered IoT Sensor Nodes
With XLP nanoWatt sleep currents in the tens of nA, the PIC18F26K40-I/SS is well suited to coin-cell or two-AA IoT nodes that wake periodically to read sensors and transmit. The 10-bit ADC, SMT timer for wake cadence, and AES-capable software stack fit comfortably inside 64 KB Flash while leaving headroom for OTA bootloader code. The 2.3 V-5.5 V range matches Li-primary (3 V) and dual-AA (3 V) chemistries without boost converter overhead. Designers targeting sub-1 µA average current with active code-signing security will appreciate the integrated CRC/SCAN block.
Recommended
Industrial Control and HMI
Industrial 24 V systems commonly step down to 5 V rails where the PIC18F26K40-I/SS natively operates. Its PPS (Peripheral Pin Select) lets design engineers reassign UART, SPI and I2C to free pins, simplifying opto-isolated HMI boards. The four 10-bit PWM channels, complemented by the CWG, drive triac-based AC switches and small DC motor bridges directly - reducing BOM cost versus dedicated motor-control MCUs. Wide industrial -40°C to +85°C support and the E-suffix variant rated to 125°C suit panel-mount and outdoor-instrument use cases.
Recommended
LED Lighting and Driver Control
The PIC18F26K40-I/SS drives multi-channel LED lighting fixtures via four hardware PWM channels, two comparators for LED open/short detection, and the CWG for synchronous MOSFET control. Its 5.5 V tolerance lets it interface directly to analog dimming circuits without level shifters. Designers building DALI, 0-10 V or DMX bridge nodes benefit from the 64 KB Flash to host protocol stacks plus diagnostics. The SSOP-28 package fits the compact driver PCBs common in linear and downlight luminaires where thermal head-room is at a premium.
Recommended
Low-Cost Brushless DC Motor Drive
Sensorless BLDC commutation with trapezoidal drive is implemented directly in the CWG and CCP peripherals of the PIC18F26K40-I/SS, freeing the CPU from cycle-tight interrupts. The 10-bit ADC measures back-EMF for commutation and over-current protection through on-chip comparators. With a 16 MIPS core, the MCU handles closed-loop PI control plus UART diagnostics at low BOM cost. For 24 V and 36 V BLDC tools, fans and pumps, the 28-SSOP variant of the chip offers a balanced mix of analog integration and small footprint.
Recommended
Consumer Electronics and Toys
Hobby drones, musical toys and remote controls benefit from the PIC18F26K40-I/SS's low cost, low power, and 5 V tolerance to interface directly to battery chargers, IR LEDs, and low-cost audio peripherals. The 35 ADC channels expand for gesture sensing via photodiodes or capacitive touch via the mTouch framework. The 64 KB Flash supports USB stacks via the external PIC18 USB transceiver or, more typically, wireless modules via SPI/UART. The wide 2.3-5.5 V range suits alkaline or Li-ion cells without regulators.
Recommended
Automotive Body Modules (non-safety)
For non-safety automotive body modules - lighting controllers, seat heaters, mirror modules - the PIC18F26K40-I/SS offers ample Flash, robust ADC and LIN-capable UART. Although the automotive -40 to +125°C E-suffix variant is selected for underhood-adjacent modules, the I-suffix is widely used for cabin electronics. The CRC/SCAN block supports automotive end-of-line testing required by the OEM. BOM alignment across climate and trim SKUs is simplified by the K40 family's pinout consistency across /SS and /SO packages.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F26K40-I/SS — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F25K40-I/SS | PIC18F25K42-I/SS | PIC18F25Q43-I/SS |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SSOP (/SS) | 28-SSOP (/SS) - same | 28-SSOP (/SS) - same | 28-SSOP (/SS) - same |
| Core | PIC18 8-bit, 64 MHz | PIC18 8-bit, 64 MHz | PIC18 8-bit, 64 MHz | PIC18 8-bit, 64 MHz |
| Flash Memory | 64 KB | 32 KB (-50%) | 32 KB (-50%) | 32 KB (-50%) |
| SRAM | 4 KB | 4 KB | 2 KB (-50%) | 4 KB |
| EEPROM | 256 B | 256 B | 256 B | 256 B |
| ADC | 10-bit, 35 ch | 10-bit, 35 ch | 12-bit, 35 ch | 12-bit, 35 ch |
| Operating Voltage | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V |
| CIPs (CWG/WWDT/CRC/etc.) | Yes (CWG, WWDT, CRC/SCAN, SMT, CLC) | Same set | Enhanced CLC and SMT | Q-series CIP set |
| Per-Unit Price (1 pc) | USD 3.20 | USD 2.80 | USD 2.95 | USD 3.10 |
Key Differentiators
- Doubled Flash versus PIC18F25K40 in identical 28-SSOP pinout (vs PIC18F25K40-I/SS)
- Broader ECC tooling and stability than Q43 family (vs PIC18F25Q43-I/SS)
- Higher CPU throughput versus K22 predecessors (vs PIC18F26K22T-I/SO)
- Stable 5 V operation versus AVR alternatives (vs ATMEGA328P-AU)
Design Notes
The PIC18F26K40-I/SS supports XLP nanoWatt sleep with measured sleep currents in the tens of nA when peripherals are gated off via PMD bits. To achieve lowest standby, deactivate unused ADC2 channels via the ADE bits, switch the primary oscillator to LFINTOSC during sleep, and use IOC (interrupt-on-change) on wakeup. Estimated: when running from a CR2032 coin cell, this design pattern supports 5-10 year battery life assuming hourly wake, 10 ms active, and 25 °C operation.
Place a 100 nF decoupling capacitor within 3 mm of the VDD pin and a 10 µF bulk capacitor on the same VDD rail at the board edge. The VSS pin (pin 9) should be tied to a low-impedance ground pour; the exposed/extra VDD pin 28 connects internally to pin 10 but should also be tied to the rail for thermal relief. Place the ICSP header near RB6/RB7 to keep the programming header to 5 cm or less.
The PIC18F26K40 needs a valid configuration of the IRCF and SCS bits in OSCCON before the main oscillator starts; leaving the MCU in the default LFINTOSC at 31 kHz is a common bring-up issue when running over 32 MHz PLL. Additionally, on the 28-SSOP package the unused GCALL/GCLK functions on RC0/RC1 must be disabled to avoid collateral POR events, especially in BLDC drives.
When using the on-chip ADC2, isolate the analog and digital VDD rails with a small ferrite or 10 Ω resistor plus 100 nF cap to suppress digital noise in sensitive measurements. Route the analog inputs on an inner layer kept away from PWM traces and reflow clocks. The FVR (Fixed Voltage Reference) module typically requires a 0.1 µF FVR-cap pin routing close to the device for lowest error.
Compliance Information
RoHS compliance and lead-free status confirmed by Microchip product listing. AEC-Q100 qualification not applicable - this I-suffix part targets industrial, not automotive use; automotive SKUs use the -EQ suffix. Conflict Minerals status confirmed compliant with Microchip's published CMRT template.