Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC24FJ64GA104T-E/SS Datasheet(PDF) 114 Page - Microchip Technology

Part # PIC24FJ64GA104T-E/SS
Description  28/44-Pin, 16-Bit General Purpose Flash Microcontrollers with nanoWatt XLP Technology
PDF  308 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC24FJ64GA104T-E/SS Datasheet(HTML) 114 Page - Microchip Technology

Back Button PIC24FJ64GA104T-E/SS Datasheet HTML 110Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 111Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 112Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 113Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 114Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 115Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 116Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 117Page - Microchip Technology PIC24FJ64GA104T-E/SS Datasheet HTML 118Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 114 / 308 page
background image
PIC24FJ64GA104 FAMILY
DS39951C-page 114
 2010 Microchip Technology Inc.
9.2.4.3
Exiting Deep Sleep Mode
Deep Sleep mode exits on any one of the following events:
• POR event on VDD supply. If there is no DSBOR
circuit to re-arm the VDD supply POR circuit, the
external VDD supply must be lowered to the
natural arming voltage of the POR circuit.
• DSWDT time-out. When the DSWDT timer times
out, the device exits Deep Sleep.
• RTCC alarm (if RTCEN = 1).
• Assertion (‘0’) of the MCLR pin.
• Assertion of the INT0 pin (if the interrupt was
enabled before Deep Sleep mode was entered).
The polarity configuration is used to determine the
assertion level (‘0’ or ‘1’) of the pin that will cause
an exit from Deep Sleep mode. Exiting from Deep
Sleep mode requires a change on the INT0 pin
while in Deep Sleep mode.
Exiting Deep Sleep mode generally does not retain the
state of the device and is equivalent to a Power-on
Reset (POR) of the device. Exceptions to this include
the RTCC (if present), which remains operational
through the wake-up, the DSGPRx registers and the
DSWDT bit.
Wake-up events that occur from the time Deep Sleep
exits, until the time that the POR sequence completes,
are ignored, and are not captured in the DSWAKE
register.
The sequence for exiting Deep Sleep mode is:
1.
After a wake-up event, the device exits Deep
Sleep and performs a POR. The DSEN bit is
cleared automatically. Code execution resumes
at the Reset vector.
2.
To determine if the device exited Deep Sleep,
read the Deep Sleep bit, DPSLP (RCON<10>).
This bit will be set if there was an exit from Deep
Sleep mode. If the bit is set, clear it.
3.
Determine the wake-up source by reading the
DSWAKE register.
4.
Determine if a DSBOR event occurred during
Deep Sleep mode by reading the DSBOR bit
(DSCON<1>).
5.
If application context data has been saved, read
it back from the DSGPR0 and DSGPR1
registers.
6.
Clear the RELEASE bit (DSCON<0>).
9.2.4.4
Deep Sleep Wake-up Time
Since wake-up from Deep Sleep results in a POR, the
wake-up time from Deep Sleep is the same as the
device POR time. Also, because the internal regulator
is turned off, the voltage on VCAP may drop depending
on how long the device is asleep. If VCAP has dropped
below 2V, then there will be additional wake-up time
while the regulator charges VCAP.
Deep Sleep wake-up time is specified in Section 28.0
“Electrical Characteristics” as TDSWU. This specifi-
cation indicates the worst-case wake-up time, including
the full POR Reset time (including TPOR and TRST), as
well as the time to fully charge a 10
F capacitor on
VCAP which has discharged to 0V. Wake-up may be
significantly faster if VCAP has not discharged.
9.2.4.5
Saving Context Data with the
DSGPR0/DSGPR1 Registers
As exiting Deep Sleep mode causes a POR, most
Special Function Registers reset to their default POR
values. In addition, because VDDCORE power is not
supplied in Deep Sleep mode, information in data RAM
may be lost when exiting this mode.
Applications which require critical data to be saved
prior to Deep Sleep may use the Deep Sleep General
Purpose registers, DSGPR0 and DSGPR1, or data
EEPROM (if available). Unlike other SFRs, the con-
tents of these registers are preserved while the device
is in Deep Sleep mode. After exiting Deep Sleep,
software can restore the data by reading the registers
and clearing the RELEASE bit (DSCON<0>).
9.2.4.6
I/O Pins During Deep Sleep
During Deep Sleep, the general purpose I/O pins retain
their previous states and the Secondary Oscillator
(SOSC) will remain running, if enabled. Pins that are
configured as inputs (TRIS bit is set) prior to entry into
Deep Sleep remain high-impedance during Deep
Sleep. Pins that are configured as outputs (TRIS bit is
clear) prior to entry into Deep Sleep remain as output
pins during Deep Sleep. While in this mode, they
continue to drive the output level determined by their
corresponding LAT bit at the time of entry into Deep
Sleep.
Note:
Any interrupt pending when entering Deep
Sleep mode is cleared.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com