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.

CCS/TMS320F280049C: Oneshot trip zone

Part Number: TMS320F280049C

Tool/software: Code Composer Studio

EPWM_forceTripZoneEvent(uint32_t base, uint16_t tzForceEvent)

This function could force trip zone events. How long this events could exist? 

Should I clear this events when I do not want to disable ePWM module?

How to clear this events?

What's the difference between oneshot events and DC events? 

Oneshot means this event only exists for one TBCLK?

  • Hi,

    Xiaoyu Lv said:

    This function could force trip zone events. How long this events could exist? 



    Please refer to Figure 18-41. Trip-Zone Submodule Mode Control Logic 

    How long the trip lasts depends on whether you are using One-Shot or Cycle-By-Cycle mode.

    Xiaoyu Lv said:

    Should I clear this events when I do not want to disable ePWM module?

    How to clear this events?


    As shown in the diagram - you can use TZCLR register to clear the flags.

    Xiaoyu Lv said:
    What's the difference between oneshot events and DC events? 

    Digital comparator events are generated from a combination of trip inputs.
    DC events can be enabled as OneShot events - above diagram shows all these details.

    Xiaoyu Lv said:
    Oneshot means this event only exists for one TBCLK?

    No. One shot means trip condition lasts until cleared by s/w.