Skip to content

ESP32S3 : Fifth or sixth stepper getting stuck moving. #358

@dronus

Description

@dronus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions