Bluepill and bigtreetech TMC2209 assembly Guide - AlistairSymonds/SympleAstroFocus GitHub Wiki

How these schematics are actually implemented is up to you. The connections are all fairly simple, with only the UART connection having any special requirements. However if you're doing the DIY version I trust you to understand how the connect the 1k resistor or modify the FW to reduce the TMC UART baudrate if needed. These instructions have been tested, but not exhaustively and not the primary aim of this project - for a hassle free experience consider the custom PCB.

Make the Following direction connections between STM32 Microcontroller and TMC2209 module:

  • STM32 3v3 <-> TMC2209 VCC_IO
  • STM32 GND <-> TMC2209 GND
  • STM32 A7 <-> TMC2209 DIAG
  • STM32 A6 <-> TMC2209 ENN
  • STM32 A5 <-> TMC2209 DIR
  • STM32 A4 <-> TMC2209 STEP
  • STM32 A3 <-> TMC2209 PDN_UART
  • STM32 A2 <-> 1k resistor <-> TMC2209 PDN_UART (Some TMC2209 modules like the big tree tech one have double sided UART pins, so each connection to PDN_UART can go on either side)

And the following connections just on the TMC2209 module:

  • MS0 <-> GND
  • MS1 <-> GND
  • CLK <-> GND
  • VM <-> 12V Power Supply
  • GND <-> Power Supply Ground
  • A1, A2, B1, B2 <-> Motor Coils

Photo rough schematic:

Screenshot 2022-06-18 233204

Then you should end up with a working collection of modules like in this video: https://www.youtube.com/watch?v=6q0RJw3oo7U