Unable to write tmc spi 'stepper_z' register GLOBALSCALER

New Hybrid Core v4 build, has never worked (brand new). Assembled machine, wired it, using custom DIN mount electronics enclosure.
Using Octopus EZ Max with EZ5160Pro drivers, but can repro it using an entirely independent Ocropus Pro 1.1 using TMC5610T Pro v1.0 drivers. EBB42 board. RatOS can see the Octopus and the EZ42b, can flash them both no problem. Any time I enter any gcode commands i.e. initial BEACON_INITIAL_CALIBRATION, or STEPPER_BUZZ STEPPER=stepper_x (using any stepper letter) I get this: Klipper reports: SHUTDOWN Unable to write tmc spi 'stepper_z' register GLOBALSCALER Once the underlying issue is corrected, use the "FIRMWARE_RESTART" command to reset the firmware, reload the config, and restart the host software. Printer is shutdown I've reproduced this problem using a 100% independent Octopus 1.1 Pro board I had (new but untested). I've swapped to a replacement EBB42 board, same issue. I swapped the drivers themselves from x and other ports, same thing (on both cards). Also swapped the ports the motors are plugged into. Same thing. I've swapped the Pi (same SD card though), same issue. I've swapped in a new Beacon, same issue. I'm running out of ideas. I 100% acknowledge this is probably something dumb I'm missing - a jumper, configuration, something. Maybe an endstop related issue? Crimps/wiring? Any suggestions? Attached are printer.config, klipper log, picture of the Octopus EZ Max board. Happy to share anything else as needed. (NOTE: Probably alot of permutations in the klipper log with various things I've changed; sorry). Would greatly welcome any ideas to troubleshoot this.
Solution:
Thank you! Confirmed I fixed this - had a mismatch of driver slot install and motor cable port. SMH, this has been killing me....
Jump to solution
6 Replies
miklschmidt
miklschmidt2w ago
Unable to write tmc spi 'stepper_z' register GLOBALSCALER Once the underlying issue is corrected, use the "FIRMWARE_RESTART" command to reset the firmware, reload the config, and restart the host software. Printer is shutdown
That means klipper can't communicate with your z driver If you haven't selected 5160 drivers, not configured your driver jumpers correctly (in case of the octopus pro) or haven't selected the correct slot (you've moved your drivers around), you'll get an error like this. If you can't figure it out based on that information alone, please post a debug zip, so i can see how you've configured your motor slots.
Solution
ctbjdm_04135
ctbjdm_041352w ago
Thank you! Confirmed I fixed this - had a mismatch of driver slot install and motor cable port. SMH, this has been killing me.
WOPR73
WOPR739h ago
What if you only have Diag Pins and not any other jumpers able to be set. I get that error and its on Kraken 1.0. If so is it software related error vs a hardware jumper. I dont have the option in the RatOS setup wizard to change drivers it only allows TMC2160. In the printer.cfg it has no reference, but, the RatOS.cfg is says they are "tmc5160 stepper_x". I am new to all of this But, I am not sure what is going on with two conflicting drivers being listed in different places.
miklschmidt
miklschmidt8h ago
What if you only have Diag Pins
What?
I dont have the option in the RatOS setup wizard to change drivers it only allows TMC2160
It should say "Kraken 2160 Plus" on the first 4 slots, and "Kraken 2160", you can't change them since they're solderen onto the board.
"tmc5160 stepper_x"
This is correct, the first 4 slots should have 0.022 ohm sense_resistor and the last 4 should have 0.075. (in RatOS.cfg)
I am not sure what is going on with two conflicting drivers being listed in different places
You need to select the motor slot where you have connected the stepper. Make sure everything is updated before you select a printer and go through the configuration steps. If you still have problems, please start your own thread.
WOPR73
WOPR737h ago
@miklschmidt Sorry it does not. nor has it ever given me an option to choose drivers.
No description
WOPR73
WOPR737h ago
@miklschmidt Sorry. "What if you only have Diag Pins" was in response to a past post on this same issue. I am new to posting in discord.
Want results from more Discord servers?
Add your server