Hi Florentin, Would you be able to share the PWM init and the ISR code so I can take a look at what you are currently doing? To have one period and shut off the PWM, my initial thoughts are to generate an interrupt to change the action qualifiers - I'd like to see how you are doing this if there's something we can change for the timing. Otherwise, have you looked into starting and stopping the EPWM clock (TBCLKSYNC bit) or perhaps implementing the trip zone to shut off the PWM? Can I ask why the PWM signal should only have one period? Wondering if perhaps you'd be able to toggle a GPIO for this instead of using EPWM. Best Regards, Allison
↧