GT2560 SPI pins for TMC2130

ADHdesigns
Posts: 0
Joined: Sun Mar 04, 2018 11:17 pm

Re: GT2560 SPI pins for TMC2130

Post by ADHdesigns » Sat Apr 14, 2018 12:42 pm

Hi I think I've come up with a better application of the mod. I've posted it on hackaday. I've had two of these drivers working on my machine for the last few months without any issues and I still can use the screen and SD card at the same time. https://hackaday.io/project/134374-addi ... s-to-my-i3

sspi
Posts: 0
Joined: Mon Apr 30, 2018 4:49 am

Re: GT2560 SPI pins for TMC2130

Post by sspi » Mon Apr 30, 2018 5:28 am

Looking through the board schematic, it looks like you may also be able to sacrifice the E1 stepper driver to gain 3 more available I/O pins, but I don't know enough about the ATMega chip to know for sure. The pins on the schematic are labeled in the current (1.1.8) Marlin firmware pins_GT2560_REV_A.h file as 47-49, for the DIR, EN, and STEP signals. The schematic doesn't show any components between the ATMega and the three pins on the stepper driver socket.

icelucio
Posts: 0
Joined: Fri May 18, 2018 2:45 am

Re: GT2560 SPI pins for TMC2130

Post by icelucio » Fri May 18, 2018 3:14 am

Hi all, I'm going creazy.
I've bought TMC2130 from Watterott and also from Cina (Fysetc 1.0) but I' get only "driver error"... I want to ask:
- Do I have to remove the jumpers on the motherboard (MS1, MS2, MS3) ?
- The following setup (open, close, close) is right? for Watterott and for Fysetc I mean...

[attachment=0]tmc2130_config.jpg[/attachment]

Thanks in advance, Lucio
Attachments
tmc2130_config.jpg
tmc2130_config.jpg (44.93 KiB) Viewed 19870 times

tre4bax
Posts: 1
Joined: Thu Sep 28, 2017 5:57 pm

Re: GT2560 SPI pins for TMC2130

Post by tre4bax » Wed Aug 29, 2018 3:59 pm

So to get Z working we can use Z max. Which means because auto bed leveling will need to keep using z min I just have to find one more pin. Have you had any luck doing that? Or should I look at a new board?

nitocris
Posts: 2
Joined: Thu Aug 30, 2018 10:23 pm

Re: GT2560 SPI pins for TMC2130

Post by nitocris » Thu Aug 30, 2018 10:32 pm

A small schema I've made so far for cabling
Capture.JPG
Capture.JPG (65.59 KiB) Viewed 18986 times

nitocris
Posts: 2
Joined: Thu Aug 30, 2018 10:23 pm

Re: GT2560 SPI pins for TMC2130

Post by nitocris » Thu Aug 30, 2018 10:37 pm

icelucio wrote:
Fri May 18, 2018 3:21 am
Hi all, I'm going creazy.
I've bought TMC2130 from Watterott and also from Cina (Fysetc 1.0) but I' get only "driver error"... I want to ask:
- Do I have to remove the jumpers on the motherboard (MS1, MS2, MS3) ?
- The attached image (open, close, close) is right? for Watterott and for Fysetc I mean...

Thanks in advance, Lucio
Your picture is for Fystec v1.0. Would have been more simple to buy the v1.1 version for SPI
To change from 1.0 to 1.1 you need to open the soldered short cut and to add 2 super small solders
Image

maciejm
Posts: 3
Joined: Sun Dec 30, 2018 10:46 pm
Location: Berlin/Germany

Re: GT2560 SPI pins for TMC2130

Post by maciejm » Sun Jan 06, 2019 6:34 pm

William wrote:
Sat Jan 20, 2018 1:40 pm
I suggest you use the TMC2100 because it is quiet and its pin definition is clear
nitocris wrote:
Thu Aug 30, 2018 10:32 pm
A small schema I've made so far for cabling
Capture.JPG
Hello William,

can you explain what the following PINS are used for, as visible it the schema of SD Card connector by Nitocris from 30 Aug 2018 14:32:
PL7
PG1
PD7
Is it possible to use this pins as SS (Slave Select) for SPI communication to TMC2130, without giving up the SPI communication with SD Card or any other LCD 2004 functionality?

niels1303
Posts: 1
Joined: Sun Mar 10, 2019 2:47 am

Re: GT2560 SPI pins for TMC2130

Post by niels1303 » Sun Mar 10, 2019 3:24 am

I do not have much experience with 3D printers yet, but after spending a lot of time on the internet I finally managed to run 4 x TMC2130 (x,y,z and e0) on a GT2560 Rev A+ board. The SD card and sensorless homing for the x and y axis work. I wired the SCK, SCO and SCI pins of the drivers to the SDcard connector as stated by Yellowtick in this thread but instead of plugin it on top, I soldered the cables to the bottom to be able to plug a connector cable to the front. To make sure the pins of the connector wouldn't move while soldering the cables, I plugged in a connector so that the pins could stay firmly in place.
Both Diag1 pins for the sensorless homing (x and y) need to be respectively plugged in the min x and min y pins on the mainboard but don't need to be explicitly declared in Marlin (the pins are just declared as normal endstops).
To be able to have enough pins I disabled the E1 pins as I only plan on using 1 extruder. This lets you repurpose the e1_dir, e1_step, and e1_enable pins.

In the pins_GT2560_REV_A.h file I commented out those lines:

Code: Select all

//#define X_MAX_PIN          24
//#define Y_MAX_PIN          28

//#define E1_STEP_PIN        49
//#define E1_DIR_PIN         47
//#define E1_ENABLE_PIN      48

and added those:

// TMC2130 Setup

#define X_CS_PIN 24
#define Y_CS_PIN 28
#define Z_CS_PIN 47
#define E0_CS_PIN 49
hope it can help someone struggling with the same problem...
Image
Image

trinityBE
Posts: 3
Joined: Tue Aug 27, 2019 4:58 pm

Re: GT2560 SPI pins for TMC2130

Post by trinityBE » Tue Aug 27, 2019 5:29 pm

Hi,

After reading this post over and over, i still have problems to get my head around it (Arduino is not new to me).

I just want to keep it simple and replace only the X and Y with the TMC2130 V1.1 SPI driver. It's unclear the steps that i need to do.

Hardware:
- take out the original steppers = ok
- there are 3 jumpers on the 2560 (under de stepper sockets), do i have to change/take off one of those jumpers?
- insert the TMC2130 into the socket = ok
- the four wires coming from the TMC2130 , where exactly do i need to connect them? I can't find a schema or photo specifically for the Geeetech GT2560 V3

Software:
Which lines exactly in what files do i have to add/remove (i'm running Marlin 1.8 w BL Touch)?

I'm willing to pay $20 though PayPal for a nice, clean and simple manual that will make this install a breeze :D I'm just to lazy to figur this one out i guess :?

Image

Image

Thx in advance!

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: GT2560 SPI pins for TMC2130

Post by William » Tue Aug 27, 2019 5:39 pm

-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

Post Reply