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.
Hi,您好!
外部输入PWM接到PIN4脚上(ADCINA6 / AIO6),然后要对PWM进行采样测量频率及占空比,请问PIN4脚如何设置,另外,采样的话是设置一个定时器去采样还是利用什么中断?如果是定时器,时间间隔设置成多少合适?样例程序里是否有对PWM采样测试的例子?
谢谢!
可以利用eCAP模块来,捕获PWM波形的上升沿和下降沿来实现,可以参考下controlsuit中F2802XEcap_Capture_Pwm例程。
hi,yu
现在我们的硬件已经设计成外部输入PWM接在了AIO6上,请问这个测试怎么实现