Other Parts Discussed in Thread: CONTROLSUITE
Hi -
I'm using the F28377S to drive stepper motors by converting a trajectory/profile velocity into a PWM frequency during each position control interrupt. This works fairly well, but does not end the move at exactly the correct number of steps (which may be okay for the application or not - not sure yet). I would like to count the PWM cycles as the move is progressing. Looking through the reference manual and forum, I see that this could be possible. I would like to do this in hardware with one of the on-board modules (eCAP, TZ, capture/compare system, XBAR, etc.), but need some guidance on how to do this. I would like to avoid using an interrupt to increment a counting variable.
Thanks-
Mary