-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Wrong description for the TMC2209 sensorless homing #14921
Comments
I was confused about this too since some people are stating the opposite and here is defined for TMC 2130 as Higher values = Lower sensitivity. Can I ask you what value did you set the sensitivity to? I am using the TMC 2209 for sensorless homing and probing. |
I've played with values aroung 80...120, but now I'm lost. At this moment I am unable to trigger SG (high pulse on DIAG pin), no matter the sensitivity, load, speed, even power supply voltage... |
@holgin don't forget do initialize/save settings in Eeprom to be sure your new ones defined in configuration_adv.h are really taken in account. |
@Patag I monitor all settings with M122, the board is brand new and nothing is stored in EEPROM yet. But I got it right: The SG works only when homing, I think, that's why I could not get it to trigger while doing tests with 'G1' moves. During my first tests SG was triggering during normal moves, not sure why though... But, to conclude - the description is wrong, I've confirmed it, nothing serious but worth correcting. |
tmc2209 datasheet "SGTHRS" register info says: @teemuatlut in stallguard examples (here: https://github.com/teemuatlut/TMCStepper/blob/master/examples/StallGuard_TMC2209/StallGuard_TMC2209.ino ) says: |
PR #15092 clarifies TMC2209 sensitivity settings. |
it would be good to add this info to the Marlin docs page: |
@shitcreek: Mind updating that page for TMC2209s? (TMC2209 range of 0-255 should be added too) |
These changes have been merged! The new description in * X/Y/Z_STALL_SENSITIVITY is the default stall threshold.
* Use M914 X Y Z to set the stall threshold at runtime:
*
* Sensitivity TMC2209 Others
* HIGHEST 255 -64 (Too sensitive => False positive)
* LOWEST 0 63 (Too insensitive => No trigger) |
@boelle: This issue can be closed since the description for 2209s has been updated. |
oki, will close |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hello,
In the Configuration_adv.h file, description explaining how to set
AXIS_STALL_SENSITIVITY
(starting line 1853) is wrong for the TMC2209 drivers, because the higher the value, the more sensitive StallGuards is. It's a really small error but I've wasted some time figuring it out.The text was updated successfully, but these errors were encountered: