Amis 30543 - Troubles with "StepTest" from Library

Hi,
I have the following problems with Your “StepTest” example: I only can do the first few tests successfully, until it comes to the “testSteppingAndReadingPosition();” here i get a response “Microstep positions are wrong.”

The interesting thing is, that this test works fine the first time when i am testing after powering up, but the next times the returned values of the wrong step positions are increasing every time i do the test. When i repower, it works again at the first attempt. what could be the reason for that behaviour?

Hi.

You would probably get that error if the CLR pin on the driver is not connected properly.

-Claire

Hi Claire,
I think, you are absolutely right, i changed the badly crimped wire and now there is no error any more:-)