2025-03-25 8:29 AM
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
2025-03-25 8:45 AM
Dear @Farhad13651 ,
Here is an example using DTS, the Digital Temperature Sensor
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
If better error is required, you can also use the ADC and using the ATS in next step.
Hope it helps you, STOne-32.
2025-03-25 10:48 PM
Hi
What is the error from 30 to 130 degrees?
2025-03-26 12:02 AM - edited 2025-03-26 12:03 AM
Dear @Farhad13651 ,
it is on the 4th row , from -7 to +2 degree Celsius , DTS measures Tj, junction temperature at die level .
STOne-32