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

C8051F339 参数 Datasheet PDF下载

C8051F339图片预览
型号: C8051F339
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用:
文件页数/大小: 234 页 / 3348 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F339的Datasheet PDF文件第121页浏览型号C8051F339的Datasheet PDF文件第122页浏览型号C8051F339的Datasheet PDF文件第123页浏览型号C8051F339的Datasheet PDF文件第124页浏览型号C8051F339的Datasheet PDF文件第126页浏览型号C8051F339的Datasheet PDF文件第127页浏览型号C8051F339的Datasheet PDF文件第128页浏览型号C8051F339的Datasheet PDF文件第129页  
C8051F336/7/8/9  
19.4.2. External RC Example  
If an RC network is used as an external oscillator source for the MCU, the circuit should be configured as  
shown in Figure 19.1, Option 2. The capacitor should be no greater than 100 pF; however for very small  
capacitors, the total capacitance may be dominated by parasitic capacitance in the PCB layout. To deter-  
mine the required External Oscillator Frequency Control value (XFCN) in the OSCXCN Register, first  
select the RC network value to produce the desired frequency of oscillation, according to Equation 1,  
where f = the frequency of oscillation in MHz, C = the capacitor value in pF, and R = the pull-up resistor  
value in k.  
Equation 1. RC Mode Oscillator Frequency  
f = 1.23 × 103 ⁄ (R × C)  
For example: If the frequency desired is 100 kHz, let R = 246 kand C = 50 pF:  
3
3
f = 1.23( 10 ) / RC = 1.23 ( 10 ) / [ 246 x 50 ] = 0.1 MHz = 100 kHz  
Referring to the table in SFR Definition 19.5, the required XFCN setting is 010b.  
19.4.3. External Capacitor Example  
If a capacitor is used as an external oscillator for the MCU, the circuit should be configured as shown in  
Figure 19.1, Option 3. The capacitor should be no greater than 100 pF; however for very small capacitors,  
the total capacitance may be dominated by parasitic capacitance in the PCB layout. To determine the  
required External Oscillator Frequency Control value (XFCN) in the OSCXCN Register, select the capaci-  
tor to be used and find the frequency of oscillation according to Equation 2, where f = the frequency of  
oscillation in MHz, C = the capacitor value in pF, and V = the MCU power supply in Volts.  
DD  
Equation 2. C Mode Oscillator Frequency  
f = (KF) ⁄ (R × VDD  
For example: Assume V = 3.0 V and f = 150 kHz:  
)
DD  
f = KF / (C x VDD)  
0.150 MHz = KF / (C x 3.0)  
Since the frequency of roughly 150 kHz is desired, select the K Factor from the table in SFR Definition 19.5  
(OSCXCN) as KF = 22:  
0.150 MHz = 22 / (C x 3.0)  
C x 3.0 = 22 / 0.150 MHz  
C = 146.6 / 3.0 pF = 48.8 pF  
Therefore, the XFCN value to use in this example is 011b and C = 50 pF.  
Rev. 0.2  
125  
 复制成功!