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.

TMS320F28P650DK: How do I align one-shot trip release with EPWM cycles?

Part Number: TMS320F28P650DK


Tool/software:

Hello. 

I have an inquiry regarding the use of the EPWM trip zone module.

In CBC trip operation, trip release is synchronized to TBPRD or zero count.

However, In one-shot trip operation, trip release occurs immediately.

How do I align one-shot trip release with EPWM cycles like CBC trip operation?

Thanks.

  • Hi,

    How do I align one-shot trip release with EPWM cycles like CBC trip operation?

    The one-shot trip condition must be cleared manually by writing to the TZCLR[OST] bit. If desired, the TZOSTFLG register bit can be cleared by manually writing to the corresponding bit in the TZOSTCLR register.

    You can fire interrupt based on cycle event from epwm instance and clear the trip, but that would be delayed by interrupt latency.

    Thanks