Hello, first time poster so a bit unsure of the etiquette but i hope I've understood things correctly.
I am currently using the TMC2130-EVAL-KIT and Landungsbrücke Eval System together with the TMCL-IDE (v4.110). The stepper motor is from Haydonkerk, E21H4N. I have been unable to make the motor stop for when the SG_RESULT value hits 0, i tuned the SGT-threshold for the motor.
If i put smartEnergy Velocity to anything below my target/current speed it instantly kills the motor speed (independent of acceleration speed), and it seems to register as a stall as i need to click reset stall to make it start again. I followed this video (https://www.youtube.com/watch?v=l6r63Q7Yr58&t coolstep is irrelevant ) aswell both with my configs changes and without but i didn't get the same result, granted it is different evaluation board and motor.
Currently I've set:
TCOOLTHRS to its max value 0x00FFFFF
THIGH to 0x0000001
Target velocity to 52100pps which corresponds to 1rps (hopefully this makes the back EMF-significant enough)
acceleration to 2k pps^2
Maximum current: 168mA
Minimum current: 72mA
The reason for the register values to my understanding is to make sure that the speed of the stepper motor TSTEP is between TCOOLTHRS and THIGH for stallguard to trigger.
I have also disabled stealthChop both in chopper settings and in the conf register by disabling en_pwm_mode. I've also made sure to activate diag0_stall and diag1_stall (Though unsure if that did anything).
Any input would be helpful! Thanks!