bigtreetech / BIGTREETECH-SKR-V1.3

32bit board with LPC1768, support marlin2.0 and smoothieware, support lcd2004/12864, On-board TMC2130 SPI interface and TMC2208 UART interface no additional wiring is required
999 stars 1.15k forks source link

SKR 1.4 Turbo/TMC2209 Sensorless homing not working on X axis #522

Open 3rdpig57 opened 3 years ago

3rdpig57 commented 3 years ago

When I send M122 via Pronterface it reports all good except X, which is low with all zeros in the registers. All other steppers reporting good. I've double checked my settings in Marlin, checked and tested the jumper under the driver, swapped stepper driver positions and reflashed Marlin. Problem stays on the X axis. All axis move normally but sensorless homing only works on the Y axis and LCD reports "TMC Connection Error".

Any suggestions?

Edited to add M122 output from Pronterface. Note the motor current and microsteps on X.

SENDING:M122 axis:pwm_scale/curr_scale/mech_load|flags|warncount X Y Z E E1 Address 0 0 0 0 0 Enabled false false false false false Set current 800 800 800 800 800 RMS current 1436 795 795 795 795 MAX current 2025 1121 1121 1121 1121 Run current 25/31 25/31 25/31 25/31 25/31 Hold current 12/31 12/31 12/31 12/31 12/31 CS actual 0/31 12/31 12/31 12/31 12/31 PWM scale vsense 0=.325 1=.18 1=.18 1=.18 1=.18 stealthChop false true true true true msteps 256 16 16 16 16 tstep 0 max max max max PWM thresh. [mm/s] OT prewarn false false false false false triggered OTP false false false false false pwm scale sum 0 14 14 14 14 pwm scale auto 0 0 0 0 0 pwm offset auto 0 36 36 36 36 pwm grad auto 0 14 14 14 14 off time 0 4 4 4 4 blank time 16 24 24 24 24 hysteresis -end -3 2 2 2 2 -start 1 1 1 1 1 Stallguard thrs 0 0 0 0 0 uStep count 0 40 40 40 40 DRVSTATUS X Y Z E E1 sg_result 0 0 0 0 0 stst * olb ola s2gb s2ga otpw ot 157C 150C 143C 120C s2vsa s2vsb Driver registers: X 0x00:00:00:00 Bad response! Y 0xC0:0C:00:00 Z 0xC0:0C:00:00 E 0xC0:0C:00:00 E1 0xC0:0C:00:00 Testing X connection... Error: All LOW Testing Y connection... OK Testing Z connection... OK Testing E connection... OK Testing E1 connection... OK