Opens in a new tab

PIC18F26K40-I/SS

8-bit PIC18 MCU, 64KB Flash, 12-bit ADC2, DMA, PPS, SSOP-28, 1.8-5.5V

10233

Effective Inventory

Image for reference only

Manufacturer Part:

PIC18F26K40-I/SS

Package:

SSOP-28 (7.2 x 5.3 x 1.75 mm)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The PIC18F26K40-I/SS from Microchip is a high-performance 8-bit PIC18 microcontroller with 64 KB Flash, 3.6 KB SRAM, and 1 KB EEPROM in a 28-pin SSOP package. Running at up to 64 MHz (16 MIPS), it features a 12-bit ADC with computation, multiple UART/SPI/I2C interfaces, DMA, and Peripheral Pin Select (PPS) for flexible pin mapping across the -40°C to +85°C industrial temperature range.

Key Specifications

Core PIC18, 8-bit, up to 64 MHz (16 MIPS)
Flash Memory 64 KB
SRAM 3.6 KB
Data EEPROM 1 KB
ADC 12-bit, 30 channels, with computation (ADC2)
DAC 5-bit, 1 channel
Serial Interfaces 2x UART, 2x SPI, 2x I2C
Timers 8 (including 16-bit and 8-bit)
PWM 6 channels (CWG)
DMA Yes (2 channels)
PPS Yes (Peripheral Pin Select)
Supply Voltage 1.8V to 5.5V
Operating Temperature -40°C to +85°C (I-grade)
Package SSOP-28 (7.2 x 5.3 mm)

Features

  • 64 KB Flash with 3.6 KB SRAM and 1 KB EEPROM
  • 12-bit ADC with computation (ADC2) for hardware averaging and filtering
  • 2-channel DMA offloads data transfers from CPU
  • Peripheral Pin Select (PPS) for flexible pin routing
  • Complementary Waveform Generator (CWG) for motor control
  • Multiple serial interfaces: 2x UART, 2x SPI, 2x I2C
  • Hardware CRC and 24-bit SMT (Signal Measurement Timer)

Applications

  • Industrial control and automation
  • Motor control and power conversion
  • Consumer electronics and home appliances
  • Automotive auxiliary systems
  • IoT sensor nodes and edge devices
Product Introduction: PIC18F26K40-I/SS Product Introduction

The Microchip PIC18F26K40-I/SS is a high-performance 8-bit microcontroller from the PIC18K42/K40 family, offering 64 KB Flash, 3.6 KB SRAM, and 1 KB EEPROM in a compact 28-pin SSOP package. Operating at up to 64 MHz with 16 MIPS throughput, it integrates advanced peripherals including a 12-bit ADC with computation (ADC2) that performs hardware averaging, threshold comparison, and oversampling without CPU intervention. The 2-channel DMA controller further offloads the CPU by handling data transfers between peripherals and memory. Peripheral Pin Select (PPS) provides flexible pin mapping, allowing designers to optimize PCB layout by routing serial interfaces and PWM outputs to any available I/O pin.

Working Principle: PIC18F26K40-I/SS Working Principle

The PIC18F26K40-I/SS is based on the enhanced PIC18 core with a 16-bit instruction word and linear program memory addressing up to 2 MB. The CPU executes instructions at up to 16 MIPS with a 64 MHz internal oscillator or external clock source. The 12-bit ADC2 module performs analog-to-digital conversion with hardware computation capabilities including accumulator-based averaging, digital filtering, threshold detection, and oversampling up to 16x, all without CPU intervention. The 2-channel DMA controller transfers data between peripherals and SRAM autonomously. PPS allows remapping of most digital peripheral functions (UART TX/RX, SPI SCK/SDI/SDO, I2C SDA/SCL, PWM outputs, etc.) to any of the 23 I/O pins through crossbar switch registers. The Complementary Waveform Generator (CWG) produces complementary PWM signals with dead-band control for half-bridge and full-bridge motor drive applications.

Pin Description: PIC18F26K40-I/SS Pin Definition and Functions
Pin Name Description
1 MCLR/VPP/RE3 Master Clear (Reset) / Programming Voltage
2 RA0/AN0 Port A Bit 0 / ADC Channel 0
3 RA1/AN1 Port A Bit 1 / ADC Channel 1
4 RA2/AN2 Port A Bit 2 / ADC Channel 2 / DAC Output
5-7 RA3-RA5 Port A Bits 3-5 (PPS capable)
8 VSS Ground
9 RA7/OSC1 Oscillator Input / Port A Bit 7
10 RA6/OSC2 Oscillator Output / Port A Bit 6
11 RC0 Port C Bit 0 (PPS capable)
12-16 RC1-RC5 Port C Bits 1-5 (PPS capable)
17 VDD Positive Supply (1.8-5.5V)
18 RC6/TX1 Port C Bit 6 / UART1 TX (PPS)
19 RC7/RX1 Port C Bit 7 / UART1 RX (PPS)
20-22 RB4-RB6 Port B Bits 4-6 (PPS, interrupt-on-change)
23 RB7 Port B Bit 7 (ICSP data, PPS)
24-25 RB0-RB1/INT Port B Bits 0-1 (external interrupt, PPS)
26 RB2 Port B Bit 2 (PPS capable)
27 RB3 Port B Bit 3 (PPS capable)
28 VSS Ground
Application Scenarios: In which products and applications is PIC18F26K40-I/SS used
  • Motor Control: CWG complementary PWM with dead-band for brushless DC and stepper motor drive in home appliances and industrial actuators
  • Sensor Interface: 12-bit ADC2 with hardware averaging and threshold detection for temperature, pressure, and current sensors without CPU polling
  • Industrial Communication: Dual UART and I2C interfaces with PPS for flexible Modbus RTU and I2C sensor network connections
  • Battery-Powered IoT: 1.8V minimum operation with DMA-offloaded data transfers extending battery life in remote sensor nodes
  • Power Conversion: 12-bit ADC2 oversampling and CWG for digital power supply control loops in buck/boost converters
Alternative Models: What chips are recommended as replacements for PIC18F26K40-I/SS
Model Brand Flash ADC Package
PIC18F25K40-I/SS Microchip 32 KB 12-bit SSOP-28
PIC18F26K42-I/SS Microchip 64 KB 12-bit SSOP-28
PIC18F46K40-I/PT Microchip 64 KB 12-bit TQFP-44
ATmega328P-AU Microchip 32 KB 10-bit TQFP-32
STM8S207CBT6 ST 128 KB 10-bit LQFP-48

Recommend Parts

TMP275AIDR

0.5C I2C temp sensor, 12-bit, 2.7-5.5V, alert output, 8-SOIC

Brand: TI

Package: 8-SOIC (4.90 x 3.91 x 1.50 mm)

IN STOCK: 3681pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IL485E

NVE IL485E IsoLoop isolated RS-485 transceiver, 2.5kVrms isolation, 35Mbps, 16-SOIC WB

Brand: nve

Package: SOIC-16 WB

IN STOCK: 5280pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRFS4227TRLPBF

IRFS4227TRLPBF – 200V N-Channel HEXFET PDP Switch Power MOSFET, 26 mΩ RDS(on), D2PAK (TO-263)

Brand: infineon

Package: D2PAK (TO-263)

IN STOCK: 4334pcs

Cargo cycle: 3-7 Days

The minimum order is 1

CD4070BM96

Quad 2-input XOR gate, 3-18V CMOS, 65ns at 10V, SOIC-14

Brand: TI

Package: SOIC-14 (8.75 x 3.9 x 1.5mm)

IN STOCK: 4245pcs

Cargo cycle: 3-7 Days

The minimum order is 1

AB1526

Bluetooth 5.0 Dual Mode Audio SoC, TWS, AAC, Dual-mic ENC, Integrated Charger, BGA

Brand: airoha

Package: BGA

IN STOCK: 25000pcs

Cargo cycle: 3-7 Days

The minimum order is 1

LP2980IM5-5.0

50mA micropower ultra-low-dropout regulator, 5V, SOT-23-5

Brand: TI

Package: SOT-23-5 (2.9 x 1.6 x 1.1 mm)

IN STOCK: 2557pcs

Cargo cycle: 3-7 Days

The minimum order is 1