mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-07 22:14:05 -06:00
tmc2660: Add INIT_TMC and SET_TMC_FIELD gcodes
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
This commit is contained in:
parent
8e17df5d78
commit
789379e95b
2 changed files with 45 additions and 5 deletions
|
@ -290,15 +290,26 @@ section is enabled:
|
|||
carriage. It is typically invoked from the activate_gcode and
|
||||
deactivate_gcode fields in a multiple extruder configuration.
|
||||
|
||||
## TMC2130 and TMC2208
|
||||
## TMC2130, TMC2660 and TMC2208
|
||||
|
||||
The following command is available when the "tmc2130" or "tmc2208"
|
||||
config section is enabled:
|
||||
The following command is available when the "tmc2130", "tmc2660"
|
||||
or "tmc2208" config section is enabled:
|
||||
- `DUMP_TMC STEPPER=<name>`: This command will read the TMC driver
|
||||
registers and report their values.
|
||||
- `INIT_TMC STEPPER=<name>`: This command will intitialize the TMC
|
||||
registers. Needed to re-enable the driver if power to the chip is
|
||||
turned off then back on.
|
||||
The following commands are additionally available when the "tmc2660"
|
||||
config section is enabled:
|
||||
- `SET_TMC_CURRENT STEPPER=<name> CURRENT=<current>`: This will adjust
|
||||
the run_current of the TMC driver.
|
||||
- `SET_TMC_FIELD STEPPER=<name> FIELD=<field> VALUE=<value>`: This will
|
||||
alter the value of the specified register field of the TMC driver.
|
||||
This command is intended for low-level diagnostics and debugging only because
|
||||
changing the fields during run-time can lead to undesired and potentially
|
||||
dangerous behavior of your printer. Permanent changes should be made using
|
||||
the printer configuration file instead. No sanity checks are performed for the
|
||||
given values.
|
||||
|
||||
## Endstop adjustments by stepper phase
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue