@thomas-weiss said in M915 not triggering under any circumstances:
Alright. I just did some testing. Setting M569 to V20-V50 makes it trigger stalls, but the motors seem to be incredibly weak and loud even at 2200 mA current. They are basically just stalling themselves in an aircut without doing any actual milling.
I'm not really surprised. When the driver run in stealthChop mode, it switches to voltage-controlled mode, so that the current is reduced and the motors are quieter. The ability of the motor to respond to large increases in load is compromised. For example, when 3D printing if the nozzle hits a blob or overhang, missed steps are more likely if the driver is operating in steathChop mode.
In a milling machine the difference in load between homing (when the tuning cycle is done) and milling is much greater than the load change in a 3D printer. So I am not surprised that stealthChop mode doesn't work well for milling.
Additionally, stall detection doesn't work well at low motor speeds, because the back emf due to rotation isn't high enough to distinguish reliably from the other voltage drops in the motor.
Drivers that do stall detection in spreadCycle mode (such as the TMC2660 on the Duet 2, or the TMC5160 on Duet 3 MB6HC) may be more suitable for stall detection in a milling machine; however the low motor speed might still make it unreliable.