Hi Rick,
1) Fair question about ..."do you think the stall should have asserted on the zero cross step?" ... Short answer is I'm not sure...
All I know is I've re-hit the END-STOP by enough varied distances that guranteed in 1 of the cases I should have triggered STALLn from all quadrature parts of the current Sine-Wave. (e.g. distance=100steps, 101steps, ..., 130 steps. And I always get only 3 of the 4 parts of the sinewave).
I have been thinking of a way to measure when I hit the end-stop independent of the STALLn signal... (e.g. putting a switch in place of the end-stop... that said I want to get this working with this particular mechanical setup obviously).
2) Currently the StallCount=00
I have seen you guys recommending a higher value, but I felt I had better success with 00. The reason is straightforward; I want to shut off ASAP once I hit the end-stop. I don't want to excessively drive into the end-stop and damage the mechanical system.
I can re-test if I get better repeatability at a higher StallCount, but as I recall it wasn't any better (and consisted of a longer duration of driving into the end-stop; confirmed by my ear-hearing).
1) Fair question about ..."do you think the stall should have asserted on the zero cross step?" ... Short answer is I'm not sure...
All I know is I've re-hit the END-STOP by enough varied distances that guranteed in 1 of the cases I should have triggered STALLn from all quadrature parts of the current Sine-Wave. (e.g. distance=100steps, 101steps, ..., 130 steps. And I always get only 3 of the 4 parts of the sinewave).
I have been thinking of a way to measure when I hit the end-stop independent of the STALLn signal... (e.g. putting a switch in place of the end-stop... that said I want to get this working with this particular mechanical setup obviously).
2) Currently the StallCount=00
I have seen you guys recommending a higher value, but I felt I had better success with 00. The reason is straightforward; I want to shut off ASAP once I hit the end-stop. I don't want to excessively drive into the end-stop and damage the mechanical system.
I can re-test if I get better repeatability at a higher StallCount, but as I recall it wasn't any better (and consisted of a longer duration of driving into the end-stop; confirmed by my ear-hearing).