Hi,
I am currently developing code for stepper motor control and I am using a PWM signal to drive the motor. One of the features I wish to develop is being able to define a motion profile. For the time being, I wish to implement the trapezoidal profile.

While I know how to change the timebased period using the EPWM_setTimeBasePeriod() function, I want to know if there are other ways to change the frequency over time other than to call the aforementioned function in an interrupt function that is triggered every CTR=0.