Now let's get right into my problem. I was testing my board with TMC2130 drivers connected to a stepper motor, however the X axis motor (altough communicating) did not move a bit. First I was guessing it could be the board, but after switching the Z and X drivers, the problem shifted so that the Z axis did not move at all.
I managed to get TMC_DEBUG working and after M122 I get these results. Notice the PWM scale. This number is always 0 no matter where I move the X axis driver. When moved to Z, the Z axis PWM scale was showing 0.
The drivers are from China from BigTreeTech and I had to solder CFG and unsolder R5 to get them to SPI mode. Board is a RAMPS 1.6. I am currently losing my mind as if to ask for a new driver. I checked the pins and the soldering work but that seems to be in order.
Code: Select all
SENDING:M122 X Y Z E0 Enabled false false false false Set current 800 800 800 800 RMS current 795 795 795 795 MAX current 1121 1121 1121 1121 Run current 25/31 25/31 25/31 25/31 Hold current 12/31 12/31 12/31 12/31 CS actual 12/31 12/31 12/31 12/31 PWM scale 0 7 7 7 vsense 1=.18 1=.18 1=.18 1=.18 stealthChop true true true true msteps 16 16 16 16 tstep 1048575 1048575 1048575 1048575 pwm threshold 0 0 0 0 [mm/s] - - - - OT prewarn false false false false OT prewarn has been triggered false false false false off time 5 5 5 5 blank time 24 24 24 24 hysterisis -end 2 2 2 2 -start 3 3 3 3 Stallguard thrs 0 0 0 0 DRVSTATUS X Y Z E0 stallguard sg_result 0 0 0 0 fsactive X stst X X X X olb ola s2gb s2ga otpw ot Driver registers: X = 0x80:0C:00:00 Y = 0x80:0C:00:00 Z = 0x80:0C:00:00 E0 = 0x80:0C:80:00
P.S.: Here is a Google Drive album with photos of the bad driver: https://photos.app.goo.gl/Reyud38MPxjkWAuS9
P.S.2: Yeah I know they are soldered upside down, but I would rather have them like this instead of messing up their sloppy soldering.
Thank you for all suggestions !