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

PIC18F66K40

Status: In Production

Features:

  • PIC18 Core with 83 Instructions, 31 Stack Levels
  • Internal 64MHz oscillator
  • Operating Voltage Range:- ‘F’ Version (2.3V – 5.5V)- Low Power ‘LF’ variant (1.8V – 3.6V)
  • Temperature Range:- Industrial Version (-40C to 85C)- Extended Version (-40C to 125C)
  • 64 KB Flash Program Memory with self read/write capability
  • 3562 Bytes Data SRAM Memory
  • 1024 Bytes of EEPROM
  • 47 x 10-bit ADC channels
  • 1 x 5-bit DAC
  • 3 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
  • 2 x I2C/SPI
  • 5 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
  • 5 x Capture/Compare/PWM modules
  • Five 8-bit Timers/Counters
  • Four 16-bit Timers/Counters
  • 1 x Hardware Limit Timer (HLT)
  • Extended Watchdog Timer (WDT)
  • 2 x Signal Measurement Timer (SMT)
  • eXtreme Low Power (XLP) technology
  • Doze, Idle, and Sleep Power Saving Operating Modes
  • Sleep mode: 50nA @ 1.8V, typical
  • Active mode: 32uA/MHz @ 1.8V, typical
  • 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
View More
Overview
Documents
Development Environment
Similar Devices
RoHS Information
Buy Now

Device Overview

Summary

PIC18(L)F66K40 microcontrollers combine large Flash/EE/RAM memory, rich peripheral integration, XLP and 5V support to suit a variety of general purpose applications. These 64-pin devices deliver Core Independent Peripherals such as CWG, WWDT, CRC/Memory Scan, Hardware CVD, Zero-Cross Detect and Peripheral Pin Select, providing for increased design flexibility and lower system cost.

Additional Features

     CORE FEATURES & OPERATING CHARACTERISTICS

    • PIC18 Core with 83 Instructions, 31 Stack Levels
    • Internal 64MHz oscillator
    • Operating Voltage Range:- ‘F’ Version (2.3V – 5.5V)- Low Power ‘LF’ variant (1.8V – 3.6V)
    • Temperature Range:- Industrial Version (-40C to 85C)- Extended Version (-40C to 125C)

    MEMORY

    • 64 KB Flash Program Memory with self read/write capability
    • 3562 Bytes Data SRAM Memory
    • 1024 Bytes of EEPROM

    INTELLIGENT ANALOG

    • 47 x 10-bit ADC channels
    • 1 x 5-bit DAC
    • 3 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

    COMMMUNICATIONS

    • 2 x I2C/SPI
    • 5 x EUSART with LIN support

    SAFETY

    • CRC with Memory Scan
    • Windowed Watchdog Timer (WWDT)
    • 1 x Hardware Limit Timer (HLT)

    WAVEFORM CONTROL

    • 1 x Complementary Waveform Generator
    • 2 x standalone 10-bit PWM modules
    • 5 x Capture/Compare/PWM modules

    TIMING & MEASUREMENTS

    • Five 8-bit Timers/Counters
    • Four 16-bit Timers/Counters
    • 1 x Hardware Limit Timer (HLT)
    • Extended Watchdog Timer (WDT)
    • 2 x Signal Measurement Timer (SMT)

    LOW POWER & SYSTEM FLEXIBILITY

    • eXtreme Low Power (XLP) technology
    • Doze, Idle, and Sleep Power Saving Operating Modes
    • Sleep mode: 50nA @ 1.8V, typical
    • Active mode: 32uA/MHz @ 1.8V, typical
    • Low Current Power-on Reset (POR)
    • Brown-out Reset (BOR)
    • Low-Power BOR (LPBOR)
    • Peripheral Pin Select

    PROGRAMMING/DEBUG FEATURES

    • In-Circuit Debug Integrated On-Chip
    • In-Circuit Serial Programing (ICSP) via Two Pins
Parametrics
Name
Value
Program Memory Type
Flash
Program Memory Size (KB)
64
CPU Speed (MIPS/DMIPS)
16
SRAM Bytes
3,562
Data EEPROM/HEF (bytes)
1024
Digital Communication Peripherals
5-UART, 2-SPI, 2-I2C
Capture/Compare/PWM Peripherals
5 Input Capture, 5 CCP,
Timers
5 x 8-bit, 4 x 16-bit
ADC Input
47 ch, 10-bit
Number of Comparators
3
Temperature Range (C)
-40 to 125
Operating Voltage Range (V)
1.8 to 5.5
Pin Count
64
Low Power
Yes

Documents

Jump to:

Programming Specification

Applications Source code

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

Brochures

11/02/2016
946KB

Development Environment

  • Demo & Evaluation Boards
  • Emulators & Debuggers
  • Programmers
  • Application Examples
Demo & Evaluation Boards
PIC18F67K40 PIM
PIC18F67K40 PIM ( MA180036 )

The PIC18F67K40 Plug-in Module is an accessory to the Explorer 8 Development Kit to be used for prototyping, demonstration or development --quickly and easily.

Click here for MPLAB Xpress example code. 

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

  • Socket: AC164343   PartNo: PIC18F66K40 (64MR)
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

Similar Devices

Product
Pins
Flash (KB)
RAM (B)
Price 5K
Notes
64
64
3,562
$1.58
 
64
128
3,562
$1.72
 

RoHS Information

Part Number
Device Weight (g)
Shipping Weight (Kg)
Lead Count
Package Type
Package Width
Solder Composition
JEDEC Indicator
RoHS
China EFUP
PIC18F66K40-E/PT
0.286700
2.487500
64
TQFP
10x10x1mm
Matte Tin
e3
PIC18F66K40-I/PT
0.286700
2.487500
64
TQFP
10x10x1mm
Matte Tin
e3
PIC18F66K40T-I/PT
0.286700
0.574667
64
TQFP
10x10x1mm
Matte Tin
e3
PIC18F66K40-E/PTVAO
0.286700
2.487500
64
TQFP
10x10x1mm
Matte Tin
e3
PIC18F66K40T-E/PTVAO
0.286700
0.574667
64
TQFP
10x10x1mm
Matte Tin
e3
PIC18F66K40-E/MR
0.232400
0.350000
64
QFN
9x9x0.9mm
Matte Tin
e3
PIC18F66K40-I/MR
0.232400
0.350000
64
QFN
9x9x0.9mm
Matte Tin
e3
PIC18F66K40T-I/MR
0.232400
0.370303
64
QFN
9x9x0.9mm
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