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

PIC18F13K50

Status: In Production

Features:

  • C Compiler optimized architecture
  • Self-programmable under software control
  • Support for Interrupt Priority Levels
  • 8x8 Single-Cycle Hardware Multiplier
  • Enhanced Watchdog Timer with a programmable period
  • USB v2.0 compliant interface
  • Supports both Low Speed and Full Speed operation
  • Supports Control, Interrupt, Isochronous and Bulk transfer
  • Up to 16 Endpoints (or up to 8 bidirectional)
  • Automatic detection of physical connection to USB host
  • 256-byte Dual Access RAM
  • Can be internally clocked up to 48MHz
  • Supplies frequencies from 31KHz to 16MHz
  • Can be user-adjusted for frequency drift
  • Can be used with External or Internal Oscillators
  • Allows for safe shutdown during oscillator failure
  • Up to 5 PWM Outputs
  • Programmable dead time, auto shutdown/restart
  • Supports all modes of 3-wire SPI
  • I2C™Compatible Master and Slave modes with address masking
  • Supports RS-485, RS-232, and LIN 2.0
  • Can acquire & convert samples automatically
  • Can operate in sleep mode
  • Rail to Rail operation
  • Independent input multiplexing
  • Robust GPIO with 25mA sink/source current
  • Programmable On-chip Voltage Reference
  • Can be used with Comparators or ADC
  • 1.8 to 5.6V Operating Range
  • Software Programmable Brown-out Reset feature
  • Four power-managed operating modes
  • Two-speed clock startup option
View More
Overview
Documents
Development Environment
Similar Devices
RoHS Information
Add To Cart

Device Overview

Summary

The PIC18F13K50 brings advanced features and exceptional value to the embedded USB market. This low cost PIC® Microcontroller features a full speed USB 2.0 compliant interface that can automatically change clock sources and power levels upon connection to a host, making it an exceptional device for battery-powered applications. The addition of mTouch(TM) touch sensing compatibility, a 10-bit ADC, motor control PWMs, and a host of serial interfaces make the PIC18F13K50 the perfect device to "Just add USB" to any application.
USB Application Design Center Debug Support
• A debug header is required for this device
• Part Numbers:, AC244023 (F) / AC244024 (LF)
• Debug and programming support is available via PICkit™ 3, and MPLAB® ICD 3
• For Debug Header information, please refer to DS51292

Additional Features

    High Performance PIC18 Core

    • C Compiler optimized architecture
    • Self-programmable under software control
    • Support for Interrupt Priority Levels
    • 8x8 Single-Cycle Hardware Multiplier
    • Enhanced Watchdog Timer with a programmable period

    Full Speed Universal Serial Bus Interface

    • USB v2.0 compliant interface
    • Supports both Low Speed and Full Speed operation
    • Supports Control, Interrupt, Isochronous and Bulk transfer
    • Up to 16 Endpoints (or up to 8 bidirectional)
    • Automatic detection of physical connection to USB host
    • 256-byte Dual Access RAM

    Flexible Clocking Options

    • Can be internally clocked up to 48MHz
    • Fully tunable Internal Oscillator
      • Supplies frequencies from 31KHz to 16MHz
      • Can be user-adjusted for frequency drift
    • Internal 4x Phase Lock Loop (PLL)
      • Can be used with External or Internal Oscillators
    • Fail-safe Clock Monitor
      • Allows for safe shutdown during oscillator failure

    Advanced PIC® Microcontroller Peripherals

    • Dual Capture/Compare/PWM interfaces
      • Up to 5 PWM Outputs
      • Programmable dead time, auto shutdown/restart
    • Master I2C/SPI Interface
      • Supports all modes of 3-wire SPI
      • I2C™Compatible Master and Slave modes with address masking
    • Enhanced Addressable USART Module
      • Supports RS-485, RS-232, and LIN 2.0
    • 10-bit, 9-channel ADC Module
      • Can acquire & convert samples automatically
      • Can operate in sleep mode
    • mTouch(TM) compatible Analog Comparators w/ SR Latch
      • Rail to Rail operation
      • Independent input multiplexing
    • Robust GPIO with 25mA sink/source current
    • Programmable On-chip Voltage Reference
      • Can be used with Comparators or ADC

    Operating Environment Versatility

    • 1.8 to 5.6V Operating Range
    • Software Programmable Brown-out Reset feature
    • Four power-managed operating modes
    • Two-speed clock startup option
Parametrics
Name
Value
Program Memory Type
Flash
Program Memory Size (KB)
8
CPU Speed (MIPS/DMIPS)
12
SRAM (B)
512
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
9 ch, 10-bit
Number of Comparators
2
Number of USB Modules
1, FS Device
Temperature Range (°C)
-40 to 125
Operating Voltage Range (V)
1.8 to 5.5
Pin Count
20
Low Power
Yes

Documents

Jump to:

Programming Specifications

White Papers

Development Environment

  • Integrated Development Environments
  • Compilers
  • Software & Configurators
  • Emulators & Debuggers
  • Production Programmers
  • Demo & Evaluation Boards
Integrated Development Environments
MPLAB-X-IDE
MPLAB X Integrated Development Environment (IDE) ( MPLAB-X-IDE )

MPLAB® X Integrated Development Environment (IDE) is an expandable, highly configurable software program that incorporates powerful tools to help you discover, configure, develop, debug and qualify embedded designs for most of Microchip’s microcontrollers, microprocessors and digital signal controllers.
MPLAB X IDE works seamlessly with the MPLAB development ecosystem of

...

Learn More
Compilers
MPLAB-XC8
MPLAB XC8 Compiler ( MPLAB-XC8 )

Available as free, unrestricted-use downloads, our award-winning MPLAB® XC C Compilers are comprehensive solutions for your project’s software development. Finding the right compiler to support your device is simple:

  • MPLAB XC8 supports all 8-bit PIC® and AVR® microcontrollers (MCUs)
  • MPLAB XC16 supports all 16-bit PIC MCUs and dsPIC® Digital
...

Learn More
Software & Configurators
code-configurator
MPLAB Code Configurator ( code-configurator )

MPLAB® Code Configurator (MCC) is a free, graphical programming environment that generates seamless, easy-to-understand C code to be inserted into your project. Using an intuitive interface, it enables and configures a rich set of peripherals and functions specific to your application.

MPLAB Code Configurator supports 8-bit, 16-bit and 32-bit PIC® microcontrollers. MCC is...

Learn More
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 PICkit™ 3.

The MPLAB PICkit 4 now has Programmer-to-Go functionality for 8-bit, 16-bit and 32-bit PIC MCUs and dsPICs and also SAM MCU devices . The firmware update comes with MPLAB X IDE v5.30. AVR is expected soon!


The MPLAB® PICkit™ 4 In-Circuit

...

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® and SAM Microcontrollers (MCUs) and Microprocessors (MPUs), 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

...

Learn More
Add To Cart
Production 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 PICkit™ 3.

The MPLAB PICkit 4 now has Programmer-to-Go functionality for 8-bit, 16-bit and 32-bit PIC MCUs and dsPICs and also SAM MCU devices . The firmware update comes with MPLAB X IDE v5.30. AVR is expected soon!


The MPLAB® PICkit™ 4 In-Circuit

...

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® and SAM Microcontrollers (MCUs) and Microprocessors (MPUs), 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

...

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: AC164307   PartNo: PIC18F13K50 (20SS)
  • Socket: AC164302   PartNo: PIC18F13K50 (20SO)
  • Socket: AC164301   PartNo: PIC18F13K50 (20P)
  • Socket: AC164340   PartNo: PIC18F13K50 (20MQ)
Learn More
Add To Cart
Softlog SEC-DS Secure Programming Upgrade for ICP2 Programmers
Softlog SEC-DS Secure Programming Upgrade for ICP2 Programmers ( SW500090 )

The Softlog SEC-DS Secure Programming Upgrade is a "Secure Programming" extension for the ICP2 and ICP2(HC) programmers that provides several layers of protection--utilizing breakthrough technology--dramatically reducing the risk of unauthorized reconstruction of hex data and limiting how many times a hex file can be programmed. Secure programming operates on two levels: the ADMIN level and the...

Learn More
Add To Cart
Softlog SEC4CH-DS Secure Programming Upgrade for ICP2GANG Programmers
Softlog SEC4CH-DS Secure Programming Upgrade for ICP2GANG Programmers ( SW500091 )

The Softlog SEC4CH-DS Secure Programming Upgrade is a "Secure Programming" extension for the ICP2GANG programmer that provides several layers of protection--utilizing breakthrough technology--dramatically reducing the risk of unauthorized reconstruction of hex data and also limiting how many times a hex file can be programmed. Secure programming operates on two levels: the ADMIN level and the USER...

Learn More
Add To Cart
Softlog ICP2(G3) ICSP Production Programmer
Softlog ICP2(G3) ICSP Production Programmer ( TPG100001-G3 )

The ICP2(G3) Production Quality In-Circuit Programmer is a cost-effective programmer that operates with a PC or as a standalone unit. It programs 8-bit PIC® / AVR® MCUs and Serial EEPROMs & Flash ICs. ICP2(G3) hardware is designed to support popular programming interfaces (ICSP™, JTAG, SWD, UPDI, SPI, QSPI, etc.)

Learn More
Add To Cart
Softlog ICP2(G3)-DP ICSP Production Programmer
Softlog ICP2(G3)-DP ICSP Production Programmer ( TPG100002-G3 )

The ICP2(G3)-DP Production Quality In-Circuit Programmer is a cost-effective programmer that operates with a PC or as a standalone unit. It programs 8-bit PIC® & AVR® MCUs, 16-bit PIC MCUs & dsPIC® DSCs and Serial EEPROMs & Flash ICs. ICP2(G3)-DP hardware is designed to support popular programming interfaces (ICSP™, JTAG, SWD, UPDI, SPI, QSPI,

...

Learn More
Add To Cart
Softlog ICP2GANG(G3)-DP 4-Channel ICSP Production Gang Programmer
Softlog ICP2GANG(G3)-DP 4-Channel ICSP Production Gang Programmer ( TPG100004-G3 )

The ICP2GANG(G3)-DP Production Quality In-Circuit 4-channel (expandable to 64 channels) GANG programmer is a cost-effective programmer that operates with a PC or as a standalone unit and simultaneously programs 8-bit PIC® & AVR® MCUs, 16-bit PIC MCUs & dsPIC® DSCs, and serial EEPROMs & Flash ICs. ICP2GANG(G3)-DP hardware is designed to support popular programming

...

Learn More
Add To Cart
Softlog ICP2GANG(G3) 4-Channel ICSP Production Gang Programmer
Softlog ICP2GANG(G3) 4-Channel ICSP Production Gang Programmer ( TPG100005-G3 )

The ICP2GANG(G3) Production Quality In-Circuit 4-channel (expandable to 64 channels) GANG programmer is a cost-effective programmer that operates with a PC or as a standalone unit and simultaneously programs 8-bit PIC® & AVR® MCUs and serial EEPROMs & Flash ICs. ICP2GANG(G3) hardware is designed to support popular programming interfaces (ICSP™, JTAG, SWD, UPDI, SPI, QSPI,

...

Learn More
Add To Cart
Softlog ICP2GANG(G3)-DS ICSP Secure Production Gang Programmer
Softlog ICP2GANG(G3)-DS ICSP Secure Production Gang Programmer ( TPG100006-G3 )

The ICP2GANG(G3)-DS Production Quality ICSP Secure GANG Programmer is a 4-channel in-circuit programmer (expandable up to 64 channels) that operates with a PC or as a standalone unit and simultaneously programs 8-bit PIC® & AVR® MCUs and serial EEPROMs & Flash ICs. The secure programming feature dramatically reduces the risk of unauthorized

...

Learn More
Add To Cart
Softlog ICP2(G3)-DS ICSP Secure Production Programmer
Softlog ICP2(G3)-DS ICSP Secure Production Programmer ( TPG100007-G3 )

The ICP2(G3)-DS Production Quality Secure Programmer is an in-circuit programmer that operates with a PC or as a standalone unit, and programs 8-bit PIC® & AVR® MCUs and serial EEPROMs & Flash ICs. The secure programming feature dramatically reduces the risk of unauthorized reconstruction of hex files, and also limits how many times the hex file can be programmed. ICP2(G3)-DS

...

Learn More
Add To Cart
Softlog ICP2(HC) ICSP High-Current Production Programmer
Softlog ICP2(HC) ICSP High-Current Production Programmer ( TPG100008 )

The Softlog ICP2(HC) Production Quality In-Circuit High Current Programmer is a cost-effective programmer that operates with a PC or as a standalone unit.

Note: All technical support and warranty service will be provided by Softlog. You can contact them at support@softlog.com.

Learn More
Add To Cart
Softlog ICP2PORT(G3) Portable In-Circuit Production Programmer
Softlog ICP2PORT(G3) Portable In-Circuit Production Programmer ( TPG100009-G3 )

A member of the ICP(G3) family of high-speed, production-grade in-circuit programmers. This compact, battery-powered device supports up to six different programming environments, making it an ideal, low-cost solution for field upgrades. ICP2PORT(G3) programs Microchip 8-bit PIC® & AVR® MCUs and Serial EEPROMs & Flash ICs. ICP2PORT(G3) hardware is designed to support popular

...

Learn More
Add To Cart
Softlog ICP2PORT(G3)-P Portable In-Circuit Production Programmer
Softlog ICP2PORT(G3)-P Portable In-Circuit Production Programmer ( TPG100010-G3 )

A member of the ICP(G3) family of high-speed, production-grade in-circuit programmers. This compact, battery-powered device supports up to six different programming environments, making it an ideal, low-cost solution for field upgrades. ICP2PORT(G3)-P programs Microchip 8-bit PIC® & AVR® MCUs, 16-bit PIC MCUs & dsPIC® DSCs and Serial EEPROMs & Flash ICs. ICP2PORT(G3)-P

...

Learn More
Add To Cart
Softlog ICP2PORT(G3)-PX Portable In-Circuit Production Programmer
Softlog ICP2PORT(G3)-PX Portable In-Circuit Production Programmer ( TPG100011-G3 )

A member of the ICP(G3) family of high-speed, production-grade in-circuit programmers. This compact, battery-powered device supports up to six different programming environments, making it an ideal, low-cost solution for field

...

Learn More
Add To Cart
Softlog ICP2(G3)-DPX ICSP Production Programmer
Softlog ICP2(G3)-DPX ICSP Production Programmer ( TPG100012-G3 )

The ICP2(G3)-DPX Production Quality In-Circuit Programmer is a cost-effective programmer that operates with a PC or as a standalone unit. It programs 8-bit PIC® & AVR® MCUs, 16-bit PIC MCUs & dsPIC® DSCs, 32-bit PIC & ARM Cortex M0/0+/23/3/4/7 MCUs and Serial EEPROMs & Flash ICs. ICP2(G3)-DPX hardware is designed to support popular programming interfaces

...

Learn More
Add To Cart
Softlog ICP2GANG(G3)-DPX ICSP 4-Channel Gang Programmer
Softlog ICP2GANG(G3)-DPX ICSP 4-Channel Gang Programmer ( TPG100013-G3 )

The ICP2GANG(G3)-DPX Production Quality In-Circuit 4-channel (expandable to 64 channels) GANG programmer is a cost-effective programmer that operates with a PC or as a standalone unit and simultaneously programs 8-bit PIC® & AVR® MCUs, 16-bit PIC MCUs & dsPIC® DSCs, 32-bit PIC & ARM Cortex M0/0+/23/3/4/7 MCUs and Serial EEPROMs & Flash ICs. ICP2GANG(G3)-DPX

...

Learn More
Add To Cart
Softlog ICP2COMBO(G3)-DPX-8 8-Channel Gang Programmer
Softlog ICP2COMBO(G3)-DPX-8 8-Channel Gang Programmer ( TPG100015-G3 )

The ICP2COMBO(G3)-DPX-8 Production Quality In-Circuit (ICSP) 8-channel (expandable up to 64 channels) GANG Programmer is a cost-effective programmer that operates with a PC or as a standalone unit and simultaneously programs 8-bit PIC® & AVR® MCUs, 16-bit PIC MCUs & dsPIC® DSCs, 32-bit PIC & ARM Cortex M0/0+/23/3/4/7 MCUs and Serial EEPROMs & Flash

...

Learn More
Add To Cart
Softlog ICP2COMBO(G3)-12 12-Channel Gang Programmer
Softlog ICP2COMBO(G3)-12 12-Channel Gang Programmer ( TPG100016-G3 )

The ICP2COMBO(G3)-12 Production Quality In-Circuit (ICSP) 12-channel (expandable up to 60 channels) GANG Programmer is a cost-effective programmer that operates with a PC or as a standalone unit and simultaneously programs 8-bit PIC® & AVR® MCUs and serial EEPROMs & Flash ICs. ICP2COMBO(G3)-12 hardware is designed to support popular programming interfaces (ICSP™, JTAG,

...

Learn More
Add To Cart
Softlog ICP2COMBO(G3)-8 8-Channel Gang Programmer
Softlog ICP2COMBO(G3)-8 8-Channel Gang Programmer ( TPG100017-G3 )

The ICP2COMBO(G3)-8 Production Quality In-Circuit (ICSP) 8-channel (expandable up to 64 channels) GANG Programmer is a cost-effective programmer that operates with a PC or as a standalone unit and simultaneously programs 8-bit PIC® & AVR® MCUs and serial EEPROMs & Flash ICs. ICP2COMBO(G3)-8 hardware is designed to support popular programming interfaces (ICSP™, JTAG,

...

Learn More
Add To Cart
Demo & Evaluation Boards
Explorer 8 Development Kit
Explorer 8 Development Kit ( DM160228 )

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

Learn More
Add To Cart
Low Pin Count USB Development Kit
Low Pin Count USB Development Kit ( DM164127-2 )
(Not Recommended for new design)

The Low Pin Count USB Development Kit provides an easy, low-cost way to evaluate the functionality of Microchip PIC16F1459 (or other PIC16F145x) 14 and 20 pin USB microcontrollers. The board also supports operation with the PIC18F14K50/PIC18F13K50 pin compatible 20 pin USB microcontrollers. When used with the free Microchip Libraries for Applications software (downloadable from...

Learn More
Curiosity
Curiosity ( DM164137 )

Satisfy Your Curiosity
Your next embedded design idea has a new home. Curiosity is a cost-effective, fully integrated 8-bit development platform targeted at first-time users, Makers, and those seeking a feature-rich rapid prototyping board. Designed from the ground-up to take full advantage of Microchip's MPLAB X development environment, Curiosity includes an integrated programmer/debugger,...

Learn More
Add To Cart

Similar Devices

Product
Pins
Flash (KB)
SRAM (B)
Price 5K
Notes
20
8
512
$1.39
 
20
16
768
$1.53
 

RoHS Information

Part Number
Device Weight (g)
Shipping Weight (Kg)
Lead Count
Package Type
Package Width
Solder Composition
JEDEC Indicator
RoHS
China EFUP
PIC18LF13K50T-I/MQ
0.067130
0.166970
20
QFN
5x5x0.9mm
Matte Tin
e3
PIC18F13K50-I/MQ
0.067130
0.109589
20
QFN
5x5x0.9mm
Matte Tin
e3
PIC18F13K50T-I/MQ
0.067130
0.166970
20
QFN
5x5x0.9mm
Matte Tin
e3
PIC18LF13K50-I/MQ
0.067130
0.109589
20
QFN
5x5x0.9mm
Matte Tin
e3
PIC18F13K50-I/SS
0.164200
0.343284
20
SSOP
.209in
Matte Tin
e3
PIC18F13K50T-I/SS
0.164200
0.416250
20
SSOP
.209in
Matte Tin
e3
PIC18F13K50T-I/SS020
0.164200
0.416250
20
SSOP
.209in
Matte Tin
e3
PIC18F13K50T-I/SS021
0.164200
0.416250
20
SSOP
.209in
Matte Tin
e3
PIC18LF13K50-I/SS
0.164200
0.343284
20
SSOP
.209in
Matte Tin
e3
PIC18F13K50-I/SO
0.542000
0.973684
20
SOIC
.300in
Matte Tin
e3
PIC18LF13K50-I/SO
0.542000
0.973684
20
SOIC
.300in
Matte Tin
e3
PIC18LF13K50T-I/SO
0.542000
0.311875
20
SOIC
.300in
Matte Tin
e3
PIC18F13K50-I/P
1.512900
2.833333
20
PDIP
.300in
Matte Tin
e3
PIC18LF13K50-I/P
1.512900
2.833333
20
PDIP
.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 Microchip

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