Post Go back to editing

TMC2300 DIAG pin not working when GCONF.diag_step = 1?

Category: Hardware
Product Number: 0

I'd like to use the DIAG pin of the TMC2300 to count the steps made by the motor driver.

In the datasheet, if GCONF.diag_index = 1 then the DIAG pin should output a pulse every full turn, and this works. If instead GCONF.diag_index = 0 and GCONF.diag_step = 1 then the DIAG pin should change polarity at every micro-step, but I see the output fixed.

Is there some other configuration that can influence this behaviour? Does the DIAG pin show the steps even if the micro-steps are "disabled" (i.e. 1 microstep == 1 fullstep)?