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.

CCS/TMS320F280049M: Internal temperature sensor ADC to temperature

Part Number: TMS320F280049M

Tool/software: Code Composer Studio

Hello,

I would like to ask, how to convert ADC value measured from internal temperature sensor to temperature in °C or K.  
I never found any characteristic. In technical reference manual are mentioned functions Device_cal();  getTempSlope();  getTempOffset();  getTemperatureC(int16 sensorSample); but I don't know how to use them. Better said compiler reports unresolved symbol _getTempSlope() etc.  

  • Hi Jozef,

    As far as how to use the functions, I think you want to look at the driver lib manual in \C2000Ware_1_00_01_00\device_support\f28004x\docs\F28004x_DriverLib_Users_Guide.pdf

    Are you using C2000 Ware 1_00_01_00? If so, this should compile, but if it doesn't I'll submit a ticket to get this fixed in the next release.

    Since you have TMX silicon, the part(s) that you have may not have programmed temperature calibration values, so it is possible that once you get this to compile it may still not convert temperature sensor voltage readings into absolute temperature readings correctly.
  • Yes, I use C2000 Ware 1_00_01_00.