Tmc 2130 Auto Tune

  1. An easy modification of Marlin and some additional wires unlocked the full potential of these drivers with current auto-tune and sensor-less homing. The second one. The second driver was not as quiet, but i wrote it off as a nonissue, since it continued to still work. Over time, the driver got noisier.
  2. Sep 14, 2018  TMC is the TUNE Marketing Console, which includes the following solutions: Attribution Analytics, App Store Analytics, Audiences, and In-App Marketing. TUNE SDK is computer code inserted into an Advertiser’s mobile app to enable the functions of TMC.
  1. Voice Changer
  2. Autotune Free Download

This library makes it easy to configure the Trinamic TMC2130 stepper motor driver found on Watterott's 'ludicrous' version of the SilentStepStick motor driver, which has it's repository here. It's also used in my Marlin Fork, which gets you up and running if you actually want to use these beasts in a 3D-printer-like machine.

Features

  • Basic status readings
  • All methods follow the naming convention in the datasheet.
  • All configurable parameters implemented

To do

Sep 30, 2016 3D Printering: Trinamic TMC2130 Stepper Motor Drivers. I’m intrigued by the TI chips that auto-tune, though its current rating is a bit low. It is possible to use this TMC 2130 drive.

  • Full status report
  • Some readable parameters are missing

How to use

  • Please check out the example sketches for further information.
  • The datasheet contains a quick start guide

Status methods (return boolean status information)

Methods

Note

All methods follow the naming convention set_ respectively get_ and return the SPI status flags or the requested parameter.

All methods expect the encoding stated in the datasheet, with the following exceptions:

  • set_mres() sets the microstepping resolution and expects the integer values 1, 2, 4, 8, 16, 32, 64, 128, 256 e.g. set_mres(128)
  • set_IHOLD_IRUN() sets the holding current, running current and holding delay, e.g. set_IHOLD_IRUN(31,31,15)
  • set_MSLUTSTART() sets start_sin and start_sin90
  • set_DCCTRL() sets the dc_time and dc_sg
  • set_XDIRECT() features an alias that lets you pass the currents for coil_a and coil_b as 16 bit signed integers (the range is still +- 254, though) e.e. set_XDIRECT(254,254)

Configuration Methods (write configuration parameters to the driver)

Tuner

Further methods (reading information from driver and helper functions)

FAQ

Why?

  • why not?

Can I run my RepRap with this?

  • yes, just install the library and download the Marlin Fork

Troubleshooting

Why doesn't it work

Tmc 2130 Auto TuneTmc

Voice Changer

  • If you're using the SilentStepsStick driver, did you myStepper.set_I_scale_analog(1)?
  • Did you specify myStepper.set_tbl(1) and myStepper.set_toff(8) (example values)?
  • Did you specify a motor current myStepper.set_IHOLD_IRUN(31,31,5);?

Disclaimer / License

Autotune Free Download

This is a work in progress. Any suggestions are heavily welcome. All scripts in this repository are licensed under the GNU Affero General Public License, version 3. Created by Moritz Walter 2016.

Comments are closed.