English
Language : 

PIC18LF24K Datasheet, PDF (13/594 Pages) –
PIC18(L)F26/45/46K40
1.0 DEVICE OVERVIEW
This document contains device specific information for
the following devices:
• PIC18F26K40
• PIC18F45K40
• PIC18F46K40
• PIC18LF26K40
• PIC18LF45K40
• PIC18LF46K40
This family offers the advantages of all PIC18
microcontrollers – namely, high computational perfor-
mance at an economical price – with the addition of
high-endurance, Program Flash Memory. In addition to
these features, the PIC18(L)F2x/4xK40 family intro-
duces design enhancements that make these micro-
controllers a logical choice for many high-performance,
power sensitive applications.
1.1 New Core Features
1.1.1 XLP TECHNOLOGY
All of the devices in the PIC18(L)F2x/4xK40 family
incorporate a range of features that can significantly
reduce power consumption during operation. Key
items include:
• Alternate Run Modes: By clocking the controller
from the secondary oscillator or the internal
oscillator block, power consumption during code
execution can be reduced by as much as 90%.
• Multiple Idle Modes: The controller can also run
with its CPU core disabled but the peripherals still
active. In these states, power consumption can be
reduced even further, to as little as 4% of normal
operation requirements.
• On-the-fly Mode Switching: The power-
managed modes are invoked by user code during
operation, allowing the user to incorporate
power-saving ideas into their application’s
software design.
• Peripheral Module Disable: Modules that are
not being used in the code can be selectively
disabled using the PMD module. This further
reduces the power consumption.
1.1.2
MULTIPLE OSCILLATOR OPTIONS
AND FEATURES
All of the devices in the PIC18(L)F2x/4xK40 family offer
several different oscillator options. The PIC18(L)F2x/
4xK40 family can be clocked from several different
sources:
• HFINTOSC
- 1-16 MHz precision digitally controlled inter-
nal oscillator
• LFINTOSC
- 31 kHz internal oscillator
• EXTOSC
- External clock (EC)
- Low-power oscillator (LP)
- Medium power oscillator (XT)
- High-power oscillator (HS)
• SOSC
- Secondary oscillator circuit operating at
31 kHz
• A Phase Lock Loop (PLL) frequency multiplier
(4x) is available to both the External and Internal
Oscillator modes enabling clock speeds of up to
64 MHz
Besides its availability as a clock source, the internal
oscillator block provides a stable reference source that
gives the family additional features for robust
operation:
• Fail-Safe Clock Monitor: This option constantly
monitors the main clock source against a
reference signal provided by the LFINTOSC. If a
clock failure occurs, the controller is switched to
the internal oscillator block, allowing for continued
operation or a safe application shutdown.
• Two-Speed Start-up: This option allows the
internal oscillator to serve as the clock source
from Power-on Reset, or wake-up from Sleep
mode, until the primary clock source is available.
 2016 Microchip Technology Inc.
Preliminary
DS40001816C-page 13