<p>Well I found that I can use a DuPont cable to connect the diag1 pin to the right endstop</p>

<p><a href="https://i.sstatic.net/tWE10.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/tWE10.jpg" alt="enter image description here"></a></p>

<p>There is also a beta functionality in the Marlin firmware I haven't tried: Just uncommenting <code>SPI_ENDSTOPS</code> definition</p>

<pre><code>    * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
    * Poll the driver through SPI to determine load when homing.
    * Removes the need for a wire from DIAG1 to an endstop pin.
    *
    * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
    * homing and adds a guard period for endstop triggering.
*/
#define SENSORLESS_HOMING // StallGuard capable drivers only

#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
    // TMC2209: 0...255. TMC2130: -64...63
    #define X_STALL_SENSITIVITY  8
    #define X2_STALL_SENSITIVITY X_STALL_SENSITIVITY
    #define Y_STALL_SENSITIVITY  8
    //#define Z_STALL_SENSITIVITY  8
    //#define SPI_ENDSTOPS              // TMC2130 only
    //#define IMPROVE_HOMING_RELIABILITY
#endif
</code></pre>

CC BY-SA 4.0
2020-04-07T12:05:33.190Z
2020-04-07T12:05:33.190Z
ChesuCR
<p>I want to buy the board <a href="https://www.hta3d.com/en/ramps-1-6-plus-compatible-with-spi-compatible-with-tmc2130" rel="nofollow noreferrer">Ramps 1.6 Plus</a>. The description in the link says that is compatible with the driver TMC2130, but I found that there are two versions soldered in SPI mode. </p>

<ul>
<li><p><a href="https://www.hta3d.com/en/tmc2130-welded-for-spi-stepper-motor-controller-silent-driver" rel="nofollow noreferrer">BIGTREETECH TMC2130 V3.0</a>. Where the diagnosis pins are soldered as well</p></li>
<li><p><a href="https://www.hta3d.com/en/tmc2130-sb-spi-version-stepper-motor-driver-carrier-low-noise-driver" rel="nofollow noreferrer">TMC2130 V?</a>. In this other product those pins are not soldered and I believe it will fit in the board</p></li>
</ul>

<p><img src="https://i.sstatic.net/Rbd6a.jpg" alt="comparison"></p>

<p>As you can see in the image other boards like the SKR 1.3 have some socket to plug in the diagnosis pins. But I don't see something similar in the Ramps 1.6, which has male pins instead.</p>

<ul>
<li>Should I remove those pins in order to plug the driver? Or is there a better way to proceed?</li>
<li>I don't really know what the diagnosis pins do, are they really necessary? Should I buy the second option without those pins soldered to avoid problems?</li>
</ul>

<stepper-driver><skr-v1.3><bigtreetech><ramps-1.6><tmc2130>
Will the TMC2130 V3.0 stepper driver work with the Ramps 1.6 Plus board?
ChesuCR
# Will the TMC2130 V3.0 stepper driver work with the Ramps 1.6 Plus board?

(Asked by: username_0 on 2020-03-24)

I want to buy the board [Ramps 1.6 Plus](https://www.hta3d.com/en/ramps-1-6-plus-compatible-with-spi-compatible-with-tmc2130). The description in the link says that is compatible with the driver TMC2130, but I found that there are two versions soldered in SPI mode.

* [BIGTREETECH TMC2130 V3.0](https://www.hta3d.com/en/tmc2130-welded-for-spi-stepper-motor-controller-silent-driver). Where the diagnosis pins are soldered as well
* [TMC2130 V?](https://www.hta3d.com/en/tmc2130-sb-spi-version-stepper-motor-driver-carrier-low-noise-driver). In this other product those pins are not soldered and I believe it will fit in the board

![comparison](https://i.sstatic.net/Rbd6a.jpg)

As you can see in the image other boards like the SKR 1.3 have some socket to plug in the diagnosis pins. But I don't see something similar in the Ramps 1.6, which has male pins instead.

* Should I remove those pins in order to plug the driver? Or is there a better way to proceed?
* I don't really know what the diagnosis pins do, are they really necessary? Should I buy the second option without those pins soldered to avoid problems?

**Tags:** stepper-driver, skr-v1.3, bigtreetech, ramps-1.6, tmc2130


---

## 1 answers

### Answer by username_0 on 2020-04-07. Score: 1 | Accepted answer

Well I found that I can use a DuPont cable to connect the diag1 pin to the right endstop

[![enter image description here](https://i.sstatic.net/tWE10.jpg)](https://i.sstatic.net/tWE10.jpg)

There is also a beta functionality in the Marlin firmware I haven't tried: Just uncommenting `SPI_ENDSTOPS` definition

```
    * SPI_ENDSTOPS  *** Beta feature! *** TMC2130 Only ***
    * Poll the driver through SPI to determine load when homing.
    * Removes the need for a wire from DIAG1 to an endstop pin.
    *
    * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
    * homing and adds a guard period for endstop triggering.
*/
#define SENSORLESS_HOMING // StallGuard capable drivers only

#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
    // TMC2209: 0...255. TMC2130: -64...63
    #define X_STALL_SENSITIVITY  8
    #define X2_STALL_SENSITIVITY X_STALL_SENSITIVITY
    #define Y_STALL_SENSITIVITY  8
    //#define Z_STALL_SENSITIVITY  8
    //#define SPI_ENDSTOPS              // TMC2130 only
    //#define IMPROVE_HOMING_RELIABILITY
#endif

```


---

