Why are my temperatures not the same between devices?
Hi,
We have produced a set of devices with the stm32L072 mounted. It measures the internal temperature sensor, which result in around 29 degrees for most of the devices. Which is what we can expect, right? For the internal temperature sensor.
But a few device give us around 19 degrees, and cause test failure. We belief the measurement is incorrect. I checked everything and the only thing that is different between the devices are the temperature calibration values, preprogrammed in the device at address TEMPSENSOR_CAL1_ADDR and TEMPSENSOR_CAL2_ADDR. I compared the raw measured adc values and they are similar to a device that passed the test. Also the reference voltage measurement give us the same value, no error with that measurement.
I did a simple test by using the calibration values of a device that passed our test and use those in a device which failed. Now this device also measures around 29 degrees, and passes the test. Could it be the calibration values are wrong? Could they have been altered?
Any ideas?
thank you.