Using and Configuring Sensorless Homing on a Fly-Gemini-V1.1

Overview

Sensorless homing and stall detection is functional for all TMC2209’s, TMC2226’s and TMC5160’s and is supported on the Fly-Gemini-V1.1.

Getting stall detection working can be tricky and sensorless homing will almost certainly require some tuning.

As always the Duet wiki pages provide a lot of information that may also be of help.

board.txt Changes

To use sensorless homing/stall detection with TMC2209 or TMC2226 the following line must be added to the board.txt file. It is not needed with TMC5160. The pin numbers below start at Driver 0 (typically the X driver)

stepper.TmcDiagPins = { PA_3, PB_3, PB_10 }

Please only include the diag pin numbers where you intend to use sensorless homing on that axis.
For example, if you only intend to use sensorless homing/stall detection on driver 0 and driver 1, only include stepper.TmcDiagPins = { PA_3, PB_3 } in your board.txt file.
If you only want to enable sensorless homing/stall detection on driver 1, only include stepper.TmcDiagPins = { NoPin, PB_3 }

Tags: