欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC24FJ32GA104T-I/PT 参数 Datasheet PDF下载

PIC24FJ32GA104T-I/PT图片预览
型号: PIC24FJ32GA104T-I/PT
PDF下载: 下载PDF文件 查看货源
内容描述: 44分之28引脚, 16位通用闪存微控制器采用nanoWatt XLP技术 [28/44-Pin, 16-Bit General Purpose Flash Microcontrollers with nanoWatt XLP Technology]
分类和应用: 闪存微控制器
文件页数/大小: 308 页 / 2416 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第111页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第112页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第113页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第114页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第116页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第117页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第118页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第119页  
PIC24FJ64GA104 FAMILY  
Once the device wakes back up, all I/O pins continue to  
maintain their previous states, even after the device  
has finished the POR sequence and is executing appli-  
cation code again. Pins configured as inputs during  
Deep Sleep remain high-impedance and pins config-  
ured as outputs continue to drive their previous value.  
After waking up, the TRIS and LAT registers, and the  
SOSCEN bit (OSCCON<1>) are reset. If firmware  
modifies any of these bits or registers, the I/O will not  
immediately go to the newly configured states. Once  
the firmware clears the RELEASE bit (DSCON<0>) the  
I/O pins are “released”. This causes the I/O pins to take  
the states configured by their respective TRIS and LAT  
bit values.  
9.2.4.8  
Switching Clocks in Deep Sleep Mode  
Both the RTCC and the DSWDT may run from either  
SOSC or the LPRC clock source. This allows both the  
RTCC and DSWDT to run without requiring both the  
LPRC and SOSC to be enabled together, reducing  
power consumption.  
Running the RTCC from LPRC will result in a loss of  
accuracy in the RTCC of approximately 5 to 10%. If an  
accurate RTCC is required, it must be run from the  
SOSC clock source. The RTCC clock source is selected  
with the RTCOSC Configuration bit (CW4<5>).  
Under certain circumstances, it is possible for the  
DSWDT clock source to be off when entering Deep  
Sleep mode. In this case, the clock source is turned on  
automatically (if DSWDT is enabled), without the need  
for software intervention. However, this can cause a  
delay in the start of the DSWDT counters. In order to  
avoid this delay when using SOSC as a clock source,  
the application can activate SOSC prior to entering  
Deep Sleep mode.  
This means that keeping the SOSC running after  
waking up requires the SOSCEN bit to be set before  
clearing RELEASE.  
If the Deep Sleep BOR (DSBOR) is enabled, and a  
DSBOR or a true POR event occurs during Deep  
Sleep, the I/O pins will be immediately released similar  
to clearing the RELEASE bit. All previous state infor-  
mation will be lost, including the general purpose  
DSGPR0 and DSGPR1 contents.  
9.2.4.9  
Checking and Clearing the Status of  
Deep Sleep  
If a MCLR Reset event occurs during Deep Sleep, the  
DSGPRx, DSCON and DSWAKE registers will remain  
valid and the RELEASE bit will remain set. The state of  
the SOSC will also be retained. The I/O pins, however,  
will be reset to their MCLR Reset state. Since  
RELEASE is still set, changes to the SOSCEN bit  
(OSCCON<1>) cannot take effect until the RELEASE  
bit is cleared.  
Upon entry into Deep Sleep mode, the status bit,  
DPSLP (RCON<10>), becomes set and must be  
cleared by software.  
On power-up, the software should read this status bit to  
determine if the Reset was due to an exit from Deep  
Sleep mode and clear the bit if it is set. Of the four  
possible combinations of DPSLP and POR bit states,  
three cases can be considered:  
In all other Deep Sleep wake-up cases, application  
firmware must clear the RELEASE bit in order to  
reconfigure the I/O pins.  
• Both the DPSLP and POR bits are cleared. In this  
case, the Reset was due to some event other  
than a Deep Sleep mode exit.  
9.2.4.7  
Deep Sleep WDT  
• The DPSLP bit is clear, but the POR bit is set.  
This is a normal Power-on Reset.  
To enable the DSWDT in Deep Sleep mode, program  
the Configuration bit, DSWDTEN (CW4<7>). The  
device Watchdog Timer (WDT) need not be enabled for  
the DSWDT to function. Entry into Deep Sleep mode  
automatically resets the DSWDT.  
• Both the DPSLP and POR bits are set. This  
means that Deep Sleep mode was entered, the  
device was powered down and Deep Sleep mode  
was exited.  
The DSWDT clock source is selected by the  
DSWDTOSC Configuration bit (CW4<4>). The  
postscaler options are programmed by the  
DSWDTPS<3:0> Configuration bits (CW4<3:0>). The  
minimum time-out period that can be achieved is  
2.1 ms and the maximum is 25.7 days. For more  
details on the CW4 Configuration register and DSWDT  
configuration options, refer to Section 25.0 “Special  
Features”.  
2010 Microchip Technology Inc.  
DS39951C-page 115  
 复制成功!