@Simon-4 To permanently set spreadcycle, change the M569 command for that motor to include the D parameter, set to 2. eg:
M569 P0.4 S1 D2
spreadCycle is actually the default, so probably you have D3 with a V parameter. If you set the V parameter very high, eg V25000, you can set the changeover to a very low speed. This means that the motor will at least be quiet at standstill. Send M569 P#, where # is the stepper driver number, to see the current setting and the speed the changeover happens, e.g.:
M569 P121.0 S0 D3 V2000
M569 P121.0
Driver 121.0 runs in reverse, active low enable, mode stealthChop, ccr 0x00053, toff 3, tblank 0, tpwmthrs 2000 (0.9 mm/sec), pwmScaleSum 16, pwmScaleAuto 0, pwmOfsAuto 36, pwmGradAuto 14, pos 8
M569 P121.0 V25000
M569 P121.0
Driver 121.0 runs in reverse, active low enable, mode stealthChop, ccr 0x00053, toff 3, tblank 0, tpwmthrs 25000 (0.1 mm/sec), pwmScaleSum 16, pwmScaleAuto 0, pwmOfsAuto 36, pwmGradAuto 14, pos 8
M569 P121.0 D2
M569 P121.0
Driver 121.0 runs in reverse, active low enable, mode spreadCycle, ccr 0x00053, toff 3, tblank 0, hstart/hend/hdec 5/0/0, pos 8
See https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m569-set-motor-driver-direction-enable-polarity-mode-and-step-pulse-timing
Ian