aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/tmc2240.py
Commit message (Collapse)AuthorAgeFilesLines
* Run black on all first party python codeTomasz Kramkowski2025-08-061-230/+232
|
* tmc2240: Allow the slope_control field to be configured via printer.cfgKevin O'Connor2025-01-101-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2240: Correct maximum TMC2240 UART address. (#6757)Liam Powell2024-12-021-1/+1
| | | Signed-off-by: Liam Powell <liam@liampwll.com>
* tmc5160: csactual -> cs_actualTimofey Titovets2024-05-211-1/+1
| | | | | | | Correct the name of "cs_actual" and correct the size on tmc5160. Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc: Implement high_velocity_threshold for drivers that support itAlex Voinea2024-05-141-0/+1
| | | | Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
* tmc: Implement coolstep_threshold for drivers that support itAlex Voinea2024-05-141-0/+2
| | | | Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
* tmc: Do not pass the frequency directly to the helpersAlex Voinea2024-05-141-1/+1
| | | | | | Use the new get_tmc_frequency() instead. Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
* 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>