|
发表于 2003-11-11 13:30:03
|
显示全部楼层
请教小数分频该怎么作
有一本书上谈到任意的小数分频
示例如下:
分频系数为10.1 ,可以将分频器设计为9次10分频,1次11分频,这样总的分频值
为(9*10+1*11)/(9+1)=10.1
要从整体上去理解,应该就是先对CLK来9次10分频,这样就经过了90个CLK
周期,得到9个分频后的DIVCLK脉冲,再对CLK来一个11分频,得到1个分频后的DIVCLK
脉冲。这样虽然局部看来是10分频和11分频,但是总的看来,经过90+11=101个CLK脉冲后,共得到9+1=10个分频后的DIVCLK脉冲,岂不就是101/10=10.1分频了!
原理图:
The Div is a programmable div,and it can do 1/10 or 1/11 signaled by the Counter.
①If the counter<90,then coefficient of div is 1/10.
②When the 90th clock of F(in) comes, that is to say, counter= 90,it force the div coefficient become 1/11.
③When the 101st clock of F(in) comes(counter= 101),it force the div and the counter self reset.
So the div of 10.1 is completed
|
|