I am using a TMS570 dev kit, CCS 5.4, Halcogen 3.02.02, and the FreeRTOS that came with CCS.
I want to dynamically change the period of a PWM signal to implement an acceleration profile for a stepper motor.
I am using end_of_duty and end_of_period interrupts to give semaphores to unblock tasks to calculate the next period length and update the PWM.
However, at the beginning of the process I am getting two pulses of the same width, which should not happen.
I am calling into question my implementation of the PWM commands.
If I use Halcogen and FreeRTOS to configure and control PWM signals in the N2HET, does that accomplish the same thing as using the separate HET IDE?
If I use pwmSetSignal followed by pwmStart, is that redundant?
What happens when pwmSetSignal is called on a running PWM?