Hello. I’m trying to run Klipper on a Duet3 3HC and a Duet3 6HC. I have a problem when configuring the stepper motor drivers tmc5160 on the Duet3HC with SPI. The following error is displayed: “Unable to write tmc spi ‘stepper_z’ register GLOBALSCALER”. I have checked that all pins are specified correctly and tried to find a solution on the forum. I haven’t checked if the drivers work with the original RepRap Firmware yet, maybe the problem is in the board. Perhaps this functionality is not written for MCU SAME51N19 in Klipper code. Maybe the problem is connected with SPI connection via CAN, or there is a mistake with the printer.cfg file. If you have any ideas, please advise. Here are the settings from printer.cfg:
I’ve checked that drivers work with the original RepRap Firmware. I think the problem is not in the printer.cfg, but most likely in the source code. I couldn’t debug this situation with openOCD and SWD, because I don’t know how to send gcode that causes an error (web interface is unavailable during debugging).