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.

MSP430G2553 比较器毛刺处理

Other Parts Discussed in Thread: MSP430G2553

你好,我在使用MSP430G2553的比较器模块来计算正玄波正电压时间。使用计时器连续增加模式计算时间,在上升沿中断将计数器清零,在下降沿读出计数器寄存器值。结果发现在波形过零位置会产细窄的脉冲,这些脉冲的终端处理导致紧跟着的中断触发丢失。比较器配置如下:

CACTL1=CAON+CAIE+CAREF_2+CARSEL;
CACTL1 &= ~CAIES;
//3 CA0 Enable
//3 Comp. A Enable Output Filter
CACTL2=P2CA0+CAF;

_EINT();

请问有没办法去掉这些毛刺脉冲,或者MSP430的比较器能不能增加迟滞。