@omni @kordris I got mine working with the following settings:
M591 D0 P7 C"ystop" L7 R80:115 E8 S1
What caused problems with my setup was that I've used an endstop pin from an axis where sensorless homing was enabled. Switching to an endstop without sensorless homing solved it for me.
I am using a third party controller board with a STM32 chip structure. I don't know if that has any impact on the error that I had but this might also help you if you are using an original Duet board.