AnsweredAssumed Answered

measure the MCU core temperature for the S12ZVML31

Question asked by Phidia Wang on May 31, 2018
Latest reply on Jun 1, 2018 by Radek Sestak

Hi ,

I want to measure the MCU core temperature for the S12ZVML31,and getting the raw count for ADC0
temperature sensor as around 1084 (ambient temperature:25 degree ).

Considering the ADC reference voltage as 5V (VADD =5V)
Voltage with count 1084 = 1.32 V (with 12 bit adc)
So, for calculating the physical value of temperature I am referring following formula :
VHT(temp) = VHT(150) - (150 - temp) * dVHT

where, as per electrical specification
VHT(150) = 2.4 V
dVHT = 5.05 mv/degree Cel

So I get temperature = -64 degree;it is bellow -40 degree!!! why?

Please help me to resolve this issue. thanks.