aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/tmc2240.py
Commit message (Collapse)AuthorAgeFilesLines
* tmc2240: add ADC voltage formattersKamil Domański2024-03-201-0/+2
| | | | Signed-off-by: Kamil Domański <kamil@domanski.co>
* tmc2240: Adding UART interface support to tmc2240 (#6305)FrY Sennberg2023-09-101-3/+9
| | | Signed-off-by: Christoph Frei <fryakatkop@gmail.com>
* tmc: Configurable `multistep_filt`Alex Voinea2023-06-161-2/+3
| | | | Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
* tmc: Enable sg_angle_offset for smooth switching from Stealthchop to ↵BIGTREETECH2023-03-271-0/+2
| | | | | Spreadcycle (#6123) Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
* tmc: SET_TMC_FIELD VELOCITYAlex Voinea2023-03-201-1/+2
| | | | | Ability to specify `VELOCITY` as a parameter for SET_TMC_FIELD. Useful for configuring at runtime the TSTEP based fields of the driver. Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
* tmc: Enable `multistep_filt` for drivers that support itAlex Voinea2023-03-151-0/+1
| | | | | | | `multistep_filt` was not configured at all on tmc2240 and tmc5160. As such, it would default to the value of 0 when the GCONF field was sent to the driver. However, that field has a default value of 1 in the driver, so klipper was overriding the defaults by accident. This field improves the stability of velocity based thresholds (it's effectively TSTEP filtering) and it also improves the current regulation stability in stealthchop2 (according to the datasheet). This field was already set to 1 correctly in the tmc2208/tmc2209 driver code. Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
* tmc2240: initial implementationAlex Voinea2023-03-011-0/+397
Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>