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.

c2000 tms28069 epwm 触发event 事件问题

Other Parts Discussed in Thread: TMS320F28069

hi: TI的工程师你好,我用到是tms320F28069 这个片子
现在使用epwm触发事件发现有问题,不知道是不是 这个片子有什么bug 还是有什么需要注意的。
场景是这样的:
根据需求我需要使用epwm1 epwm2 epwm3 epwm4,其中epwm1是做同步源的, epwm12..4 的计数器都是slave 同步
epwm1在的计数器。
1:我开了 epwm1过零点的 中断,
2:需要使用epwm4 产生一个 event 事件。 epwm4 产生事件的 ET_CTRU_CMPA  : 即 A 上升计数等于 EPwm4Regs.CMPA.half.CMPA


现在实测  epwm1过零点的 中断 正常, 当EPwm4Regs.CMPA.half.CMPA的值固定时 epwm4 产生的 事件也正常
但是我在 epwm1过零点的 中断 里修改  EPwm4Regs.CMPA.half.CMPA 比较点的值时  epwm4 产生的 事件就不正常
一段一段的,   会丢失事件。

不知道问题在哪? 忘回复,  我的联系方式 15019243564