Described embodiments provide an electronic circuit for controlling a motor. The electronic circuit includes a magnetic field sensing circuit responsive to magnetic field sensing elements disposed to sense rotation of the motor. The magnetic field sensing elements generate magnetic field signals, each having a state indicative of at least one of the rotational position and a rotation speed of the motor. A position and speed sensing circuit generates a signal representative of the rotational position of the motor and tracks state changes of the magnetic field signals. A gate driver circuit generates motor drive signals that drive the motor based upon the sensed rotational position. The position and speed sensing circuit generates a qualified control signal based upon a determined valid state change of the magnetic field signals. The gate driver circuit generates the motor drive signals based, at least in part, upon the qualified control signal.