SKR 1.4 Turbo with TMC2209 Sensorless homing

Hello,

I am using slightly modified code from TheExpertNoob:

My goal is to have auto sensorless squaring using the TMC2209s and laser PWM output from Neopixel pin.

Currently the sensorless homing works on X, Y1 and Z1 but not on Y2 and Z2. M119 says:
y2_min: TRIGGERED
z2_min: TRIGGERED
with the rest open.

Any ideas on what I need to change?

Cheers

The endstops should be configured for normally closed. So triggered means open. Are there endstops installed in those ports?

No limit switches are installed anywhere

Then they should be triggered if they are configured for NC.

X1, Y1, Z1 work as they should. Y2 and Z2 are always in that triggered state. Is that somewhere in configuration.h?