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.

[参考译文] TMS320F28388D:使用 EPWM1的 CLA 中断

Guru**** 2032800 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1061555/tms320f28388d-cla-interrupt-using-epwm1

器件型号:TMS320F28388D

大家好、

我使用了 EPwm1作为 CLA 内核的中断源。

如何将中断设置为从特定的 epwm1比较器值开始? (TBCTR 寄存器)?

现在、我无法判断中断是在零、周期还是在 epwm1的某个比较器发生-我将 EPWM1设置为零。

我尝试读取  CLA 内核中的 TBCTR 值并收到 更改的值。

谢谢

h

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    您能告诉我如何配置 ePWM 以生成中断吗?

    谢谢、

    Ashwini

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    [引用 userid="459171" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/C2000-microcontrollers-forume/1061555/tms320f28388d-cla-interrupt-using-epwm1"]如何将中断设置为从特定的 epwm1比较器值开始? (TBCTR 寄存器)?[/报价]

    您可以使用 EPWM1的 CMPC 或 CMPD 寄存器以特定的比较器值产生中断。 可使用 ETSEL 寄存器选择用于产生中断的事件。

    谢谢、
    Aditya