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.

[参考译文] TMS320F28075:当 PWM TBCTR 计数至0时、TZCLR.bit.OST 是否可以清除单次触发信号?

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1020147/tms320f28075-can-tzclr-bit-ost-clear-the-one-shot-trip-signal-when-pwm-tbctr-counts-to-0

器件型号:TMS320F28075

您好!

我的客户说、当他们用"EPWMxRegs.TZCLR.bit.OST=1 "清除单次触发信号时、第一个 PWM 周期的占空比可能不是预期的。

如果我们可以配置 "EPWMxRegs.TZCLR.bit.OST=1 "、使其在 TBCTR=0时生效、就像影子寄存器一样、我们可以避免这种问题。

当 TBCTR 计数至0时、您是否知道如何清除实例中的单次触发信号?

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

    您好 Howard、

    [引用 userid="2766666" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1020147/tms320f28075-can-tzclr-bit-ost-clear-the-one-shot-trip-signal-when-pwm-tbctr-counts-to-0 "]您是否知道我们在 TBCTR 计数为0时如何清除实例中的一次性跳闸信号?

    一次性(OSHT)跳闸事件没有诸如逐周期跳闸事件之类的清除机制、您可以在 PRD 或 ZRO 上决定清除。 一个执行类似操作的可能建议是在 TBCTR = 0时生成一个中断。 在该中断的 ISR 内、您可以设置 EPWMxRegs.TZCLR.bit.OST=1。  

    此致、

    Marlyn