@rocaranrai TMC2209 stallguard4 is supported, see the docs for how to tune https://docs.duet3d.com/en/User_manual/Connecting_hardware/Sensors_stall_detection
Please note that not all motors in all configurations can trigger stallguard, and its inherently imprecise (=-2 full steps) so you may want to consider another way to measure whatever it is you want to measure.