On my ESP32S3 Controller, using pioarduino Framework, I had some issues with steppers stuck in motion:
- the problem occurs rarely (eg. sometimes only after days)
- the stepper runs at constant slow speed beyond the target position of
stepper->moveTo(target)
stepper->getCurrentPosition() is actually reflecting the wrong position - it is counting.
- further
stepper->moveTo(target) do not change anything
- I am issuing
stepper->moveTo(target) commands at about 100 Hz for all six channels.
- there is no other IO code I am using despite USB Serial and WiFi (that may interfere with the PCNT or RMT peripherials) and some digitalWrite for enable signals.
It seems only to occur on the fifth or sixth channel, but hard to say because of it occurs that rarely.
I can not give a minimal example, because it happens so rarely and no good experiments are possible at that pace. This is very annoying to debug of course.
On my ESP32S3 Controller, using pioarduino Framework, I had some issues with steppers stuck in motion:
stepper->moveTo(target)stepper->getCurrentPosition()is actually reflecting the wrong position - it is counting.stepper->moveTo(target)do not change anythingstepper->moveTo(target)commands at about 100 Hz for all six channels.It seems only to occur on the fifth or sixth channel, but hard to say because of it occurs that rarely.
I can not give a minimal example, because it happens so rarely and no good experiments are possible at that pace. This is very annoying to debug of course.