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

C8051F363 参数 Datasheet PDF下载

C8051F363图片预览
型号: C8051F363
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用:
文件页数/大小: 288 页 / 2659 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F363的Datasheet PDF文件第172页浏览型号C8051F363的Datasheet PDF文件第173页浏览型号C8051F363的Datasheet PDF文件第174页浏览型号C8051F363的Datasheet PDF文件第175页浏览型号C8051F363的Datasheet PDF文件第177页浏览型号C8051F363的Datasheet PDF文件第178页浏览型号C8051F363的Datasheet PDF文件第179页浏览型号C8051F363的Datasheet PDF文件第180页  
C8051F360/1/2/3/4/5/6/7/8/9  
16.5. 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 16.1, Option 1. The External Oscillator Frequency Control value (XFCN)  
should be chosen from the Crystal column of the table in SFR Definition 16.5 (OSCXCN register). For  
example, an 11.0592 MHz crystal requires an XFCN setting of 111b.  
When the crystal oscillator is enabled, the oscillator amplitude detection circuit requires a settle time to  
achieve proper bias. Waiting at least 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 recom-  
mended procedure is:  
Step 1. Force the XTAL1 and XTAL2 pins low by writing 0's to the port latch.  
Step 2. Configure XTAL1 and XTAL2 as analog inputs.  
Step 3. Enable the external oscillator.  
Step 4. Wait at least 1 ms.  
Step 5. Poll for XTLVLD => '1'.  
Step 6. Switch the system clock to the external oscillator.  
Note: Tuning-fork crystals may require additional settling time before XTLVLD returns a valid result.  
The capacitors shown in the external crystal configuration provide the load capacitance required by the  
crystal for correct oscillation. These capacitors are "in series" as seen by the crystal and "in parallel" with  
the stray capacitance of the XTAL1 and XTAL2 pins.  
Note: The load capacitance depends upon the crystal and the manufacturer. Please refer to the crystal  
data sheet when completing these calculations.  
For example, a tuning-fork crystal of 32.768 kHz with a recommended load capacitance of 12.5 pF should  
use the configuration shown in Figure 16.1, Option 1. The total value of the capacitors and the stray capac-  
itance of the XTAL pins should equal 25 pF. With a stray capacitance of 3 pF per pin, the 22 pF capacitors  
yield an equivalent capacitance of 12.5 pF across the crystal, as shown in Figure 16.2.  
22 pF  
XTAL1  
10 MΩ  
32.768 kHz  
22 pF  
XTAL2  
Figure 16.2. 32.768 kHz External Crystal Example  
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.  
176  
Rev. 1.0  
 复制成功!