I am looking for some additional description of the decay mode as set in bits [10-8] DECMOD in the DECAY register on the DRV8711.
In mode 001, Slow decay for increasing current, mixed decay for decreasing current, how is it determined if current is increasing or decreasing?
I can think of two possible ways to determine if current is increasing or decreasing:
- Is it based on where in the microstepping table we are? For example in table 4 from the DRV8711 datasheet from 0 to 90 degrees BOUT current is decreasing so mixed decay would always be used on B while AOUT is increasing so slow decay would be used on A?
- Is it based on where we measure the current after TBLANK. For example if we measure the current to be below itrip we use slow decay and if we measure it above itrip we use mixed decay?
Thanks,
Allen