Fault detection control is implemented within this system to stop motor operation when an event that might cause motor drive failure is detected. To avoid a false trigger, each detection unit should be enabled a fraction of a second after the motor start-up, using TMR0.