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

C8051F502-IM 参数 Datasheet PDF下载

C8051F502-IM图片预览
型号: C8051F502-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用: 微控制器和处理器外围集成电路PC时钟
文件页数/大小: 312 页 / 2813 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F502-IM的Datasheet PDF文件第161页浏览型号C8051F502-IM的Datasheet PDF文件第162页浏览型号C8051F502-IM的Datasheet PDF文件第163页浏览型号C8051F502-IM的Datasheet PDF文件第164页浏览型号C8051F502-IM的Datasheet PDF文件第166页浏览型号C8051F502-IM的Datasheet PDF文件第167页浏览型号C8051F502-IM的Datasheet PDF文件第168页浏览型号C8051F502-IM的Datasheet PDF文件第169页  
C8051F50x-F51x  
19. Oscillators and Clock Selection  
C8051F50x-F51x devices include a programmable internal high-frequency oscillator, an external oscillator  
drive circuit, and a clock multiplier. The internal oscillator can be enabled/disabled and calibrated using the  
OSCICN, OSCICRS, and OSCIFIN registers, as shown in Figure 19.1. The system clock can be sourced  
by the external oscillator circuit or the internal oscillator. The clock multiplier can produce three possible  
base outputs which can be scaled by a programmable factor of 1, 2/3, 2/4 (or 1/2), 2/5, 2/6 (or 1/3), or 2/7:  
Internal Oscillator x 2, Internal Oscillator x 4, External Oscillator x 2, or External Oscillator x 4.  
OSCICRS  
OSCIFIN  
OSCICN  
CLKSEL  
Option 3  
XTAL2  
CAL  
EN  
IOSC  
n
Programmable Internal  
Clock Generator  
Option 4  
XTAL2  
CLOCK MULTIPLIER  
IOSC/2  
EXOSC  
EXOSC/2  
IOSC  
SYSCLK  
Option 2  
VDD  
x4  
n
Option 1  
XTAL1  
XTAL2  
XTAL2  
Input  
OSC  
10M  
Circuit  
EXOSC  
OSCXCN  
CLKMUL  
Figure 19.1. Oscillator Options  
19.1. System Clock Selection  
The CLKSL[1:0] bits in register CLKSEL select which oscillator source is used as the system clock.  
CLKSL[1:0] must be set to 01b for the system clock to run from the external oscillator; however the exter-  
nal oscillator may still clock certain peripherals (timers, PCA) when the internal oscillator is selected as the  
system clock. The system clock may be switched on-the-fly between the internal oscillator, external oscilla-  
tor, and Clock Multiplier so long as the selected clock source is enabled and has settled.  
The internal oscillator requires little start-up time and may be selected as the system clock immediately fol-  
lowing the register write which enables the oscillator. The external RC and C modes also typically require  
no startup time.  
External crystals and ceramic resonators however, typically require a start-up time before they are settled  
and ready for use. The Crystal Valid Flag (XTLVLD in register OSCXCN) is set to 1 by hardware when the  
external crystal or ceramic resonator is settled. In crystal mode, to avoid reading a false XTLVLD, soft-  
ware should delay at least 1 ms between enabling the external oscillator and checking XTLVLD.  
Rev. 1.1  
165  
 复制成功!