Open T4KUUY4 opened 2 weeks ago
My MPG wasnt connected yet as the steppers didnt even move. That might be why the firmware crashes with MPG enabled. but im not 100% sure
M122 returns "could not communicate with stepper driver" One more Thing, i disabled the MPG, compiled again and the firmware doesnt crash anymore. Drivers still not recognized
Update. They are detected when running Klipper. so the drivers, are fine
I feel a little... stupid ngl. one stepstick got considerably hotter than the rest. so i removed that one, and the other 3 showed up ...
MPG works aswell when its connected.
Glad you got it working in the end.
I don't know if there is anything different with the driver configuration vs Klipper/Marlin? I do know that the stepper max current (from $14x parameters) gets set before enabling the drivers, as that was something I checked previously.
I've got an SKR3 here with both 2209 and 5160 EZ drivers, and haven't experienced any issues with them. That said, it's only been used for development, running Nema17 motors with no load on them.
Glad you got it working in the end.
I don't know if there is anything different with the driver configuration vs Klipper/Marlin? I do know that the stepper max current (from $14x parameters) gets set before enabling the drivers, as that was something I checked previously.
I've got an SKR3 here with both 2209 and 5160 EZ drivers, and haven't experienced any issues with them. That said, it's only been used for development, running Nema17 motors with no load on them.
Yea. sorry for all the notifications :D Turns out 2 were actually dead and not only one. grbl wont initialize the other ones if a dead one is connected.
Sorry for re-opening but i think i did find an issue with how the drivers are controlled upon boot. It seems like its initializing grbl too fast as i have to uncheck and then re-check the ganged Y axis stepper driver in the settings for all the motors to move. otherwise i get a "cant communicate" error.
it seems to be exactly like this: https://github.com/grblHAL/core/issues/381#issuecomment-1859032515
Hi @terjeio - the above issue has come up for a few people now, needing a delay before the Trinamic drivers are initialised or else getting a communication error. I've not been able to replicate, but perhaps dependent on rise time for the modules power supply?
Anyway, do you have an opinion on adding a (configurable?) startup delay directly to the Trinamic drivers? I could add a delay to the H7 code before calling trinamic_init(), but I'd expect it might crop up in other drivers also?
@T4KUUY4
Just to check something - I've been assuming this issue only occurs on power-up, is that the case? i.e. if the board is already powered, and is restarted with the reset button then it's okay?
@dresco correct. Only on power up
Start with increasing the delay here - to 500 (ms) initially?. @T4KUUY4 are you compiling locally or using the Web Builder? If using the Web Builder I can modify the code so that you can rebuild and test.
Start with increasing the delay here - to 500 (ms) initially?. @T4KUUY4 are you compiling locally or using the Web Builder? If using the Web Builder I can modify the code so that you can rebuild and test.
Hi, Im using the webbuilder right now. Thanks a bunch
ok, try now - I have increased the delay to 1000.
Hi and sorry for creating another issue. I just cant get my head around why the motors are not working. Ive got 5160 ez on my octopus max. In the First 4 Slots.
Ive compiled on the webbuilder with ganged Y motors and EZ5160s with 0.075 sense resisor. Ive reset my grblhal settings but i still get no motor movement. I tried inverting the enable pins but no change.
stepper drivers do get warm so they are getting power.
Also, even though i havent fully confirmed yet, enabling mpg test 2 in the Firmware, makes it Crash a lot. Mostly "controller is halted" or error:20.
Any ideas?
Thanks in advance Tom