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.

TMS570LS3137 HET capture

Other Parts Discussed in Thread: HALCOGEN

HI,

最近在做一个获取脉冲宽度的功能,想使用HET,但是对HET的功能不太熟悉,有下面几个问题:

1,PCNT是capture的指令,PCNT中的中断和edge的中断是否为同一个,如果使用HALCOGEN,其中断使能在哪里设置;

2,在HALCOGEN中,HET下EDGE 0-7和CAP0-7中,对管脚的选择是否应该保持一致;

3,在中断处理入口中,vec的值是怎样与pwm,edge和cap等中断向映射的;

另外,是否有capture的例程能提供一下呢?最后包含halcogen的工程。

谢谢大家!’