Skip to main content
Explorer
March 5, 2025
Solved

DTS, Digital Temperature Sensor in STM32H562

  • March 5, 2025
  • 2 replies
  • 854 views

hi, I wanted to ask,
I saw that the micro STM32H562 datasheet has a new DTS digital temperature sensor. 
I wanted to ask :

1.what is linearity of this sensor?

2.what is its max error?

3.what is the level of accuracy?

I see that it is new so I wanted to check if it is worthwhile and safe to use it already?

thank you, 

Liraz Abramovsky. 

    This topic has been closed for replies.
    Best answer by Peter BENSCH

    Welcome @liraz_abramovsky, to the community!

    You will find the description of the DTS in section 3.25 of the STM32H562 data sheet:

    Digital temperature sensor (DTS)
    The devices embeds a sensor that converts the temperature into a square wave, whose frequency is proportional to the temperature. The PCLK or the LSE clock can be used as reference clock for the measurements. Use the formula given in the product reference manual to calculate the temperature according to the measured frequency stored in the DTS_DR register.

    and in Table 102 the parameters you asked about.

    Hope that helps?

    Regards
    /Peter

    2 replies

    Technical Moderator
    March 5, 2025

    Welcome @liraz_abramovsky, to the community!

    You will find the description of the DTS in section 3.25 of the STM32H562 data sheet:

    Digital temperature sensor (DTS)
    The devices embeds a sensor that converts the temperature into a square wave, whose frequency is proportional to the temperature. The PCLK or the LSE clock can be used as reference clock for the measurements. Use the formula given in the product reference manual to calculate the temperature according to the measured frequency stored in the DTS_DR register.

    and in Table 102 the parameters you asked about.

    Hope that helps?

    Regards
    /Peter

    Explorer
    March 6, 2025

    liraz_abramovsky_0-1741246969204.png

    I found this for different microcontroller DTS , is this table relevant for the STM32H562 DTS also?

    what is the frequency of PCLK and LSE?