Open MasterPIC opened 1 year ago
Hi Armando, I ask myself too what is the better value I assume it is better to switch wen the motors starts to rotate at high speed => this is not directly related to the gear Maybe before I change something could we have a discussion on the group with other user? Thanks
Hi Charles, I'm not sure about the value 64 used to switch from Stealth2 mode to SpreadCycle one
m_tmc5160->TPWMTHRS(64);
Let's assume 300 worm teeth and 4:1 reduction ratio.
So let's assume to have jerk at 60X (48RPM) - TPWMTHRS = 64*351.563/60 = 375 I'd set
m_tmc5160->TPWMTHRS(375);
More generally I see the need for taking into account the overall reduction ratio to properly set TPWMTHRS. So if you agree with me I would add a TMC5160 definition in TeenAstroCustomizations to allow TMC5160 tuning when desired.