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

PIC18F4431-I/P 参数 Datasheet PDF下载

PIC18F4431-I/P图片预览
型号: PIC18F4431-I/P
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚增强型闪存微控制器采用纳瓦技术,高性能PWM和A / D [28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D]
分类和应用: 闪存微控制器
文件页数/大小: 392 页 / 3127 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F4431-I/P的Datasheet PDF文件第274页浏览型号PIC18F4431-I/P的Datasheet PDF文件第275页浏览型号PIC18F4431-I/P的Datasheet PDF文件第276页浏览型号PIC18F4431-I/P的Datasheet PDF文件第277页浏览型号PIC18F4431-I/P的Datasheet PDF文件第279页浏览型号PIC18F4431-I/P的Datasheet PDF文件第280页浏览型号PIC18F4431-I/P的Datasheet PDF文件第281页浏览型号PIC18F4431-I/P的Datasheet PDF文件第282页  
PIC18F2331/2431/4331/4431  
FIGURE 23-4:  
FSCM TIMING DIAGRAM  
Sample Clock  
Oscillator  
Failure  
System  
Clock  
Output  
CM Output  
(Q)  
Failure  
Detected  
OSCFIF  
CM Test  
CM Test  
CM Test  
Note:  
The system clock is normally at a much higher frequency than the sample clock. The relative frequencies in  
this example have been chosen for clarity.  
23.4.3  
FSCM INTERRUPTS IN  
POWER-MANAGED MODES  
23.4.4  
POR OR WAKE FROM SLEEP  
The FSCM is designed to detect oscillator failure at any  
point after the device has exited Power-on Reset  
(POR) or low-power Sleep mode. When the primary  
system clock is EC, RC or INTRC modes, monitoring  
can begin immediately following these events.  
As previously mentioned, entering a power-managed  
mode clears the fail-safe condition. By entering a  
power-managed mode, the clock multiplexer selects  
the clock source selected by the OSCCON register.  
Fail-safe monitoring of the power-managed clock  
source resumes in the power-managed mode.  
For oscillator modes involving a crystal or resonator  
(HS, HSPLL, LP or XT), the situation is somewhat  
different. Since the oscillator may require a start-up  
time considerably longer than the FCSM sample clock  
time, a false clock failure may be detected. To prevent  
this, the internal oscillator block is automatically  
configured as the system clock and functions until the  
primary clock is stable (the OST and PLL timers have  
timed out). This is identical to Two-Speed Start-up  
mode. Once the primary clock is stable, the INTRC  
returns to its role as the FSCM source.  
If an oscillator failure occurs during power-managed  
operation, the subsequent events depend on whether  
or not the oscillator failure interrupt is enabled. If  
enabled (OSCFIF = 1), code execution will be clocked  
by the INTOSC multiplexer. An automatic transition  
back to the failed clock source will not occur.  
If the interrupt is disabled, the device will not exit the  
power-managed mode on oscillator failure. Instead, the  
device will continue to operate as before, but clocked  
by the INTOSC multiplexer. While in Idle mode, subse-  
quent interrupts will cause the CPU to begin executing  
instructions while being clocked by the INTOSC  
multiplexer. The device will not transition to a different  
clock source until the fail-safe condition is cleared.  
Note:  
The same logic that prevents false  
oscillator failure interrupts on POR or wake  
from Sleep will also prevent the detection  
of the oscillator’s failure to start at all  
following these events. This can be  
avoided by monitoring the OSTS bit and  
using a timing routine to determine if the  
oscillator is taking too long to start. Even  
so, no oscillator failure interrupt will be  
flagged.  
As noted in Section 23.3.1 “Special Considerations  
for Using Two-Speed Start-up”, it is also possible to  
select another clock configuration, and enter an  
alternate power-managed mode, while waiting for the  
primary system clock to become stable. When the new  
powered-managed mode is selected, the primary clock  
is disabled.  
DS39616D-page 278  
2010 Microchip Technology Inc.  
 复制成功!