Electronic – How to correctly wire a SilentStepStick (TMC2130) to Arduino? (Noob question)

stepper motorstepper-driver

Ingredients:
1) Arduino Uno
2) SilentStepStick Stepper Driver (TMC2130) (datasheet)
3) Fully Independent 24V and 5V power supplies
3) Driver code from: watterott
4) Board pinouts

enter image description here

I've wired up the TMC2130 driver board straight to an Arduino for bench testing.
+24V is connected to VM, and +5V connected to Vio.

Question: How to connect the ground's? Documentation seemed vague. There are two GND pins. Should the the -ve leads from each of the two power supplies be connected, one to each ground? Or should only one ground, from one power supply be connected, to avoid any ground loops?

Sorry I know this will be a super easy question for someone. Thanks

Best Answer

All GNDs (from logic and motor supply) should be connected together, so they have the same ground reference. Also pay attention to the power up and down sequence of the supply voltages: http://learn.watterott.com/silentstepstick/pinconfig/#powering