2025-01-22 08:35 AM
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.
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?