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.

Compiler/TMS320F28035: Issue with epwm6 interrupt with TMS320F28035

Part Number: TMS320F28035

Tool/software: TI C/C++ Compiler

Hi all

A few days I upload to the forum comunity E2E an issue with the epwm6 in the TMS320F28035 using the experimenter kit. Today I configurate the epwm3 with the same way that I had with the epwm6. Then I see that the epwm3 execute the interrupt correctly. I don´t known how function the epwm3 fine whereas the epwm6 don´t do.
Please, someone of staff of TI can to answer to me?

Thanks a lot.

  • Hi,

    Can you share the ISR code, specifically the part where you are acknowledging the interrupt. That might have some problem.

    Thanks
    Vasudha
  • User4789734,

    ePWM3 and 6 use different paths through the PIE. I would suggest looking at Figure 76 "Overview: Multiplexing of Interrupts Using the PIE Block" in the Systems Control and Interrupt Reference Guide to verify that all of the gates were correctly enabled for ePWM6. 

    You will also have to map different addresses in the Interrupt Vector Table for ePWM3 and ePWM6. You should verify that that your ISR's have been aliased to the correct addresses, and that the address of your ISR has been placed at the correct corresponding address inside of the Interrupt Vector Table.

    The Interrupt Vector Table is described in Table 108 "PIE MUXed Peripheral Interrupt Vector Table" in the same guide. The line of code to do this typically looks something like "PieVectTable.EPWM3_INT = &epwm3_timer_isr;".

    Regards,
    Cody 

  • Hi Vashuda

    I send screenviews of configuration of epwm5 and epwm6. I don´t known why the epwm6 do not generate the interrupt, but the epwm5 generate the interrupt, the configuration is almost equal. I need to say that I try use three modules to generate the three phase SPWM signal.

    I apologize because I don´t saw your answer before.

    Sebastián