Post Go back to editing

Using StallGuard2 when motion ramps up or down

Category: Software
Product Number: TMC5160
Software Version: TMCL-IDE 4.3.0

I am currently using the Landungsbrecke dev kit for the 5160.

I want to use the StallGuard to protect the equipment. I can set it up correctly for a continuous motion, but I want to use it to move to a specified position, then move back. As it reaches the set position, the ramp kicks in and the stall value drops to zero on slow down and start up.

I can switch on the sg_stop bit shortly after start of motion (MVP ABS) to miss the startup dip but I can't really know when the motor will get to the ABS position. Is there any neat trick to detect the start of ramp down or some such?
Or am I going about it wrong?