Switch on/off a TMC 2209 SOLVED

Hello there,

I'm looking for an easy way to switch off the driver TMC 2209 with the 2 pin on the top of the driver.
Thank you

1 Like

Are you dealing with a module with that chip on it or just the chip itself? What does the documentation say about pin 2?

By following this link https://wiki.fysetc.com/Silent2209/#v31
I found this


The PIN DIAG is on the LEFT of VREF if you look at the driver on the top.

At the end of the picture you can read on the pin DIAG this:
Diagnostic and StallGuard output. Hi level upon stall detection or driver error. Reset error condition by ENN=high.
Does it mean on the pin DIAG, if I give 5 volt, I can turn off the driver and If I give 0 volt the driver turns on?
Thank you

Hi,
Which version do you have?
V3.0


Or V3.1

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

V3.1
Thank you. Maybe is it possible to use pins TX and RX but it seems to be more complicated

Hi,
If you read the pin description.

Pin Function
Power Supply
GND Ground
VM Motor Supply Voltage
VIO Logic Supply Voltage
Motor Outputs
M1A Motor Coil 1
M1B Motor Coil 1
M2A Motor Coil 2
M2B Motor Coil 2
Control Inputs
STEP Step-Signal Input
DIR Direction-Signal Input
TMC2209
EN Enable Motor Outputs: GND=on, VIO=off
MS1 Microstep resolution configuration (internal pull-down resistors)
MS2 MS1: 00: ⅛, 01: ½, 10: ¼ 11: 1/16 For UART based configuration selection of UART Address 0…3
SP Chopper mode selection: Low/pin open=StealthChop, High=SpreadCycle
CLK CLK input. Tie to GND using short wire for internal clock or supply external clock.
TX UART TX, Connected to the PDN via a 1K resistor on board
RX UART RX, Directly connected to the PDN
DIAG Diagnostic and StallGuard output. Hi level upon stall detection or driver error. Reset error condition by ENN=high.
INDEX Configurable index output. Provides index pulse.
VREF Analog Reference Voltage

You will find that DIAG is an output pin not an input pin.

Why do you want to "switch off" the stepper driver, or do you want to "disable it"

EN pin HIGH, disables the drive, EN pin LOW enables the drive.

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

For an art installation, I need to move my motor manually. To do this, the motor must not be powered. And when I decide to, I have to supply my motor. I want to turn on/off the driver directly from the Arduino or a switch.

Hi,
You need to check if "EN" pin, which as the table says,"Enable Motor Outputs: GND=on, VIO=off"
If you disable the outputs, that should let the stepper freewheel so you can manually move it.

Have you built your prototype?
If so try it.
If you haven't built anything yet, now is the time to do it.

Tom... :smiley: :+1: :coffee: :australia:

1 Like

Thank you sir. It's exactly what I needed. :wink:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.