Patent ID: 9537520
Date: 2017-01-03
CPC Classifications: H03F,H04B

Claim:
1. An electronic device for determining a calibration code, comprising: a modem configured to receive a transmission signal, determine a calibration code that minimizes distortion of the transmission signal, and calibrate the distortion of the transmission signal using the calibration code, wherein the modem is further configured to determine the calibration code by: generating a first calibration code, wherein the first calibration code includes a pre-determined number of bit positions: determining distortion corresponding to the first calibration code; generating a second calibration code by adding a 1 bit to a pre-determined bit position of the first calibration code; determining distortion corresponding to the second calibration code; setting the calibration code to the second calibration code if the distortion corresponding to the second calibration code is less than that of the first calibration code and setting the first calibration code to the second calibration code, otherwise generating a third calibration code by subtracting a 1 bit from the pre-determined bit position of the first calibration code, determining distortion corresponding to the third calibration code, and setting the calibration code to the third calibration code if the distortion corresponding to the third calibration code is less than that of the first calibration code and setting the first calibration code to the third calibration code, otherwise setting the calibration code to the first calibration; and repeating the above identified steps, starting with the step for generating the second calibration code for a next pre-determined bit position in the calibration code, until all bit positions in the calibration code have been processed.