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

C8051F336 参数 Datasheet PDF下载

C8051F336图片预览
型号: C8051F336
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用: 微控制器和处理器外围集成电路
文件页数/大小: 234 页 / 3348 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F336的Datasheet PDF文件第119页浏览型号C8051F336的Datasheet PDF文件第120页浏览型号C8051F336的Datasheet PDF文件第121页浏览型号C8051F336的Datasheet PDF文件第122页浏览型号C8051F336的Datasheet PDF文件第124页浏览型号C8051F336的Datasheet PDF文件第125页浏览型号C8051F336的Datasheet PDF文件第126页浏览型号C8051F336的Datasheet PDF文件第127页  
C8051F336/7/8/9  
19.4.1. External Crystal Example  
If a crystal or ceramic resonator is used as an external oscillator source for the MCU, the circuit should be  
configured as shown in Figure 19.1, Option 1. The External Oscillator Frequency Control value (XFCN)  
should be chosen from the Crystal column of the table in SFR Definition 19.5 (OSCXCN register). For  
example, an 11.0592 MHz crystal requires an XFCN setting of 111b and a 32.768 kHz Watch Crystal  
requires an XFCN setting of 001b. After an external 32.768 kHz oscillator is stabilized, the XFCN setting  
can be switched to 000 to save power. It is recommended to enable the missing clock detector before  
switching the system clock to any external oscillator source.  
When the crystal oscillator is first enabled, the oscillator amplitude detection circuit requires a settling time  
to achieve proper bias. Introducing a delay of 1 ms between enabling the oscillator and checking the  
XTLVLD bit will prevent a premature switch to the external oscillator as the system clock. Switching to the  
external oscillator before the crystal oscillator has stabilized can result in unpredictable behavior. The rec-  
ommended procedure is:  
Step 1. Force XTAL1 and XTAL2 to a low state. This involves enabling the Crossbar and writing ‘0’  
to the port pins associated with XTAL1 and XTAL2.  
Step 2. Configure XTAL1 and XTAL2 as analog inputs using.  
Step 3. Enable the external oscillator.  
Step 4. Wait at least 1 ms.  
Step 5. Poll for XTLVLD => ‘1’.  
Step 6. Enable the Missing Clock Detector.  
Step 7. Switch the system clock to the external oscillator.  
Important Note on External Crystals: Crystal oscillator circuits are quite sensitive to PCB layout. The  
crystal should be placed as close as possible to the XTAL pins on the device. The traces should be as  
short as possible and shielded with ground plane from any other traces which could introduce noise or  
interference.  
Rev. 0.2  
123  
 复制成功!