Skip to main content
liraz_abramovsky
Associate
March 5, 2025
Solved

DTS, Digital Temperature Sensor in STM32H562

  • March 5, 2025
  • 3 replies
  • 897 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

3 replies

Peter BENSCH
Peter BENSCHBest answer
ST 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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
liraz_abramovsky
Associate
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?

Andrew Neil
Super User
March 5, 2025
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.