1/8th current
authorJoseph Coffland <joseph@cauldrondevelopment.com>
Tue, 5 Jan 2016 00:07:56 +0000 (16:07 -0800)
committerJoseph Coffland <joseph@cauldrondevelopment.com>
Tue, 5 Jan 2016 00:07:56 +0000 (16:07 -0800)
src/tmc2660.c

index 278bc5f07af880d7d789e3fdc724232e62058a0e..d2c8cfb32c78787634611410830830a766811e14 100644 (file)
@@ -226,7 +226,7 @@ void tmc2660_init() {
     //drivers[i].regs[TMC2660_SMARTEN] = TMC2660_SMARTEN_SEIMIN |
     //  TMC2660_SMARTEN_MAX(2) | TMC2660_SMARTEN_MIN(2);
     drivers[i].regs[TMC2660_SGCSCONF] = TMC2660_SGCSCONF_SFILT |
-      TMC2660_SGCSCONF_THRESH(63) | TMC2660_SGCSCONF_CS_NONE;
+      TMC2660_SGCSCONF_THRESH(63) | TMC2660_SGCSCONF_CS(4);
     drivers[i].regs[TMC2660_DRVCONF] = TMC2660_DRVCONF_RDSEL_MSTEP;
   }