Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes
product primary image

PIC18F26K22

Status: In Production

Features:

  • C Compiler optimized architecture/instruction set
  • Data EEPROM to 1024 bytes
  • Linear program memory addressing to 64 Kbytes
  • Linear data memory addressing to 4 Kbytes
  • Up to 16 MIPS operation
  • 16-bit wide instructions, 8-bit wide data path
  • Priority levels for interrupts
  • 31-level, software accessible hardware stack
  • 8 x 8 Single-Cycle Hardware Multiplier
  • Sleep mode: 100 nA, typical
  • Watchdog Timer: 500 nA, typical
  • Timer1 Oscillator: 500 nA @ typical 32 kHz
  • Factory calibrated to ± 1%
  • Software selectable frequencies range of 31 kHz to 16 MHz
  • 64 MHz performance available using PLL
  • no external components required
  • Four Crystal modes up to 64 MHz
  • Two external Clock modes up to 64 MHz
  • 4X Phase Lock Loop (PLL)
  • Secondary oscillator using Timer1 @ 32 kHz
  • Allows for safe shutdown if peripheral clock stops
  • Two-Speed Oscillator Start-up
  • Full 5.5V operation (PIC18F2XK22/4XK22)
  • Low voltage option available for 1.8V-3.6V operation (PIC18LF2XK22/4XK22)
  • Self-reprogrammable under software control
  • Power-on Reset (POR), Power-up Timer (PWRT) and Oscillator Start-up Timer (OST)
  • Programmable Brown-out Reset (BOR)
  • Extended Watchdog Timer (WDT) with on-chip oscillator and software enable
  • Programmable code protection
  • In-Circuit Serial Programming™ (ICSP™) via two pins
  • In-Circuit Debug via two pins
  • 10-bit resolution
  • 17 analog input channels (PIC18F/LF2XK22)
  • 28 analog input channels (PIC18F/LF4XK22)
  • Auto acquisition capability
  • Conversion available during Sleep
  • Programmable High/Low Voltage Detection (PLVD) module
  • Up to 28 channels for button, sensor or slider input
  • Two rail-to-rail analog comparators
  • Comparator inputs and outputs externally accessible and configurable
  • Programmable On-chip Voltage Reference (CVREF) module (% of VDD)
  • Selectable on-chip fixed voltage reference
  • High current sink/source 25 mA/25 mA
  • Individually programmable weak pull-ups
  • Individually programmable interrupt-on-pin change
  • Three external interrupt pins
  • Up to four 16-bit timers/counters with prescaler
  • Up to three 8-bit timers/counters
  • Dedicated, low-power Timer1 oscillator
  • Up to two Capture/Compare/PWM (CCP) modules
  • Up to three Enhanced Capture/Compare/PWM
  • One, two or four PWM outputs
  • Selectable polarity
  • Programmable dead time
  • Auto-shutdown and Auto-restart
  • PWM output steering control
  • 3-wire SPI (supports all 4 SPI modes)
  • I2C™ Master and Slave modes (Slave mode with address masking)
  • Supports RS-232, RS-485 and LIN 2.0
  • Auto-Baud Detect
  • Auto Wake-up on Start bit
View More
Overview
Documents
Development Environment
Similar Devices
RoHS Information
Buy Now

Device Overview

Additional Features

    High Performance RISC CPU:

    • C Compiler optimized architecture/instruction set
    • Data EEPROM to 1024 bytes
    • Linear program memory addressing to 64 Kbytes
    • Linear data memory addressing to 4 Kbytes
    • Up to 16 MIPS operation
    • 16-bit wide instructions, 8-bit wide data path
    • Priority levels for interrupts
    • 31-level, software accessible hardware stack
    • 8 x 8 Single-Cycle Hardware Multiplier

    Extreme Low-Power Management with nanoWatt XLP™:

    • Sleep mode: 100 nA, typical
    • Watchdog Timer: 500 nA, typical
    • Timer1 Oscillator: 500 nA @ typical 32 kHz

    Flexible Oscillator Structure:

    • Precision 16 MHz internal oscillator block:
      • Factory calibrated to ± 1%
      • Software selectable frequencies range of 31 kHz to 16 MHz
      • 64 MHz performance available using PLL
      • no external components required
    • Four Crystal modes up to 64 MHz
    • Two external Clock modes up to 64 MHz
    • 4X Phase Lock Loop (PLL)
    • Secondary oscillator using Timer1 @ 32 kHz
    • Fail-Safe Clock Monitor:
      • Allows for safe shutdown if peripheral clock stops
    • Two-Speed Oscillator Start-up

    Special Microcontroller Features:

    • Full 5.5V operation (PIC18F2XK22/4XK22)
    • Low voltage option available for 1.8V-3.6V operation (PIC18LF2XK22/4XK22)
    • Self-reprogrammable under software control
    • Power-on Reset (POR), Power-up Timer (PWRT) and Oscillator Start-up Timer (OST)
    • Programmable Brown-out Reset (BOR)
    • Extended Watchdog Timer (WDT) with on-chip oscillator and software enable
    • Programmable code protection
    • In-Circuit Serial Programming™ (ICSP™) via two pins
    • In-Circuit Debug via two pins

    Analog Features:

    • Analog-to-Digital Converter (ADC) module:
      • 10-bit resolution
      • 17 analog input channels (PIC18F/LF2XK22)
      • 28 analog input channels (PIC18F/LF4XK22)
      • Auto acquisition capability
      • Conversion available during Sleep
    • Programmable High/Low Voltage Detection (PLVD) module
    • Charge Time Measurement Unit (CTMU) for mTouch™ support:
      • Up to 28 channels for button, sensor or slider input
    • Analog comparator module with:
      • Two rail-to-rail analog comparators
      • Comparator inputs and outputs externally accessible and configurable
    • Voltage reference module with:
      • Programmable On-chip Voltage Reference (CVREF) module (% of VDD)
      • Selectable on-chip fixed voltage reference

    Peripheral Features:

    • 24/35 I/O pins and 1 input-only pin:
      • High current sink/source 25 mA/25 mA
      • Individually programmable weak pull-ups
      • Individually programmable interrupt-on-pin change
    • Three external interrupt pins
    • Up to seven Timer modules:
      • Up to four 16-bit timers/counters with prescaler
      • Up to three 8-bit timers/counters
      • Dedicated, low-power Timer1 oscillator
    • Up to two Capture/Compare/PWM (CCP) modules
    • Up to three Enhanced Capture/Compare/PWM
    • (ECCP) modules with:
      • One, two or four PWM outputs
      • Selectable polarity
      • Programmable dead time
      • Auto-shutdown and Auto-restart
      • PWM output steering control
    • Two Master Synchronous Serial Port (MSSP) modules with two modes of operation:
      • 3-wire SPI (supports all 4 SPI modes)
      • I2C™ Master and Slave modes (Slave mode with address masking)
    • Two Enhanced Universal Synchronous Asynchronous Receiver Transmitter modules (EUSART):
      • Supports RS-232, RS-485 and LIN 2.0
      • Auto-Baud Detect
      • Auto Wake-up on Start bit
Parametrics
Name
Value
Program Memory Type
Flash
Program Memory Size (KB)
64
CPU Speed (MIPS/DMIPS)
16
SRAM Bytes
3,896
Data EEPROM/HEF (bytes)
1024
Digital Communication Peripherals
2-UART, 2-SPI, 2-I2C2-MSSP(SPI/I2C)
Capture/Compare/PWM Peripherals
2 CCP, 3 ECCP,
Timers
3 x 8-bit, 4 x 16-bit
ADC Input
17 ch, 10-bit
Number of Comparators
2
Temperature Range (C)
-40 to 125
Operating Voltage Range (V)
1.8 to 5.5
Pin Count
28
Low Power
Yes

Documents

Jump to:

Data Sheet

08/29/2016
5702KB

Programming Specification

Applications Source code

05/30/2017
3028KB
01/21/2016
684KB
01/21/2016
417KB

Development Environment

  • Emulators & Debuggers
  • Programmers
Emulators & Debuggers
MPLAB PICkit 4 In-Circuit Debugger
MPLAB PICkit 4 In-Circuit Debugger ( PG164140 )

Fast programming, increased functionality, at the same price as its predecessor.


The MPLAB® PICkit™ 4 In-Circuit Debugger/Programmer allows fast and easy debugging and programming of PIC®, dsPIC®, AVR, SAM and CEC flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment (IDE), version 4.15. The MPLAB

...

Learn More
Add To Cart
MPLAB ICD 4 In-Circuit Debugger
MPLAB ICD 4 In-Circuit Debugger ( DV164045 )

The MPLAB® ICD 4 In-Circuit Debugger/Programmer is Microchip’s fastest, cost-effective debugging and programming tool for PIC® Microcontrollers (MCUs), dsPIC® Digital Signal Controllers (DSCs), and CEC flash microcontrollers. This speed is provided by a SAME70 MCU with 300 MHz, 32-bit MCU with 2MB of RAM and a high-speed FPGA to yield faster

...

Learn More
Add To Cart
PICkit 3 In-Circuit Debugger
PICkit 3 In-Circuit Debugger ( PG164130 )
(Not Recommended for new design)

The PICkit 3 is not recommended for new designs. For new designs, please see the MPLAB PICKit 4.

Microchip’s PICkit™ 3 In-Circuit Debugger/Programmer uses in-circuit debugging logic incorporated into each chip with Flash memory to provide a low-cost hardware debugger and programmer. In-circuit

...

Learn More
Add To Cart
MPLAB ICD 3 In-Circuit Debugger
MPLAB ICD 3 In-Circuit Debugger ( DV164035 )
(Not Recommended for new design)

 The MPLAB ICD 3 is a mature product. For new designs, consider using the MPLAB ICD 4 (DV164045)

MPLAB® ICD 3 In-Circuit Debugger System is Microchip's most cost effective high-speed hardware debugger/programmer for Microchip Flash Digital Signal Controller (DSC) and microcontroller

...

Learn More
Add To Cart
MPLAB REAL ICE PROBE KIT
MPLAB REAL ICE PROBE KIT ( DV244005 )
(Not Recommended for new design)

 

Not recommended for new designs. For new designs, please consider the MPLAB ICD 4 (DV164045).

MPLAB REAL ICE In-Circuit Emulator System is Microchip’s next generation high speed emulator for Microchip Flash DSC® and MCU devices. It debugs and programs

...

Debug Features:
Runtime watch:Supported
I/O Port Trace:True (Requires Compiler Support)
Native Trace:True
SPI Trace:True (Requires Compiler Support)


Learn More
Add To Cart
Programmers
MPLAB PICkit 4 In-Circuit Debugger
MPLAB PICkit 4 In-Circuit Debugger ( PG164140 )

Fast programming, increased functionality, at the same price as its predecessor.


The MPLAB® PICkit™ 4 In-Circuit Debugger/Programmer allows fast and easy debugging and programming of PIC®, dsPIC®, AVR, SAM and CEC flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment (IDE), version 4.15. The MPLAB

...

Learn More
Add To Cart
MPLAB ICD 4 In-Circuit Debugger
MPLAB ICD 4 In-Circuit Debugger ( DV164045 )

The MPLAB® ICD 4 In-Circuit Debugger/Programmer is Microchip’s fastest, cost-effective debugging and programming tool for PIC® Microcontrollers (MCUs), dsPIC® Digital Signal Controllers (DSCs), and CEC flash microcontrollers. This speed is provided by a SAME70 MCU with 300 MHz, 32-bit MCU with 2MB of RAM and a high-speed FPGA to yield faster

...

Learn More
Add To Cart
PICkit 3 In-Circuit Debugger
PICkit 3 In-Circuit Debugger ( PG164130 )
(Not Recommended for new design)

The PICkit 3 is not recommended for new designs. For new designs, please see the MPLAB PICKit 4.

Microchip’s PICkit™ 3 In-Circuit Debugger/Programmer uses in-circuit debugging logic incorporated into each chip with Flash memory to provide a low-cost hardware debugger and programmer. In-circuit

...

Learn More
Add To Cart
MPLAB PM3 Universal Device Programmer
MPLAB PM3 Universal Device Programmer ( DV007004 )

The MPLAB® PM3 Universal Device Programmer is easy to use and operates with a PC or as a stand-alone unit, and programs Microchip's entire line of PIC® devices as well as the latest dsPIC® DSC devices. When used standalone, data can be loaded and saved with the SD/MMC card (not included).

Learn More
Add To Cart
MPLAB ICD 3 In-Circuit Debugger
MPLAB ICD 3 In-Circuit Debugger ( DV164035 )
(Not Recommended for new design)

 The MPLAB ICD 3 is a mature product. For new designs, consider using the MPLAB ICD 4 (DV164045)

MPLAB® ICD 3 In-Circuit Debugger System is Microchip's most cost effective high-speed hardware debugger/programmer for Microchip Flash Digital Signal Controller (DSC) and microcontroller

...

Learn More
Add To Cart
MPLAB REAL ICE PROBE KIT
MPLAB REAL ICE PROBE KIT ( DV244005 )
(Not Recommended for new design)

 

Not recommended for new designs. For new designs, please consider the MPLAB ICD 4 (DV164045).

MPLAB REAL ICE In-Circuit Emulator System is Microchip’s next generation high speed emulator for Microchip Flash DSC® and MCU devices. It debugs and programs

...

Learn More
Add To Cart

Similar Devices

Product
Pins
Flash (KB)
RAM (B)
Price 5K
Notes
20
8
256
$1.16
 
20
16
512
$1.26
 
28
8
512
$1.34
 
28
16
768
$1.48
 
28
32
1,536
$1.62
 
28
64
3,896
$1.90
 
40
8
512
$1.67
 
40
16
768
$1.74
 
40
32
1,536
$1.88
 
40
64
3,896
$2.16
 

RoHS Information

Part Number
Device Weight (g)
Shipping Weight (Kg)
Lead Count
Package Type
Package Width
Solder Composition
JEDEC Indicator
RoHS
China EFUP
PIC18F26K22-E/ML
0.101600
0.163934
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC18F26K22-I/ML
0.101600
0.163934
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC18F26K22T-E/ML
0.101600
0.332500
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC18F26K22T-E/MLVAO
0.101600
0.332500
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC18F26K22T-I/ML
0.101600
0.332500
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC18F26K22-E/SS
0.229200
0.489362
28
SSOP
.209in
Matte Tin
e3
PIC18F26K22-E/SSVAO
0.229200
0.489362
28
SSOP
.209in
Matte Tin
e3
PIC18F26K22-I/SS
0.229200
0.489362
28
SSOP
.209in
Matte Tin
e3
PIC18F26K22-I/SSVAO
0.229200
0.489362
28
SSOP
.209in
Matte Tin
e3
PIC18F26K22T-E/SS
0.229200
0.333333
28
SSOP
.209in
Matte Tin
e3
PIC18F26K22T-E/SSVAO
0.229200
0.333333
28
SSOP
.209in
Matte Tin
e3
PIC18F26K22T-I/SS
0.229200
0.333333
28
SSOP
.209in
Matte Tin
e3
PIC18F26K22T-I/SSVAO
0.229200
0.333333
28
SSOP
.209in
Matte Tin
e3
PIC18F26K22-E/SO
0.770400
1.370370
28
SOIC
.300in
Matte Tin
e3
PIC18F26K22-I/SO
0.770400
1.370370
28
SOIC
.300in
Matte Tin
e3
PIC18F26K22T-I/SO
0.770400
1.152500
28
SOIC
.300in
Matte Tin
e3
PIC18F26K22-E/SP
2.087500
3.733333
28
SPDIP
.300in
Matte Tin
e3
PIC18F26K22-I/SP
2.087500
3.733333
28
SPDIP
.300in
Matte Tin
e3
To see a complete listing of RoHS data for this device, please Click here
Shipping Weight = Device Weight + Packing Material weight. Please contact sales office if device weight is not available.

Buy from the Microchip Store

Grid
View
Table
View
Filter:
Apply
Clear
Only show products with samples
Product
Leads
Package Type
Temp Range
Packing Media
5K Pricing
Buy