智能车制作
标题:
请问有关PLL的东东
[打印本页]
作者:
play
时间:
2011-2-13 21:45
标题:
请问有关PLL的东东
想请问一下
CLKSEL=0X00; //disengage PLL to system
PLLCTL_PLLON=1; //turn on PLL
SYNR =0xc0 | 0x07;
REFDV=0x80 | 0x01;
POSTDIV=0x00; //pllclock=2*osc*(1+SYNR)/(1+REFDV)=128MHz;
_asm(nop); //BUS CLOCK=64M
_asm(nop);
while(!(CRGFLG_LOCK==1)); //when pll is steady ,then use it;
CLKSEL_PLLSEL =1; //engage PLL to system;
这里那两个空的有什么用呀
欢迎光临 智能车制作 (http://dns.znczz.com/)
Powered by Discuz! X3.2