Nice to hear people actually using these =)
If you find good configuration parameters, let me know and I'll try them out and push to upstream with the next TMC related PR. I haven't spent much time optimizing the spreadCycle parameters as I'm always using stealthChop.
As you may have found out, editing the stepper_indirection is not actually necessary, as you can override any setting with the TMC2130_ADV.
So if you want to edit the off_time setting, you'd just put stepperX.off_time(3) in the TMC2130_ADV.
I looked at your advanced config and I'd like to point out that you don't need the stepper.interpolate() in there as that is already configured with #define INTERPOLATE.
Also it seems like you're setting the driver to use external Vref. It looks very much intentional but I thought I'd point it out. You also then need to take into account that since your current settings are so low, Marlin will enable the vsense bit and this will affect your current calculations. I'm curious why you would want to run them in analog mode as one of the most appealing aspects of the drivers is that I don't have to fiddle with the potentiometer.
The spreadCycle chopping has a few more steps to it than that. There are actually two slow decays and one fast decay.
CoolStep is not yet utilized. The value is set to the maximum to make sure the stepping speed is never lower (as in higher) than that.
If you find good configuration parameters, let me know and I'll try them out and push to upstream with the next TMC related PR. I haven't spent much time optimizing the spreadCycle parameters as I'm always using stealthChop.
As you may have found out, editing the stepper_indirection is not actually necessary, as you can override any setting with the TMC2130_ADV.
So if you want to edit the off_time setting, you'd just put stepperX.off_time(3) in the TMC2130_ADV.
I looked at your advanced config and I'd like to point out that you don't need the stepper.interpolate() in there as that is already configured with #define INTERPOLATE.
Also it seems like you're setting the driver to use external Vref. It looks very much intentional but I thought I'd point it out. You also then need to take into account that since your current settings are so low, Marlin will enable the vsense bit and this will affect your current calculations. I'm curious why you would want to run them in analog mode as one of the most appealing aspects of the drivers is that I don't have to fiddle with the potentiometer.
The spreadCycle chopping has a few more steps to it than that. There are actually two slow decays and one fast decay.
CoolStep is not yet utilized. The value is set to the maximum to make sure the stepping speed is never lower (as in higher) than that.