Skip to content

[BUG] Recent LPC "toggle" change breaks multi-driver axis configs #27341

@Sanguium

Description

@Sanguium

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

When activating a second Z driver and EDGE_STEPPING, the first Z motor grinds and loses steps, while the second works fine.
All other axis work fine, problem goes away when disabling the Z2 driver OR disabling EDGE_STEPPING.

This is the M122 report after moving Z 10m up with and without EDGE_STEPPING enabled:
EDGE_STEPPING OFF:
edge_stepping_OFF
EDGE_STEPPING ON:
edge_stepping ON

Using SKR v1.3 with TMC2009 drivers

Bug Timeline

Tested wrong in 2.1.2.4 and current bugfix-2.1.x

Expected behavior

Dual Z drivers work fine with the recomended EDGE_STEPPING for trinamic drivers

Actual behavior

First Z motor rattles and loses steps

Steps to Reproduce

  1. Set Z_DRIVER_TYPE TMC2209 and Z2_DRIVER_TYPE TMC2209
  2. Set EDGE_STEPPING
  3. Move Z axis

Version of Marlin Firmware

Commit 0ec1a54

Printer model

Custom cartesian

Electronics

SKR v1.3 board with TMC2209 drivers

LCD/Controller

BIGTREE_TFT24_V1_1

Other add-ons

No response

Bed Leveling

None

Your Slicer

None

Host Software

None

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

Config.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions