# Stepper phase change

**URL:** <https://klipper.discourse.group/t/stepper-phase-change/22476>\
**Category:** General Discussion\
**Created:** [March 13, 2025, 11:07pm UTC](https://klipper.discourse.group/t/stepper-phase-change/22476 "2025-03-13T23:07:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rainforetnomad](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/rainforetnomad/32/5261_2.png) [@Rainforetnomad](https://klipper.discourse.group/u/Rainforetnomad)\
**Post date:** [March 13, 2025, 11:07pm UTC](https://klipper.discourse.group/t/stepper-phase-change/22476/1 "2025-03-13T23:07:51Z")

</div>

### Basic Information:

Printer Model: TriZero  
 MCU / Printerboard: SKR2  
 Host / SBC RPi4  
 klippy.log  
[klippy(1).log](https://klipper.discourse.group/uploads/short-url/u3mMqgobDqgAkScVfsHsnfeRpja.log) (2.8 MB)

_Fill out above information and_ **_in all cases attach your_ `klippy.log` _file_** (use zip to compress it, if too big). _Pasting your_ `printer.cfg` _is **not** needed_  
_ **Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there** _

### Describe your issue:

I am starting a new post to expand on an issue highlighted in another post I made, specifically the listing of stepper phase change in klippy.log

Stepper stepper\_z phase change (was 593 now 937)  
Stepper stepper\_z1 phase change (was 626 now 970)

my printer has three z motors z, z1 and z2. What could be the cause of a phase change on two of the motors? I’m having trouble finding any info on this doing any forum or web searches.

The klipper docs describe phase change, and how to use it with endstops as a configuration option, however in the notes it specifically mentions not using it with probe virutal enstop enabled, which I have. I do not have any phase settings configured at all, and never have.

Is this indicative of a hardware/software problem I have, or a red herring?

---

<div class="post-metadata">

**Author:** ![nefelim4ag](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/nefelim4ag/32/2387_2.png) [@nefelim4ag](https://klipper.discourse.group/u/nefelim4ag)\
**Post date:** [March 14, 2025, 1:46am UTC](https://klipper.discourse.group/t/stepper-phase-change/22476/2 "2025-03-14T01:46:48Z")

</div>

AFAIK, it should mean that the stepper made an unexpected number of steps.  
So, the driver position does not equal the commanded one.

1. ~~Try disabling interpolation. IDK, but if the read happens between steps, it can be unaligned, but should not be so high.~~
2. ~~Try to set `step_pulse_duration=0.000002` for Z steppers, just for the test.~~

~~On second glance, I think that tmc\_autotune mess with TMC configuration, and enabled `multistep_filt` for some reason.~~

```auto
...
autotune_tmc set stepper_x multistep_filt=True
autotune_tmc set stepper_y multistep_filt=True
autotune_tmc set stepper_z multistep_filt=True
autotune_tmc set stepper_z1 multistep_filt=True
autotune_tmc set stepper_z2 multistep_filt=True
...

```

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/d/7/d7efdda1c9ea8328d3ca4957258ca32e52e520b6.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/8/a/8abb7d3eaba56026a987df6474099f7dbca2c4bc.png)

~~I guess you can report a bug to the tmc autotune github.~~

* * *

Just for the sake of mind map:

> [@Z\_tilt\_adjust and bed mesh](https://klipper.discourse.group/t/z-tilt-adjust-and-bed-mesh/22455/9):
>
> Thank you for your input! On the first point, most of my work has been done cold, however there is a nozzle clean routine that raises the temp to brush the nozzle clean of filament. I will make sure things are stable during further testing, to avoid changes to the toolhead. When I perused the log, I did see those mentions of the stepper phase change, and was curious about its meaning. Your point that its affecting only two motors is a good one. I will look into this further. I wonder if bad ste…

* * *

I was wrong, it should do nothing on 2209:

> [@"multistep\_filt" added in a recent commit makes my TMC5160 skip steps](https://klipper.discourse.group/t/multistep-filt-added-in-a-recent-commit-makes-my-tmc5160-skip-steps/8883):
>
> TL;DR; The change introduced by commit [dd39091](https://github.com/Klipper3d/klipper/commit/dd39091388f8da7f642231061b2d42ad37db6f7f) that enables multistep\_filt for TMC5160 totally destroys my prints with all drivers skipping steps. Few days ago decided to update my Klipper install using the Mainsail UI. Without any other change noticed the printer sounding quite bad when moving as well as all the prints had lots of skipped steps on X and Y axis. Noticeable at higher speeds, on first layer is ok but as soon as it goes to the normal printing speeds is easily noticeable from the…

---

<div class="post-metadata">

**Author:** ![Rainforetnomad](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/rainforetnomad/32/5261_2.png) [@Rainforetnomad](https://klipper.discourse.group/u/Rainforetnomad)\
**Post date:** [March 16, 2025, 4:22pm UTC](https://klipper.discourse.group/t/stepper-phase-change/22476/3 "2025-03-16T16:22:21Z")

</div>

So I have disabled(but not uninstalled) the autotune and the problem with the phase changes persist. They appear for stepper\_z and stepper\_z1 but never stepper\_z2, and I have spotted them for stepper\_x and stepper\_y in other parts of the log.

---

<div class="post-metadata">

**Author:** ![nefelim4ag](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/nefelim4ag/32/2387_2.png) [@nefelim4ag](https://klipper.discourse.group/u/nefelim4ag)\
**Post date:** [March 16, 2025, 9:15pm UTC](https://klipper.discourse.group/t/stepper-phase-change/22476/4 "2025-03-16T21:15:25Z")

</div>

Well, you can still look at the `DUMP_TMP` output and/or logs to check that there are no strange changes left behind.

Also, you may wish to try to increase pulse\_duration, as suggested above; it should help with that.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [May 15, 2025, 9:15pm UTC](https://klipper.discourse.group/t/stepper-phase-change/22476/5 "2025-05-15T21:15:40Z")

</div>

Closed on May 15, 2025, 9:15pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
