请问一下,2812用什么方式可以直接检测0-100K的脉冲输入,请详细给出方案!谢谢!
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.
请问一下,2812用什么方式可以直接检测0-100K的脉冲输入,请详细给出方案!谢谢!
脉冲捕获用cap,qep是用于正交编码。
参考ev的CAP 模块: http://www.ti.com.cn/cn/lit/ug/spru065e/spru065e.pdf
再请问一下,cap中的T1计时值只有65535吧,那低频率的时候,这个值就溢出很多次了,如何处理啊?
自己设定一个辅助计数器,当记满(或一定值时),T1清零,辅助计数器加1,类似于进位的概念,如果还不够,可以继续添加辅助计数器
再请教:cap捕捉10HZ的脉冲,500ms才来一个,辅助计数器怎么设计条件呢?