Skip to main content
Peter Mather
Associate III
Jun 28, 2018 4:34 PM UTC
Solved

Reading the H7 temperature sensor calibration parameters

Posted on June 28, 2018 at 18:34

STM32H743

To improve the accuracy of the temperature sensor measurement, each device is individually factory-calibrated by ST. The temperature sensor factory calibration data are stored by ST in the System memory area, which is accessible in Read-only mode

Please could someone point me at where I can find information on how to read the calibration parameters. Can't see anything in the device manual, the H7 reference manual or the HAL manual but probably missed it.

    This topic has been closed for replies.
    Khouloud GARSI
    Khouloud GARSIBest answer
    ST Employee
    Jun 28, 2018 5:04 PM UTC
    Posted on June 28, 2018 at 19:04

    Hello Peter,

    Please refer to the

    https://www.st.com/resource/en/datasheet/stm32h743bi.pdf

     .

    The memory addresses for temperature sensor raw data acquired values, at VDDA= 3.3V , 30°C and 110°C , are provided in table 90 ' Temperature sensor calibration values'.

    Khouloud.

    4 replies

    john doe
    Senior III
    Jun 28, 2018 4:57 PM UTC
    Posted on June 28, 2018 at 18:57

    You dont mention which chip you're using but check section 6 of your data sheet for a table 'Temperature sensor calibration values' and it shows the register location and values

    Khouloud GARSI
    Khouloud GARSIBest answer
    ST Employee
    Jun 28, 2018 5:04 PM UTC
    Posted on June 28, 2018 at 19:04

    Hello Peter,

    Please refer to the

    https://www.st.com/resource/en/datasheet/stm32h743bi.pdf

     .

    The memory addresses for temperature sensor raw data acquired values, at VDDA= 3.3V , 30°C and 110°C , are provided in table 90 ' Temperature sensor calibration values'.

    Khouloud.

    Peter Mather
    Associate III
    Jun 29, 2018 10:22 AM UTC
    Posted on June 29, 2018 at 12:22

    Thanks - the manuals are so large that sometimes you have to know where to look.

    one V
    Associate III
    Aug 3, 2018 8:49 AM UTC

    The data I read is TS_CAL1:12309, TS_CAL2:15501. Temprature: 80*(HAL_ADC_GetValue(&hadc3)* 3.300f / 4096 - getTS_CAL1()) / (getTS_CAL2() - getTS_CAL1()) + 30, is it right? Is your problem solved? Can you give me the code to give me a reference?