Temperature convertion in aduc7039


I am calculating temperature using aduc7039 but i am getting -ve value.

fTADC_Volt = (float)u16TADC / 65535 * 1.2;  // in volts

   fTADC_Temp = fTADC_Volt / (0.00033) - 273;  // in degC

used the above kind of method to calculate temperature.

can you please help me in solving this issue. and tell me how to calculate temperature.

if u send me program it will be more helpfull



  • 0
    •  Analog Employees 
    on May 21, 2012 2:22 PM

    Hi Naga,

    please check what value the gain coefficient in the ADC2GN is set to. (I would expect in the order of ~0x55XX)

    Also check that ADC1CON is set to unipolar output. Please note the die temperature is ~ 10degC to 15degC above ambient temperature, however this can vary with applied supply voltage and current consumption.