Browse Source

Fix TMC serial port for FYSETC AIO_II (#19842)

George Fu 3 years ago
parent
commit
f83bbce3a3
No account linked to committer's email address
1 changed files with 7 additions and 4 deletions
  1. 7
    4
      Marlin/src/pins/stm32f1/pins_FYSETC_AIO_II.h

+ 7
- 4
Marlin/src/pins/stm32f1/pins_FYSETC_AIO_II.h View File

@@ -93,10 +93,10 @@
93 93
   //
94 94
   // Hardware serial with switch
95 95
   //
96
-  #define X_HARDWARE_SERIAL  MSerial1
97
-  #define Y_HARDWARE_SERIAL  MSerial1
98
-  #define Z_HARDWARE_SERIAL  MSerial1
99
-  #define E0_HARDWARE_SERIAL MSerial1
96
+  #define X_HARDWARE_SERIAL  MSerial2
97
+  #define Y_HARDWARE_SERIAL  MSerial2
98
+  #define Z_HARDWARE_SERIAL  MSerial2
99
+  #define E0_HARDWARE_SERIAL MSerial2
100 100
 
101 101
   // The 4xTMC2209 module doesn't have a serial multiplexer and
102 102
   // needs to set *_SLAVE_ADDRESS in Configuration_adv.h for X,Y,Z,E0
@@ -106,6 +106,9 @@
106 106
     #define SERIAL_MUL_PIN2                 PB12
107 107
   #endif
108 108
 
109
+  // Reduce baud rate to improve software serial reliability
110
+  #define TMC_BAUD_RATE                    19200
111
+
109 112
 #endif
110 113
 
111 114
 //

Loading…
Cancel
Save