欢迎访问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文件第35页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第36页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第37页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第38页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第40页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第41页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第42页浏览型号PIC18F2320-I/SP的Datasheet PDF文件第43页  
PIC18F2220/2320/4220/4320  
3.4.3  
RC_RUN MODE  
Note:  
Caution should be used when modifying a  
single IRCF bit. If VDD is less than 3V, it is  
possible to select a higher clock speed  
than is supported by the low VDD.  
Improper device operation may result if  
the VDD/FOSC specifications are violated.  
In RC_RUN mode, the CPU and peripherals are  
clocked from the internal oscillator block using the  
INTOSC multiplexer and the primary clock is shut  
down. When using the INTRC source, this mode pro-  
vides the best power conservation of all the Run modes  
while still executing code. It works well for user applica-  
tions which are not highly timing sensitive or do not  
require high-speed clocks at all times.  
If the IRCF bits are all clear, the INTOSC output is not  
enabled and the IOFS bit will remain clear; there will be  
no indication of the current clock source. The INTRC  
source is providing the system clocks.  
If the primary clock source is the internal oscillator  
block (either of the INTIO1 or INTIO2 oscillators), there  
are no distinguishable differences between PRI_RUN  
and RC_RUN modes during execution. However, a  
clock switch delay will occur during entry to, and exit  
from, RC_RUN mode. Therefore, if the primary clock  
source is the internal oscillator block, the use of  
RC_RUN mode is not recommended.  
If the IRCF bits are changed from all clear (thus  
enabling the INTOSC output), the IOFS bit becomes  
set after the INTOSC output becomes stable. Clocks to  
the system continue while the INTOSC source  
stabilizes in approximately 1 ms.  
If the IRCF bits were previously at a non-zero value  
before the SLEEP instruction was executed and the  
INTOSC source was already stable, the IOFS bit will  
remain set.  
This mode is entered by clearing the IDLEN bit, setting  
SCS1 (SCS0 is ignored) and executing a SLEEP  
instruction. The IRCF bits may select the clock  
frequency before the SLEEP instruction is executed.  
When the clock source is switched to the INTOSC  
multiplexer (see Figure 3-10), the primary oscillator is  
shut down and the OSTS bit is cleared.  
When a wake-up event occurs, the system continues to  
be clocked from the INTOSC multiplexer while the pri-  
mary clock is started. When the primary clock becomes  
ready, a clock switch to the primary clock occurs (see  
Figure 3-8). When the clock switch is complete, the  
IOFS bit is cleared, the OSTS bit is set and the primary  
clock is providing the system clock. The IDLEN and  
SCS bits are not affected by the wake-up. The INTRC  
source will continue to run if either the WDT or the  
Fail-Safe Clock Monitor is enabled.  
The IRCF bits may be modified at any time to immedi-  
ately change the system clock speed. Executing a  
SLEEPinstruction is not required to select a new clock  
frequency from the INTOSC multiplexer.  
FIGURE 3-10:  
TIMING TRANSITION TO RC_RUN MODE  
Q4 Q1 Q2 Q3 Q4 Q1  
Q2  
Q3  
Q4  
Q1  
Q2  
Q3  
1
2
3
4
5
6
7
8
INTRC  
OSC1  
Clock Transition  
CPU  
Clock  
Peripheral  
Clock  
Program  
Counter  
PC  
PC + 2  
PC + 4  
2003 Microchip Technology Inc.  
DS39599C-page 37  
 复制成功!