Run TMC2208 with UART mode - markniu/PandaPi GitHub Wiki

tmc2208

  • Jumpers setting for uart and address of TMC2208

In TMC2208 UART mode, plugin jumpers on MS1/MS2, and keep MS3 no jumper.

  • Configure TMC2208 for Marlin2.0.x

  1. Edit the "Configuration.h", enable driver type to TMC2208.

before:

#define X_DRIVER_TYPE  A4988 
#define Y_DRIVER_TYPE  A4988 
#define Z_DRIVER_TYPE  A4988 
#define E0_DRIVER_TYPE A4988 

after:

#define X_DRIVER_TYPE  TMC2208  
#define Y_DRIVER_TYPE  TMC2208 
#define Z_DRIVER_TYPE  TMC2208
#define E0_DRIVER_TYPE TMC2208
  1. make sure the baudrate to 115200
#define BAUDRATE 115200

click"Save this file" and "Verify", and then "Run"

note: there is only one tx line and no address for tmc2208,so we can not set the motors current in different value.that's means the current value of all the motors are setted in the same value as the last motor's value, here the last motor is E0.

Have fun!