欢迎访问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文件第175页浏览型号C8051F363的Datasheet PDF文件第176页浏览型号C8051F363的Datasheet PDF文件第177页浏览型号C8051F363的Datasheet PDF文件第178页浏览型号C8051F363的Datasheet PDF文件第180页浏览型号C8051F363的Datasheet PDF文件第181页浏览型号C8051F363的Datasheet PDF文件第182页浏览型号C8051F363的Datasheet PDF文件第183页  
C8051F360/1/2/3/4/5/6/7/8/9  
16.8.3. Powering on and Initializing the PLL  
To set up and use the PLL as the system clock after power-up of the device, the following procedure  
should be implemented:  
Step 1. Ensure that the reference clock to be used (internal or external) is running and stable.  
Step 2. Set the PLLSRC bit (PLL0CN.2) to select the desired clock source for the PLL.  
Step 3. Program the Flash read timing bits, FLRT (FLSCL.5–4) to the appropriate value for the  
new clock rate (see Section “13. Flash Memory” on page 135).  
Step 4. Enable power to the PLL by setting PLLPWR (PLL0CN.0) to ‘1’.  
Step 5. Program the PLL0DIV register to produce the divided reference frequency to the PLL.  
Step 6. Program the PLLLP3–0 bits (PLL0FLT.3–0) to the appropriate range for the divided  
reference frequency.  
Step 7. Program the PLLICO1–0 bits (PLL0FLT.5–4) to the appropriate range for the PLL output  
frequency.  
Step 8. Program the PLL0MUL register to the desired clock multiplication factor.  
Step 9. Wait at least 5 µs, to provide a fast frequency lock.  
Step 10. Enable the PLL by setting PLLEN (PLL0CN.1) to ‘1’.  
Step 11. Poll PLLLCK (PLL0CN.4) until it changes from ‘0’ to ‘1’.  
Step 12. Switch the System Clock source to the PLL using the CLKSEL register.  
If the PLL characteristics need to be changed when the PLL is already running, the following procedure  
should be implemented:  
Step 1. The system clock should first be switched to either the internal oscillator or an external  
clock source that is running and stable, using the CLKSEL register.  
Step 2. Ensure that the reference clock to be used for the new PLL setting (internal or external) is  
running and stable.  
Step 3. Set the PLLSRC bit (PLL0CN.2) to select the new clock source for the PLL.  
Step 4. If moving to a faster frequency, program the Flash read timing bits, FLRT (FLSCL.5–4) to  
the appropriate value for the new clock rate (see Section “13. Flash Memory” on  
page 135).  
Step 5. Disable the PLL by setting PLLEN (PLL0CN.1) to ‘0’.  
Step 6. Program the PLL0DIV register to produce the divided reference frequency to the PLL.  
Step 7. Program the PLLLP3–0 bits (PLL0FLT.3–0) to the appropriate range for the divided  
reference frequency.  
Step 8. Program the PLLICO1-0 bits (PLL0FLT.5–4) to the appropriate range for the PLL output  
frequency.  
Step 9. Program the PLL0MUL register to the desired clock multiplication factor.  
Step 10. Enable the PLL by setting PLLEN (PLL0CN.1) to ‘1’.  
Step 11. Poll PLLLCK (PLL0CN.4) until it changes from ‘0’ to ‘1’.  
Step 12. Switch the System Clock source to the PLL using the CLKSEL register.  
Step 13. If moving to a slower frequency, program the Flash read timing bits, FLRT (FLSCL.5–4)  
to the appropriate value for the new clock rate (see Section “13. Flash Memory” on  
page 135). Important Note: Cache reads, cache writes, and the prefetch engine  
should be disabled whenever the FLRT bits are changed to a lower setting.  
Rev. 1.0  
179  
 复制成功!