cancel
Showing results for 
Search instead for 
Did you mean: 

Voltage reference

guillaume23
Associate II
Posted on May 30, 2013 at 10:46

Hi all,

I'm working on a project with a STM8AL, in the reference manual I found this section :

14.3.17 Internal reference voltage conversion

The internal reference voltage is internally connected to the VREFINT channel. This analog

input channel is used to convert the internal reference voltage into a digital value.

The VREFINTON bit in the ADC_TRIGR1 register must be set to enable the internal

reference voltage. This reference voltage must be enabled only if its conversion is required.

The internal reference voltage is factory measured and the result of the ADC conversion is

stored in a specific data address: the VREFINT_Factory_CONV byte represents the LSB of

the VREFINT 12-bit ADC conversion result while the MSB have a fixed value: 0x6.

But I can't find anything about the value of this

VREFINT_Factory_CONV

address. Is there someone knows where I can find it ?

Thanks.
1 REPLY 1
guillaume23
Associate II
Posted on May 31, 2013 at 15:47

I found the answer. The address of this byte can be found in the µC datasheet in the memory map section.