@TAS_3D thank you very much,the same problem here. I spent a few weeks on mine and as soon as I started to get things working I had to start work again. I'm going to spend some time with it today,thanks for the instructions.
Unfortunately the pin names used by Trinamic don't match the wire names used by most stepper motors. So in the Duet 2 diagram that shows 2B, 2A, 1A, 1B, the phases are 1 and 2. On Duet 3 we switched to calling the phases A and B, as the motor manufacturers do.