TMC2208Stepper icon indicating copy to clipboard operation
TMC2208Stepper copied to clipboard

2208 vsense configuration setting?

Open GriffinPaquette opened this issue 5 years ago • 1 comments

I am using the 2208 drivers on Marlin 2.0 and I notice that there is no vsense input on marlin. I have had some drivers show a vsense of 1 ( what is desired for our use case) and others with a vsense of 0, with the same setup. I do not see an option to change it in marlin, but I do notice that it is a boolean in the TMC2208Stepper repository.

Is there a way to configure it to a specific setting via UART so that the current scaling maintains the desired value for all drivers?

Thanks! Griffin

GriffinPaquette avatar Apr 28 '19 16:04 GriffinPaquette

Marlin only makes calls to the rms_current method which determines the correct vsense bit according to the mA argument and the driver rsense value. All public methods are available to be used in the TMC_ADV macro.

Marlin 2.0 does not use this library, but rather the newer TMCStepper.

teemuatlut avatar Apr 28 '19 17:04 teemuatlut