Skip to content

Skipped step detection with TMC2130 drivers #15

@teemuatlut

Description

@teemuatlut

@thinkyhead Hey I'm opening up a ticket here to have a quick discussion about how to implement this and I reckon you know the gcode handler/buffer better than anyone.

The skipped step detection has been requested a few times and was hinted towards on one Tom's videos. Prusa Research even has this implemented already.

So in order for us (me-too mentality) to have a similar feature for mainstream Marlin, I was thinking that the best way would be to utilize the endstops using interrupts feature. Basically if the interrupt is triggered when we are NOT homing an axis, then we inject a G28 XY command into the buffer as the very next command to execute.
I haven't yet looked at how to code this, so would you have any thoughts or suggestions regarding the implementation method?

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