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

PIC18F2320-I/SP 参数 Datasheet PDF下载

PIC18F2320-I/SP图片预览
型号: PIC18F2320-I/SP
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚高性能,增强型闪存微控制器与10位A / D和纳瓦技术 [28/40/44-Pin High-Performance, Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 388 页 / 6899 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F2320-I/SP的Datasheet PDF文件第38页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第39页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第40页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第41页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第43页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第44页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第45页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第46页  
PIC18F2220/2320/4220/4320  
3.5.2  
EXIT BY RESET  
3.5.4  
EXIT WITHOUT AN OSCILLATOR  
START-UP DELAY  
Normally, the device is held in Reset by the Oscillator  
Start-up Timer (OST) until the primary clock (defined in  
Configuration Register 1H) becomes ready. At that  
time, the OSTS bit is set and the device begins  
executing code.  
Certain exits from power managed modes do not  
invoke the OST at all. These are:  
• PRI_IDLE mode, where the primary clock source  
is not stopped; and  
Code execution can begin before the primary clock  
becomes ready. If either the Two-Speed Start-up (see  
Section 23.3 “Two-Speed Start-up”) or Fail-Safe  
Clock Monitor (see Section 23.4 “Fail-Safe Clock  
Monitor”) are enabled in Configuration Register 1H,  
the device may begin execution as soon as the Reset  
source has cleared. Execution is clocked by the  
INTOSC multiplexer driven by the internal oscillator  
block. Since the OSCCON register is cleared following  
all Resets, the INTRC clock source is selected. A higher  
speed clock may be selected by modifying the IRCF bits  
in the OSCCON register. Execution is clocked by the  
internal oscillator block until either the primary clock  
becomes ready, or a power managed mode is entered  
before the primary clock becomes ready; the primary  
clock is then shut down.  
• the primary clock source is not any of the LP, XT,  
HS or HSPLL modes.  
In these cases, 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 (RC, EC and INTIO  
Oscillator modes).  
However, a fixed delay (approximately 10 µs) following  
the wake-up event is required when leaving Sleep and  
Idle modes. This delay is required for the CPU to pre-  
pare for execution. Instruction execution resumes on  
the first clock cycle following this delay.  
3.6  
INTOSC Frequency Drift  
The factory calibrates the internal oscillator block  
output (INTOSC) for 8 MHz. However, this frequency  
may drift as VDD or temperature changes, which can  
affect the controller operation in a variety of ways.  
3.5.3  
EXIT BY WDT TIME-OUT  
A WDT time-out will cause different actions depending  
on which power managed mode the device is in when  
the time-out occurs.  
It is possible to adjust the INTOSC frequency by modi-  
fying the value in the OSCTUNE register. This has the  
side effect that the INTRC clock source frequency is  
also affected. However, the features that use the  
INTRC source often do not require an exact frequency.  
These features include the Fail-Safe Clock Monitor, the  
Watchdog Timer and the RC_RUN/RC_IDLE modes  
when the INTRC clock source is selected.  
If the device is not executing code (all Idle modes and  
Sleep mode), the time-out will result in a wake-up from  
the power managed mode (see Section 3.2 “Sleep  
Mode” through Section 3.4 “Run Modes”).  
If the device is executing code (all Run modes), the  
time-out will result in a WDT Reset (see Section 23.2  
“Watchdog Timer (WDT)”).  
The WDT timer and postscaler are cleared by execut-  
ing a SLEEP or CLRWDT instruction, the loss of a  
currently selected clock source (if the Fail-Safe Clock  
Monitor is enabled) and modifying the IRCF bits in the  
OSCCON register if the internal oscillator block is the  
system clock source.  
Being able to adjust the INTOSC requires knowing  
when an adjustment is required, in which direction it  
should be made and in some cases, how large a  
change is needed. Three examples are shown but  
other techniques may be used.  
DS39599C-page 40  
2003 Microchip Technology Inc.  
 复制成功!