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

PIC18F45K42

Status: In Production

View More
Overview
Documents
Development Environment
Similar Devices
RoHS Information
Buy Now

Device Overview

Summary

PIC18(L)FxxK42 MCUs integrate a rich set of core independent peripherals, intelligent analog peripherals and large Flash/RAM/EEPROM memories. These 28-, 40- and 48-pin devices also offer a host of low power features, performance improvements and design flexibility options that easily and rapidly enable the complex set of functions required by many of today's embedded control applications.

PIC18F "K42" Product Family Overview

Check out the code examples in MPLAB Xpress

Watch livestream highlighting the K42

Additional Features
Parametrics
Name
Value
Program Memory Type
Flash
Program Memory Size (KB)
32
CPU Speed (MIPS/DMIPS)
16
SRAM Bytes
2,048
Data EEPROM/HEF (bytes)
256
Digital Communication Peripherals
2-UART, 1-SPI, 2-I2C
Capture/Compare/PWM Peripherals
4 CCP,
Timers
3 x 8-bit, 4 x 16-bit
ADC Input
35 ch, 12-bit
Number of Comparators
2
Temperature Range (C)
-40 to 125
Operating Voltage Range (V)
1.8 to 5.5
Pin Count
40
Low Power
Yes

Documents

Jump to:

Data Sheet

Programming Specification

Application Notes

Download All
07/30/2012
1414KB
03/01/2019
441KB
03/01/2019
603KB

Applications Source code

02/25/2014
3307KB
05/30/2017
3028KB
01/21/2016
684KB
01/21/2016
417KB
04/30/2013
18KB

Tips and Tricks

Development Environment

  • Emulators & Debuggers
  • Programmers
  • Demo & Evaluation Boards
  • Application Examples
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

...


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
Demo & Evaluation Boards
Curiosity HPC
Curiosity HPC ( DM164136 )

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

...

Learn More
Add To Cart
MPLAB(R) Xpress PIC18F46K42 Evaluation Board
MPLAB(R) Xpress PIC18F46K42 Evaluation Board ( DM182026 )

Development with the PIC18F K42 product family has never been easier! This Xpress board grants full access to a family of MCUs with a rich set of core independent peripherals, large Flash/RAM/EEPROM memories and a host of low power features that easily and rapidly enable a complex set of functions required by many of today's embedded control applications.

Xpress Your Creativity

...

Learn More
Add To Cart
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

Similar Devices

Product
Pins
Flash (KB)
RAM (B)
Price 5K
Notes
28
16
1,024
$1.08
Vectored Interrupts, DMA, 12-bit ADC
28
32
8,192
$1.15
 
28
64
4,096
$1.23
Vectored Interrupts, DMA, 12-bit ADC
28
128
8,192
$1.37
Vectored Interrupts, DMA, 12-bit ADC
40
32
2,048
$1.29
Vectored Interrupts, DMA, 12-bit ADC
40
64
4,096
$1.40
Vectored Interrupts, DMA, 12-bit ADC
40
128
8,192
$1.54
Vectored Interrupts, DMA, 12-bit ADC
48
32
2,048
$1.34
Vectored Interrupts, DMA, 12-bit ADC
48
64
4,096
$1.44
Vectored Interrupts, DMA, 12-bit ADC
48
128
8,192
$1.58
Vectored Interrupts, DMA, 12-bit ADC

RoHS Information

Part Number
Device Weight (g)
Shipping Weight (Kg)
Lead Count
Package Type
Package Width
Solder Composition
JEDEC Indicator
RoHS
China EFUP
PIC18F45K42-E/ML
0.188400
0.288889
44
QFN
8x8x0.9mm
Matte Tin
e3
PIC18F45K42-I/ML
0.188400
0.288889
44
QFN
8x8x0.9mm
Matte Tin
e3
PIC18F45K42T-I/ML
0.188400
0.437500
44
QFN
8x8x0.9mm
Matte Tin
e3
PIC18F45K42-E/PT
0.273300
1.187500
44
TQFP
10x10x1mm
Matte Tin
e3
PIC18F45K42-I/PT
0.273300
1.187500
44
TQFP
10x10x1mm
Matte Tin
e3
PIC18F45K42T-I/PT
0.273300
0.748333
44
TQFP
10x10x1mm
Matte Tin
e3
PIC18F45K42-E/MV
0.042500
0.109589
40
UQFN
5x5x0.5mm
Matte Tin
e3
PIC18F45K42-I/MV
0.042500
0.109589
40
UQFN
5x5x0.5mm
Matte Tin
e3
PIC18F45K42T-I/MV
0.042500
0.166970
40
UQFN
5x5x0.5mm
Matte Tin
e3
PIC18F45K42T-I/MVVAO
0.042500
0.166970
40
UQFN
5x5x0.5mm
Matte Tin
e3
PIC18F45K42-E/P
6.500000
10.600000
40
PDIP
.600in
Matte Tin
e3
PIC18F45K42-I/P
6.500000
10.600000
40
PDIP
.600in
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