From 8e17df5d781d00e3aac3aa66a287e05cda185608 Mon Sep 17 00:00:00 2001 From: Florian Heilmann Date: Tue, 5 Mar 2019 18:45:50 +0000 Subject: [PATCH] tmc2660: Raise SPI speed to 4 Mhz Signed-off-by: Florian Heilmann --- klippy/extras/tmc2660.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/extras/tmc2660.py b/klippy/extras/tmc2660.py index 746c3064..2aea8ac2 100644 --- a/klippy/extras/tmc2660.py +++ b/klippy/extras/tmc2660.py @@ -125,7 +125,7 @@ class TMC2660: def __init__(self, config): self.printer = config.get_printer() self.name = config.get_name().split()[1] - self.spi = bus.MCU_SPI_from_config(config, 0, default_speed=2000000) + self.spi = bus.MCU_SPI_from_config(config, 0, default_speed=4000000) # Add SET_CURRENT and DUMP_TMC commands gcode = self.printer.lookup_object("gcode") gcode.register_mux_command(