I believe I fixed the failing issue… Was a grounding issue, I didn’t notice in the Power Supply connector some loose contact in one of the GDN pins (It has multiple GND pins).
Yesterday was a full working day with the driver without issues… But working at low speed…
I’ve set it up at 3A, with ISGAIN = 5 and TORQUE = 0x002A; 1/4 step with a working frequency of 4KHz, if I increase it the motor stalls. Tried with half-step and full-step, same motor stalling over 1.2kHz effective frequency (to the coils).
These are the parameters i’ve configured:
SPI_DRV2_WriteTxData(0x102A); // TORQUE Register; 50us threshold, TORQUE = 0x2A; to work at Ifs = 3.0A [Module has an Rs = 0.03Ohm]
SPI_DRV2_WriteTxData(0x2032); // OFF Register; internal indexer, 25us off time
SPI_DRV2_WriteTxData(0x3100); // BLANK Register; Adaptive blanking, 1-us current blanking
SPI_DRV2_WriteTxData(0x4510); // DECAY Register; Auto mixed decay, mixed decay time has no effect
SPI_DRV2_WriteTxData(0x55DA); // STALL Register; BEMF/16, Stall after 2, SDTHR = DA Threshold
SPI_DRV2_WriteTxData(0x6000); // DRIVE Register; Minimal drive, minimum OCP deglitch and threshold
SPI_DRV2_WriteTxData(0x7000); // STATUS Register; Reset Errors
SPI_DRV2_WriteTxData(0x0C11); // CTRL Register; 850ns dead time, ISGAIN = 5, 1/4 step, internal STALL, enable motor (C11)
Now I’m guessing is a motor limitation, but if you have some ideas are very welcome!