-
-
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] Maybe bad TMC initialization? #18498
Comments
And how did you indicate to the firmware that you enabled 24v late and it needed to reinitialize? |
please use discord for discussions |
@ellensp my suspect is that when vmot comes to TMC something happens to it, or that when it's powered with low voltage it doesn't initialize correctly.... |
@ellensp maybe I found how to replycate this, and it really seems related to missing 24V. How to generate it: |
Ok, m122 give an asnwer and there is a problem that I'm not sure it can be solved...after removing 24V and reapplyig 24V I see that vsense and msteps changes |
Here is m122 before removing 24V (Z2 has wrong current, I just notices now) and this is after I removed and reapplyerd 24V (report only differences) 15:06:57.700 : RMS current 1602 1602 1602 994 441 |
@Bob-the-Kuhn sorry to bother you but you are the one with the best knowledge on tmc. What may be the reason of the reset registers reported above with relationship to 24V (vmot) removing? Thanks for your attention |
M502 |
@Evg33 keeping 3.3V coming from usb will not reset Cpu so data is not reloaded from eeprom (by the way I did M502 & m500 a tons and redone just now but nothing changes) |
@Bob-the-Kuhn, @ellensp, @boelle & @thinkyhead Hi everybody, sorry to spam this but I think it may be interesting to know. I think it's important to know. I don't use discord because it's too dispersive. Hope this will not bother you, in such base please forgive me. |
ops I forgot...Powering vmot with 5V (with a protection diode) solves |
M502 |
@Evg33 ok, now I understood why you said about M502 & M500 but I found a better solution and this solution may help everyone. As stated before issue "born" when you switch off PSU supply and keep usb. Then you may turn on psu again but chips have lost cnf (note switch off with usb on. If you power with usb and then power PSU everything is ok). This is because vmot on my board (or with stepstick protector) is powered by vcc that it's 3.3V. On my board I have diodes on 3.3V and 5V to act as "stepstick protector" in this case I'm able to send to vmot a 5V when psu is off. With this solution tmc dont' lose configuration and once PSU is on again I'm able to work without M50X Don't know why tmc2209 act this way and if only 2209 are affected or not (I suspect also 2208) |
All non standalone TMC with same problem. My boards powered by USB from RPi3B+(octoprint) via USB and have relay module (220V to MainPSU). |
Than if you use usb 5V with a diode to vmot you solve this issue |
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. |
I'm facing a weird situation that I'm trying to analize.
Cnf: TMC2209 with sensorless home
It's seems that if I power up system via USB and then turnon 24V power (and it seems sometimes, not always) when I start homing, x moves to home, reach endstop and then if stutter without ever terminating home.
If I turn on 24V and then connect usb, it seems this never happens.
Please note:
Is there some initialization/calibration TMC do when powered up then can't be fullfilled when missing 24V?
The text was updated successfully, but these errors were encountered: