unable to read tmc uart 'stepper_z' register ifcnt

Hi All, Board: Manta M8P v1.1 Getting unable to read tmc uart 'stepper_z' register ifcnt, I've checked that i've jumpered everything correctly and checked the pin out is correct in the config, i'm going to go over my wiring again and confirm all my crimps are good. Is there any other way i can test/narrow down what could be the cause? if its not wiring my only other thought is a DOA Board?
24 Replies
Quinny
QuinnyOP•2y ago
my config is very basic i've only made 1 change which is changing to a PT1000, Im running ldo-42sth48-2804ah which im hoping can be ran at 24v?
blacksmithforlife
blacksmithforlife•2y ago
have you tried a different driver?
Quinny
QuinnyOP•2y ago
Sorry should have included that, i got 8 drivers with my M8P and i tried the 3 spare ones as im running a EBB42 but didnt make a difference
blacksmithforlife
blacksmithforlife•2y ago
did you try changing wiring and steppers?
Quinny
QuinnyOP•2y ago
i do have some spare stepper motors and i was thinking i could plug them in and not install them in the printer just to confirm there is nothing wrong with the stepper motors
blacksmithforlife
blacksmithforlife•2y ago
yeah or just switch the steppers for now if you don't have any spares basically you want to check if it follows anything. Like if it follows the wiring, you can determine that's probably the cause and investigate more. If you change the motor and the error changes to that new port then you know its the motor, etc
Quinny
QuinnyOP•2y ago
i did try the X steppers in the Z slots just the confirm if it still throw up the same error and it did
blacksmithforlife
blacksmithforlife•2y ago
have you tried changing the driver port and changing your config to match the new port?
Quinny
QuinnyOP•2y ago
i was just trying to eliminate that it was the wiring so didnt change any config, i would normally just do a continuity test to elimate the wring but these steppers wire into the motor so i cant test it unless i pull apart the stepper which i dont really want to do
blacksmithforlife
blacksmithforlife•2y ago
you said you tried the X steppers in the Z slots though - did you mean the steppers or stepper drivers?
Quinny
QuinnyOP•2y ago
plugging the x and y steppers motors into the Z motor plugs/slots on the board
blacksmithforlife
blacksmithforlife•2y ago
ok, then you have tried a bunch of the combinations. only thing left is to try another port
Quinny
QuinnyOP•2y ago
i thought as much, does it normally tell you which stepper its failing on?
blacksmithforlife
blacksmithforlife•2y ago
Z is the front left, the others are named Z1(back) and Z2 (front right)
Quinny
QuinnyOP•2y ago
thats good to know 🙂 i thought it would be Z0 I appreciate you working through this with me, you've given me a few things to try now 🙂
blacksmithforlife
blacksmithforlife•2y ago
add to your USER OVERRIDES section
[stepper_z]
step_pin: PC9
dir_pin: PC8
enable_pin: !PD1
[stepper_z]
step_pin: PC9
dir_pin: PC8
enable_pin: !PD1
if you want to use the 5th slot from the left
Quinny
QuinnyOP•2y ago
thank you, i'll give it ago 🙂
Quinny
QuinnyOP•2y ago
Quinny
QuinnyOP•2y ago
still no good, tried changing the postion to motor driver 5 i tried other stepper motors with premade cables and still get the error
blacksmithforlife
blacksmithforlife•2y ago
upload your printer.cfg because your log is showing it is still using the old stepper_z values
Quinny
QuinnyOP•2y ago
Yeah I changed it back to the old ones after I tested it with the 2 different stepper motors. I can test it again on motor number 5 and upload it, is there a easy way to clear the klipper log so it starts new each time?
Quinny
QuinnyOP•2y ago
Quinny
QuinnyOP•2y ago
I'm really thinking the board has issues, I don't know what else I can try now I've ordered another m8p board, i really cant think of anything else it could be so every other steeper driver is fine 6:35 PM SG_RESULT: 00000000 6:35 PM PWM_AUTO: 000e0024 pwm_ofs_auto=36 pwm_grad_auto=14 6:35 PM PWM_SCALE: 00000016 pwm_scale_sum=22 6:35 PM PWMCONF: c80d0e24 pwm_ofs=36 pwm_grad=14 pwm_freq=1 pwm_autoscale=1 pwm_autograd=1 pwm_reg=8 pwm_lim=12 6:35 PM DRV_STATUS: c0130000 cs_actual=19 stealth=1 stst=1 6:35 PM CHOPCONF: 32008003 toff=3 tbl=1 mres=2(64usteps) intpol=1 dedge=1 6:35 PM MSCURACT: 00f10033 cur_a=51 cur_b=241 6:35 PM MSCNT: 00000022 mscnt=34 6:35 PM TSTEP: 000fffff tstep=1048575 6:35 PM FACTORY_CONF: 0000000e fclktrim=14 6:35 PM IOIN: 21000041 enn=1 pdn_uart=1 version=0x21 6:35 PM OTP_READ: 0000000e otp_fclktrim=14 6:35 PM IFCNT: 00000020 ifcnt=32 6:35 PM GSTAT: 00000001 reset=1(Reset) 6:35 PM GCONF: 000001c0 pdn_disable=1 mstep_reg_select=1 multistep_filt=1 6:35 PM ========== Queried registers ========== 6:35 PM SGTHRS: 00000000 6:35 PM TPOWERDOWN: 00000014 tpowerdown=20 6:35 PM TPWMTHRS: 000003aa tpwmthrs=938 6:35 PM IHOLD_IRUN: 00081313 ihold=19 irun=19 iholddelay=8 6:35 PM SLAVECONF: 00000200 senddelay=2 6:35 PM ========== Write-only registers ========== its just stepper z that wont 6:36 PM Unable to read tmc uart 'stepper_z' register GCONF 6:36 PM ========== Queried registers ========== 6:36 PM SGTHRS: 00000000 6:36 PM TPOWERDOWN: 00000014 tpowerdown=20 6:36 PM TPWMTHRS: 000003aa tpwmthrs=938 6:36 PM IHOLD_IRUN: 00081313 ihold=19 irun=19 iholddelay=8 6:36 PM SLAVECONF: 00000200 senddelay=2 6:36 PM ========== Write-only registers ========== I've had to do a little hackry with the config, i needed to set the uart pin so its now working on the other driver so it was motor 6 that is faulty on the board does anyone know how i can set the uart pin in the override?
blacksmithforlife
blacksmithforlife•2y ago
Just have to look at the klipper config reference https://www.klipper3d.org/Config_Reference.html#tmc2209

Did you find this page helpful?