This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

The sd_temp_get() function

Hi

I am using v6.0.0 softdevice S110 and SDK 5.1.0

In nrf_soc.h the function sd_temp_get() is defined. The comments there say ..

"p_temp Result of temperature measurement. Die temperature in 0.25 degrees celsius"

I have both an early variant of the nrf51 and the XLR2 in our modules. Both modules are about 10 centimeters apart and I would say they are sitting in the same temperature environment, hence I would say with certainty they are at the same temperature.

On the early variant of the chip sd_temp_get() is returning a value of 138 On the XLR2 it is returning 113

If I go according to " Die temperature in 0.25 degrees celsius" then it implies I need to divide by 4 to get the actual temperature, hence ..

138/4 = 34.5 113/4 = 28.25

I have 2 temperature sensors within a meter of the devices in my office. One is showing me about 22 and the other 23.

I am confused.

Look forward to hearing from someone.

Kind regards and thank you in advance Mahendra

Parents Reply Children
No Data
Related