Browse Source

Corrections for dylsexic TMC

Scott Lahteine 6 years ago
parent
commit
7d5c336c56
2 changed files with 4 additions and 4 deletions
  1. 1
    1
      Marlin/src/HAL/HAL_STM32F7/TMC2660.cpp
  2. 3
    3
      Marlin/src/HAL/HAL_STM32F7/TMC2660.h

+ 1
- 1
Marlin/src/HAL/HAL_STM32F7/TMC2660.cpp View File

94
 #define STALL_GUARD_CONFIG_PATTERN 0x17F00ul
94
 #define STALL_GUARD_CONFIG_PATTERN 0x17F00ul
95
 #define STALL_GUARD_VALUE_PATTERN 0x7F00ul
95
 #define STALL_GUARD_VALUE_PATTERN 0x7F00ul
96
 
96
 
97
-//definitions for the input from the TCM260
97
+//definitions for the input from the TMC2660
98
 #define STATUS_STALL_GUARD_STATUS 0x1ul
98
 #define STATUS_STALL_GUARD_STATUS 0x1ul
99
 #define STATUS_OVER_TEMPERATURE_SHUTDOWN 0x2ul
99
 #define STATUS_OVER_TEMPERATURE_SHUTDOWN 0x2ul
100
 #define STATUS_OVER_TEMPERATURE_WARNING 0x4ul
100
 #define STATUS_OVER_TEMPERATURE_WARNING 0x4ul

+ 3
- 3
Marlin/src/HAL/HAL_STM32F7/TMC2660.h View File

33
 
33
 
34
 //! return value for TMC26XStepper.getOverTemperature() if there is a overtemperature situation in the TMC chip
34
 //! return value for TMC26XStepper.getOverTemperature() if there is a overtemperature situation in the TMC chip
35
 /*!
35
 /*!
36
- * This warning indicates that the TCM chip is too warm.
36
+ * This warning indicates that the TMC chip is too warm.
37
  * It is still working but some parameters may be inferior.
37
  * It is still working but some parameters may be inferior.
38
  * You should do something against it.
38
  * You should do something against it.
39
  */
39
  */
40
 #define TMC26X_OVERTEMPERATURE_PREWARING 1
40
 #define TMC26X_OVERTEMPERATURE_PREWARING 1
41
 //! return value for TMC26XStepper.getOverTemperature() if there is a overtemperature shutdown in the TMC chip
41
 //! return value for TMC26XStepper.getOverTemperature() if there is a overtemperature shutdown in the TMC chip
42
 /*!
42
 /*!
43
- * This warning indicates that the TCM chip is too warm to operate and has shut down to prevent damage.
43
+ * This warning indicates that the TMC chip is too warm to operate and has shut down to prevent damage.
44
  * It will stop working until it cools down again.
44
  * It will stop working until it cools down again.
45
  * If you encouter this situation you must do something against it. Like reducing the current or improving the PCB layout
45
  * If you encouter this situation you must do something against it. Like reducing the current or improving the PCB layout
46
  * and/or heat management.
46
  * and/or heat management.
115
      *
115
      *
116
      * Keep in mind that you must also call TMC26XStepper.start() in order to configure the stepper driver for use.
116
      * Keep in mind that you must also call TMC26XStepper.start() in order to configure the stepper driver for use.
117
      *
117
      *
118
-     * By default the Constant Off Time chopper is used, see TCM262Stepper.setConstantOffTimeChopper() for details.
118
+     * By default the Constant Off Time chopper is used, see TMC26XStepper.setConstantOffTimeChopper() for details.
119
      * This should work on most motors (YMMV). You may want to configure and use the Spread Cycle Chopper, see  setSpreadCycleChopper().
119
      * This should work on most motors (YMMV). You may want to configure and use the Spread Cycle Chopper, see  setSpreadCycleChopper().
120
      *
120
      *
121
      * By default a microstepping of 1/32th is used to provide a smooth motor run, while still giving a good progression per step.
121
      * By default a microstepping of 1/32th is used to provide a smooth motor run, while still giving a good progression per step.

Loading…
Cancel
Save