Microchip Technology Inc

PIC18F13K22

In Production

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.

 

    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
    Parameter Name
    Value
    Program Memory Type
    Flash
    Program Memory (KB)
    8
    CPU Speed (MIPS)
    16
    RAM Bytes
    256
    Data EEPROM (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
    12 ch, 10-bit
    Comparators
    2
    Temperature Range (C)
    -40 to 125
    Operating Voltage Range (V)
    1.8 to 5.5
    Pin Count
    20
    Low Power
    Yes
    Cap Touch Channels
    12
    Documentation
    Data Sheets
    04/07/2016
    3442KB
      Errata
     
     
     
     
    Errata
    01/27/2017
    314KB
      Programming Specifications
     
     
     
     
    Programming Specification
    05/12/2009
    462KB
      Application Notes
     
     
     
    AppNote
    07/30/2012
    1414KB
    AppNote
    09/14/2017
    984KB
    AppNote
    01/21/2016
    2087KB
    AppNote
    04/10/2017
    1557KB
    AppNote
    02/03/2009
    834KB
    AppNote
    04/19/2017
    184KB
    AppNote
    02/03/2010
    482KB
    AppNote
    11/30/2011
    274KB
      ApplicationNote Literature
     
     
     
     
    AppNoteLiterature
    05/30/2017
    3028KB
    AppNoteLiterature
    01/21/2016
    684KB
    AppNoteLiterature
    01/21/2016
    417KB
      Brochures
     
     
     
    Brochures
    07/27/2017
    3378KB
    Brochures
    11/11/2012
    3731KB
    Brochures
    10/05/2017
    3359KB
      Product Selection Tools
     
     
     
     
    Product Line Card
    07/31/2017
    3479KB
      Sell Sheets
     
     
     
    Sell Sheets
    07/11/2011
    182KB
    Sell Sheets
    06/29/2009
    105KB
    Sell Sheets
    09/02/2009
    156KB
    Sell Sheets
    08/30/2010
    115KB
      Tips and Tricks
     
     
     
    Tips and Tricks
    04/22/2009
    5964KB
    Tips and Tricks
    04/22/2009
    643KB
    Pricing & Samples
    All pricing shown in USD only.
    Part Number
    Leads
    Package Type
    Temp Range
    Packing
    1+
    26+
    100+
    1000+
    5000+
    Buy
    Sample
    PIC18F13K22-E/ML
    20
    QFN
    -40C to +125C
    TUBE
    1.80
    1.65
    1.49
    1.37
    1.31
    PIC18F13K22-E/P
    20
    PDIP
    -40C to +125C
    TUBE
    2.10
    1.92
    1.74
    1.60
    1.52
    PIC18F13K22-E/SO
    20
    SOIC
    -40C to +125C
    TUBE
    1.91
    1.75
    1.59
    1.46
    1.39
    PIC18F13K22-E/SS
    20
    SSOP
    -40C to +125C
    TUBE
    1.76
    1.61
    1.46
    1.34
    1.28
    PIC18F13K22-I/ML
    20
    QFN
    -40C to +85C
    TUBE
    1.64
    1.50
    1.36
    1.25
    1.19
    PIC18F13K22-I/P
    20
    PDIP
    -40C to +85C
    TUBE
    1.94
    1.78
    1.61
    1.48
    1.41
    PIC18F13K22-I/SO
    20
    SOIC
    -40C to +85C
    TUBE
    1.75
    1.61
    1.46
    1.34
    1.27
    PIC18F13K22-I/SS
    20
    SSOP
    -40C to +85C
    TUBE
    1.60
    1.47
    1.33
    1.22
    1.16
    PIC18F13K22T-I/ML
    20
    QFN
    -40C to +85C
    T/R
    1.69
    1.55
    1.40
    1.29
    1.23
     
    PIC18F13K22T-I/SO
    20
    SOIC
    -40C to +85C
    T/R
    1.80
    1.65
    1.50
    1.38
    1.31
     
    PIC18F13K22T-I/SS
    20
    SSOP
    -40C to +85C
    T/R
    1.65
    1.51
    1.37
    1.26
    1.20
     
    PIC18LF13K22-E/ML
    20
    QFN
    -40C to +125C
    TUBE
    1.80
    1.65
    1.49
    1.37
    1.31
     
    PIC18LF13K22-E/P
    20
    PDIP
    -40C to +125C
    TUBE
    2.10
    1.92
    1.74
    1.60
    1.52
     
    PIC18LF13K22-E/SO
    20
    SOIC
    -40C to +125C
    TUBE
    1.91
    1.75
    1.59
    1.46
    1.39
     
    PIC18LF13K22-E/SS
    20
    SSOP
    -40C to +125C
    TUBE
    1.76
    1.61
    1.46
    1.34
    1.28
     
    PIC18LF13K22-I/ML
    20
    QFN
    -40C to +85C
    TUBE
    1.64
    1.50
    1.36
    1.25
    1.19
    PIC18LF13K22-I/P
    20
    PDIP
    -40C to +85C
    TUBE
    1.94
    1.78
    1.61
    1.48
    1.41
    PIC18LF13K22-I/SO
    20
    SOIC
    -40C to +85C
    TUBE
    1.75
    1.61
    1.46
    1.34
    1.27
    PIC18LF13K22-I/SS
    20
    SSOP
    -40C to +85C
    TUBE
    1.60
    1.47
    1.33
    1.22
    1.16
    PIC18LF13K22T-I/ML
    20
    QFN
    -40C to +85C
    T/R
    1.69
    1.55
    1.40
    1.29
    1.23
     
    PIC18LF13K22T-I/SO
    20
    SOIC
    -40C to +85C
    T/R
    1.80
    1.65
    1.50
    1.38
    1.31
     
    PIC18LF13K22T-I/SS
    20
    SSOP
    -40C to +85C
    T/R
    1.65
    1.51
    1.37
    1.26
    1.20
     

    ** Device not available to purchase online. Please contact a sales office for pricing information.
    Open a microchipDIRECT account today!

    Development Tools
    • Demo & Eval Boards
    • Emulation & Debuggers
    • Programmers
    • Explorer 8 Development Kit ( DM160228 )

      Explorer

      Summary
      The Explorer 8 Development Kit is a full-featured development board and platform for 8-bit PIC® microcontrollers. This kit is a versatile development solution, featuring several options for external sensors, off-board communication and human interface. Additionally, it offers ample room for expansion, making it an excellent solution for developers and engineers looking for a...

    • PICDEM Lab II Development Platform ( DM163046 )

      (Not Recommended for new design)
      PICDEM

      Summary
      The PICDEM™ Lab II Development Board is a development and teaching platform for use with 8-bit PIC® microcontrollers (MCUs). At its center, a large prototyping breadboard enables users to easily "experiment" with different values and configurations of analog components for system optimization. Several external connectors allow for user-customizable expansion, while our...

    • MPLAB ICD 4 In-Circuit Debugger ( DV164045 )

      MPLAB

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

    • PICkit 3 In-Circuit Debugger ( PG164130 )

      PICkit

      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 debugging offers these benefits:

      • Low cost
      • Minimum of additional hardware needed for debug
      • Expensive sockets or adapters are not required...

      Debug Features:
      Stop watch:True
      Break on stack overflow:True
      Pgm-memory HW breakpoints:3
      Data-memory breakpoints:3
      WDT overflow:True
      Pass counter:True

    • MPLAB ICD 3 In-Circuit Debugger ( DV164035 )

      MPLAB

      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 (MCU) devices. It debugs and programs PIC® Flash microcontrollers and dsPIC® DSCs with the powerful, yet easy-to-use graphical user interface of MPLAB Integrated Development Environment (IDE).

      Debug Features:
      WDT overflow:True
      Data-memory breakpoints:3
      Pgm-memory SW breakpoints:Unlimited
      Pass counter:True
      Break on stack overflow:True
      Stop watch:True
      Pgm-memory HW breakpoints:3

    • MPLAB REAL ICE PROBE KIT ( DV244005 )

      MPLAB

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

      Debug Features:
      Pgm-memory HW breakpoints:3
      Native Trace:True
      Break on stack overflow:True
      I/O Port Trace:True (Requires Compiler Support)
      Runtime watch:Supported
      WDT overflow:True
      Stop watch:True
      SPI Trace:True (Requires Compiler Support)
      Data-memory breakpoints:3
      Data capture:Enabled
      Pgm-memory SW breakpoints:Unlimited
      Pass counter:True

    • MPLAB ICD 4 In-Circuit Debugger ( DV164045 )

      MPLAB

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

    • PICkit 3 In-Circuit Debugger ( PG164130 )

      PICkit

      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 debugging offers these benefits:

      • Low cost
      • Minimum of additional hardware needed for debug
      • Expensive sockets or adapters are not required...

    • MPLAB PM3 Universal Device Programmer ( DV007004 )

      MPLAB

      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)
    • MPLAB ICD 3 In-Circuit Debugger ( DV164035 )

      MPLAB

      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 (MCU) devices. It debugs and programs PIC® Flash microcontrollers and dsPIC® DSCs with the powerful, yet easy-to-use graphical user interface of MPLAB Integrated Development Environment (IDE).

    • MPLAB REAL ICE PROBE KIT ( DV244005 )

      MPLAB

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

    Similar Devices
    Product
    Pins
    Flash
    RAM
    Price5K
    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
    Shipping
    Weight
    Lead
    Count
    Package
    Type
    Package
    Width
    Solder
    Composition
    JEDEC
    Indicator
    RoHS
     
    China
    EFUP
    PIC18F13K22-E/P
    1.512900
    2.500000
    20
    PDIP
    .300in
    Matte Tin
    e3
    PIC18F13K22-I/P
    1.512900
    2.500000
    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.