首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

[求助]908gz16总线时钟如何提高?

这有一个由4M晶振产生8M总线频率的例子:

PCTL_BCS=0; /* Select clock source from XTAL */
PCTL_PLLON=0 /* Disable the PLL */
PCTL=0x02; /* Set the VCO Power-of-Two multiplier E=2 */
PMS=0x08; /* Set the Feedback divider N=8 */
PMRS=0x70; /* Set the VCO Linear multiplier L=112 */
PBWC=0x80; /* Select the operating modes */
PCTL_PLLON=1; /* Enable the PLL */
while(!PBWC_LOCK) { /* Wait */
}
PCTL_BCS=1; /* Select clock source from PLL */
__asm("nop");
__asm("nop");
海纳百川  有容乃大
什么稳定性?
海纳百川  有容乃大
返回列表