Accuracy of setting stepper current in UART mode #1024
gothcha
started this conversation in
General Discussion
Replies: 1 comment 5 replies
-
Did you change up the rsense values in the configs and recompile the firmware for testing? I had noticed my Y motor has been a fair bit hotter (I think it's because I'm printing faster?) but dropping the current by 30ma seems to have resolved that issue for me. I wonder if the marlin guys on discord have any insights, they have a dedicated trinamics channel... |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Following from the Jyers gets Linear #707 I modified my 4.2.7 board for full UART and all appeared to perform well. However I started to investigate the current setting using Marlin. After digging into the code and the data sheet I found that there are some issues which I believe results in the currents not being set as specified.
Edit
After extensive tests measuring the temperatures of the drivers it appears that the current setting is even more complex than I thought. There is additional PWM scaling being implemented which affects the calculations.
However the conclusion is that even though the Rsense value in Marlin (0.11) is not the actual value used on the Creality boards the 800mA nominal driver currents that are quoted have also been calculated using the same Rsense. So the current settings do appear to correspond and in fact the current can be set higher than the standalone values.
Beta Was this translation helpful? Give feedback.
All reactions