2020-09-22 09:12 PM
Hello, I am using L031K6 for low battery sensor project
I made L031K6 to sense 3~4 channel of AC measure,
so that currently using ADC-DMA for measure, and succesfully get 3 channel of AC data
but additionaly, I want to make L031K6 sense temperature of surroundings
by its ADC port
The CPU mannual said that It can sense temperature by one of ADC channel,
but I think there is no more precise description or proper example code.
so Could you show me the precise way to get temperature by L031K6?
Thanks to read.
Solved! Go to Solution.
2020-09-28 02:28 AM
Hello @DU ,
Have a look to the RM0377 in Analog-to-digital converter (ADC) section to calculate the temperature, and refer to the code example: A.8.17: Temperature computation code example.
Hope that answers your question, and please mark the post of user which is the "Best".
Imen
2020-09-23 06:44 AM
It senses the chip temperature, which is typically much higher than ambient. It's just a different channel on the ADC. Works the same as converting other channels. The reference manual and datasheet will have more info.
2020-09-28 02:28 AM
Hello @DU ,
Have a look to the RM0377 in Analog-to-digital converter (ADC) section to calculate the temperature, and refer to the code example: A.8.17: Temperature computation code example.
Hope that answers your question, and please mark the post of user which is the "Best".
Imen