Description
Hi guys,
I don't know if this is the correct way to report "bugs" in your example routines, but as this one can be quite harmful to the motor, I am giving it a shot.
In line 22 of the rotate_demo.py the value max_current
(AP paramter 6) ist set:
motor.drive_settings.max_current = 1000
According to the firmware manual (Firmware Version V1.47 | Document Revision V1.10 • 2021-NOV-02) the value should be between 0 and 255. Large values might damage the motor.
I did not actually test what happens if one tries to set the value to 1000 as I am using a TMCM-1110 (based on your suggestion in #95) but I assume the problem (if any) will occur there too. I do not know if a value of 1000 is just "downcasted" to 255 or if an error message is given.
cheers,
Thomas
Addendum:
Based on the Firmware manual of the TMCM-1110 (Firmware Version V1.13 | Document Revision V1.08 • 2021-NOV-16), the output of the TMCL-IDE 3.0 and the python code for the TMCM-1140 module, I wrote the module code for the missing TMCM-1110. If you guys are interested to implement it just let me know.