TMC2130 V1.0 Question

Electronics, Components etc
DARKHOURS
Posts: 4
Joined: Wed May 23, 2018 7:21 am

TMC2130 V1.0 Question

Post by DARKHOURS » Wed May 23, 2018 11:42 pm

Hello i just got my TMC2130 V1.0 in today and the question is that all the pins are solderderd facing down do i unsolder sdo,cs,sck,sdi pins and turn them up ? Or is the TMC2130 v.1.0 as V1.0 chip set not the same ? Going on MKS Gen L v1.0 main board
Thanks for any help

JoeK1973
Posts: 3
Joined: Mon May 21, 2018 12:01 pm

Re: TMC2130 V1.0 Question

Post by JoeK1973 » Thu May 24, 2018 8:44 am

DARKHOURS wrote:
Wed May 23, 2018 11:42 pm
Hello i just got my TMC2130 V1.0 in today and the question is that all the pins are solderderd facing down do i unsolder sdo,cs,sck,sdi pins and turn them up ? Or is the TMC2130 v.1.0 as V1.0 chip set not the same ? Going on MKS Gen L v1.0 main board
Thanks for any help
That's all I did. I did as you described and chose to run in standalone mode (no SPI connection) - so I'm using my TMC2130 in Stealthchop, and it's running quite nicely. If you're running Marlin, at the very least, you need to:
  • Install the TMC2130 library in Arduino.
  • Invert the motor direction in config.h
  • Enable HAVE_TMC2130 in config_adv.h
  • Specify which axes you're using the TMC2130 for in config_adv.h
If you're doing the whole SPI thing, you also need to connect up the pins to the relevant places on your controller board, but there's plenty of tutorials kicking around for that.
My 3D Printing Blog - http://jk3d.wordpress.com

Rui
Posts: 6
Joined: Sun May 27, 2018 8:22 am

Re: TMC2130 V1.0 Question

Post by Rui » Sun May 27, 2018 8:28 am

DARKHOURS wrote:
Wed May 23, 2018 11:42 pm
Hello i just got my TMC2130 V1.0 in today and the question is that all the pins are solderderd facing down do i unsolder sdo,cs,sck,sdi pins and turn them up ? Or is the TMC2130 v.1.0 as V1.0 chip set not the same ? Going on MKS Gen L v1.0 main board
Thanks for any help

Hi, had the same problem, ordered them, then only after noticed that.

The TMC2130 1.0 that the Fysetec sells (may be that, or the same) is sold configured for the so called "dumb mode", where no SPI action is taken, I believe it's silent, but most features are not there.

Looks like we have to mod the chip.

Not only the SPI pins part (SDI, SDO, SCK and CS), but the board itself, looks like we will have to remove one solder joint (or a 0 ohm resistor) and short two pairs of pins, Marlin fw has documentation about that.
FYSETC drivers
We recommend getting the original Watterott drivers or the revised FYSETC v1.1 drivers to avoid additional headaches.

The FYSETC v1.0 drivers come pre-configured in standalone mode. This means that the drivers should work for moving the axis but you will not be able to configure them nor take advantage of the additional features of the drivers. To get the drivers working as intended you will need to modify three solder bridges on the driver PCB.

Image

Some versions of the FYSETC v1.0 drivers come with a solder bridge left of the chip, some come with a bridging resistor. This connection needs to be opened for SPI connection to work. The two smaller bridges need to be configured as shown.
in http://marlinfw.org/docs/features/tmc_drivers.html

Basically:

Image

DARKHOURS
Posts: 4
Joined: Wed May 23, 2018 7:21 am

Re: TMC2130 V1.0 Question

Post by DARKHOURS » Sun May 27, 2018 10:39 am

Thank you everyone for the help this is great.

Rui
Posts: 6
Joined: Sun May 27, 2018 8:22 am

Re: TMC2130 V1.0 Question

Post by Rui » Sun May 27, 2018 3:13 pm

DARKHOURS wrote:
Sun May 27, 2018 10:39 am
Thank you everyone for the help this is great.
So, did it work?

unixb0y
Posts: 30
Joined: Wed Apr 18, 2018 4:45 pm

Re: TMC2130 V1.0 Question

Post by unixb0y » Thu May 31, 2018 4:19 am

Great advice guys, thanks - this did the trick for me! I have the fysetc drivers and it was needed to remove the SMD resistor and to add the 2 tiny solder bridges.

Now, I have a question about the drivers: I haven't tested them by starting a print yet because I'm still building my printer.
But when sending GCODE directly, the motors seem to only react once and then go to sleep or something.
E.g. in Pronterface, I click the "100mm" button once, it does its movement and when I hit it again nothing happens. When using the Polulus, I can click the buttons as often as I want and have the motors spin back and forth freely.

I don't know, maybe this is normal, but that's why I ask.

Thank you in advance!
Dave
~ Dave ~

Stefan
Posts: 223
Joined: Thu Jun 15, 2017 12:46 am

Re: TMC2130 V1.0 Question

Post by Stefan » Thu May 31, 2018 5:00 am

Hi Dave,

They are likely overheating; for some reason Marlin does not set the current properly after flashing the firmware. Try M906 600 then M500 to set the current lower. Cycle the controller and see if that fixes it.

-Stefan

unixb0y
Posts: 30
Joined: Wed Apr 18, 2018 4:45 pm

Re: TMC2130 V1.0 Question

Post by unixb0y » Thu May 31, 2018 1:01 pm

Hello Stefan,
Thank you for your quick reply!
I’ll try it now. What do you mean with “cycle your controller”?

*EDIT*: This seems to work! The same behaviour starts to happen after a few move commands, but not just after the first one, thanks again!
I also totally forgot to put on the heatsinks yesterday night, so if it's really a heat issue that should help. I'll report back!

*EDIT 2*: The heatsinks helped, also it was in part my fault as I used the Pronterface controls and in Marlin the bed was set to 200x200 so after moving twice by 100mm, the motors would not turn obviously 😉

Dave
~ Dave ~

DARKHOURS
Posts: 4
Joined: Wed May 23, 2018 7:21 am

Re: TMC2130 V1.0 Question

Post by DARKHOURS » Fri Jun 01, 2018 5:40 pm

And yes i did get it working and went well

unixb0y
Posts: 30
Joined: Wed Apr 18, 2018 4:45 pm

Re: TMC2130 V1.0 Question

Post by unixb0y » Fri Jul 06, 2018 2:28 pm

Hi guys,
Another question about the TMC2130!
Everything's working on X,Y,Z and all of the 4 steppers - except - when put in the Z-Axis slot.
Any driver that I put in there, while working in all of the other slots, just makes the motor (only 1 attached for now) do a high-pitched noise after one short movement. Then the noise continues until I turn off the printer.
Has anyone had this issue yet and / or knows how to solve it?
Thank you in advance!

EDIT: I have moved the CS pin to pin 53 (was 44) and now it does move but it goes a lot faster than the other motors, somehow.
~ Dave ~

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests