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

PIC18F13K22

Status: In Production

Features:

  • C Compiler optimized architecture
  • 256 bytes data EEPROM
  • Linear program memory addressing to 16 Kbytes
  • Linear data memory addressing to 512 bytes
  • Sleep mode: 50 nA, typical
  • Watchdog Timer: 600 nA, typical
  • Timer1 Oscillator: 800 nA @ 32 kHz, typical
  • 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
  • Fail-Safe Clock Monitor
  • Allows for safe shutdown if peripheral clock stops
  • Two-Speed Oscillator Start-up
  • Operating voltage 1.8V- 5.5V (with low voltage option 1.8V-3.6V)
  • 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
  • In-Circuit Serial Programming™ (ICSP™) via two pins
  • In-Circuit Debug via two pins
  • 12 Ch. 10-bit Analog-to-Digital (A/D) Converter module:
  • 2 rail-to-rail Analog Comparators module with:
  • Programmable on-chip voltage reference (CVREF) module (% of VDD)
  • Selectable Fixed voltage reference (FVR) with multiple reference voltages
  • High current sink/source 25 mA/25 mA
  • Three external interrupt pins
  • 3 16-bit timers/counters with prescaler
  • 1 8-bit timer/counter with 8-bit period register, prescaler and postscaler
  • Programmable dead time
  • Auto-shutdown and Auto-restart
  • 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
  • Confi gurable inputs and outputs
  • Supports mTouch™ capacitive sensing applications
View More
Overview
Documents
Development Environment
Similar Devices
RoHS Information
Buy Now

Device Overview

Summary

Introducing the nanoWatt XLP PIC18F1XK22 Flash microcontroller: not too big, not too small… just right! This new family of devices offer all of the advantages of the well recognized PIC18F High Performance MCUs; 8-bit, C compiler optimized architecture and an industry leading peripheral set now available in a low pin-count option. These new 20-pin products include a 16 MHz precision Internal Oscillator which can be used with the standard 4X PLL to produce 16 MIPS of performance (64 MHz @ 3V). Standard analog peripherals include 12 channels of 10-bit A/D, Dual Rail-Rail Comparators with improved input/output multiplexing and an on-chip selectable Fixed Voltage Reference. Digital peripherals include an Enhanced Capture/Compare/PWM (ECCP+) module with PWM steering and a Master Synchronous Serial Port (MI2C,SPI) module with software controllable address masking. These devices also feature the SR Latch mode which supports capacitive sensing applications. In addition to these peripherals, the devices feature several microcontroller monitors that provide for reliable operation including BOR (Brown Out Reset) with software enable, POR (Power On Reset) and an Extended WDT. The addition of nanoWatt XLP technology make these devices ideally suited for battery powered applications or designs where power consumption is constrained.

Additional Features

    Features

    • C Compiler optimized architecture
    • 256 bytes data EEPROM
    • Linear program memory addressing to 16 Kbytes
    • Linear data memory addressing to 512 bytes

    Extreme Low-Power Management PIC18LF1XK22 with nanoWatt XLP™ Technology

    • Sleep mode: 50 nA, typical
    • Watchdog Timer: 600 nA, typical
    • Timer1 Oscillator: 800 nA @ 32 kHz, typical

    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
    • Fail-Safe Clock Monitor
    • Allows for safe shutdown if peripheral clock stops
    • Two-Speed Oscillator Start-up

    Special Microcontroller Features

    • Operating voltage 1.8V- 5.5V (with low voltage option 1.8V-3.6V)
    • 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
    • In-Circuit Serial Programming™ (ICSP™) via two pins
    • In-Circuit Debug via two pins

    Peripheral Highlights

    • 12 Ch. 10-bit Analog-to-Digital (A/D) Converter module:
    • 2 rail-to-rail Analog Comparators module with:
    • Voltage Reference module with:
      • Programmable on-chip voltage reference (CVREF) module (% of VDD)
      • Selectable Fixed voltage reference (FVR) with multiple reference voltages
    • 17 I/O pins and 1 input only pin:
      • High current sink/source 25 mA/25 mA
      • Three external interrupt pins
    • Four Timer modules:
      • 3 16-bit timers/counters with prescaler
      • 1 8-bit timer/counter with 8-bit period register, prescaler and postscaler
    • Enhanced Capture/Compare/PWM (ECCP) module with PWM output steering:
      • Programmable dead time
      • Auto-shutdown and Auto-restart
    • Master Synchronous Serial Port (MSSP) module with two modes of operation:
      • 3-wire SPI (supports all 4 SPI modes)
      • I2C™ Master and Slave modes (Slave mode with address masking)
    • Enhanced Universal Synchronous Asynchronous Receiver Transmitter module (EUSART)
      • Supports RS-232, RS-485 and LIN 2.0
      • Auto-Baud Detect
    • SR Latch (555 Timer) module with:
      • Confi gurable inputs and outputs
      • Supports mTouch™ capacitive sensing applications
Parametrics
Name
Value
Program Memory Type
Flash
Program Memory Size (KB)
8
CPU Speed (MIPS/DMIPS)
16
SRAM Bytes
256
Data EEPROM/HEF (bytes)
256
Digital Communication Peripherals
1-UART, 1-SPI, 1-I2C1-MSSP(SPI/I2C)
Capture/Compare/PWM Peripherals
1 Input Capture, 1 ECCP,
Timers
1 x 8-bit, 3 x 16-bit
ADC Input
12 ch, 10-bit
Number of Comparators
2
Temperature Range (C)
-40 to 125
Operating Voltage Range (V)
1.8 to 5.5
Pin Count
20
Low Power
Yes

Documents

Jump to:

Data Sheet

04/07/2016
3442KB

Programming Specification

Applications Source code

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

Product Line Card

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®, and CEC flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment

...

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)

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 PIC® and dsPIC® Flash microcontrollers with the easy-to-use but powerful graphical user interface of the MPLAB Integrated Development Environment (IDE), included with each kit.
The MPLAB REAL ICE probe is

...

Debug Features:
Runtime watch:Supported
Native Trace:True
I/O Port Trace:True (Requires Compiler Support)
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®, and CEC flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment

...

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).

  • Socket: AC164326   PartNo: PIC18F13K22 (20ML)
  • Socket: AC164307   PartNo: PIC18F13K22 (20SS)
  • Socket: AC164302   PartNo: PIC18F13K22 (20SO)
  • Socket: AC164301   PartNo: PIC18F13K22 (20P)
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)

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 PIC® and dsPIC® Flash microcontrollers with the easy-to-use but powerful graphical user interface of the MPLAB Integrated Development Environment (IDE), included with each kit.
The MPLAB REAL ICE probe is

...

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.31
 
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
PIC18F13K22-E/P
1.512900
2.833333
20
PDIP
.300in
Matte Tin
e3
PIC18F13K22-I/P
1.512900
2.833333
20
PDIP
.300in
Matte Tin
e3
PIC18F13K22-I/SO
0.542000
0.973684
20
SOIC
.300in
Matte Tin
e3
PIC18F13K22T-I/SO
0.542000
0.311875
20
SOIC
.300in
Matte Tin
e3
PIC18F13K22-E/SO
0.542000
0.973684
20
SOIC
.300in
Matte Tin
e3
PIC18F13K22-I/ML
0.043100
0.076923
20
QFN
4x4x0.9mm
Matte Tin
e3
PIC18F13K22-E/ML
0.043100
0.076923
20
QFN
4x4x0.9mm
Matte Tin
e3
PIC18F13K22T-I/ML
0.043100
0.212121
20
QFN
4x4x0.9mm
Matte Tin
e3
PIC18F13K22T-E/SS
0.164200
0.416250
20
SSOP
.209in
Matte Tin
e3
PIC18F13K22-I/SSVAO
0.164200
0.343284
20
SSOP
.209in
Matte Tin
e3
PIC18F13K22-E/SS
0.164200
0.343284
20
SSOP
.209in
Matte Tin
e3
PIC18F13K22-I/SS
0.164200
0.343284
20
SSOP
.209in
Matte Tin
e3
PIC18F13K22T-I/SS
0.164200
0.416250
20
SSOP
.209in
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