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.

关于28026的中断问题



专家您好:

我现在用的是28026,主频60M.

中断产生方式:用PWM2的零点去触发中断,中断频率90K,采用UPDOWN模式。

在TBCTR=0时候去加载TBPRD的值。

设置TBPRD=333.

用IO去测试中断产生的频率发现,在PWM波零点的时候会多触发一次中断,而且时间很短,不正常。

但是若TBPRD=334,中断产生的频率就是90K=11.12us,一切正常。

不知何解?

谢谢