AN592(50M频率计)原理?

2020-02-06 10:12发布

本帖最后由 blueice1108 于 2015-8-21 11:48 编辑

看了半天没搞懂
有没有人能讲解下
http://ww1.microchip.com/downloads/en/AppNotes/00592d.pdf
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
6条回答
blueice1108
2020-02-06 16:30
gujiamao_love 发表于 2015-8-21 16:31
不是1ms计数么?

是1MS计数没错
我的疑问是
The low 8 bits have to be "shifted out". The 8 bits in the prescaler are “shifted out” by toggling RA2 with a “BSF” and a “BCF” instruction. After every toggle, the value in TMR0 is checked to see if TMR0 has incremented. If the number of toggles required to cause TMR0 to increment by 1 is N, then the 8-bit value in the prescaler can be calculated to be = (256 - N).
这段是做什么的
之后要怎么算出值阿?
另外Resolution要怎么得到
有办法等精度吗

一周热门 更多>