EEVblog Electronics Community Forum

Electronics => Beginners => Topic started by: engineheat on July 13, 2023, 05:45:09 am

Title: TMC2100 stepper motor driver
Post by: engineheat on July 13, 2023, 05:45:09 am
I was able to get very quiet operation driving this motor:

https://www.adafruit.com/product/4411 (https://www.adafruit.com/product/4411)

with the TMC2100 driver in StealthChop mode. The problem is when I startup or shut it down, I sometimes fry the chip.

Here is my connection:

(https://europe1.discourse-cdn.com/arduino/original/4X/c/c/a/cca076694b088778acacb11d2ec3562f870105b9.jpeg)

Do you see anything wrong with my connection? Should there be a capacitor between VM and GND? Should there be pull down resistors connecting the CFG1-3 pins to GND?

Based on my learning so far, I was told that:

VM should be much higher than the rated voltage of the motor in order to ensure quiet operation, due to the way the driver works. Something to do with "clipping" the sinusoid. I have a 9V battery shown but I think in my original trial I used a 18V source.

One should not disconnect the motor from the motor pins when the motor is spinning.

One should not disconnect VM when the motor is spinning. (due to back emf that'll damage IC)

You need to pull EN to VIO which will disable the driver completely. Even with no STEP/DIR signal applied, the driver is still providing standby current.

VIO must be high while EN is high.

I wasn't using the EN pin during my trial, which is probably why I fried the chip. I just want some guidance on the proper way to start up and shut down this setup without frying the chip. Obviously, just putting a switch between the battery to the Arduino or the driver is not going to cut it.

I do prefer to power the motor and the Arduino from a single power source, and use the 5V from the Arduino for VIO. But if I have to change my setup that's fine too.

Thanks
Title: Re: TMC2100 stepper motor driver
Post by: liaifat85 on July 13, 2023, 08:14:20 am
I think adafruit forum will be a better place for this question.
Title: Re: TMC2100 stepper motor driver
Post by: jmelson on July 13, 2023, 02:18:42 pm
Yes, if this is an IC, you DEFINITELY need an external capacitor between VM and GND to prevent voltage spikes.
Jon