Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes

PIC18F26K22

In Production

Name
Value
Program Memory Type
Flash
Program Memory Size (KB)
64
CPU Speed (MIPS/DMIPS)
16
SRAM (B)
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

Product Description

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

PIC18F26Q10

In Production

Name
Value
Program Memory Type
Flash
Program Memory Size (KB)
64
CPU Speed (MIPS/DMIPS)
16
SRAM (B)
3,615
Data EEPROM/HEF (bytes)
1024
Digital Communication Peripherals
2-UART, 2-SPI, 2-I2C
Capture/Compare/PWM Peripherals
2 Input Capture, 2 CCP,
Timers
3 x 8-bit, 4 x 16-bit
ADC Input
24 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

Product Description

PIC18F26Q10 microcontrollers are optimized for robust, real time control and sensor nodes with integrated intelligent analog, configurable peripherals and 5V operation for increased noise immunity.  They are well suited for a broad range of applications including industrial control, consumer, automotive, touch sensing and Internet of Things (IoT). These 28-pin devices deliver Core Independent Peripherals such as CLC, CWG, WWDT, CRC/Memory Scan, Hardware CVD, Zero-Cross Detect and Peripheral Pin Select, providing for increased design flexibility and lower system cost.

PIC18 Q10 Product Family Overview

Check out the code examples in MPLAB Xpress

Check out the code examples in GitHub

Functional Safety:
This product is recommended for safety critical applications targeting both industrial and automotive products (IEC 61508 and ISO 26262). Necessary documentation such as FMEDA report and Safety Manual can be provided on request. Certified development tools are also available for this product. Please contact your local Microchip sales office or your distributor for more information.

Features
  • PIC18 Core with 83 Instructions, 31 Stack Levels
  • Internal 64MHz oscillator
  • Operating Voltage Range:- 1.8V – 5.5V
  • Temperature Range:- Industrial Version (-40C to 85C)- Extended Version (-40C to 125C)
  • 64 KB Flash Program Memory with self read/write capability
  • 3615 Bytes Data SRAM Memory
  • 1024 Bytes of EEPROM
  • 24 x 10-bit ADC channels
  • 1 x 5-bit DAC
  • 8 x Configurable Logic Cell (CLC)
  • 2 x Comparators
  • Fixed Voltage Reference (FVR) module - 1.024V, 2.048V and 4.096V output levels
  • Hardware Capacitive Voltage Divider (CVD) for mTouch buttons/sliders
  • 1 x Zero-Cross Detect
  • 1 x I2C/SPI
  • 1 x EUSART with LIN support
  • CRC with Memory Scan
  • Windowed Watchdog Timer (WWDT)
  • 1 x Hardware Limit Timer (HLT)
  • 1 x Complementary Waveform Generator
  • 2 x standalone 10-bit PWM modules
  • 2 x Capture/Compare/PWM modules
  • Three 8-bit Timers/Counters
  • Four 16-bit Timers/Counters
  • 1 x Hardware Limit Timer (HLT)
  • Extended Watchdog Timer (WDT)
  • Doze, Idle, and Sleep Power Saving Operating Modes
  • Low Current Power-on Reset (POR)
  • Brown-out Reset (BOR)
  • Low-Power BOR (LPBOR)
  • Peripheral Pin Select
  • In-Circuit Debug Integrated On-Chip
  • In-Circuit Serial Programing (ICSP) via Two Pins