-
Notifications
You must be signed in to change notification settings - Fork 73
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] TMC2209 screeching driver problems #597
Comments
Thanks for the report. EDIT The driver supports 64/128/256 microstepping. The option simply is not available on the web builder. You can set it manually by changing STEPPERx_MICROSTEP to 64. Or use the microstepping change MCode |
One other question. This setting:
Is this on purpose? |
I've taken a look at Marlin as suggested. I will try to dig a bit more on the matter. |
I have not tried the M-codes yet. That stealthchop setting was on purpose because I was going to try to determine if it made the sound better or worse. I haven't tested it yet. I may be offline for a few days but I hope to also experiment and see if I can find the issue. |
The MCodes can tell if the communication is good or not. On an 3 axis system if you send a
I will probably take the opportunity to implement #258 |
TMC communication does not seem to be working quite well on v1.8. I suspect the fault is on softuart module (under investigation). You can try the v1.7.x-bugfix branch to see if the stepper driver works better with that version. I tested with a TMC2208 on a RAMPS board. |
As I said the problem was on the soft uart module. PR #600 addresses this issue and I tested on the RAMPS board with a TMC2208 and now it reads the TMC correctly. This is a temporary fix in the master branch. Please test it and let me know if you find any difference or the stepper still "screeches". I am moving the TMC module to the µCNC modules git and modifying the setup based on what is done on Marlin. |
Merged #599. TMC drivers have moved to modules. If you find any problem please report. |
Describe the bug
I'm using a BTT SKR Pico board with TMC2209 drivers. When the board is powered on or when reset the steppers make a high pitched screeching sound. It goes away after a second or so. Sounds bad. Might be because of lack of stealthchop, I'm not sure. Movement sounds way louder and more "crunchy" than Klipper even with stealthchop OFF in Klipper.
For some reason microstepping 64 is not available as a config option. Setting it causes the screeching to get worse. I think 64 is a valid microstep setting without using interpolation. I will have to check the datasheet again.
If I get time I will compare the driver code versus something that I know works like Klipper. grblHAL doesn't seem to work at all with the 2209 and Marlin support is only half implemented for this board but the 2209 code might be worth looking at.
What is your hardware
boardmap_overrides.h
cnc_hal_overrides.h
The text was updated successfully, but these errors were encountered: