Page 2 of 2

Re: Use tmc2130 without spi in stealthchop

Posted: Sun Jan 21, 2018 9:12 pm
by oakdesign
your getting closer maybe a visual approach is better I'll make a few images might explain it better.
So basically if you have the 2130 in standalone (no SPI) the only 2 pins that change the configuration/mode are CFG1 and CFG2.
As you most likely want either spreadcycle in 1/16 microstepping with interpolation or steathchop with 1/16 interpolation the 2 configs are
spreadcycle
CFG1 -> GND CFG2-> open
steathchop
CFG1-> open CFG2 ->open
the rest I'll explain with some images in a few minutes

Re: Use tmc2130 without spi in stealthchop

Posted: Sun Jan 21, 2018 10:12 pm
by oakdesign
Maybe this makes it clear. Remove all jumper and switch between spreadcycle = all Header pin on the driver
or steathchop = remove (desolder or cut) CFG1 pin.
Image

Re: Use tmc2130 without spi in stealthchop

Posted: Sun Jan 21, 2018 10:24 pm
by Peter
Is SPI useless or unconfigured on the ramps board?

Re: Use tmc2130 without spi in stealthchop

Posted: Sun Jan 21, 2018 10:56 pm
by MathiasGroß
Ahh ok I belive I got it.
So the cause why I thought It works with both pins removed was that removing cfg2 or Ms2 have the same result.
And cfg1 works different. If Ms1 is plugged in and cfg1 is not removed, it "disconnect" cfg1 from gnd, but then it's still connected to Vio. Ms1 switches the connection between cfg1 to gnd or cfg1 to Vio.

So I remove for both modes ( stealthchop and spreadcicle) all three jumpers,
for spreadcicle I let cfg1 on the chip (cfg1 is connected to gnd), cfg2 is open cause ms2 is open),
to switch so stealthchop I have just to remove cfg1 (cfg1 is not connectet to gnd or Vio, cfg2 is open cause ms2 is open).

I hope I got it know^^'

Re: Use tmc2130 without spi in stealthchop

Posted: Sun Jan 21, 2018 11:59 pm
by oakdesign
Yes thats correct now :D

Re: Use tmc2130 without spi in stealthchop

Posted: Mon Jan 22, 2018 12:18 am
by MathiasGroß
Eureka! :D I really got it! Thank you thousend times for your Help an patience!!!

Re: Use tmc2130 without spi in stealthchop

Posted: Wed Jan 24, 2018 11:26 pm
by MathiasGroß
Soooo...Here I am again...when I setup all things like I think I should, the stepper motors move but with a noisy hum...
I have tried it with adjusting Vref. It's set to 1V now, but without a better result...

Do I have to change something in the firmware? I thought the changes that Tom did in his tmc2130 video are just needed when the spi is jused.

I really can't Tell what it could be else...but I'm a little bit worried to damage something, if I change Something randomly.

Re: Use tmc2130 without spi in stealthchop

Posted: Thu Jan 25, 2018 12:26 pm
by MathiasGroß
ok and the chip gets hot on this setup ._.
Just have let the stepper move a little bit (and without any belt on it) to test.