klipper/klippy
Kevin O'Connor 34a1ce4837 tmc2130: Rework current selection to prefer vsense=1
It is preferable to program the tmc drivers with an irun (or cs)
setting near 31, as otherwise the driver may have reduced microstep
precision.  It was possible for the driver to be programmed with
irun=16 or irun=17 when it could have been configured with irun=31
with vsense=1 instead.  This would occur on tmc2130/tmc2208/tmc2209
drivers for values around 0.900 to 1.000 amps (when using a typical
sense_resistor settings of 0.110 Ohms).

Change the code to prefer using vsense=1 to avoid this issue.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-01-16 19:00:00 -05:00
..
chelper input_shaper: Factored out AxisInputShaper class 2021-10-26 16:14:50 -04:00
extras tmc2130: Rework current selection to prefer vsense=1 2022-01-16 19:00:00 -05:00
kinematics delta: max z-accel and speed ratio calculation for deltas (#4689) 2021-11-29 13:21:26 -05:00
clocksync.py msgblock: Add clock estimation helper functions 2021-06-09 18:58:35 -04:00
configfile.py configfile: Use Python2's ConfigParser when running on Python2 2021-10-09 19:37:48 -04:00
console.py console: Remove support for PINS command 2021-11-02 12:45:11 -04:00
gcode.py gcode: Allow rename_existing also for register_mux_command (#4843) 2021-11-22 11:22:12 -05:00
klippy.py klippy: Add a build import test tool 2021-10-04 14:36:08 -04:00
mathutil.py mathutil: Disable queuelogger in background_coordinate_descent() 2019-12-17 09:51:45 -05:00
mcu.py mcu: Add checks to ensure pin max_duration doesn't overflow 32bit counter 2021-11-22 10:11:09 -05:00
msgproto.py spi_flash: Make SD updates more tolerant of flaky boards 2021-07-20 18:05:05 -04:00
parsedump.py
pins.py pins: Remove support for deprecated pin_map option 2021-11-02 12:45:11 -04:00
queuelogger.py klippy: Add Python2 module wrappers and use Python3 module naming 2021-10-04 14:36:08 -04:00
reactor.py klippy: Add Python2 module wrappers and use Python3 module naming 2021-10-04 14:36:08 -04:00
serialhdl.py serialhdl: Use regular str() type for stats on Python2 2021-10-31 13:52:31 -04:00
stepper.py stepper: Support step_pulse_duration even on TMC drivers in UART/SPI mode 2021-11-29 16:56:29 -05:00
toolhead.py toolhead: Fix toolhead stop on SET_VELOCITY_LIMIT (#5053) 2021-12-30 18:56:24 -05:00
util.py util: Use regular str() type in get_git_version() on Python2 2021-10-31 13:52:31 -04:00
webhooks.py webhooks: Convert to Python3 string encoding 2021-10-04 14:36:08 -04:00