Klipper reports: SHUTDOWN TMC ‘stepper_y’ reports error: GSTAT: 00000004 uv_cp=1(Undervoltage!) Once the underlying issue is corrected, use the “FIRMWARE_RESTART” command to reset the firmware, reload the config, and restart the host software. Printer is shutdown
Describe your issue:
I have converted my 3D printer which runs TMC5160 stepper drivers from 12V to 24V and I am getting this error. I have swapped in some old DRV8825 drivers and with them everything is working fine. Does anyone has experience with this issue?
Is it completely 24 volt now, or some 12 volt and some 24 volt? If the latter, are your grounds tied together? The power supplies need to agree on ground, or you’ll get squirrelly behavior.
Which exact TMC5160 are you using? It might require 24V to additionally be connected. Does it give you the error immediately, or after working for a bit?
I don’t have 3d printer experience, so I’m not the best source of information. I built a motion control system with a single linear actuator. I wasn’t sure how much force I’d need, so used a BTT TMC5160 Plus module. My system uses mixed 12V/24V with a Manta M8P V2. Sounds like we’re comparing apples and oranges to some degree, but my module has separate 24V supply lines in addition to the spi interface and phase lines. This has me wondering if perhaps the design of your module requires additional wires or jumpers (that the ones that work do not require). Picture of mine below. Is yours a BTT module? Can you point us to a data sheet for it? Sounds like you are so close!
Oh, just started a print of 1 hour and 20 minutes in I get the error again. Now changing the run current does nothing when trying to home the printer does not even move and already gets this undervoltage error. Really strange that it worked in the beginning and now it does not want to move a tiny bit.
That gives us another data point. Everything is wired and configured properly, it can work. The fact that you’re able to get further with lower run current is an indication that the ability to supply power to the driver is marginal for some reason.
Perhaps there is an overheating issue that’s locking out the driver. What does DUMP_TMC show when it doesn’t want to move? Turn the system off and let it cool for a while before trying again and see if that helps.
Do you have any ability to monitor the voltage on the Vm pin of the driver while it is homing? A scope is the right tool for the job, but if the voltage is marginal, even a multimeter might show it.
I have not done this myself, but I have seen suggestions of wiring directly from the 24 volt power supply to the Vm pin of the driver. The idea being that the trace on the board is having trouble carrying enough current for the driver. Your other drivers might work fine because they draw less current. Do your own research on this and draw your own conclusions before trying anything.