王工您好:
我现在在用N2HET功能来捕获PWM脉冲,脉冲频率为50KHZ。配置如下,使用N2HET1的Pin8来捕获。
代码为:edgeval1=edgeGetCounter(hetRAM1,0);
但是edgeval1总是0,我想问一下我是哪里弄错了,谢谢。您给指导一下吧。
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.
王工您好:
我现在在用N2HET功能来捕获PWM脉冲,脉冲频率为50KHZ。配置如下,使用N2HET1的Pin8来捕获。
代码为:edgeval1=edgeGetCounter(hetRAM1,0);
但是edgeval1总是0,我想问一下我是哪里弄错了,谢谢。您给指导一下吧。
Hi, our expert is out of office until 4/7. Please expect a delayed response.
Also, please see this FAQ: software-dl.ti.com/.../index.html