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.
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:Jump to solution
Thank you!
Confirmed I fixed this - had a mismatch of driver slot install and motor cable port. SMH, this has been killing me....
6 Replies
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 shutdownThat 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
Thank you!
Confirmed I fixed this - had a mismatch of driver slot install and motor cable port. SMH, this has been killing me.
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.
What if you only have Diag PinsWhat?
I dont have the option in the RatOS setup wizard to change drivers it only allows TMC2160It 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 placesYou 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.
@miklschmidt Sorry it does not. nor has it ever given me an option to choose drivers.
@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.