Basic Information:
-
Printer Model: Tronxy Veho 800 Pro (800x800mm cartesian)
-
MCU / Printerboard: Tronxy custom board (STM32H723xx), Klipper V1.2.5
-
Host / SBC: Tronxy custom embedded Linux, Moonraker + Mainsail
(log attached)
klippy (19).log (41.5 KB)
printer.cfg_0528.txt (30.1 KB)
Issue:
Been running this printer for about two months without major problems. A few weeks ago it started doing something really frustrating — the X axis will suddenly shoot all the way to the left and slam into the frame, either during a print or right when it tries to home after a cancel. No warning, just bang.
The pattern took a while to figure out. After the first crash I spent around 5 days trying to get PETG working again — lowered the bed temp, dropped run_current to 1.2A, tried a few different things — nothing worked. Eventually switched over to PLA at 1.0A out of frustration and that’s been running fine. Went back to PETG after that and got the exact same crash. So right now PLA works, PETG doesn’t, and I’m not sure what’s actually different between the two that would cause this.
Pulled the log and found this on the X driver right around when it happens:
TMC 'stepper_x' reports GSTAT: 0000001d
reset=1(Reset)
uv_cp=1(Undervoltage!)
register_reset=1
vm_uvlo=1
What’s weird is that all four Z drivers (TMC2209 on UART) show nothing abnormal at the same time — no undervoltage, no resets. So it really seems like something specific to the X driver or that socket, not a PSU issue overall.
On top of that, SPI comms to X are completely dead:
spi_transfer_response oid=0 response=b'\x00\x00\x00\x00\x00'
TMC stepper_x failed to init: Unable to write tmc spi 'stepper_x' register DRV_CONF
X is on software SPI, config looks like this:
[tmc2240 stepper_x]
cs_pin: PD7
spi_software_mosi_pin: PC2
spi_software_miso_pin: PC0
spi_software_sclk_pin: PC1
run_current: 1.4
interpolate: False
stealthchop_threshold: 0
To make things worse, a technician came out and swapped the TMC2240 for a TMC2225 thinking it might be a bad driver — which of course doesn’t do SPI at all, so now it won’t init at all. A new TMC2240 is on the way and I’ll swap it back once it arrives.
What I’m trying to figure out:
If the new TMC2240 fixes it, I’ll assume the original chip was just defective and move on. But if vm_uvlo keeps showing up on X even with a fresh driver, I’m not sure where to go from there. A few things I’m wondering:
-
Could a bad solder joint or loose contact on the X socket cause
vm_uvloto show up on just one axis like this? -
Is software SPI generally flaky enough that noise/interference could cause this? The X signal lines run pretty close to the motor cables. Would switching to hardware SPI (if there’s a usable bus on this board) be worth trying?
-
Any other things worth checking if the driver swap doesn’t solve it?
This board is a custom Tronxy design so there’s no public schematic, which makes this harder to trace.
