Patent ID: 7330802

Claim:
A method for calibrating a parameter of an integrated circuit (IC), the method comprising steps of: (a) inputting an initial value into a latch register in the IC; (b) reading the initial value input into the latch register by using an internal analog circuit in the IC and generating an output value according to the initial value; (c) detecting the output value by using an external device in a detecting mode; (d) determining whether the output value is beyond a pre-determined range and proceeding to step (e) if the output value is beyond the pre-determined range and, otherwise, proceeding to step (f); (e) obtaining a calibrated value by using the external device in a calibrating mode and inputting the calibrated value into the latch register and then returning to step (b); and (f) writing the calibrated value into a non-volatile memory in the IC.