Skip to main content
KaiyangChu
Explorer
January 22, 2025
Solved

Confusion of temperature calibration points used in production for STM32G474

  • January 22, 2025
  • 1 reply
  • 1010 views

Refer to datasheet DS12288 Rev 6(STM32G474xB STM32G474xC STM32G474xE), where Table 5 (Temperature sensor calibration values) describes that the high temperature calibration sampling point used for internal temperature sensor calibration is 130 degrees Celsius, but in the LL library, 110 degrees Celsius is used for temperature conversion.

KaiyangChu_0-1737563568647.png

stm32g4xx_ll_adc.h: line 386

 

#define TEMPSENSOR_CAL2_TEMP (110L) /* Temperature at which temperature sensor
 has been calibrated in production for data into TEMPSENSOR_CAL2_ADDR
 (tolerance: +-5 DegC) (unit: DegC). */

 

Which one is correct?

This topic has been closed for replies.
Best answer by Igor Cesko

Hello KaiyangChu,

 Please use new version of drivers - where this was corrected to correct value (130°C).

 

  Regards

                         Igor

1 reply

Igor Cesko
Igor CeskoBest answer
ST Employee
January 23, 2025

Hello KaiyangChu,

 Please use new version of drivers - where this was corrected to correct value (130°C).

 

  Regards

                         Igor