-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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??] USB/nonATX PSU Dual Y race condition #17965
Comments
Sorry for being inactive. I haven't resolved the problem :( This fact made me try GRBL out. I've lost some features, yes, but at least machine works alright now :) Cheers. |
All I know is that Trinamic steppers must have 12V / 24V power or they cannot be configured over SPI / Serial. So in Marlin, if the power is disabled and later re-enabled, the What do you propose that we change in order to make your startup procedure work? |
@thinkyhead I've been pondering either adding an option to |
That would be a good addition. But, it seems like the steppers should be properly set up if the board is reset while there is PSU power. Are there issues in that kind of situation? And if so, does any amount of |
If the board is reset with the PSU already powered up the drivers should already be properly initialized. If that's not happening for the OP there's some other issue at play. I'll take a look at the configuration files and see if there's anything that stands out. |
|
This issue is stale because it has been open 30 days with no activity. Remove stale label / comment or this will be closed in 5 days. |
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. |
Bug Description
Fixed issue some time ago doesn't work as that guy's case has had ATX PSU
My Configurations
MKS GEN L v2
Five TMC2209 (E0 is not connected to the Extruder as I'm building PCB CNC)
nonATX (12V/15A) PSU, is NOT PS_ON controllable
Identical Y steppers
Steps to Reproduce
Plug in USB, turn on PSU -> DUAL Y both steppers run smoothly, no noise, sun is shining
BUT
Turn on PSU first, plug in USB -> steppers lose their settings, out of synchro
AT THE SAME TIME
Plug in USB, turn on PSU, I click on-board "reset" button - steppers lose their settings as well, out of synchro
Reports on a good day:
Please note, ALL LOW - because PSU hasn't been engaged yet. I engage PSU and m122:
Reports on my regular day:
You see? Basically, race condition :(
And some frequently questioned settings, so I don't spend your time:
//#define PSU_CONTROL
//#define SQUARE_WAVE_STEPPING
Marlin.zip
Config Highlights
** Units/sec: **
5 Drivers
Microsteps (no changes, actually to any, apart from Y2 pins definition)
THRESHOLDS
The text was updated successfully, but these errors were encountered: