cancel
Showing results for 
Search instead for 
Did you mean: 

On chip temperature sensing dependant on Vref

GHolc.1
Associate III

The reference manual documentation for the onboard temperature sensor for STM32H745, RM0399, chapter 26.4.33 gives a formula for calculating temperature that is only valid when VREF is 3.3 volts, but lacks mention, foot note, etc of any kind that VREF is a factor. It does reference the datasheet which states that TS_CAL1 and TS_CAL2 we obtained at VDDA of 3.3 volts which helps but VDDA and VREF do not have to be equal and the significant term there is the VREF where those calibration values were recorded.

I suggest updating the reference manual "Reading the temperature" formula with the formula that cube generated code has in __HAL_ADC_CALC_TEMPERATURE() which has a term for VREF.

 

1 REPLY 1
KDJEM.1
ST Employee

Hello @GHolc.1 ,

 

Thank you for bringing this issue to our attention.

Your feedback is right. I reported internally this issue.

Internal ticket number: 185201 (This is an internal tracking number and is not accessible or usable by customers).

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.