I have been wanting to experiment with the Trinamic SPI functionality for some time, and
in the past few mounts I have been dabbeling with developing:
A setup to tune Trinamic driver parameters and utilize Trinamics Stall detection in Machinekit on the Mksocfpga
Using the Mesa (D)BSPI's and a ham component, together with a Gui for machinekit client.
For now only for the Trinamic drivers with a 20-bit config string:
Tested with:
TMC262_BOB60_V1_2
TMC2660_BOB_V1_2
(not yet the cheaper 40 bit register ones)
The setup:
Hal Component (I have been unable to get the (d)bspi's to work in instacomp) and (a python based) qtquickvcp hal config for machinekit client
DExx_Nano... or mesa card with (d)bspi's
A Trinamic SPI driver with 20-bit config registers.
Enables driving setting and testing Trinamic SPI parameters on 1 stepper, and is here:
It still needs some work to get/enable proper SG detection to function....
Best wishes
Michael Brown (the-snowwhite)