I've seen connections breaking circuit on a motor control unit where they appeared to be good they were breaking circuit because of faulty connection at the MCU board quick disconnect. That component does regulate motor speed. There are You Tube videos that will show you how to test duet MCU boards. The last one I worked on that had that problem was a two wire quick disconnect I simply cut the wires installed new female terminal connectors and reinstalled. Problem solved.