cancel
Showing results for 
Search instead for 
Did you mean: 

[LL] Incorrect comment for VREFINT_CAL_VREF

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

4 REPLIES 4
Piranha
Chief II

I guess it's a "bug" report, because it's located in a source code... :)

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

Amel NASRI
ST Employee

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.

Thanks, Amel.

Jan

@Amel NASRI​