Most likely you have an incorrect R parameter in the M305 or M308 commands in config.g. Simplest is to remove the R parameter completely, because the firmware knows the correct value for your Duet.