Patent ID: 8760180

Claim:
A method of programming an electronic device, the device comprising a circuit and a programmable reference signal generator, wherein the reference signal generator is configured to generate a reference signal based at least in part on a programmable code value and on a temperature, and wherein the circuit is configured to generate an output signal based at least in part on the reference signal, wherein at least one parameter of the output signal is dependent at least in part on the reference signal and on the temperature, the method comprising: programming the reference signal generator with each of multiple code values; setting the temperature to each of multiple temperature values; measuring a value of the parameter for each of a plurality of combinations of the multiple code values and the multiple temperature values; selecting a programming code value based on the measured parameter values; and programming the reference signal generator with the selected programming code value, wherein the circuit is configured to generate the output signal based in part on a received input value, and wherein the measuring comprises: recording a first parameter value for a first programmed code value, a first input value, and a first temperature value, recording a second parameter value for the first programmed code value, the first input value, and a second temperature value, recording a third parameter value for the first programmed code value, a second input value, and the first temperature value, recording a fourth parameter value for the first programmed code value, the second input value, and the second temperature value, recording a fifth parameter value for a second programmed code value, the first input value, and the first temperature value, recording a sixth parameter value for the second programmed code value, the first input value, and the second temperature value, recording a seventh parameter value for the second programmed code value, the second input value, and the first temperature value, and recording an eighth parameter value for the second programmed code value, the second input value, and the second temperature value.