I read that there is a temperature sensor connected to the internal inputs of LPADC1:
I couldn't find any other details on how to use it and how to convert the numerical value to Celsius degrees, though.
Where can I find this information?
Hi @mastupristi
There is more information on the reference manual chapter 22.3.2 Temperature Sensing. Also, the sdk has examples
Best Regards, Miguel.
Hello Miguel,
I don't know if that helps me.
I am perfectly aware of the existence of the TMPSNS peripheral, but my question was a different one.
Since it is clearly stated in the Reference Manual that it is possible to "read" a temperature sensor using the ADC, I would have been pleased to also find an explanation of how to convert the raw number to Celsius degrees.
Should I perhaps use the same conversion as described in the TMPSNS chapter?
in my case ts_25c is 1902.0f ts_meas (from ADC) is 0x39d.
And with this data, if I haven't miscalculated, I should get -65 degrees, but I can assure you that we are at about 20