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.

TMS320F28377D: What is the correct timing for setting and clearing the TZOSTFLG flag?

Expert 2440 points
Part Number: TMS320F28377D

Tool/software:

Hi All,

When are the flags in the TZOSTFLG register set and cleared?
I do not understand the description of OST1 in the TRM.

According to the following explanation, if the OST flag is set in the TZFLG register, it appears that it is simply latched - is this true?

What is correct about the relationship between TZOSTFLG, TZFLG, OST1 and OST?

Customers want to know the truth about TZOSTFLG settings and clear timings.

Best Regards,

Ito

  • Hi Ito,

    According to the following explanation, if the OST flag is set in the TZFLG register, it appears that it is simply latched - is this true?

    That is correct you will have to software clear the flag.

    What is correct about the relationship between TZOSTFLG, TZFLG, OST1 and OST?

    When a one-shot trip event occurs, the one-shot trip event flag (TZFLG[OST]) is set and a EPWMx_TZINT interrupt is generated when enabled in the TZEINT register and interrupt controller. A corresponding flag for the event that caused the OST event is also set in register TZOSTFLG.

    TZOSTFLG contains status flags for OSHT1-6 and the DCA/BEVT1. Note that OST1-6 correspond to TZ1-6.

    Best,

    Ryan Ma

  • Hi Ryan Ma,

    Thank you for your reply.

    Are the flag setting timings for TZOSTFLG and TZFLG simultaneous?

    Are they set at the same time when the TZINT interrupt occurs?

    Best Regards,

    Ito

  • Hi KZ,

    Yes that is correct.

    Best,

    Ryan Ma