Patent ID: 8526131

Claim:
A method for determining a signal polarity in a data processing system, the method comprising: receiving a series of data samples corresponding to an analog input, wherein a first subset of the data samples corresponds to a first sample phase of the analog input and a second subset of the data samples corresponds to a second sample phase of the analog input; resolving the first subset of data samples to a first set of binary values representing the first subset of data samples and comparing the first set of binary values to a defined pattern, wherein the defined pattern is identified in the first subset of the data samples; summing an absolute value of each sample of the first subset of the data samples to yield a first sum; resolving the second subset of the data samples to a second set of binary values representing the second subset of data samples and comparing the second set of binary values to the defined pattern; summing an absolute value of each sample of the second subset of the data samples to yield a second sum; and determining a signal polarity based at least in part on a difference between the first sum and the second sum.