TMC2130 Drivers BTT

|

These guides have been written for anyone stuggling with driver selection.
I hope that you will like them.
Leave a comment if you want to add anything into the article.

BigTreeTech TMC2130 drivers

You can buy two versions of these drivers: SPI and DIR/STEP. TMC2130 drivers are used in Prusa 3D printers because of their current and low noise capabilities.

Technical specifications

Microstepping: up to 256 microsteps per step
Control type: STEP/DIR + SPI
Logic voltage: 3.3/5V
Input voltage: 12/24V
Output current: 1.2A (continuous), 2A peak
SpreadCycle: yes
CoolStep: yes

STEP/DIR mode (DIY version)

This is a standard mode without FW SPI configuration.
Microstepping, driver current and other features have to be set manually with pins or trimmer (potentiometer). 

If you are not sure how to enable this mode, check the following pictures.
Pink colour = soldered.
SPI pads are soldered and CFG4, CFG5 pads are unsoldered.

These picture below show:
1 – pin definition
2 – step/dir pad selection
3 – CFG4/CFG5 configuration options

SPI mode (SPI version)

SPI mode offers setting up driver parameters via FW.
You can easily change microstepping, current and many more parameters with command send via Octoprint / Pronterface (and PC) / LCD on the printer.

If you are not sure how to enable this mode, ckech the following pictures.
Pink colour = soldered.
SPI pads are unconnected – unsoldered and CFG4, CFG5 pads are soldered.

STEP/DIR mode Marlin configuration

Make sure that you have modified your Marlin configuration files according to BigTreeTech instructions before using the 3D printer after the upgrade.

Open Configuration.h file in your Marlin FW folder and find a “Stepper Drivers” section.
Define all stepper drivers you need, for example:

X_DRIVER_TYPE, Y_DRIVER_TYPE, Z_DRIVER_TYPE, E_DRIVER_TYP

And select TMC2130_STANDALONE, so each stepper driver definition will look like this:

#define X_DRIVER_TYPE TMC2130_STANDALONE

The picture on the right is a pin definition of a BTT SKR1.3 board.
You can find it in:
Marlin – src – pins – board type – board

SPI mode Marlin configuration

Make sure that you have modified your Marlin configuration files according to BigTreeTech instructions before using the 3D printer after the upgrade.

Open Configuration.h file in your Marlin FW folder and find a “Stepper Drivers” section.
Define all stepper drivers you need, for example:

X_DRIVER_TYPE, Y_DRIVER_TYPE, Z_DRIVER_TYPE, E_DRIVER_TYPE

And select TMC2130, so each stepper driver definition will look like this:

#define X_DRIVER_TYPE TMC2130

Open your configuration_adv.h file in Marlin folder and check all of these settings.
Configuration depends on your USE CASE.

Similar Posts

3 Comments

    1. Hi, sure thing!
      You can use it in a standard standalone mode or define SPI pins, wire them, enable SPI on drivers and connect them via SPI interface.

Leave a Reply

Your email address will not be published. Required fields are marked *