cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H562RIT6_temperature sensor

Farhad13651
Associate II

Hi

What is the exact percentage error of the internal temperature sensor in the STM32H562RIT6 microcontroller?
Is this error percentage consistent across all temperature ranges?
Please provide the exact percentage error for different temperature ranges.
Additionally, provide a sample code for accurately measuring temperature using the internal temperature sensor of the STM32H562RIT6 microcontroller.

Thank you

3 REPLIES 3
STOne-32
ST Employee

Dear @Farhad13651 ,

Here is an example using DTS, the Digital Temperature Sensor 

STM32CubeH5/Projects/NUCLEO-H563ZI/Examples/DTS/DTS_GetTemperature at main · STMicroelectronics/STM32CubeH5 · GitHub

Regarding the performance of the DTS : Datasheet - STM32H562xx and STM32H563xx - Arm<Sup>®</Sup> Cortex<Sup>®</Sup>-M33 32-bit MCU + TrustZone<Sup>®</Sup> + FPU, 375 DMIPS, 250 MHz, 2-Mbyte flash, 640-Kbyte RAM, math accelerators Page 215

 

STOne32_0-1742917481507.png

 

If better error is required, you can also use the ADC and using the ATS in next step.

Hope it helps you,  STOne-32.

 

 

Hi

What is the error from 30 to 130 degrees?

Dear @Farhad13651 ,

it is on the 4th row , from -7 to +2 degree Celsius , DTS measures Tj, junction temperature at die level .

STOne-32