2020-05-18 11:23 AM
I know that Vout = Vs * Kval
I know that
Kval = [(Kval_x * BEMF_COMP) * VSCOMP * K_THERM]*microstep
In the datasheet KVal_x is either KVAL_ACC, KVAL_DEC, KVAL_RUN, or KVAL_HOLD
depending on the state of the motion planner.
But, I am not using the internal motion planner, I am providing an external
step pin. So how do I control the Kval in this situation?
2020-05-22 08:50 AM
In Step-clock mode the SPEED register is set to zero and motor status is considered stopped regardless of the STCK signal frequency.
So you need to consider the KVAL_HOLD.
2020-06-04 03:30 PM
Thanks, Does that also mean BEMF compensation does not work in external STEP MODE?
2020-06-08 08:04 AM
Acceleration compensation curve is applied when the motor runs.
No BEMF compensation is applied when the motor is stopped as is in fact considered the motor in step-clock mode.