This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RM57L843: TMS570LC4357 and RM57L843 On-Chip Temperature Sensor Measurements

Part Number: RM57L843

Dear TI,

Hope you are fine. I am working on onboard chip temperature sensors.The document mentioned above have a code bug in the attached picture which results in wrong junction temperature measurement.The code used in the above document gives worng temperature values in kelvin.By correcting the code it will give the correct callibration values in OTP as well as in kelvin.Please find the attached documents.

With Regards,

Bilal Zahoor Ahmed.

  • Hello,

    Please, check what is your reference voltage. On LaunchPad it is defined by R2, R3 and R4. On HDK J8 defines the reference voltage. At my desk the code is working fine and I don't believe the code in thermistor_calibration is wrong but I'll forward this thread to our ADC expert.

  • Hi,

    Yes reference voltage is set to 3.3V.I am not saying that code is wrong.I only point out the code line in application note.

    With Regards,

    Bilal

  • Hi,

    May be I am wrong but writing similar line i.e sumtempxconv += cal_temperature_array[i] * cal_adc_code_array[i]; in code gives kelvin values lesser than 273 which results in negative temperature in Celsius.

    With regards,

    Bilal

  • Dear TI,

    Temperature sensor on board code is working fine.The problem is on my end.The refernce voltage is set to 5v.I have changed it to 3.3v  by shorting j8 point.Please find the attached  picture.

    Thanks and Best Regards,

    Bilal Zahoor Ahmed.