2013-05-16 7:10 AM
Hi all
I've some troubles with the internal temperatur sensor from my stm32f051: If I read the adc_channel16 I get ~1920 as value. Then I calculate the result in this way �C = ((V25 - VSENSE) / Avg_Slope) + 25 = ((1.43V - 1.54V) / 4.3mV/�C) + 25 = -0.58�C But this should be ~22�C. Then I thought, that I could use the factory callibration data. But HOW? If I read the stored value like this ''(*((uint32_t*)0x1FFFF7B8))'' I get 100206271 as ''TS ADC raw data acquired at temperature of 30 �C, V
DDA
= 3.3 V
''. So can anyone help me? Or should I use an external SPI temperature sensor for only measuring with an accuracy of ~1�C? Thank you very mutch and best regards #adc-bandgap #stm32f205-temperature2013-05-30 12:17 AM
Hi!
Regarding these TS_CAL1 and 2 values, are they applicable for the STM32F103 device? Cannot find any references in the manuals or guides. I get the feeling that these values are not available with this device. But maybe there is another solution to get more accurate values of the temperature. Regards PeterWe’re moving the ST Community to a new platform to give you a better and more reliable community experience.