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: Interrupts no longer occur in specific ePWMs.

Genius 3215 points

Part Number: TMS320F28388D

Tool/software:

Hi All,

In an environment where multiple ePWMs are synchronised, when pausing and resuming an ePWM,
we have encountered a situation where interrupts no longer occur on a specific ePWM. The configuration is as follows.

• ePWM2 (CPU1 control)
Starts up in COUNT_UP mode with peripheral initial settings when the power is turned on.
Used as the reference timing for other PWMs.


• ePWM15 (CPU1 control)
Performs peripheral initialisation only at power-on and remains in FREEZE state.
Planned to start by setting to COUNT_UP mode at the desired timing.
Configured to generate interrupts 10μs delayed relative to ePWM2.


• ePWM3 (CPU2 control)
Starts up with peripheral initial settings and COUNT_UP mode when CPU2 starts up.
Configured to generate an interrupt 20μs after ePWM2.

With the above configuration, after power-on and CPU2 startup, when the operating mode of ePWM15 is switched to COUNT_UP,
the interrupt function of ePWM3 is no longer called.

The desired operation is as follows:
• ePWM2 and ePWM3 begin synchronised operation after startup.
• ePWM15 is started at the desired timing and synchronised with the other PWMs.
What settings and control methods are appropriate to achieve this configuration?
We would appreciate any advice on points to consider or recommended settings.

Best Regards,

Ito

  • Hello,

    Our ePWM expert will review this question and will reply on this question. We appreciate your patience while we review this!

    Regards,

    Sumit

  • Hi K.Z.

    In an environment where multiple ePWMs are synchronised, when pausing and resuming an ePWM,
    we have encountered a situation where interrupts no longer occur on a specific ePWM. The configuration is as follows

    Can you verify that the TBCTRs are still running for the respective PWMs? Can you ensure all existing PWM interrupt flags are cleared or any previous PWM interrupts that have not been serviced? (i.e. event trigger, trip zone, submodules etc)

    This sounds to be a ePIE related issue.

    Best regards,

    Ryan Ma