MAX31865 and TMC5160 not working after update.
I have 2 xTMC5160 at 50v
Hotend sensor PT100 working on MAX31865
Octopus pro F446
After doing update to RatOS and klipper i cant do anything with this 3 parts.
Even disabling Max31865 i keep getting the error:
"Unable to write tmc spi 'stepper_x' 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"
Any ideias?
17 Replies
Looks like someone else has the same issue but no resolution. https://github.com/FYSETC/FYSETC-SPIDER/issues/40
GitHub
"Can't write to TMC SPI "stepper_x/y/extruder register, GLOBALSCALE...
Getting this error.. Example of my configs [stepper_x] step_pin: PE11 dir_pin: PE10 enable_pin: !PE9 microsteps: 16 rotation_distance: 40 endstop_pin: PB14 # PA1 for X-max position_endstop: 0 posit...
fascinating-indigoOP•2y ago
Thanks, but this fix is for fystec board, my is BTT octopus Pro F446.
Doesn’t matter.
This error occurs when Klipper can’t communicate with the driver over SPI.
fascinating-indigoOP•2y ago
there a option "spi_bus: spi4" klipper reports error.
im instaling ratos 1 to check it, i don´t know if its a coincidence or not, after update the Ratos 2 i loose my drivers and the MaX31865. if i need to buy another board and drives i'm thinking to get another BTT octopus pro f446 and the BTT 5160 pro V1.3, any suggestions?
please post your klipper.log, i’ll take a look
fascinating-indigoOP•2y ago
Reverting to ratos v1.2.4-1-ge155499, the tmc5160 24V works and the MAX31865 don't, using the drivers TMC2209 on uart , max 31865 works. I try the setting propose, but i get the error "Option 'spi_bus' is not valid in section 'tmc5160 stepper_x'", any ideia, please?
fascinating-indigoOP•2y ago
You need to run software spi on everything for multi device SPI to work
That includes the MAX31865
It's a klipper thing.
(ie, use spi_software_*_pin and no spi_bus)
that's not how you do it btw
your max31865 settings go under
[extruder]
remove the spi_bus parameter under [tmc5160 stepper_x]
there's no difference between ratos 1 and 2 here btw, you just got the config wrong in different waysfascinating-indigoOP•2y ago
The interesting it's reversing to Ratos 1 , the Max31865 works and the drivers also works, but not at same time, I will try. I just bought another board Octopus pro f446 and the news TMC5160 Pro what you think about it?
also get rid of all this crap:
It's not the RatOS version, it's your manual configuration
fascinating-indigoOP•2y ago
That settings I use on skr pro 1.2 with normal tmc5160, they work nice.
Do you have any idea what they do?
fascinating-indigoOP•2y ago
No, but some time ago I was getting problems with the drivers, so I copy from marlin and the problems finish , and my FDM starts working very nice and very finish prints.
Don't copy paste settings like these
they're very specific to the stepper and current used
You can't just copy paste stuff like this. Leave it at the default klipper values or go through proper calibration.
fascinating-indigoOP•2y ago
Yes , I know, the drives work at 24v. The drives on vcore 3 works at 50v , I use the Ratos settimgs
Sorry I didn't copy from marlin, I copyed from a person how as the same configuration. Thanks anyway. Tonight I test your ideia and give the feedback.
thank you, it´s working, looks like i toast my tmc5160hv drivers, any suggestion to replace, brand?
I prefer to match the brand of the board and drivers. So BTT 5160 Pro
fascinating-indigoOP•2y ago
Thanks