EFR32MG Temperature Sensor Transfer Function

by <a href="http://community.silabs.com/t5/Welcome-and-Announcements/Community-Ranking-System-and-Recognition-Program/m-p/140490#U140490"><font color="#000000"><font size="2">Hero Employee</font></font> </a> Stephen on ‎12-28-2016 04:21 PM - edited on ‎07-10-2017 08:37 PM by <a href="http://community.silabs.com/t5/Welcome-and-Announcements/Community-Ranking-System-and-Recognition-Program/m-p/140490#U140490"><font color="#000000"><font size="2">Master Employee</font></font> </a> delu

Question

What is the transfer function for the internal temperature sensor in the EMU module on Mighty Gecko?

Answer

Refer to the TEMPDRV firmware driver for the EMU temp sensor included in the Gecko SDK. It will be located on your hard drive at a path similar to:

C:\SiliconLabs\SimplicityStudio\v4\developer\sdks\exx32\v4.4.0\emdrv\tempdrv\

Specifically, the following function returns the temperature in whole degrees Celsius, using calibration data stored in the DI page:

 

int8_t TEMPDRV_GetTemp(void)