Patent ID: 7760008

Claim:
A method for trimming a microelectronic device having an output signal responsive to an input signal and a threshold signal, the microelectronic device having trimming logic and a trimming signal generator, the trimming signal generator producing a trimming signal in response to a trimming logic value generated by the trimming logic, the method comprising: applying a clock signal to a pin of the microelectronic device associated with the output signal in normal operation; the trimming logic changing the trimming logic value in response to the clock signal until the trimming logic value reaches a trim value at which the trimming signal causes the threshold signal and input signal to be substantially equal to each other; storing the trim value in a non-volatile memory; locking the trimming logic when the trimming logic value reaches the trim value; and outputting the trim value from the non-volatile memory to the trimming signal generator while the trimming logic is locked.