From 9eff39a07475930d8a2dd2b3c5da1bede8591bcb Mon Sep 17 00:00:00 2001 From: Patrick Moessler Date: Sat, 28 Dec 2019 21:40:12 +0100 Subject: [PATCH] Change TMC serial to hardware. E0/E1 use same address for now --- Marlin/Configuration_adv.h | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 826fca201..c2f4c031c 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -2025,30 +2025,24 @@ #define Y2_SLAVE_ADDRESS 0 #define Z2_SLAVE_ADDRESS 0 #define Z3_SLAVE_ADDRESS 0 - #define E0_SLAVE_ADDRESS 0 - #define E1_SLAVE_ADDRESS 1 - #define E2_SLAVE_ADDRESS 2 + #define E0_SLAVE_ADDRESS 2 + #define E1_SLAVE_ADDRESS 2 + #define E2_SLAVE_ADDRESS 0 #define E3_SLAVE_ADDRESS 0 #define E4_SLAVE_ADDRESS 0 #define E5_SLAVE_ADDRESS 0 // - // Software serial + // TMC serial // - #define X_SERIAL_TX_PIN 14 - #define X_SERIAL_RX_PIN 15 - #define Y_SERIAL_TX_PIN 14 - #define Y_SERIAL_RX_PIN 15 - - #define Z_SERIAL_TX_PIN A7 - #define Z_SERIAL_RX_PIN 34 - #define E0_SERIAL_TX_PIN A7 - #define E0_SERIAL_RX_PIN 34 - #define E1_SERIAL_TX_PIN A7 - #define E1_SERIAL_RX_PIN 34 - + #define X_HARDWARE_SERIAL Serial3 + #define Y_HARDWARE_SERIAL Serial3 + #define Z_HARDWARE_SERIAL Serial3 + #define E0_HARDWARE_SERIAL Serial3 + #define E1_HARDWARE_SERIAL Serial3 + // Reduce baud rate to improve software serial reliability - #define TMC_BAUD_RATE 19200 + #define TMC_BAUD_RATE 38400 /** * Software enable