все сто там гаписано конкретно это я уже делал I was now able to get the TMC5161 run with recent Marlin Bugfix 2.0.x. After checking latest changes at the TMCStepper-Library, i think that i found the reason and i did a test run for a couple of hours now. Till now, the driver and stepper runs without any issues.
Hardware setup:: BTT TMC5161 v1.1 and SKR 1.4 Turbo (LPC1769)
Marlin version:: Branch - bugfix-2.0.x @ 12b3807
My configuration:
For BTT TMC5161 v1.1 with R=0.062
// RSENSE is "0.062f" is float. TMCStepper library v0.6.2 changed it to float! Therefore the float define! teemuatlut/TMCStepper@4016500
Be sure you use the TMCStepper-Lib v0.6.2 in your platformio.ini lib_debs:
TMCStepper@>=0.6.2,<1.0.0
The configuration_adv.h:
#define TMC5161_RSENSE 0.062f // For X, Y, Z end E
#define HOLD_MULTIPLIER 0.5
#define INTERPOLATE false
#define XYZE_CURRENT 800
#define XYZE_MICROSTEPS 16
#define STEALTHCHOP_XY
#define STEALTHCHOP_Z
#define STEALTHCHOP_E
//#define SOFTWARE_DRIVER_ENABLE // --> is disabled!
Give it a try and let us know if this also work for others then me.
Cheers.