Hello all,
I'm trying to play with the onchip Temperature sensor.
I performed some single shot conversions. Using internal 1,2V ref voltage, pair A6 (Temperature Sensor).
I get around the value 0xD270 (+/-8LSB) in SD16MEM0. Format is configured as "Bipolar Offset binary".
Now is coming my problem. I want to convert this value into a temperature one. To what I understood about the formating, 0x8000=0V so 0xD270 equals 386mV (= (0xD270-0x8000)*1200mV / 0xFFFF)?
Considering a 3,55mV/°C and a 0 offset, I'm around -164°C (=(386mV/3,55)-273).
Even considering an offset, I am very far away from expected values (room temperature).
What could be wrong in my calculation ?
Thanks in advance for your help[:)]
My config:
SD16CCTL0 = 0x0408
SD16INCTL0 = 0x06
SD16IV = 0x0
SD16CTL = 0x001C
SD16AE=0x00