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.

TMS570LS1227: How to enable Pwm_Het1EdgeNotifyInterrupt

Part Number: TMS570LS1227

Hi team,

In my project the Pwm_Het1EdgeNotifyInterrupt is needed

.

Follow the user manual I have enabled the PwmNotificationSupported feature and config the PWM as CAT 2 interrupt

And config the notification function as below

In the user manual I can not find which interrupt address shall be assign to this interrupt. Can you help to tell me how to config the vector table for this interrupt in OS?

I have configured as ePWM1(396), but the interrupt is not happened.

Does the port pin in PORT module shall also be updated?

  • Hello,

    The Datasheet of TMS570LS1227 explains (in Table 6-32) the VIM interrupt handler address order, where the PWM Interrupts are given as N2HET1 Level 0/1 interrupts. In VIM ISR address table, N2HET1 Level 0/1 interrupts handlers are assigned offsets 10 and 24 (32-bit offsets). So, the Vector table entries 10 and 24 are to be updated with Pwm-ISR addresses.

    Please verify the register values of:

    • VIM REQENASET0 with bits 10 or 24 set to 1 after system init is done - Enable interrupts for PWM N2HET1.
    • VIM INTREQ0 with bits 10 or 24 set to 1, after PWM init is done - Indicating Pending Interrupts for PWM N2HET1.

    Confirm the above and share your observations.

    If the observations didn't help, share the Port configuration as well so that we can confirm the PWM pins are configured as expected.