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

How to get die temperature on NRF52832 using Zephyr

I'm trying to get a temperature reading from the on-chip temperature sensor on the NRF52832 - I know it is not a very accurate sensor but I still want to use it. I found a very cohesive example of how to do this using the nRF SDK:

nRF5_SDK_15.0.0_a53641a/examples/peripheral/temperature

But I'd now like to implement this in Zephyr - has anyone got any examples of this working? I guess it'd be as simple as referencing the nrf_temp.h library that the example uses in order to get the necessary functions?

Any pointers would be greatly appreciated

Thanks

Related