2022-06-01 12:47 PM
In https://github.com/STMicroelectronics/STM32CubeL4/blob/c5e83f31696c3da4fb374224471afd08d9d457b3/Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_ll_adc.h#L346 the comment for VREFINT_CAL_VREF says
/* Analog voltage reference (Vref+) value with which temperature sensor has been calibrated in production (tolerance: +-10 mV) (unit: mV). */
but it probably refers to the voltage reference with which VREFINT has been calibrated in production.
See also the same comment for TEMPSENSOR_CAL_VREFANALOG a couple of lines below.
#copypaste
JW
2022-06-01 03:08 PM
I guess it's a "bug" report, because it's located in a source code... :)
2022-06-01 03:43 PM
This is a bug in source which results in flawless binary.
And even more so, as probably in all STM32 both voltages for the factory calibs are identical, so even if you follow the wrong comment, the result will be correct.
A bug nonetheless... :)
Jan
2022-06-28 09:17 AM
Hi @Community member ,
I reported this copy-paste effect:) internally, to be fixed.
Internal ticket number: 131065 (This is an internal tracking number and is not accessible or usable by customers).
-Amel
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.
2022-06-28 11:57 AM
Thanks, Amel.
Jan
@Amel NASRI