Number of BEMF samples past DC is corrected with respect to the advance angle