BIGTREETECH TMC5160T Plus V1.0 User Manual
9
Step 3: In the file from Step 2, locate "#define TMC_SW_MOSI XXX", "#define
TMC_SW_MISO XXX", and "#define TMC_SW_SCK XXX". Change "XXX" to the
pins you want to use.
Step 4: Find and open "Configuration_adv.h", then locate "#define
TMC_USE_SW_SPI" and remove the comment symbols "//".
Step 5: In the "Configuration_adv.h" file, find "#define X_CURRENT", "#define
X_MICROSTEPS", and "#define X_RSENSE" and modify the parameters that
follow (for each axis being used). The RSENSE value for each used axis should
be changed to "0.022".