Can't get TMC2100 working on stepper motor, please help

Hello guys, Im a little bit new to the scene but im running into a headbreaker. :slightly_frowning_face:

I want to make:

An Arduino Pro Mini, activating a TMC2100 silent stepper motor which controls a 17HS4401 Nema17 stepper motor.

Ive checked all the pins, and their all showing voltages. The motor is powered by a 12v powersupply. All gnd are connected.

I believe the code shown below should rotate the motor or am I wrong?

Im using the code i got from Github:

/*
Trinamic TMC2100 Example
*/

// Note: You also have to connect GND, 5V/VIO and VM.
// A connection diagram can be found in the schematics.
#define EN_PIN 7 //enable (CFG6)
#define DIR_PIN 8 //direction
#define STEP_PIN 6 //step

void setup()
{
//set pin modes
pinMode(EN_PIN, OUTPUT);
digitalWrite(EN_PIN, HIGH); //deactivate driver (LOW active)
pinMode(DIR_PIN, OUTPUT);
digitalWrite(DIR_PIN, LOW); //LOW or HIGH
pinMode(STEP_PIN, OUTPUT);
digitalWrite(STEP_PIN, LOW);

digitalWrite(EN_PIN, LOW); //activate driver
}

void loop()
{
//make steps
digitalWrite(STEP_PIN, HIGH);
delay(2);
digitalWrite(STEP_PIN, LOW);
delay(2);
}

If somebody has advice, please let me know.

Thanks

define EN_PIN 7 //enable (CFG6)

define DIR_PIN 8 //direction

define STEP_PIN 9 //step

Picture looks like you're hooked to 6, 7, 8.

Hey thanks for the reply, sorry i just copied the code from the website, I actually changed 9 to 6

Why then don't you post the actual code you're using? I just realised you've been wasting my time by making me read something that's NOT your actual code.

Anyway, it should indeed work like that. I'm doing pretty much the same with the TMC2209. A super silent driver indeed, I put a paperclip on my stepper to see it move as I couldn't hear anything.

wvmarle: Why then don't you post the actual code you're using? I just realised you've been wasting my time by making me read something that's NOT your actual code.

Sry bro, u ok?

It is the code now, I changed the 6 to 9, so its exactly the code now, so no waste of your life ;)

Anyway, yes it should work. But its not, could I have fried the driver?

LeonvanLier:
Anyway, yes it should work. But its not, could I have fried the driver?

Possible. Just that has happened to me many times.