This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

msp430测量频率的问题

Other Parts Discussed in Thread: TIDM-FRAM-WATERMETER

我有一个正弦的信号,频率1K到100K,我想用看门狗产生一个1S的中断,然后在一秒之内测量上升沿的个数,用的是timer的捕获模块,每次捕获到上升沿就让计数值加一,1秒中断到来的时候,把计数值取出,然后再清零。这样的思路对吗?

每次捕获都要进入定时器中断,这样到1S的时候会不会计数的值误差比较大?