PIC18F24J11 MICROCHIP [Microchip Technology], PIC18F24J11 Datasheet - Page 54

no-image

PIC18F24J11

Manufacturer Part Number
PIC18F24J11
Description
28/44-Pin, Low-Power, High-Performance USB Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F24J11-I/ML
Manufacturer:
MICROCHIP
Quantity:
49 000
Part Number:
PIC18F24J11-I/SO
Manufacturer:
Microchip Technology
Quantity:
1 960
PIC18F46J11 FAMILY
4.4.3
In RC_IDLE mode, the CPU is disabled but the
peripherals continue to be clocked from the internal
oscillator block. This mode allows for controllable
power conservation during Idle periods.
From RC_RUN, this mode is entered by setting the
IDLEN bit and executing a SLEEP instruction. If the
device is in another Run mode, first set IDLEN, then
clear the SCS bits and execute SLEEP. When the clock
source is switched to the INTOSC block, the primary
oscillator is shut down and the OSTS bit is cleared.
When a wake event occurs, the peripherals continue to
be clocked from the internal oscillator block. After the
wake event, the CPU begins executing code being
clocked by the INTRC. The IDLEN and SCS bits are not
affected by the wake-up. The INTRC source will con-
tinue to run if either the WDT or the FSCM is enabled.
4.5
An exit from Sleep mode, or any of the Idle modes, is
triggered by an interrupt, a Reset or a WDT time-out.
This section discusses the triggers that cause exits
from power-managed modes. The clocking subsystem
actions are discussed in each of the power-managed
modes sections (see
Section 4.3 “Sleep Mode”
Modes”).
4.5.1
Any of the available interrupt sources can cause the
device to exit from an Idle mode, or the Sleep mode, to
a Run mode. To enable this functionality, an interrupt
source must be enabled by setting its enable bit in one
of the INTCON or PIE registers. The exit sequence is
initiated when the corresponding interrupt flag bit is set.
On all exits from Idle or Sleep modes by interrupt, code
execution branches to the interrupt vector if the
GIE/GIEH bit (INTCON<7>) is set. Otherwise, code
execution continues or resumes without branching
(see Section 9.0 “Interrupts”).
4.5.2
A WDT time-out will cause different actions depending
on which power-managed mode the device is in when
the time-out occurs.
DS39932D-page 54
Exiting Idle and Sleep Modes
RC_IDLE MODE
EXIT BY INTERRUPT
EXIT BY WDT TIME-OUT
Section 4.2 “Run
and
Section 4.4 “Idle
Modes”,
If the device is not executing code (all Idle modes and
Sleep mode), the time-out will result in an exit from the
power-managed
Modes”
is executing code (all Run modes), the time-out will
result in a WDT Reset (see
Timer
The WDT and postscaler are cleared by one of the
following events:
• Executing a SLEEP or CLRWDT instruction
• The loss of a currently selected clock source (if
4.5.3
Exiting an Idle or Sleep mode by Reset automatically
forces the device to run from the INTRC.
4.5.4
Certain exits from power-managed modes do not
invoke the OST at all. There are two cases:
• PRI_IDLE mode (where the primary clock source
• PRI_IDLE mode and the primary clock source is
In these instances, the primary clock source either does
not require an oscillator start-up delay, since it is already
running (PRI_IDLE), or normally does not require an
oscillator start-up delay (EC).
4.6
Deep Sleep mode brings the device into its lowest
power consumption state without requiring the use of
external switches to remove power from the device.
During deep sleep, the on-chip V
regulator is powered down, effectively disconnecting
power to the core logic of the microcontroller.
the FSCM is enabled)
is not stopped) and the primary clock source is
the EC mode
the ECPLL mode
Note:
(WDT)”).
and
Deep Sleep Mode
EXIT BY RESET
EXIT WITHOUT AN OSCILLATOR
START-UP DELAY
Since Deep Sleep mode powers down the
microcontroller by turning off the on-chip
V
capability is available only on PIC18FXXJ
members in the device family. The on-chip
voltage regulator is not available in
PIC18LFXXJ members of the device
family, and therefore, they do not support
Deep Sleep.
Section 4.3 “Sleep
DDCORE
mode
voltage regulator, Deep Sleep
 2011 Microchip Technology Inc.
(see
Section 26.2 “Watchdog
Mode”). If the device
Section 4.2
DDCORE
voltage
“Run

Related parts for PIC18F24J11