-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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] TMC driver settings bugs, bump sensitivity and current for Dual X/Y systems #2493
Comments
It seems a bug in Marlin.
|
|
No, because I only have X and Y for bump sensitivity. However, you can add If so, I suspect I0 must be also provided for other settings (e.g. TMC stealthchop, hybrid threshold etc...). I tried M914 I0 X1 and the setting was properly set to 1 (so I0 can be used even in case there is no X2, Y2 etc...) |
You are right, there is a bug in Marlin, but I also believe the TFT FW has an issue. BTW: It would be nice to also be able to handle the currents, hybrid thresholds and bump sensitivities for Z3 and Z4, but that would make the table bigger and a bit sparse. |
Z3 and Z4 have been added just yesterday by BTT |
Right, I just tested it, and it's working well, and your update even adds the "I0" parameters to the table, great job! |
UPDATE:
|
Ok, so we simply need to wait those fixes are merged in the official Marlin release (not the bugfix) and then we can apply the changes on TFT fw. |
Yes, kind of, but please note that the old and new meaning of the Marlin I-parameter are incompatible. Marlin 2.0.9.3 M914 is already according to the new convention. This is bound to cause some issues for some users. |
I understood the logic. But I would wait that both M906, M913 and M914 have the same logic because the piece of code in TFT fw handling those settings is the same. So basically, only M914 is currently not properly working in TFT fw. |
Because M914 is already converted to the new I-parameter convention in the current Marlin release (2.0.9.3), the I-parameter for X/Y/Z should be "I1", and "I2" for "X2/Y2/Z2", pull request 2493 adds the I-parameter, which is useful for M906 and M913, but still incorrect for M914. |
I know that. I was waiting Marlin was fixed first. However, I just applied the changes to support M914. With these changes, M906 and M913 will be supported once the same changes already applied to M914 will be applied on Marlin (e.g. I1 for X1 etc.). Please test #2503 |
Quick update... M913 (Set TMC Hybrid Threshold Speed) and M906 (set driver current) and |
@rondlh it's better to open a new ticket once the official marlin 2.0.9.4 is available. Just wait for the final solution provided in Marlin before making other changes in TFT fw. |
I fully agree |
@rondlh Now that Marlin 2.1.1 is released, this topic could be resumed providing the current compatibility matrix. |
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. |
Description
Setting the TMC driver bump sensitivity and stepper current has some issues.
---Setting bump sensitivity---
Set X to 1, X2 to 2, Y to 3, Y2 to 4 results in:
X = 2, X2 = 1, Y = 4, Y2 = 3. (Values for X and X2 are swapped, same for Y and Y2)
Steps to reproduce
Expected behavior
Values as previously define.
Actual behavior
Set value for X and X1 are swapped (same for Y and Y1)
---Stepper current---
Setting the current for X will also change the current for X2, the same is true for Y.
Steps to reproduce
Expected behavior
X as set, X2 unchanged
Actual behavior
X2 is changed to the set value for X. X set correctly.
Hardware Variant
BTT TFT35 V3.0
MKS MONSTER8 V1.0
TFT Firmware Version & Main Board Firmware details
Latest TFT FW, April 2nd 2022
Latest Marlin 2.0.9.3 release March 27th 2022
The text was updated successfully, but these errors were encountered: