TMC5160 overheating

Hello,
I am trying to do a project using stepsticks to drive stepper motors. I am currently testing the wiring of stepsticks on a breadboard using a stepper from CD driver and an old laptop charger. I connected it to my old A4988 driver according to the attached wiring diagram and everything is working how it should.

However, when I tried to swap the driver for the new TMC5160, and use it in STEP/DIR mode, the driver didn't work and one of the driving mosfets started to overheat.

My question is what am I doing wrong and is there anything I need to wire up differently? Or is the driver fried?

Before anyone asks I disconnected the power supply and arduino and I double checked the orientation of the driver not to connect it upside down.

Thank you for the answers.

Hi,
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".
OR
http://forum.arduino.cc/index.php/topic,148850.0.html.

Can you attach a diagram of the 5160 connections?

Thanks.. Tom... :slight_smile:

You probably wired the TMC5160 incorrectly. Please post the code, using code tags, a link to the module product page, and post a hand drawn wiring diagram, with pins and inputs clearly labeled.

To what value did you set the current limit?

Hi, thanks for the answer.
Now I know I definately fried the stepper driver. As I mentioned I wired everything on a breadboard according to the picture using A4988 and used Arduino just for generating stepping pulses and the stepper worked. Then (assuming the drivers are interchangeable) switched it for the TMC driver.

I know it's fried because I was planning to use two drivers, so I wired up the second one and used "Simple" sketch from TMCStepper.h library and it worked. However when I switched it back to the first one it didnt do anything.

So yeah. Thanks for the welcome to the forum and I am sorry for spamming here with another topic. Hope I'll have more relevant reason to do so in the future.

assuming the drivers are interchangeable

Why would anyone assume that?