STEP-BY-STEP: Installation of SSS TMC2130 on UMO

ataraxis I know my way around here Level: 24 Points: 486
Posts: 264

Location: Bavaria, Germany Printers: Ultimaker Original
Posted by

Posted Mar 14, 2016 - 2:39 PM • Edited  2:45 PM  

Hey everyone,

I tried the new SSS drivers (TMC 2130) around a week now.

I learned a bit about how to operate them and how to use the new features.

And... finally I also learned how to blow them up

In this thread I want to collect information about the benefits of the new drivers and how to do install them correctly on an UM Original and similar RepRap based electronics. The other thread is used to discussions, problems, "brainstorming" and so on.


The new stepper driver TMC 2130 (IC by Trinamic, StepStick by Watterott) supports the following microsteps per full-step: 2, 4, 8, 16, 32, 64, 128 and 256. Every of those resolutions can be interpolated to 256 steps like you may already know it from the TMC 2100. The maximum current is now 1.7A per coil (2.5A peak) - on the TMC 2100 it was 1.2A/1.7A peak.

There are three exciting new features, which are called dcStep, stallGuard2 and coolStep. I will explain the benefit of those a bit later.


If you don't want to use the new features (like stallGuard2), you can run the drivers in a mode called "Standalone". Simply solder a bridge on the little pads, like on the following image:


You can then use them very similar to the TMC2100, everything is controlled via the CFG-Pins.


SPI Interface

But, what IF you want to use the features? The Pins which are used to configure the driver in the standalone mode  with jumpers), are the same Pins which you can use for an SPI-connection. Therefore you have to connect the drivers to a microcontroller, which then sets up the driver and reads out the lost steps, the current load and so on.

To simplify things a bit I will start by using an external Arduino (instead of the one which runs the rest of the machine).

But regardless of whether you use an external microcontroller or not, you definitely must not connect the Pins to the Mainboard in the SPI-Mode, instead you have to do something like that:


The other side of the wires are connected to the Microcontroller.


Everything on the TMC2130 is stored and controlled through Registers, and there are many of them (around 20-30).

I don't want to list them all here, instead i wan't to show you an example:

There is a Register called CHOPCONF which starts at address 0x6C. In this register there is a section which is called mres (Bit 24 to 2. If you write an dual 1111 into it, the stepper will run in full-step mode, and if you write 0000 into it, the stepper runs in 256 microsteps mode.

If you are interested in the other settings, take a look at the datasheet or at my register-definition-file here.

to be continued...

2 replies
 2841 1
urbhar580 Level 1 - Starter Points: 0
Posts: 1
Location: Sweden
Posted by

Posted Sep 12, 2016 - 9:11 AM


Any progress on this project?

Best Regards

mastory I know my way around here Level: 27 Points: 636
Posts: 380
Location: United States Printers: Ultimaker Original
Posted by

Posted Nov 3, 2017 - 11:08 AM • Edited 11:09 AM

There are 2 versions of the SSSDriver available depending upon logic voltage; 3-5v or 5v.  Which is appropriate for UMO replacing A4988 chips?


2 replies
 2841 1