cancel
Showing results for 
Search instead for 
Did you mean: 

Not getting STM32H533 Internal MCU temperature readings

vsborle
Associate II

Hello All,

I am using STM32H533 series controller in our application and trying to read internal MCU temperature reading using ADC. But not getting value properly can any one please help me and provide sample example that support for STM32H5 series to read internal MCU temperature?

Any help most appreciate and thanks in advanced...!!

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

Here's an example project which reads internal temperature on the STM32H5:

STM32CubeH5/Projects/NUCLEO-H563ZI/Examples/DTS/DTS_GetTemperature/Src/main.c at 047a3e84bc870a5609d2f9f38c74caf20d033403 · STMicroelectronics/STM32CubeH5

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

5 REPLIES 5
KnarfB
Super User
TDK
Super User

Here's an example project which reads internal temperature on the STM32H5:

STM32CubeH5/Projects/NUCLEO-H563ZI/Examples/DTS/DTS_GetTemperature/Src/main.c at 047a3e84bc870a5609d2f9f38c74caf20d033403 · STMicroelectronics/STM32CubeH5

If you feel a post has answered your question, please click "Accept as Solution".
KDJEM.1
ST Employee

Hello @vsborle and welcome to the community;

 

I recommend you to look at ADC_TemperatureSensor example and get inspired to create your own project with STM32H533 device.

This example describes how to use a ADC peripheral to perform a single ADC conversion of the internal temperature sensor and to calculate the temperature in Celsius degrees.

This example has been tested with NUCLEO-F411RE board and can be easily tailored to any other supported device and development board.

 

If the issue isn't solved, I advise you to share your project.

Thank you.

Kaouthar

 

 

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.

Thanks TDK this example works for me and tested.

Thanks a lot for great support.

Thanks KDJEM,

I used DTS inbuild feature and it working we will check this example code also.

Thanks a lot for great support.