Hi everybody,
I am using MSP430FR5969's internal temperature sensor and what I've reached so far is getting a value which increases when I put my finger on the microcontroller, which looks alright. The value that I read is not right at all though.
My conversion formula is:
temp in deg celsius = (adc reading - ADC20T30) * (85.0 - 30.0) / (ADC20T85 - ADC20T30) + 30.0
where ADC20Txx are the values relative to my reference positive voltage I use for the conversion (I use the 2.0V internal reference) from the TLV structure.
I also tried to imagine the temperature in degrees celsius is.
alpha * adc reading + a constant
and computed alpha and constant in code from the calibration values at 30 and 85 degrees celsius, but I still get meaningless values.
So, does anybody know what is the correct formula for getting the temperature (in degrees celsius or another temperature scale)?
Thanks in advance.