bigtreetech / BIGTREETECH-TMC5160-V1.0

The TMC5160 contains the complete intelligence which is required to drive a motor. Receiving target positions the TMC5160 manages motor movement. Based on TRINAMICs unique features stallGuard2, coolStep, dcStep, spreadCycle, and stealthChop, the TMC5160 optimizes drive performance. It trades off velocity vs. motor torque, optimizes energy efficiency, smoothness of the drive, and noiselessness.;2-phase stepper motors up to 20A coil current (external MOSFETs) Motion Controller with sixPoint™ ramp
53 stars 8 forks source link

SKR V1.3 + TMC2130 + TMC5160 Not working Not moving and overtemp error #7

Open Glennvb85 opened 4 years ago

Glennvb85 commented 4 years ago

Hi guys,

Recently I bought a TMC5160 V1.2 to replace a TMC2130 which kept getting too hot (running 2 stepper motors on 1 driver). Now I tried swapping the Driver, updated the marlin to 2.0 and I can't get it to work. The stepper motor wont torque up and I constantly get an overtemp warning for the Y axis whenever I move a working axis in pronterface.

Every axis on the printer works except for Y which is attached to the TMC5160. I tried the following with no luck:

`#define X_DRIVER_TYPE TMC2130

define Y_DRIVER_TYPE TMC5160

define Z_DRIVER_TYPE TMC2130

//#define X2_DRIVER_TYPE A4988 //#define Y2_DRIVER_TYPE A4988

define Z2_DRIVER_TYPE TMC2130

//#define Z3_DRIVER_TYPE A4988

define E0_DRIVER_TYPE TMC2130

//#define E1_DRIVER_TYPE A4988 //#define E2_DRIVER_TYPE A4988 //#define E3_DRIVER_TYPE A4988 //#define E4_DRIVER_TYPE A4988 //#define E5_DRIVER_TYPE A4988`

``

`#define DEFAULT_AXIS_STEPS_PER_UNIT { 100, 100, 100, 100 }

/**

define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2

if ENABLED(LIMITED_MAX_FR_EDITING)

define MAX_FEEDRATE_EDIT_VALUES { 600, 600, 400, 200 } // ...or, set your own edit limits

endif

/**

//#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2

if ENABLED(LIMITED_MAX_ACCEL_EDITING)

define MAX_ACCEL_EDIT_VALUES { 6000, 6000, 200, 20000 } // ...or, set your own edit limits

endif

/**

/**

define DEFAULT_EJERK 5.0 // May be used by Linear Advance``

image

image

81511971_488895248432109_4996971213675823104_n

When I request a M122 - TMC Debug report as soon as i move X axis I get the following:

image

Then soon after sending another M122:

image