#Unable to write tmc spi `stepper_x` register GLOBALSCALER error in klipper

26 messages · Page 1 of 1 (latest)

rapid current
#

One other bit of information I can provide that initially I didn't think mattered, is that I had a power surge situation a few weeks ago (long story). But long story short I was temporarly without a 24v power source as I was waiting on a larger 24psu in the main and tried to power my 24v electronics by hooking up at a varibale power supply to my 24v wago bus bar. I adjusted my variable power supply to 24v first, then hooked it up to my wago bar, then turned it on... and instead of only supplying my 24v electronics with what it asked for it basically allowed full 24v to flow through. Immediately after turning it on I watch the current go up from 5amps, to 6 to 7 to 8 then I heard "POP!". It was the fuse on my EBB42. It was immediately dead right there. The PI worked fine since it was ran on it's own 5V power supply. I also blew certain parts of my Octopus board (not the fuses, just made many things go wonky with the board I can explain if need be) so I had to replace the

#

Octopus board. After replacing the Octopus board it wouldn't recognize the Z steppers when I went to home or buzz them so I actually had to replace the 4 Z stepper drivers (tmc2209s). Which brings me to today, I got the 4 new tmc2209 drivers in and the Z stepper error went away ( they buzz just fine now and Z stepper doesnt error out when homing) but now the X & Y do. I think the X & Y would have errored out with homing last week also but the Z steppers errored out klipper first since they are the first to move in the V2.4 homing process. Part of me thinks I need to replace the 5160 drivers now. I didn't think I would have to since they are hooked up to the 48v power supply and because I didn't initally have the error.
I've basically had to replace almost every component and driver that the 24v busbar was connected to both directly and indirectly execpt the Rasberri PI (which appears to be fine) and the 5160 drivers
I know the print.cfg is the same because I back it up on a weekly basis and keep them all incase I need to go back and look
It's insane how much that 5 second power surge has affected. Looks like more then I know.

rapid current
#

After replacing the 5160s it appears to of not made any difference. So I started looking at the stepper motors. I have the LDO HT Speedys. They have a nominal impendance of .7 (+/- 20%) per coil. The reading I got on both coils for both my A/B steppers is exactly .4 ohms each. So according to the specs low limit for impendence is .56 ohms. So that's definitely out of tolerance and I ordered new stepper motors. The printer has been out of commission for about 5 weeks now so if anyone has any suggestions or ideas I would love to hear them. Any help at all would be greatly appreciated. My next step is to replace the drivers back to the TMC2209s and take out the 48v and I don't really want to do that unless I have to.

tepid owl
tepid owl
#

Yep, looks okay

#

I do kinda feel like you blew up your 5160s then

#

I seem to recall that if a 5160 is ever receiving motor power, but not control power, bad things happen...

rapid current
tepid owl
#

Hmm

#

So new 5160s, and new octopus?

rapid current
tepid owl
#

Alright, that's a bit weird then

rapid current
tepid owl
#

I think the chip itself may support uart, but klipper doesnt

#

Now, to see if the chip is functioning at all, you could theoretically just REMOVE the tmc5160 section from the config, leaving it in simple step-dir-en mode, with current controlled by the pot

rapid current
tepid owl
#

As a test, ya.

rapid current
tepid owl
#

Can you buzz the motor

rapid current
#

I didn't see a pot on the 5160s either to make sure it wasnt set to 0

tepid owl
#

So without the spi communication, there's no feedback. So there will never be an error

#

But I was hoping for the motor to at least twitch

analog marsh
#

I've just had exactly the same error on my x and y. I have 5160s too, but it is the ones on my pitb canbus board that give the same error.

Before I updated klipper I had no issue and had completed a few prints. Since I updated klipper and flashed the new version to the toolhead, pitb and octopus I keep getting the same error. I have spare working 5160s and they also give the same error. I've not updated it in a few months before then.

I tried reflashing the board with the same klipper version again to see if it was corrupt, but getting the same error afterwards still.

For me stepper buzz x and y work with the 5160 section commented.

rapid current